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:
- Domain
Names List<string> List of domains and IPs.
- Server
Groups List<zscaler.Pulumi Package. Zpa. Application Segment. Inputs. Application Segment Server Group Args> List of Server Group IDs
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Config
Space string (Optional)
- Default
Idle stringTimeout - Description string
(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 stringType (Optional)
- Health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (Optional)
- Ip
Anchored bool (Optional)
- Is
Cname boolEnabled (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.
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Tcp
Port List<string>Ranges TCP port ranges used to access the app.
- Udp
Port List<string>Ranges UDP port ranges used to access the app.
- Domain
Names []string List of domains and IPs.
- Server
Groups []ApplicationSegment Server Group Args List of Server Group IDs
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Config
Space string (Optional)
- Default
Idle stringTimeout - Description string
(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 stringType (Optional)
- Health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (Optional)
- Ip
Anchored bool (Optional)
- Is
Cname boolEnabled (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.
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Tcp
Port []stringRanges TCP port ranges used to access the app.
- Udp
Port []stringRanges UDP port ranges used to access the app.
- domain
Names List<String> List of domains and IPs.
- server
Groups List<ServerGroup Args> List of Server Group IDs
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space String (Optional)
- default
Idle StringTimeout - description String
(Optional) Description of the application.
- double
Encrypt Boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(Optional) Whether this application is enabled or not.
- health
Check StringType (Optional)
- health
Reporting String (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (Optional)
- ip
Anchored Boolean (Optional)
- is
Cname BooleanEnabled (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.
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - tcp
Port List<String>Ranges TCP port ranges used to access the app.
- udp
Port List<String>Ranges UDP port ranges used to access the app.
- domain
Names string[] List of domains and IPs.
- server
Groups ApplicationSegment Server Group Args[] List of Server Group IDs
- bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space string (Optional)
- default
Idle stringTimeout - description string
(Optional) Description of the application.
- double
Encrypt boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled boolean
(Optional) Whether this application is enabled or not.
- health
Check stringType (Optional)
- health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access stringType (Optional)
- ip
Anchored boolean (Optional)
- is
Cname booleanEnabled (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.
- passive
Health booleanEnabled (Optional)
- segment
Group stringId List of Segment Group IDs
- segment
Group stringName - tcp
Port string[]Ranges TCP port ranges used to access the app.
- udp
Port string[]Ranges UDP port ranges used to access the app.
- domain_
names Sequence[str] List of domains and IPs.
- server_
groups ApplicationSegment Server Group Args] List of Server Group IDs
- bypass_
type str (Optional) Indicates whether users can bypass ZPA to access applications.
- config_
space str (Optional)
- default_
idle_ strtimeout - 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_ strtype (Optional)
- health_
reporting str (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp_
access_ strtype (Optional)
- ip_
anchored bool (Optional)
- is_
cname_ boolenabled (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_ boolenabled (Optional)
- segment_
group_ strid List of Segment Group IDs
- segment_
group_ strname - tcp_
port_ Sequence[str]ranges TCP port ranges used to access the app.
- udp_
port_ Sequence[str]ranges UDP port ranges used to access the app.
- domain
Names List<String> List of domains and IPs.
- server
Groups List<Property Map> List of Server Group IDs
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space String (Optional)
- default
Idle StringTimeout - description String
(Optional) Description of the application.
- double
Encrypt Boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(Optional) Whether this application is enabled or not.
- health
Check StringType (Optional)
- health
Reporting String (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (Optional)
- ip
Anchored Boolean (Optional)
- is
Cname BooleanEnabled (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.
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - tcp
Port List<String>Ranges TCP port ranges used to access the app.
- udp
Port List<String>Ranges 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.
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Config
Space string (Optional)
- Default
Idle stringTimeout - Description string
(Optional) Description of the application.
- Domain
Names List<string> 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 stringType (Optional)
- Health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (Optional)
- Ip
Anchored bool (Optional)
- Is
Cname boolEnabled (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.
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Server
Groups List<zscaler.Pulumi Package. Zpa. Application Segment. Inputs. Application Segment Server Group Args> List of Server Group IDs
- Tcp
Port List<string>Ranges TCP port ranges used to access the app.
- Udp
Port List<string>Ranges UDP port ranges used to access the app.
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Config
Space string (Optional)
- Default
Idle stringTimeout - Description string
(Optional) Description of the application.
- Domain
Names []string 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 stringType (Optional)
- Health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (Optional)
- Ip
Anchored bool (Optional)
- Is
Cname boolEnabled (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.
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Server
Groups []ApplicationSegment Server Group Args List of Server Group IDs
- Tcp
Port []stringRanges TCP port ranges used to access the app.
- Udp
Port []stringRanges UDP port ranges used to access the app.
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space String (Optional)
- default
Idle StringTimeout - description String
(Optional) Description of the application.
- domain
Names List<String> List of domains and IPs.
- double
Encrypt Boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(Optional) Whether this application is enabled or not.
- health
Check StringType (Optional)
- health
Reporting String (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (Optional)
- ip
Anchored Boolean (Optional)
- is
Cname BooleanEnabled (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.
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - server
Groups List<ServerGroup Args> List of Server Group IDs
- tcp
Port List<String>Ranges TCP port ranges used to access the app.
- udp
Port List<String>Ranges UDP port ranges used to access the app.
- bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space string (Optional)
- default
Idle stringTimeout - description string
(Optional) Description of the application.
- domain
Names string[] List of domains and IPs.
- double
Encrypt boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled boolean
(Optional) Whether this application is enabled or not.
- health
Check stringType (Optional)
- health
Reporting string (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access stringType (Optional)
- ip
Anchored boolean (Optional)
- is
Cname booleanEnabled (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.
- passive
Health booleanEnabled (Optional)
- segment
Group stringId List of Segment Group IDs
- segment
Group stringName - server
Groups ApplicationSegment Server Group Args[] List of Server Group IDs
- tcp
Port string[]Ranges TCP port ranges used to access the app.
- udp
Port string[]Ranges 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_ strtimeout - 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_ strtype (Optional)
- health_
reporting str (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp_
access_ strtype (Optional)
- ip_
anchored bool (Optional)
- is_
cname_ boolenabled (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_ boolenabled (Optional)
- segment_
group_ strid List of Segment Group IDs
- segment_
group_ strname - server_
groups ApplicationSegment Server Group Args] List of Server Group IDs
- tcp_
port_ Sequence[str]ranges TCP port ranges used to access the app.
- udp_
port_ Sequence[str]ranges UDP port ranges used to access the app.
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- config
Space String (Optional)
- default
Idle StringTimeout - description String
(Optional) Description of the application.
- domain
Names List<String> List of domains and IPs.
- double
Encrypt Boolean (Optional) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(Optional) Whether this application is enabled or not.
- health
Check StringType (Optional)
- health
Reporting String (Optional) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (Optional)
- ip
Anchored Boolean (Optional)
- is
Cname BooleanEnabled (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.
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - server
Groups List<Property Map> List of Server Group IDs
- tcp
Port List<String>Ranges TCP port ranges used to access the app.
- udp
Port List<String>Ranges 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.