zpa.ApplicationSegment.getApplicationSegmentInspection

Use the zpa_application_segment_inspection data source to get information about an inspection application segment in the Zscaler Private Access cloud. This resource can then be referenced in a ZPA access inspection policy. This resource supports ZPA Inspection for both HTTP and HTTPS.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;

return await Deployment.RunAsync(() => 
{
    var @this = Zpa.ApplicationSegment.GetApplicationSegmentInspection.Invoke(new()
    {
        Name = "ZPA_Inspection_Example",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zpa/sdk/go/zpa/ApplicationSegment"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApplicationSegment.GetApplicationSegmentInspection(ctx, &applicationsegment.GetApplicationSegmentInspectionArgs{
			Name: pulumi.StringRef("ZPA_Inspection_Example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ApplicationSegment.ApplicationSegmentFunctions;
import com.pulumi.zpa.ApplicationSegment.inputs.GetApplicationSegmentInspectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var this = ApplicationSegmentFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
            .name("ZPA_Inspection_Example")
            .build());

    }
}
import pulumi
import pulumi_zpa as zpa

this = zpa.ApplicationSegment.get_application_segment_inspection(name="ZPA_Inspection_Example")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";

const this = zpa.ApplicationSegment.getApplicationSegmentInspection({
    name: "ZPA_Inspection_Example",
});
variables:
  this:
    fn::invoke:
      Function: zpa:ApplicationSegment:getApplicationSegmentInspection
      Arguments:
        name: ZPA_Inspection_Example
using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;

return await Deployment.RunAsync(() => 
{
    var @this = Zpa.ApplicationSegment.GetApplicationSegmentInspection.Invoke(new()
    {
        Id = "123456789",
    });

});
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/zscaler/pulumi-zpa/sdk/go/zpa/ApplicationSegment"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApplicationSegment.GetApplicationSegmentInspection(ctx, &applicationsegment.GetApplicationSegmentInspectionArgs{
			Id: pulumi.StringRef("123456789"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ApplicationSegment.ApplicationSegmentFunctions;
import com.pulumi.zpa.ApplicationSegment.inputs.GetApplicationSegmentInspectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var this = ApplicationSegmentFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
            .id("123456789")
            .build());

    }
}
import pulumi
import pulumi_zpa as zpa

this = zpa.ApplicationSegment.get_application_segment_inspection(id="123456789")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";

const this = zpa.ApplicationSegment.getApplicationSegmentInspection({
    id: "123456789",
});
variables:
  this:
    fn::invoke:
      Function: zpa:ApplicationSegment:getApplicationSegmentInspection
      Arguments:
        id: '123456789'

Using getApplicationSegmentInspection

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getApplicationSegmentInspection(args: GetApplicationSegmentInspectionArgs, opts?: InvokeOptions): Promise<GetApplicationSegmentInspectionResult>
function getApplicationSegmentInspectionOutput(args: GetApplicationSegmentInspectionOutputArgs, opts?: InvokeOptions): Output<GetApplicationSegmentInspectionResult>
def get_application_segment_inspection(id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       tcp_port_ranges: Optional[Sequence[_applicationsegment.GetApplicationSegmentInspectionTcpPortRange]] = None,
                                       udp_port_ranges: Optional[Sequence[_applicationsegment.GetApplicationSegmentInspectionUdpPortRange]] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetApplicationSegmentInspectionResult
def get_application_segment_inspection_output(id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       tcp_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_applicationsegment.GetApplicationSegmentInspectionTcpPortRangeArgs]]]] = None,
                                       udp_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_applicationsegment.GetApplicationSegmentInspectionUdpPortRangeArgs]]]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetApplicationSegmentInspectionResult]
func GetApplicationSegmentInspection(ctx *Context, args *GetApplicationSegmentInspectionArgs, opts ...InvokeOption) (*GetApplicationSegmentInspectionResult, error)
func GetApplicationSegmentInspectionOutput(ctx *Context, args *GetApplicationSegmentInspectionOutputArgs, opts ...InvokeOption) GetApplicationSegmentInspectionResultOutput

> Note: This function is named GetApplicationSegmentInspection in the Go SDK.

public static class GetApplicationSegmentInspection 
{
    public static Task<GetApplicationSegmentInspectionResult> InvokeAsync(GetApplicationSegmentInspectionArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationSegmentInspectionResult> Invoke(GetApplicationSegmentInspectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationSegmentInspectionResult> getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: zpa:ApplicationSegment/getApplicationSegmentInspection:getApplicationSegmentInspection
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

The ID of the Inspection Application Segment to be exported.

Name string

The name of the Inspection Application Segment to be exported.

TcpPortRanges List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Inputs.GetApplicationSegmentInspectionTcpPortRange>

(string) TCP port ranges used to access the app.

  • from:
  • to:
UdpPortRanges List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Inputs.GetApplicationSegmentInspectionUdpPortRange>

(string) UDP port ranges used to access the app.

  • from:
  • to:
Id string

The ID of the Inspection Application Segment to be exported.

Name string

The name of the Inspection Application Segment to be exported.

TcpPortRanges []GetApplicationSegmentInspectionTcpPortRange

(string) TCP port ranges used to access the app.

  • from:
  • to:
UdpPortRanges []GetApplicationSegmentInspectionUdpPortRange

(string) UDP port ranges used to access the app.

  • from:
  • to:
id String

The ID of the Inspection Application Segment to be exported.

name String

The name of the Inspection Application Segment to be exported.

tcpPortRanges List<GetInspectionTcpPortRange>

(string) TCP port ranges used to access the app.

  • from:
  • to:
udpPortRanges List<GetInspectionUdpPortRange>

(string) UDP port ranges used to access the app.

  • from:
  • to:
id string

The ID of the Inspection Application Segment to be exported.

name string

The name of the Inspection Application Segment to be exported.

tcpPortRanges GetApplicationSegmentInspectionTcpPortRange[]

(string) TCP port ranges used to access the app.

  • from:
  • to:
udpPortRanges GetApplicationSegmentInspectionUdpPortRange[]

(string) UDP port ranges used to access the app.

  • from:
  • to:
id str

The ID of the Inspection Application Segment to be exported.

name str

The name of the Inspection Application Segment to be exported.

tcp_port_ranges GetApplicationSegmentInspectionTcpPortRange]

(string) TCP port ranges used to access the app.

  • from:
  • to:
udp_port_ranges GetApplicationSegmentInspectionUdpPortRange]

(string) UDP port ranges used to access the app.

  • from:
  • to:
id String

The ID of the Inspection Application Segment to be exported.

name String

The name of the Inspection Application Segment to be exported.

tcpPortRanges List<Property Map>

(string) TCP port ranges used to access the app.

  • from:
  • to:
udpPortRanges List<Property Map>

(string) UDP port ranges used to access the app.

  • from:
  • to:

getApplicationSegmentInspection Result

The following output properties are available:

BypassType string

(string) Indicates whether users can bypass ZPA to access applications.

CreationTime string

(String)

Description string

(string) Description of the application.

DomainNames List<string>

(string) List of domains and IPs.

DoubleEncrypt bool

(bool) Whether Double Encryption is enabled or disabled for the app.

Enabled bool

(bool) Whether this application is enabled or not

HealthCheckType string

(string)

HealthReporting string

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

IcmpAccessType string

(string)

InspectionApps List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Outputs.GetApplicationSegmentInspectionInspectionApp>

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
IpAnchored bool

(bool)

IsCnameEnabled bool

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

ModifiedBy string
ModifiedTime string

(String)

PassiveHealthEnabled bool

(bool)

SegmentGroupId string

(String) Segment Group IDs

SegmentGroupName string
SelectConnectorCloseToApp bool
ServerGroups List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Outputs.GetApplicationSegmentInspectionServerGroup>

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
TcpPortRanges List<string>

(string) TCP port ranges used to access the app.

UdpPortRanges List<string>

(string) UDP port ranges used to access the app.

Id string
Name string
BypassType string

(string) Indicates whether users can bypass ZPA to access applications.

CreationTime string

(String)

Description string

(string) Description of the application.

DomainNames []string

(string) List of domains and IPs.

DoubleEncrypt bool

(bool) Whether Double Encryption is enabled or disabled for the app.

Enabled bool

(bool) Whether this application is enabled or not

HealthCheckType string

(string)

HealthReporting string

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

IcmpAccessType string

(string)

InspectionApps []GetApplicationSegmentInspectionInspectionApp

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
IpAnchored bool

(bool)

IsCnameEnabled bool

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

ModifiedBy string
ModifiedTime string

(String)

PassiveHealthEnabled bool

(bool)

SegmentGroupId string

(String) Segment Group IDs

SegmentGroupName string
SelectConnectorCloseToApp bool
ServerGroups []GetApplicationSegmentInspectionServerGroup

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
TcpPortRanges []string

(string) TCP port ranges used to access the app.

UdpPortRanges []string

(string) UDP port ranges used to access the app.

Id string
Name string
bypassType String

(string) Indicates whether users can bypass ZPA to access applications.

creationTime String

(String)

description String

(string) Description of the application.

domainNames List<String>

(string) List of domains and IPs.

doubleEncrypt Boolean

(bool) Whether Double Encryption is enabled or disabled for the app.

enabled Boolean

(bool) Whether this application is enabled or not

healthCheckType String

(string)

healthReporting String

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

icmpAccessType String

(string)

inspectionApps List<GetInspectionInspectionApp>

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
ipAnchored Boolean

(bool)

isCnameEnabled Boolean

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

modifiedBy String
modifiedTime String

(String)

passiveHealthEnabled Boolean

(bool)

segmentGroupId String

(String) Segment Group IDs

segmentGroupName String
selectConnectorCloseToApp Boolean
serverGroups List<GetInspectionServerGroup>

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
tcpPortRanges List<String>

(string) TCP port ranges used to access the app.

udpPortRanges List<String>

(string) UDP port ranges used to access the app.

id String
name String
bypassType string

(string) Indicates whether users can bypass ZPA to access applications.

creationTime string

(String)

description string

(string) Description of the application.

domainNames string[]

(string) List of domains and IPs.

doubleEncrypt boolean

(bool) Whether Double Encryption is enabled or disabled for the app.

enabled boolean

(bool) Whether this application is enabled or not

healthCheckType string

(string)

healthReporting string

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

icmpAccessType string

(string)

inspectionApps GetApplicationSegmentInspectionInspectionApp[]

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
ipAnchored boolean

(bool)

isCnameEnabled boolean

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

modifiedBy string
modifiedTime string

(String)

passiveHealthEnabled boolean

(bool)

segmentGroupId string

(String) Segment Group IDs

segmentGroupName string
selectConnectorCloseToApp boolean
serverGroups GetApplicationSegmentInspectionServerGroup[]

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
tcpPortRanges string[]

(string) TCP port ranges used to access the app.

udpPortRanges string[]

(string) UDP port ranges used to access the app.

id string
name string
bypass_type str

(string) Indicates whether users can bypass ZPA to access applications.

creation_time str

(String)

description str

(string) Description of the application.

domain_names Sequence[str]

(string) List of domains and IPs.

double_encrypt bool

(bool) Whether Double Encryption is enabled or disabled for the app.

enabled bool

(bool) Whether this application is enabled or not

health_check_type str

(string)

health_reporting str

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

icmp_access_type str

(string)

inspection_apps GetApplicationSegmentInspectionInspectionApp]

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
ip_anchored bool

(bool)

is_cname_enabled bool

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

modified_by str
modified_time str

(String)

passive_health_enabled bool

(bool)

segment_group_id str

(String) Segment Group IDs

segment_group_name str
select_connector_close_to_app bool
server_groups GetApplicationSegmentInspectionServerGroup]

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
tcp_port_ranges Sequence[str]

(string) TCP port ranges used to access the app.

udp_port_ranges Sequence[str]

(string) UDP port ranges used to access the app.

id str
name str
bypassType String

(string) Indicates whether users can bypass ZPA to access applications.

creationTime String

(String)

description String

(string) Description of the application.

domainNames List<String>

(string) List of domains and IPs.

doubleEncrypt Boolean

(bool) Whether Double Encryption is enabled or disabled for the app.

enabled Boolean

(bool) Whether this application is enabled or not

healthCheckType String

(string)

healthReporting String

(string) Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.

icmpAccessType String

(string)

inspectionApps List<Property Map>

(string) TCP port ranges used to access the app.

  • app_id: - (string)
  • name: - (string) Name of the Inspection Application
  • description: - (string) Description of the Inspection Application
  • domain: - (string) Domain name of the inspection application
ipAnchored Boolean

(bool)

isCnameEnabled Boolean

(bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.

modifiedBy String
modifiedTime String

(String)

passiveHealthEnabled Boolean

(bool)

segmentGroupId String

(String) Segment Group IDs

segmentGroupName String
selectConnectorCloseToApp Boolean
serverGroups List<Property Map>

(string) List of Server Group IDs

  • id: - (string) List of Server Group IDs
tcpPortRanges List<String>

(string) TCP port ranges used to access the app.

udpPortRanges List<String>

(string) UDP port ranges used to access the app.

id String
name String

Supporting Types

GetApplicationSegmentInspectionInspectionApp

AppId string
ApplicationPort string

(string) TCP/UDP Port for ZPA Inspection.

ApplicationProtocol string

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

CertificateId string

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

CertificateName string

(string) - Parameter required when application_protocol is of type HTTPS

Description string

(string) Description of the application.

Domain string
Enabled bool

(bool) Whether this application is enabled or not

Id string

The ID of the Inspection Application Segment to be exported.

Name string

The name of the Inspection Application Segment to be exported.

AppId string
ApplicationPort string

(string) TCP/UDP Port for ZPA Inspection.

ApplicationProtocol string

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

CertificateId string

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

CertificateName string

(string) - Parameter required when application_protocol is of type HTTPS

Description string

(string) Description of the application.

Domain string
Enabled bool

(bool) Whether this application is enabled or not

Id string

The ID of the Inspection Application Segment to be exported.

Name string

The name of the Inspection Application Segment to be exported.

appId String
applicationPort String

(string) TCP/UDP Port for ZPA Inspection.

applicationProtocol String

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

certificateId String

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

certificateName String

(string) - Parameter required when application_protocol is of type HTTPS

description String

(string) Description of the application.

domain String
enabled Boolean

(bool) Whether this application is enabled or not

id String

The ID of the Inspection Application Segment to be exported.

name String

The name of the Inspection Application Segment to be exported.

appId string
applicationPort string

(string) TCP/UDP Port for ZPA Inspection.

applicationProtocol string

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

certificateId string

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

certificateName string

(string) - Parameter required when application_protocol is of type HTTPS

description string

(string) Description of the application.

domain string
enabled boolean

(bool) Whether this application is enabled or not

id string

The ID of the Inspection Application Segment to be exported.

name string

The name of the Inspection Application Segment to be exported.

app_id str
application_port str

(string) TCP/UDP Port for ZPA Inspection.

application_protocol str

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

certificate_id str

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

certificate_name str

(string) - Parameter required when application_protocol is of type HTTPS

description str

(string) Description of the application.

domain str
enabled bool

(bool) Whether this application is enabled or not

id str

The ID of the Inspection Application Segment to be exported.

name str

The name of the Inspection Application Segment to be exported.

appId String
applicationPort String

(string) TCP/UDP Port for ZPA Inspection.

applicationProtocol String

(string) Protocol for the Inspection Application. Supported values: HTTP and HTTPS

certificateId String

(string) - ID of the signing certificate. This field is required if the applicationProtocol is set to HTTPS. The certificateId is not supported if the applicationProtocol is set to HTTP.

certificateName String

(string) - Parameter required when application_protocol is of type HTTPS

description String

(string) Description of the application.

domain String
enabled Boolean

(bool) Whether this application is enabled or not

id String

The ID of the Inspection Application Segment to be exported.

name String

The name of the Inspection Application Segment to be exported.

GetApplicationSegmentInspectionServerGroup

Ids List<string>

The ID of the Inspection Application Segment to be exported.

Ids []string

The ID of the Inspection Application Segment to be exported.

ids List<String>

The ID of the Inspection Application Segment to be exported.

ids string[]

The ID of the Inspection Application Segment to be exported.

ids Sequence[str]

The ID of the Inspection Application Segment to be exported.

ids List<String>

The ID of the Inspection Application Segment to be exported.

GetApplicationSegmentInspectionTcpPortRange

From string
To string
From string
To string
from String
to String
from string
to string
from_ str
to str
from String
to String

GetApplicationSegmentInspectionUdpPortRange

From string
To string
From string
To string
from String
to String
from string
to string
from_ str
to str
from String
to String

Package Details

Repository
zpa zscaler/pulumi-zpa
License
MIT
Notes

This Pulumi package is based on the zpa Terraform Provider.