zpa logo
Zscaler Private Access v0.0.4, Jan 30 23

zpa.ApplicationSegment.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:ApplicationSegment/applicationSegment:ApplicationSegment example <application_segment_id>

or

 $ pulumi import zpa:ApplicationSegment/applicationSegment:ApplicationSegment example <application_segment_name>

Create ApplicationSegment Resource

new ApplicationSegment(name: string, args: ApplicationSegmentArgs, opts?: CustomResourceOptions);
@overload
def ApplicationSegment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       bypass_type: Optional[str] = None,
                       config_space: Optional[str] = None,
                       default_idle_timeout: Optional[str] = None,
                       description: Optional[str] = None,
                       domain_names: Optional[Sequence[str]] = None,
                       double_encrypt: Optional[bool] = None,
                       enabled: Optional[bool] = None,
                       health_check_type: Optional[str] = None,
                       health_reporting: Optional[str] = None,
                       icmp_access_type: Optional[str] = None,
                       ip_anchored: Optional[bool] = None,
                       is_cname_enabled: Optional[bool] = None,
                       name: Optional[str] = None,
                       passive_health_enabled: Optional[bool] = None,
                       segment_group_id: Optional[str] = None,
                       segment_group_name: Optional[str] = None,
                       server_groups: Optional[Sequence[_applicationsegment.ApplicationSegmentServerGroupArgs]] = None,
                       tcp_port_ranges: Optional[Sequence[str]] = None,
                       udp_port_ranges: Optional[Sequence[str]] = None)
@overload
def ApplicationSegment(resource_name: str,
                       args: ApplicationSegmentArgs,
                       opts: Optional[ResourceOptions] = 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:ApplicationSegment
properties: # The arguments to resource properties.
options: # 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.
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.

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

The ApplicationSegment resource accepts the following input properties:

DomainNames List<string>

List of domains and IPs.

ServerGroups List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Inputs.ApplicationSegmentServerGroupArgs>

List of Server Group IDs

BypassType string

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

ConfigSpace string

(Optional)

DefaultIdleTimeout string
Description string

(Optional) Description of the application.

DoubleEncrypt bool

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

Enabled bool

(Optional) Whether this application is enabled or not.

HealthCheckType string

(Optional)

HealthReporting string

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

IcmpAccessType string

(Optional)

IpAnchored bool

(Optional)

IsCnameEnabled bool

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

Name string

Name. The name of the App Connector Group to be exported.

PassiveHealthEnabled bool

(Optional)

SegmentGroupId string

List of Segment Group IDs

SegmentGroupName string
TcpPortRanges List<string>

TCP port ranges used to access the app.

UdpPortRanges List<string>

UDP port ranges used to access the app.

DomainNames []string

List of domains and IPs.

ServerGroups []ApplicationSegmentServerGroupArgs

List of Server Group IDs

BypassType string

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

ConfigSpace string

(Optional)

DefaultIdleTimeout string
Description string

(Optional) Description of the application.

DoubleEncrypt bool

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

Enabled bool

(Optional) Whether this application is enabled or not.

HealthCheckType string

(Optional)

HealthReporting string

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

IcmpAccessType string

(Optional)

IpAnchored bool

(Optional)

IsCnameEnabled bool

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

Name string

Name. The name of the App Connector Group to be exported.

PassiveHealthEnabled bool

(Optional)

SegmentGroupId string

List of Segment Group IDs

SegmentGroupName string
TcpPortRanges []string

TCP port ranges used to access the app.

UdpPortRanges []string

UDP port ranges used to access the app.

domainNames List<String>

List of domains and IPs.

serverGroups List<ServerGroupArgs>

List of Server Group IDs

bypassType String

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

configSpace String

(Optional)

defaultIdleTimeout String
description String

(Optional) Description of the application.

doubleEncrypt Boolean

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

enabled Boolean

(Optional) Whether this application is enabled or not.

healthCheckType String

(Optional)

healthReporting String

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

icmpAccessType String

(Optional)

ipAnchored Boolean

(Optional)

isCnameEnabled Boolean

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

name String

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled Boolean

(Optional)

segmentGroupId String

List of Segment Group IDs

segmentGroupName String
tcpPortRanges List<String>

TCP port ranges used to access the app.

udpPortRanges List<String>

UDP port ranges used to access the app.

domainNames string[]

List of domains and IPs.

serverGroups ApplicationSegmentServerGroupArgs[]

List of Server Group IDs

bypassType string

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

configSpace string

(Optional)

defaultIdleTimeout string
description string

(Optional) Description of the application.

doubleEncrypt boolean

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

enabled boolean

(Optional) Whether this application is enabled or not.

healthCheckType string

(Optional)

healthReporting string

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

icmpAccessType string

(Optional)

ipAnchored boolean

(Optional)

isCnameEnabled boolean

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

name string

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled boolean

(Optional)

segmentGroupId string

List of Segment Group IDs

segmentGroupName string
tcpPortRanges string[]

TCP port ranges used to access the app.

udpPortRanges string[]

UDP port ranges used to access the app.

domain_names Sequence[str]

List of domains and IPs.

server_groups ApplicationSegmentServerGroupArgs]

List of Server Group IDs

bypass_type str

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

config_space str

(Optional)

default_idle_timeout str
description str

(Optional) Description of the application.

double_encrypt bool

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

enabled bool

(Optional) Whether this application is enabled or not.

health_check_type str

(Optional)

health_reporting str

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

icmp_access_type str

(Optional)

ip_anchored bool

(Optional)

is_cname_enabled bool

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

name str

Name. The name of the App Connector Group to be exported.

passive_health_enabled bool

(Optional)

segment_group_id str

List of Segment Group IDs

segment_group_name str
tcp_port_ranges Sequence[str]

TCP port ranges used to access the app.

udp_port_ranges Sequence[str]

UDP port ranges used to access the app.

domainNames List<String>

List of domains and IPs.

serverGroups List<Property Map>

List of Server Group IDs

bypassType String

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

configSpace String

(Optional)

defaultIdleTimeout String
description String

(Optional) Description of the application.

doubleEncrypt Boolean

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

enabled Boolean

(Optional) Whether this application is enabled or not.

healthCheckType String

(Optional)

healthReporting String

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

icmpAccessType String

(Optional)

ipAnchored Boolean

(Optional)

isCnameEnabled Boolean

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

name String

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled Boolean

(Optional)

segmentGroupId String

List of Segment Group IDs

segmentGroupName String
tcpPortRanges List<String>

TCP port ranges used to access the app.

udpPortRanges List<String>

UDP port ranges used to access the app.

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,
        bypass_type: Optional[str] = None,
        config_space: Optional[str] = None,
        default_idle_timeout: Optional[str] = None,
        description: Optional[str] = None,
        domain_names: Optional[Sequence[str]] = None,
        double_encrypt: Optional[bool] = None,
        enabled: Optional[bool] = None,
        health_check_type: Optional[str] = None,
        health_reporting: Optional[str] = None,
        icmp_access_type: Optional[str] = None,
        ip_anchored: Optional[bool] = None,
        is_cname_enabled: Optional[bool] = None,
        name: Optional[str] = None,
        passive_health_enabled: Optional[bool] = None,
        segment_group_id: Optional[str] = None,
        segment_group_name: Optional[str] = None,
        server_groups: Optional[Sequence[_applicationsegment.ApplicationSegmentServerGroupArgs]] = None,
        tcp_port_ranges: Optional[Sequence[str]] = None,
        udp_port_ranges: Optional[Sequence[str]] = None) -> ApplicationSegment
func 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)
Resource lookup is not supported in YAML
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.
The following state arguments are supported:
BypassType string

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

ConfigSpace string

(Optional)

DefaultIdleTimeout string
Description string

(Optional) Description of the application.

DomainNames List<string>

List of domains and IPs.

DoubleEncrypt bool

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

Enabled bool

(Optional) Whether this application is enabled or not.

HealthCheckType string

(Optional)

HealthReporting string

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

IcmpAccessType string

(Optional)

IpAnchored bool

(Optional)

IsCnameEnabled bool

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

Name string

Name. The name of the App Connector Group to be exported.

PassiveHealthEnabled bool

(Optional)

SegmentGroupId string

List of Segment Group IDs

SegmentGroupName string
ServerGroups List<zscaler.PulumiPackage.Zpa.ApplicationSegment.Inputs.ApplicationSegmentServerGroupArgs>

List of Server Group IDs

TcpPortRanges List<string>

TCP port ranges used to access the app.

UdpPortRanges List<string>

UDP port ranges used to access the app.

BypassType string

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

ConfigSpace string

(Optional)

DefaultIdleTimeout string
Description string

(Optional) Description of the application.

DomainNames []string

List of domains and IPs.

DoubleEncrypt bool

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

Enabled bool

(Optional) Whether this application is enabled or not.

HealthCheckType string

(Optional)

HealthReporting string

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

IcmpAccessType string

(Optional)

IpAnchored bool

(Optional)

IsCnameEnabled bool

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

Name string

Name. The name of the App Connector Group to be exported.

PassiveHealthEnabled bool

(Optional)

SegmentGroupId string

List of Segment Group IDs

SegmentGroupName string
ServerGroups []ApplicationSegmentServerGroupArgs

List of Server Group IDs

TcpPortRanges []string

TCP port ranges used to access the app.

UdpPortRanges []string

UDP port ranges used to access the app.

bypassType String

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

configSpace String

(Optional)

defaultIdleTimeout String
description String

(Optional) Description of the application.

domainNames List<String>

List of domains and IPs.

doubleEncrypt Boolean

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

enabled Boolean

(Optional) Whether this application is enabled or not.

healthCheckType String

(Optional)

healthReporting String

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

icmpAccessType String

(Optional)

ipAnchored Boolean

(Optional)

isCnameEnabled Boolean

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

name String

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled Boolean

(Optional)

segmentGroupId String

List of Segment Group IDs

segmentGroupName String
serverGroups List<ServerGroupArgs>

List of Server Group IDs

tcpPortRanges List<String>

TCP port ranges used to access the app.

udpPortRanges List<String>

UDP port ranges used to access the app.

bypassType string

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

configSpace string

(Optional)

defaultIdleTimeout string
description string

(Optional) Description of the application.

domainNames string[]

List of domains and IPs.

doubleEncrypt boolean

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

enabled boolean

(Optional) Whether this application is enabled or not.

healthCheckType string

(Optional)

healthReporting string

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

icmpAccessType string

(Optional)

ipAnchored boolean

(Optional)

isCnameEnabled boolean

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

name string

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled boolean

(Optional)

segmentGroupId string

List of Segment Group IDs

segmentGroupName string
serverGroups ApplicationSegmentServerGroupArgs[]

List of Server Group IDs

tcpPortRanges string[]

TCP port ranges used to access the app.

udpPortRanges string[]

UDP port ranges used to access the app.

bypass_type str

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

config_space str

(Optional)

default_idle_timeout str
description str

(Optional) Description of the application.

domain_names Sequence[str]

List of domains and IPs.

double_encrypt bool

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

enabled bool

(Optional) Whether this application is enabled or not.

health_check_type str

(Optional)

health_reporting str

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

icmp_access_type str

(Optional)

ip_anchored bool

(Optional)

is_cname_enabled bool

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

name str

Name. The name of the App Connector Group to be exported.

passive_health_enabled bool

(Optional)

segment_group_id str

List of Segment Group IDs

segment_group_name str
server_groups ApplicationSegmentServerGroupArgs]

List of Server Group IDs

tcp_port_ranges Sequence[str]

TCP port ranges used to access the app.

udp_port_ranges Sequence[str]

UDP port ranges used to access the app.

bypassType String

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

configSpace String

(Optional)

defaultIdleTimeout String
description String

(Optional) Description of the application.

domainNames List<String>

List of domains and IPs.

doubleEncrypt Boolean

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

enabled Boolean

(Optional) Whether this application is enabled or not.

healthCheckType String

(Optional)

healthReporting String

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

icmpAccessType String

(Optional)

ipAnchored Boolean

(Optional)

isCnameEnabled Boolean

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

name String

Name. The name of the App Connector Group to be exported.

passiveHealthEnabled Boolean

(Optional)

segmentGroupId String

List of Segment Group IDs

segmentGroupName String
serverGroups List<Property Map>

List of Server Group IDs

tcpPortRanges List<String>

TCP port ranges used to access the app.

udpPortRanges List<String>

UDP port ranges used to access the app.

Supporting Types

ApplicationSegmentServerGroup

Ids List<string>
Ids []string
ids List<String>
ids string[]
ids Sequence[str]
ids List<String>

Package Details

Repository
zpa zscaler/pulumi-zpa
License
MIT
Notes

This Pulumi package is based on the zpa Terraform Provider.