zpa.ApplicationSegment
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
Application Segment can be imported by using <APPLICATION SEGMENT ID> or <APPLICATION SEGMENT NAME> as the import ID.
$ pulumi import zpa:index/applicationSegment:ApplicationSegment example <application_segment_id>
or
$ pulumi import zpa:index/applicationSegment:ApplicationSegment example <application_segment_name>
Create ApplicationSegment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationSegment(name: string, args: ApplicationSegmentArgs, opts?: CustomResourceOptions);@overload
def ApplicationSegment(resource_name: str,
                       args: ApplicationSegmentArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def ApplicationSegment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       domain_names: Optional[Sequence[str]] = None,
                       is_cname_enabled: Optional[bool] = None,
                       segment_group_name: Optional[str] = None,
                       config_space: Optional[str] = None,
                       description: Optional[str] = None,
                       bypass_on_reauth: Optional[bool] = None,
                       double_encrypt: Optional[bool] = None,
                       enabled: Optional[bool] = None,
                       fqdn_dns_check: Optional[bool] = None,
                       health_check_type: Optional[str] = None,
                       health_reporting: Optional[str] = None,
                       icmp_access_type: Optional[str] = None,
                       inspect_traffic_with_zia: Optional[bool] = None,
                       ip_anchored: Optional[bool] = None,
                       api_protection_enabled: Optional[bool] = None,
                       bypass_type: Optional[str] = None,
                       is_incomplete_dr_config: Optional[bool] = None,
                       server_groups: Optional[Sequence[ApplicationSegmentServerGroupArgs]] = None,
                       name: Optional[str] = None,
                       passive_health_enabled: Optional[bool] = None,
                       segment_group_id: Optional[str] = None,
                       match_style: Optional[str] = None,
                       select_connector_close_to_app: Optional[bool] = None,
                       microtenant_id: Optional[str] = None,
                       share_to_microtenants: Optional[Sequence[str]] = None,
                       tcp_keep_alive: Optional[str] = None,
                       tcp_port_range: Optional[Sequence[ApplicationSegmentTcpPortRangeArgs]] = None,
                       tcp_port_ranges: Optional[Sequence[str]] = None,
                       udp_port_range: Optional[Sequence[ApplicationSegmentUdpPortRangeArgs]] = None,
                       udp_port_ranges: Optional[Sequence[str]] = None,
                       use_in_dr_mode: Optional[bool] = None)func NewApplicationSegment(ctx *Context, name string, args ApplicationSegmentArgs, opts ...ResourceOption) (*ApplicationSegment, error)public ApplicationSegment(string name, ApplicationSegmentArgs args, CustomResourceOptions? opts = null)
public ApplicationSegment(String name, ApplicationSegmentArgs args)
public ApplicationSegment(String name, ApplicationSegmentArgs args, CustomResourceOptions options)
type: zpa:ApplicationSegment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ApplicationSegmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationSegmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationSegmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationSegmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var applicationSegmentResource = new Zpa.ApplicationSegment("applicationSegmentResource", new()
{
    DomainNames = new[]
    {
        "string",
    },
    IsCnameEnabled = false,
    SegmentGroupName = "string",
    ConfigSpace = "string",
    Description = "string",
    BypassOnReauth = false,
    DoubleEncrypt = false,
    Enabled = false,
    FqdnDnsCheck = false,
    HealthCheckType = "string",
    HealthReporting = "string",
    IcmpAccessType = "string",
    InspectTrafficWithZia = false,
    IpAnchored = false,
    ApiProtectionEnabled = false,
    BypassType = "string",
    IsIncompleteDrConfig = false,
    ServerGroups = new[]
    {
        new Zpa.Inputs.ApplicationSegmentServerGroupArgs
        {
            Ids = new[]
            {
                "string",
            },
        },
    },
    Name = "string",
    PassiveHealthEnabled = false,
    SegmentGroupId = "string",
    MatchStyle = "string",
    SelectConnectorCloseToApp = false,
    MicrotenantId = "string",
    ShareToMicrotenants = new[]
    {
        "string",
    },
    TcpKeepAlive = "string",
    TcpPortRange = new[]
    {
        new Zpa.Inputs.ApplicationSegmentTcpPortRangeArgs
        {
            From = "string",
            To = "string",
        },
    },
    TcpPortRanges = new[]
    {
        "string",
    },
    UdpPortRange = new[]
    {
        new Zpa.Inputs.ApplicationSegmentUdpPortRangeArgs
        {
            From = "string",
            To = "string",
        },
    },
    UdpPortRanges = new[]
    {
        "string",
    },
    UseInDrMode = false,
});
example, err := zpa.NewApplicationSegment(ctx, "applicationSegmentResource", &zpa.ApplicationSegmentArgs{
	DomainNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	IsCnameEnabled:        pulumi.Bool(false),
	SegmentGroupName:      pulumi.String("string"),
	ConfigSpace:           pulumi.String("string"),
	Description:           pulumi.String("string"),
	BypassOnReauth:        pulumi.Bool(false),
	DoubleEncrypt:         pulumi.Bool(false),
	Enabled:               pulumi.Bool(false),
	FqdnDnsCheck:          pulumi.Bool(false),
	HealthCheckType:       pulumi.String("string"),
	HealthReporting:       pulumi.String("string"),
	IcmpAccessType:        pulumi.String("string"),
	InspectTrafficWithZia: pulumi.Bool(false),
	IpAnchored:            pulumi.Bool(false),
	ApiProtectionEnabled:  pulumi.Bool(false),
	BypassType:            pulumi.String("string"),
	IsIncompleteDrConfig:  pulumi.Bool(false),
	ServerGroups: zpa.ApplicationSegmentServerGroupArray{
		&zpa.ApplicationSegmentServerGroupArgs{
			Ids: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Name:                      pulumi.String("string"),
	PassiveHealthEnabled:      pulumi.Bool(false),
	SegmentGroupId:            pulumi.String("string"),
	MatchStyle:                pulumi.String("string"),
	SelectConnectorCloseToApp: pulumi.Bool(false),
	MicrotenantId:             pulumi.String("string"),
	ShareToMicrotenants: pulumi.StringArray{
		pulumi.String("string"),
	},
	TcpKeepAlive: pulumi.String("string"),
	TcpPortRange: zpa.ApplicationSegmentTcpPortRangeArray{
		&zpa.ApplicationSegmentTcpPortRangeArgs{
			From: pulumi.String("string"),
			To:   pulumi.String("string"),
		},
	},
	TcpPortRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	UdpPortRange: zpa.ApplicationSegmentUdpPortRangeArray{
		&zpa.ApplicationSegmentUdpPortRangeArgs{
			From: pulumi.String("string"),
			To:   pulumi.String("string"),
		},
	},
	UdpPortRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	UseInDrMode: pulumi.Bool(false),
})
var applicationSegmentResource = new ApplicationSegment("applicationSegmentResource", ApplicationSegmentArgs.builder()
    .domainNames("string")
    .isCnameEnabled(false)
    .segmentGroupName("string")
    .configSpace("string")
    .description("string")
    .bypassOnReauth(false)
    .doubleEncrypt(false)
    .enabled(false)
    .fqdnDnsCheck(false)
    .healthCheckType("string")
    .healthReporting("string")
    .icmpAccessType("string")
    .inspectTrafficWithZia(false)
    .ipAnchored(false)
    .apiProtectionEnabled(false)
    .bypassType("string")
    .isIncompleteDrConfig(false)
    .serverGroups(ApplicationSegmentServerGroupArgs.builder()
        .ids("string")
        .build())
    .name("string")
    .passiveHealthEnabled(false)
    .segmentGroupId("string")
    .matchStyle("string")
    .selectConnectorCloseToApp(false)
    .microtenantId("string")
    .shareToMicrotenants("string")
    .tcpKeepAlive("string")
    .tcpPortRange(ApplicationSegmentTcpPortRangeArgs.builder()
        .from("string")
        .to("string")
        .build())
    .tcpPortRanges("string")
    .udpPortRange(ApplicationSegmentUdpPortRangeArgs.builder()
        .from("string")
        .to("string")
        .build())
    .udpPortRanges("string")
    .useInDrMode(false)
    .build());
application_segment_resource = zpa.ApplicationSegment("applicationSegmentResource",
    domain_names=["string"],
    is_cname_enabled=False,
    segment_group_name="string",
    config_space="string",
    description="string",
    bypass_on_reauth=False,
    double_encrypt=False,
    enabled=False,
    fqdn_dns_check=False,
    health_check_type="string",
    health_reporting="string",
    icmp_access_type="string",
    inspect_traffic_with_zia=False,
    ip_anchored=False,
    api_protection_enabled=False,
    bypass_type="string",
    is_incomplete_dr_config=False,
    server_groups=[{
        "ids": ["string"],
    }],
    name="string",
    passive_health_enabled=False,
    segment_group_id="string",
    match_style="string",
    select_connector_close_to_app=False,
    microtenant_id="string",
    share_to_microtenants=["string"],
    tcp_keep_alive="string",
    tcp_port_range=[{
        "from_": "string",
        "to": "string",
    }],
    tcp_port_ranges=["string"],
    udp_port_range=[{
        "from_": "string",
        "to": "string",
    }],
    udp_port_ranges=["string"],
    use_in_dr_mode=False)
const applicationSegmentResource = new zpa.ApplicationSegment("applicationSegmentResource", {
    domainNames: ["string"],
    isCnameEnabled: false,
    segmentGroupName: "string",
    configSpace: "string",
    description: "string",
    bypassOnReauth: false,
    doubleEncrypt: false,
    enabled: false,
    fqdnDnsCheck: false,
    healthCheckType: "string",
    healthReporting: "string",
    icmpAccessType: "string",
    inspectTrafficWithZia: false,
    ipAnchored: false,
    apiProtectionEnabled: false,
    bypassType: "string",
    isIncompleteDrConfig: false,
    serverGroups: [{
        ids: ["string"],
    }],
    name: "string",
    passiveHealthEnabled: false,
    segmentGroupId: "string",
    matchStyle: "string",
    selectConnectorCloseToApp: false,
    microtenantId: "string",
    shareToMicrotenants: ["string"],
    tcpKeepAlive: "string",
    tcpPortRange: [{
        from: "string",
        to: "string",
    }],
    tcpPortRanges: ["string"],
    udpPortRange: [{
        from: "string",
        to: "string",
    }],
    udpPortRanges: ["string"],
    useInDrMode: false,
});
type: zpa:ApplicationSegment
properties:
    apiProtectionEnabled: false
    bypassOnReauth: false
    bypassType: string
    configSpace: string
    description: string
    domainNames:
        - string
    doubleEncrypt: false
    enabled: false
    fqdnDnsCheck: false
    healthCheckType: string
    healthReporting: string
    icmpAccessType: string
    inspectTrafficWithZia: false
    ipAnchored: false
    isCnameEnabled: false
    isIncompleteDrConfig: false
    matchStyle: string
    microtenantId: string
    name: string
    passiveHealthEnabled: false
    segmentGroupId: string
    segmentGroupName: string
    selectConnectorCloseToApp: false
    serverGroups:
        - ids:
            - string
    shareToMicrotenants:
        - string
    tcpKeepAlive: string
    tcpPortRange:
        - from: string
          to: string
    tcpPortRanges:
        - string
    udpPortRange:
        - from: string
          to: string
    udpPortRanges:
        - string
    useInDrMode: false
ApplicationSegment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApplicationSegment resource accepts the following input properties:
- DomainNames List<string>
- List of domains and IPs.
- ApiProtection boolEnabled 
- If set to true, designates the application segment for API traffic inspection
- BypassOn boolReauth 
- BypassType string
- Indicates whether users can bypass ZPA to access applications.
- ConfigSpace string
- Description string
- Description of the application.
- DoubleEncrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
- Whether this application is enabled or not.
- FqdnDns boolCheck 
- HealthCheck stringType 
- HealthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- IcmpAccess stringType 
- InspectTraffic boolWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- IpAnchored bool
- IsCname boolEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- IsIncomplete boolDr Config 
- MatchStyle string
- MicrotenantId string
- Name string
- Name of the application.
- PassiveHealth boolEnabled 
- SegmentGroup stringId 
- SegmentGroup stringName 
- SelectConnector boolClose To App 
- ServerGroups List<zscaler.Pulumi Package. Zpa. Inputs. Application Segment Server Group> 
- List<string>
- Share the Application Segment to microtenants
- TcpKeep stringAlive 
- TcpPort List<zscaler.Range Pulumi Package. Zpa. Inputs. Application Segment Tcp Port Range> 
- tcp port range
- TcpPort List<string>Ranges 
- TCP port ranges used to access the app.
- UdpPort List<zscaler.Range Pulumi Package. Zpa. Inputs. Application Segment Udp Port Range> 
- udp port range
- UdpPort List<string>Ranges 
- UDP port ranges used to access the app.
- UseIn boolDr Mode 
- DomainNames []string
- List of domains and IPs.
- ApiProtection boolEnabled 
- If set to true, designates the application segment for API traffic inspection
- BypassOn boolReauth 
- BypassType string
- Indicates whether users can bypass ZPA to access applications.
- ConfigSpace string
- Description string
- Description of the application.
- DoubleEncrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
- Whether this application is enabled or not.
- FqdnDns boolCheck 
- HealthCheck stringType 
- HealthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- IcmpAccess stringType 
- InspectTraffic boolWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- IpAnchored bool
- IsCname boolEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- IsIncomplete boolDr Config 
- MatchStyle string
- MicrotenantId string
- Name string
- Name of the application.
- PassiveHealth boolEnabled 
- SegmentGroup stringId 
- SegmentGroup stringName 
- SelectConnector boolClose To App 
- ServerGroups []ApplicationSegment Server Group Args 
- []string
- Share the Application Segment to microtenants
- TcpKeep stringAlive 
- TcpPort []ApplicationRange Segment Tcp Port Range Args 
- tcp port range
- TcpPort []stringRanges 
- TCP port ranges used to access the app.
- UdpPort []ApplicationRange Segment Udp Port Range Args 
- udp port range
- UdpPort []stringRanges 
- UDP port ranges used to access the app.
- UseIn boolDr Mode 
- domainNames List<String>
- List of domains and IPs.
- apiProtection BooleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn BooleanReauth 
- bypassType String
- Indicates whether users can bypass ZPA to access applications.
- configSpace String
- description String
- Description of the application.
- doubleEncrypt Boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
- Whether this application is enabled or not.
- fqdnDns BooleanCheck 
- healthCheck StringType 
- healthReporting String
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess StringType 
- inspectTraffic BooleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored Boolean
- isCname BooleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete BooleanDr Config 
- matchStyle String
- microtenantId String
- name String
- Name of the application.
- passiveHealth BooleanEnabled 
- segmentGroup StringId 
- segmentGroup StringName 
- selectConnector BooleanClose To App 
- serverGroups List<ApplicationSegment Server Group> 
- List<String>
- Share the Application Segment to microtenants
- tcpKeep StringAlive 
- tcpPort List<ApplicationRange Segment Tcp Port Range> 
- tcp port range
- tcpPort List<String>Ranges 
- TCP port ranges used to access the app.
- udpPort List<ApplicationRange Segment Udp Port Range> 
- udp port range
- udpPort List<String>Ranges 
- UDP port ranges used to access the app.
- useIn BooleanDr Mode 
- domainNames string[]
- List of domains and IPs.
- apiProtection booleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn booleanReauth 
- bypassType string
- Indicates whether users can bypass ZPA to access applications.
- configSpace string
- description string
- Description of the application.
- doubleEncrypt boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled boolean
- Whether this application is enabled or not.
- fqdnDns booleanCheck 
- healthCheck stringType 
- healthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess stringType 
- inspectTraffic booleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored boolean
- isCname booleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete booleanDr Config 
- matchStyle string
- microtenantId string
- name string
- Name of the application.
- passiveHealth booleanEnabled 
- segmentGroup stringId 
- segmentGroup stringName 
- selectConnector booleanClose To App 
- serverGroups ApplicationSegment Server Group[] 
- string[]
- Share the Application Segment to microtenants
- tcpKeep stringAlive 
- tcpPort ApplicationRange Segment Tcp Port Range[] 
- tcp port range
- tcpPort string[]Ranges 
- TCP port ranges used to access the app.
- udpPort ApplicationRange Segment Udp Port Range[] 
- udp port range
- udpPort string[]Ranges 
- UDP port ranges used to access the app.
- useIn booleanDr Mode 
- domain_names Sequence[str]
- List of domains and IPs.
- api_protection_ boolenabled 
- If set to true, designates the application segment for API traffic inspection
- bypass_on_ boolreauth 
- bypass_type str
- Indicates whether users can bypass ZPA to access applications.
- config_space str
- description str
- Description of the application.
- double_encrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- enabled bool
- Whether this application is enabled or not.
- fqdn_dns_ boolcheck 
- health_check_ strtype 
- health_reporting str
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmp_access_ strtype 
- inspect_traffic_ boolwith_ zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ip_anchored bool
- is_cname_ boolenabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- is_incomplete_ booldr_ config 
- match_style str
- microtenant_id str
- name str
- Name of the application.
- passive_health_ boolenabled 
- segment_group_ strid 
- segment_group_ strname 
- select_connector_ boolclose_ to_ app 
- server_groups Sequence[ApplicationSegment Server Group Args] 
- Sequence[str]
- Share the Application Segment to microtenants
- tcp_keep_ stralive 
- tcp_port_ Sequence[Applicationrange Segment Tcp Port Range Args] 
- tcp port range
- tcp_port_ Sequence[str]ranges 
- TCP port ranges used to access the app.
- udp_port_ Sequence[Applicationrange Segment Udp Port Range Args] 
- udp port range
- udp_port_ Sequence[str]ranges 
- UDP port ranges used to access the app.
- use_in_ booldr_ mode 
- domainNames List<String>
- List of domains and IPs.
- apiProtection BooleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn BooleanReauth 
- bypassType String
- Indicates whether users can bypass ZPA to access applications.
- configSpace String
- description String
- Description of the application.
- doubleEncrypt Boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
- Whether this application is enabled or not.
- fqdnDns BooleanCheck 
- healthCheck StringType 
- healthReporting String
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess StringType 
- inspectTraffic BooleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored Boolean
- isCname BooleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete BooleanDr Config 
- matchStyle String
- microtenantId String
- name String
- Name of the application.
- passiveHealth BooleanEnabled 
- segmentGroup StringId 
- segmentGroup StringName 
- selectConnector BooleanClose To App 
- serverGroups List<Property Map>
- List<String>
- Share the Application Segment to microtenants
- tcpKeep StringAlive 
- tcpPort List<Property Map>Range 
- tcp port range
- tcpPort List<String>Ranges 
- TCP port ranges used to access the app.
- udpPort List<Property Map>Range 
- udp port range
- udpPort List<String>Ranges 
- UDP port ranges used to access the app.
- useIn BooleanDr Mode 
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationSegment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApplicationSegment Resource
Get an existing ApplicationSegment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationSegmentState, opts?: CustomResourceOptions): ApplicationSegment@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_protection_enabled: Optional[bool] = None,
        bypass_on_reauth: Optional[bool] = None,
        bypass_type: Optional[str] = None,
        config_space: Optional[str] = None,
        description: Optional[str] = None,
        domain_names: Optional[Sequence[str]] = None,
        double_encrypt: Optional[bool] = None,
        enabled: Optional[bool] = None,
        fqdn_dns_check: Optional[bool] = None,
        health_check_type: Optional[str] = None,
        health_reporting: Optional[str] = None,
        icmp_access_type: Optional[str] = None,
        inspect_traffic_with_zia: Optional[bool] = None,
        ip_anchored: Optional[bool] = None,
        is_cname_enabled: Optional[bool] = None,
        is_incomplete_dr_config: Optional[bool] = None,
        match_style: Optional[str] = None,
        microtenant_id: Optional[str] = None,
        name: Optional[str] = None,
        passive_health_enabled: Optional[bool] = None,
        segment_group_id: Optional[str] = None,
        segment_group_name: Optional[str] = None,
        select_connector_close_to_app: Optional[bool] = None,
        server_groups: Optional[Sequence[ApplicationSegmentServerGroupArgs]] = None,
        share_to_microtenants: Optional[Sequence[str]] = None,
        tcp_keep_alive: Optional[str] = None,
        tcp_port_range: Optional[Sequence[ApplicationSegmentTcpPortRangeArgs]] = None,
        tcp_port_ranges: Optional[Sequence[str]] = None,
        udp_port_range: Optional[Sequence[ApplicationSegmentUdpPortRangeArgs]] = None,
        udp_port_ranges: Optional[Sequence[str]] = None,
        use_in_dr_mode: Optional[bool] = None) -> ApplicationSegmentfunc GetApplicationSegment(ctx *Context, name string, id IDInput, state *ApplicationSegmentState, opts ...ResourceOption) (*ApplicationSegment, error)public static ApplicationSegment Get(string name, Input<string> id, ApplicationSegmentState? state, CustomResourceOptions? opts = null)public static ApplicationSegment get(String name, Output<String> id, ApplicationSegmentState state, CustomResourceOptions options)resources:  _:    type: zpa:ApplicationSegment    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ApiProtection boolEnabled 
- If set to true, designates the application segment for API traffic inspection
- BypassOn boolReauth 
- BypassType string
- Indicates whether users can bypass ZPA to access applications.
- ConfigSpace string
- Description string
- Description of the application.
- DomainNames List<string>
- List of domains and IPs.
- DoubleEncrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
- Whether this application is enabled or not.
- FqdnDns boolCheck 
- HealthCheck stringType 
- HealthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- IcmpAccess stringType 
- InspectTraffic boolWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- IpAnchored bool
- IsCname boolEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- IsIncomplete boolDr Config 
- MatchStyle string
- MicrotenantId string
- Name string
- Name of the application.
- PassiveHealth boolEnabled 
- SegmentGroup stringId 
- SegmentGroup stringName 
- SelectConnector boolClose To App 
- ServerGroups List<zscaler.Pulumi Package. Zpa. Inputs. Application Segment Server Group> 
- List<string>
- Share the Application Segment to microtenants
- TcpKeep stringAlive 
- TcpPort List<zscaler.Range Pulumi Package. Zpa. Inputs. Application Segment Tcp Port Range> 
- tcp port range
- TcpPort List<string>Ranges 
- TCP port ranges used to access the app.
- UdpPort List<zscaler.Range Pulumi Package. Zpa. Inputs. Application Segment Udp Port Range> 
- udp port range
- UdpPort List<string>Ranges 
- UDP port ranges used to access the app.
- UseIn boolDr Mode 
- ApiProtection boolEnabled 
- If set to true, designates the application segment for API traffic inspection
- BypassOn boolReauth 
- BypassType string
- Indicates whether users can bypass ZPA to access applications.
- ConfigSpace string
- Description string
- Description of the application.
- DomainNames []string
- List of domains and IPs.
- DoubleEncrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
- Whether this application is enabled or not.
- FqdnDns boolCheck 
- HealthCheck stringType 
- HealthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- IcmpAccess stringType 
- InspectTraffic boolWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- IpAnchored bool
- IsCname boolEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- IsIncomplete boolDr Config 
- MatchStyle string
- MicrotenantId string
- Name string
- Name of the application.
- PassiveHealth boolEnabled 
- SegmentGroup stringId 
- SegmentGroup stringName 
- SelectConnector boolClose To App 
- ServerGroups []ApplicationSegment Server Group Args 
- []string
- Share the Application Segment to microtenants
- TcpKeep stringAlive 
- TcpPort []ApplicationRange Segment Tcp Port Range Args 
- tcp port range
- TcpPort []stringRanges 
- TCP port ranges used to access the app.
- UdpPort []ApplicationRange Segment Udp Port Range Args 
- udp port range
- UdpPort []stringRanges 
- UDP port ranges used to access the app.
- UseIn boolDr Mode 
- apiProtection BooleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn BooleanReauth 
- bypassType String
- Indicates whether users can bypass ZPA to access applications.
- configSpace String
- description String
- Description of the application.
- domainNames List<String>
- List of domains and IPs.
- doubleEncrypt Boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
- Whether this application is enabled or not.
- fqdnDns BooleanCheck 
- healthCheck StringType 
- healthReporting String
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess StringType 
- inspectTraffic BooleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored Boolean
- isCname BooleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete BooleanDr Config 
- matchStyle String
- microtenantId String
- name String
- Name of the application.
- passiveHealth BooleanEnabled 
- segmentGroup StringId 
- segmentGroup StringName 
- selectConnector BooleanClose To App 
- serverGroups List<ApplicationSegment Server Group> 
- List<String>
- Share the Application Segment to microtenants
- tcpKeep StringAlive 
- tcpPort List<ApplicationRange Segment Tcp Port Range> 
- tcp port range
- tcpPort List<String>Ranges 
- TCP port ranges used to access the app.
- udpPort List<ApplicationRange Segment Udp Port Range> 
- udp port range
- udpPort List<String>Ranges 
- UDP port ranges used to access the app.
- useIn BooleanDr Mode 
- apiProtection booleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn booleanReauth 
- bypassType string
- Indicates whether users can bypass ZPA to access applications.
- configSpace string
- description string
- Description of the application.
- domainNames string[]
- List of domains and IPs.
- doubleEncrypt boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled boolean
- Whether this application is enabled or not.
- fqdnDns booleanCheck 
- healthCheck stringType 
- healthReporting string
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess stringType 
- inspectTraffic booleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored boolean
- isCname booleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete booleanDr Config 
- matchStyle string
- microtenantId string
- name string
- Name of the application.
- passiveHealth booleanEnabled 
- segmentGroup stringId 
- segmentGroup stringName 
- selectConnector booleanClose To App 
- serverGroups ApplicationSegment Server Group[] 
- string[]
- Share the Application Segment to microtenants
- tcpKeep stringAlive 
- tcpPort ApplicationRange Segment Tcp Port Range[] 
- tcp port range
- tcpPort string[]Ranges 
- TCP port ranges used to access the app.
- udpPort ApplicationRange Segment Udp Port Range[] 
- udp port range
- udpPort string[]Ranges 
- UDP port ranges used to access the app.
- useIn booleanDr Mode 
- api_protection_ boolenabled 
- If set to true, designates the application segment for API traffic inspection
- bypass_on_ boolreauth 
- bypass_type str
- Indicates whether users can bypass ZPA to access applications.
- config_space str
- description str
- Description of the application.
- domain_names Sequence[str]
- List of domains and IPs.
- double_encrypt bool
- Whether Double Encryption is enabled or disabled for the app.
- enabled bool
- Whether this application is enabled or not.
- fqdn_dns_ boolcheck 
- health_check_ strtype 
- health_reporting str
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmp_access_ strtype 
- inspect_traffic_ boolwith_ zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ip_anchored bool
- is_cname_ boolenabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- is_incomplete_ booldr_ config 
- match_style str
- microtenant_id str
- name str
- Name of the application.
- passive_health_ boolenabled 
- segment_group_ strid 
- segment_group_ strname 
- select_connector_ boolclose_ to_ app 
- server_groups Sequence[ApplicationSegment Server Group Args] 
- Sequence[str]
- Share the Application Segment to microtenants
- tcp_keep_ stralive 
- tcp_port_ Sequence[Applicationrange Segment Tcp Port Range Args] 
- tcp port range
- tcp_port_ Sequence[str]ranges 
- TCP port ranges used to access the app.
- udp_port_ Sequence[Applicationrange Segment Udp Port Range Args] 
- udp port range
- udp_port_ Sequence[str]ranges 
- UDP port ranges used to access the app.
- use_in_ booldr_ mode 
- apiProtection BooleanEnabled 
- If set to true, designates the application segment for API traffic inspection
- bypassOn BooleanReauth 
- bypassType String
- Indicates whether users can bypass ZPA to access applications.
- configSpace String
- description String
- Description of the application.
- domainNames List<String>
- List of domains and IPs.
- doubleEncrypt Boolean
- Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
- Whether this application is enabled or not.
- fqdnDns BooleanCheck 
- healthCheck StringType 
- healthReporting String
- Whether health reporting for the app is Continuous or On Access. Supported values: NONE, ON_ACCESS, CONTINUOUS.
- icmpAccess StringType 
- inspectTraffic BooleanWith Zia 
- Indicates if Inspect Traffic with ZIA is enabled for the application.
- ipAnchored Boolean
- isCname BooleanEnabled 
- Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- isIncomplete BooleanDr Config 
- matchStyle String
- microtenantId String
- name String
- Name of the application.
- passiveHealth BooleanEnabled 
- segmentGroup StringId 
- segmentGroup StringName 
- selectConnector BooleanClose To App 
- serverGroups List<Property Map>
- List<String>
- Share the Application Segment to microtenants
- tcpKeep StringAlive 
- tcpPort List<Property Map>Range 
- tcp port range
- tcpPort List<String>Ranges 
- TCP port ranges used to access the app.
- udpPort List<Property Map>Range 
- udp port range
- udpPort List<String>Ranges 
- UDP port ranges used to access the app.
- useIn BooleanDr Mode 
Supporting Types
ApplicationSegmentServerGroup, ApplicationSegmentServerGroupArgs        
- Ids List<string>
- Ids []string
- ids List<String>
- ids string[]
- ids Sequence[str]
- ids List<String>
ApplicationSegmentTcpPortRange, ApplicationSegmentTcpPortRangeArgs          
ApplicationSegmentUdpPortRange, ApplicationSegmentUdpPortRangeArgs          
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the zpaTerraform Provider.
 
