zpa.ApplicationSegment.ApplicationSegmentPRA
The zpa_application_segment_pra resource creates an application segment for Privileged Remote Access in the Zscaler Private Access cloud. This resource can then be referenced in an access policy rule, access policy timeout rule, access policy client forwarding rule and inspection policy. This resource supports Privileged Remote Access for both RDP
and SSH
.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = new Zpa.ApplicationSegment.ApplicationSegmentPRA("this", new()
{
Description = "PRA_Example",
Enabled = true,
HealthReporting = "ON_ACCESS",
BypassType = "NEVER",
IsCnameEnabled = true,
TcpPortRanges = new[]
{
"22",
"22",
"3389",
"3389",
},
DomainNames = new[]
{
"ssh_pra.example.com",
"rdp_pra.example.com",
},
SegmentGroupId = zpa_segment_group.This.Id,
ServerGroups = new[]
{
new Zpa.ApplicationSegment.Inputs.ApplicationSegmentPRAServerGroupArgs
{
Ids = new[]
{
zpa_server_group.This.Id,
},
},
},
CommonAppsDto = new Zpa.ApplicationSegment.Inputs.ApplicationSegmentPRACommonAppsDtoArgs
{
AppsConfigs = new[]
{
new Zpa.ApplicationSegment.Inputs.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs
{
Name = "ssh_pra",
Domain = "ssh_pra.example.com",
ApplicationProtocol = "SSH",
ApplicationPort = "22",
Enabled = true,
AppTypes = new[]
{
"SECURE_REMOTE_ACCESS",
},
},
new Zpa.ApplicationSegment.Inputs.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs
{
Name = "rdp_pra",
Domain = "rdp_pra.example.com",
ApplicationProtocol = "RDP",
ConnectionSecurity = "ANY",
ApplicationPort = "3389",
Enabled = true,
AppTypes = new[]
{
"SECURE_REMOTE_ACCESS",
},
},
},
},
});
});
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.NewApplicationSegmentPRA(ctx, "this", &ApplicationSegment.ApplicationSegmentPRAArgs{
Description: pulumi.String("PRA_Example"),
Enabled: pulumi.Bool(true),
HealthReporting: pulumi.String("ON_ACCESS"),
BypassType: pulumi.String("NEVER"),
IsCnameEnabled: pulumi.Bool(true),
TcpPortRanges: pulumi.StringArray{
pulumi.String("22"),
pulumi.String("22"),
pulumi.String("3389"),
pulumi.String("3389"),
},
DomainNames: pulumi.StringArray{
pulumi.String("ssh_pra.example.com"),
pulumi.String("rdp_pra.example.com"),
},
SegmentGroupId: pulumi.Any(zpa_segment_group.This.Id),
ServerGroups: applicationsegment.ApplicationSegmentPRAServerGroupArray{
&applicationsegment.ApplicationSegmentPRAServerGroupArgs{
Ids: pulumi.StringArray{
zpa_server_group.This.Id,
},
},
},
CommonAppsDto: &applicationsegment.ApplicationSegmentPRACommonAppsDtoArgs{
AppsConfigs: applicationsegment.ApplicationSegmentPRACommonAppsDtoAppsConfigArray{
&applicationsegment.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs{
Name: pulumi.String("ssh_pra"),
Domain: pulumi.String("ssh_pra.example.com"),
ApplicationProtocol: pulumi.String("SSH"),
ApplicationPort: pulumi.String("22"),
Enabled: pulumi.Bool(true),
AppTypes: pulumi.StringArray{
pulumi.String("SECURE_REMOTE_ACCESS"),
},
},
&applicationsegment.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs{
Name: pulumi.String("rdp_pra"),
Domain: pulumi.String("rdp_pra.example.com"),
ApplicationProtocol: pulumi.String("RDP"),
ConnectionSecurity: pulumi.String("ANY"),
ApplicationPort: pulumi.String("3389"),
Enabled: pulumi.Bool(true),
AppTypes: pulumi.StringArray{
pulumi.String("SECURE_REMOTE_ACCESS"),
},
},
},
},
})
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.ApplicationSegmentPRA;
import com.pulumi.zpa.ApplicationSegment.ApplicationSegmentPRAArgs;
import com.pulumi.zpa.ApplicationSegment.inputs.ApplicationSegmentPRAServerGroupArgs;
import com.pulumi.zpa.ApplicationSegment.inputs.ApplicationSegmentPRACommonAppsDtoArgs;
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) {
var this_ = new ApplicationSegmentPRA("this", ApplicationSegmentPRAArgs.builder()
.description("PRA_Example")
.enabled(true)
.healthReporting("ON_ACCESS")
.bypassType("NEVER")
.isCnameEnabled(true)
.tcpPortRanges(
"22",
"22",
"3389",
"3389")
.domainNames(
"ssh_pra.example.com",
"rdp_pra.example.com")
.segmentGroupId(zpa_segment_group.this().id())
.serverGroups(ApplicationSegmentPRAServerGroupArgs.builder()
.ids(zpa_server_group.this().id())
.build())
.commonAppsDto(ApplicationSegmentPRACommonAppsDtoArgs.builder()
.appsConfigs(
ApplicationSegmentPRACommonAppsDtoAppsConfigArgs.builder()
.name("ssh_pra")
.domain("ssh_pra.example.com")
.applicationProtocol("SSH")
.applicationPort("22")
.enabled(true)
.appTypes("SECURE_REMOTE_ACCESS")
.build(),
ApplicationSegmentPRACommonAppsDtoAppsConfigArgs.builder()
.name("rdp_pra")
.domain("rdp_pra.example.com")
.applicationProtocol("RDP")
.connectionSecurity("ANY")
.applicationPort("3389")
.enabled(true)
.appTypes("SECURE_REMOTE_ACCESS")
.build())
.build())
.build());
}
}
import pulumi
import zscaler_pulumi_zpa as zpa
this = zpa.application_segment.ApplicationSegmentPRA("this",
description="PRA_Example",
enabled=True,
health_reporting="ON_ACCESS",
bypass_type="NEVER",
is_cname_enabled=True,
tcp_port_ranges=[
"22",
"22",
"3389",
"3389",
],
domain_names=[
"ssh_pra.example.com",
"rdp_pra.example.com",
],
segment_group_id=zpa_segment_group["this"]["id"],
server_groups=[zpa.application_segment.ApplicationSegmentPRAServerGroupArgs(
ids=[zpa_server_group["this"]["id"]],
)],
common_apps_dto=zpa.application_segment.ApplicationSegmentPRACommonAppsDtoArgs(
apps_configs=[
zpa.application_segment.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs(
name="ssh_pra",
domain="ssh_pra.example.com",
application_protocol="SSH",
application_port="22",
enabled=True,
app_types=["SECURE_REMOTE_ACCESS"],
),
zpa.application_segment.ApplicationSegmentPRACommonAppsDtoAppsConfigArgs(
name="rdp_pra",
domain="rdp_pra.example.com",
application_protocol="RDP",
connection_security="ANY",
application_port="3389",
enabled=True,
app_types=["SECURE_REMOTE_ACCESS"],
),
],
))
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@zscaler/pulumi-zpa";
const _this = new zpa.applicationsegment.ApplicationSegmentPRA("this", {
description: "PRA_Example",
enabled: true,
healthReporting: "ON_ACCESS",
bypassType: "NEVER",
isCnameEnabled: true,
tcpPortRanges: [
"22",
"22",
"3389",
"3389",
],
domainNames: [
"ssh_pra.example.com",
"rdp_pra.example.com",
],
segmentGroupId: zpa_segment_group["this"].id,
serverGroups: [{
ids: [zpa_server_group["this"].id],
}],
commonAppsDto: {
appsConfigs: [
{
name: "ssh_pra",
domain: "ssh_pra.example.com",
applicationProtocol: "SSH",
applicationPort: "22",
enabled: true,
appTypes: ["SECURE_REMOTE_ACCESS"],
},
{
name: "rdp_pra",
domain: "rdp_pra.example.com",
applicationProtocol: "RDP",
connectionSecurity: "ANY",
applicationPort: "3389",
enabled: true,
appTypes: ["SECURE_REMOTE_ACCESS"],
},
],
},
});
resources:
this:
type: zpa:ApplicationSegment:ApplicationSegmentPRA
properties:
description: PRA_Example
enabled: true
healthReporting: ON_ACCESS
bypassType: NEVER
isCnameEnabled: true
tcpPortRanges:
- '22'
- '22'
- '3389'
- '3389'
domainNames:
- ssh_pra.example.com
- rdp_pra.example.com
segmentGroupId: ${zpa_segment_group.this.id}
serverGroups:
- ids:
- ${zpa_server_group.this.id}
commonAppsDto:
appsConfigs:
- name: ssh_pra
domain: ssh_pra.example.com
applicationProtocol: SSH
applicationPort: '22'
enabled: true
appTypes:
- SECURE_REMOTE_ACCESS
- name: rdp_pra
domain: rdp_pra.example.com
applicationProtocol: RDP
connectionSecurity: ANY
applicationPort: '3389'
enabled: true
appTypes:
- SECURE_REMOTE_ACCESS
Create ApplicationSegmentPRA Resource
new ApplicationSegmentPRA(name: string, args: ApplicationSegmentPRAArgs, opts?: CustomResourceOptions);
@overload
def ApplicationSegmentPRA(resource_name: str,
opts: Optional[ResourceOptions] = None,
bypass_type: Optional[str] = None,
common_apps_dto: Optional[_applicationsegment.ApplicationSegmentPRACommonAppsDtoArgs] = 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,
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.ApplicationSegmentPRAServerGroupArgs]] = None,
tcp_port_ranges: Optional[Sequence[str]] = None,
udp_port_ranges: Optional[Sequence[str]] = None)
@overload
def ApplicationSegmentPRA(resource_name: str,
args: ApplicationSegmentPRAArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationSegmentPRA(ctx *Context, name string, args ApplicationSegmentPRAArgs, opts ...ResourceOption) (*ApplicationSegmentPRA, error)
public ApplicationSegmentPRA(string name, ApplicationSegmentPRAArgs args, CustomResourceOptions? opts = null)
public ApplicationSegmentPRA(String name, ApplicationSegmentPRAArgs args)
public ApplicationSegmentPRA(String name, ApplicationSegmentPRAArgs args, CustomResourceOptions options)
type: zpa:ApplicationSegment:ApplicationSegmentPRA
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentPRAArgs
- 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 ApplicationSegmentPRAArgs
- 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 ApplicationSegmentPRAArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentPRAArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationSegmentPRAArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationSegmentPRA 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 ApplicationSegmentPRA resource accepts the following input properties:
- Segment
Group stringId List of Segment Group IDs
- Server
Groups List<zscaler.Pulumi Package. Zpa. Application Segment. Inputs. Application Segment PRAServer Group Args> List of Server Group IDs
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Common
Apps zscaler.Dto Pulumi Package. Zpa. Application Segment. Inputs. Application Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- Config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- Passive
Health boolEnabled (Optional)
- 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.
- Segment
Group stringId List of Segment Group IDs
- Server
Groups []ApplicationSegment PRAServer Group Args List of Server Group IDs
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Common
Apps ApplicationDto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- Config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- Passive
Health boolEnabled (Optional)
- 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.
- segment
Group StringId List of Segment Group IDs
- server
Groups List<PRAServerGroup Args> List of Server Group IDs
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- common
Apps PRACommonDto Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space String (Optional)
- 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
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 of the Privileged Remote Access
- passive
Health BooleanEnabled (Optional)
- 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.
- segment
Group stringId List of Segment Group IDs
- server
Groups ApplicationSegment PRAServer Group Args[] List of Server Group IDs
- bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- common
Apps ApplicationDto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- passive
Health booleanEnabled (Optional)
- 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.
- segment_
group_ strid List of Segment Group IDs
- server_
groups ApplicationSegment PRAServer Group Args] List of Server Group IDs
- bypass_
type str (Optional) Indicates whether users can bypass ZPA to access applications.
- common_
apps_ Applicationdto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config_
space str (Optional)
- 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
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 of the Privileged Remote Access
- passive_
health_ boolenabled (Optional)
- 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.
- segment
Group StringId List of Segment Group IDs
- server
Groups List<Property Map> List of Server Group IDs
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- common
Apps Property MapDto List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space String (Optional)
- 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
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 of the Privileged Remote Access
- passive
Health BooleanEnabled (Optional)
- 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 ApplicationSegmentPRA 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 ApplicationSegmentPRA Resource
Get an existing ApplicationSegmentPRA 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?: ApplicationSegmentPRAState, opts?: CustomResourceOptions): ApplicationSegmentPRA
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bypass_type: Optional[str] = None,
common_apps_dto: Optional[_applicationsegment.ApplicationSegmentPRACommonAppsDtoArgs] = 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,
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.ApplicationSegmentPRAServerGroupArgs]] = None,
tcp_port_ranges: Optional[Sequence[str]] = None,
udp_port_ranges: Optional[Sequence[str]] = None) -> ApplicationSegmentPRA
func GetApplicationSegmentPRA(ctx *Context, name string, id IDInput, state *ApplicationSegmentPRAState, opts ...ResourceOption) (*ApplicationSegmentPRA, error)
public static ApplicationSegmentPRA Get(string name, Input<string> id, ApplicationSegmentPRAState? state, CustomResourceOptions? opts = null)
public static ApplicationSegmentPRA get(String name, Output<String> id, ApplicationSegmentPRAState 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.
- Common
Apps zscaler.Dto Pulumi Package. Zpa. Application Segment. Inputs. Application Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- Config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- 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 PRAServer 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.
- Common
Apps ApplicationDto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- Config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Server
Groups []ApplicationSegment PRAServer 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.
- common
Apps PRACommonDto Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space String (Optional)
- 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
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 of the Privileged Remote Access
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - server
Groups List<PRAServerGroup 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.
- common
Apps ApplicationDto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space string (Optional)
- 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
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 of the Privileged Remote Access
- passive
Health booleanEnabled (Optional)
- segment
Group stringId List of Segment Group IDs
- segment
Group stringName - server
Groups ApplicationSegment PRAServer 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.
- common_
apps_ Applicationdto Segment PRACommon Apps Dto Args List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config_
space str (Optional)
- 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
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 of the Privileged Remote Access
- passive_
health_ boolenabled (Optional)
- segment_
group_ strid List of Segment Group IDs
- segment_
group_ strname - server_
groups ApplicationSegment PRAServer 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.
- common
Apps Property MapDto List of applications (e.g., Inspection, Browser Access or Privileged Remote Access)
apps_config:
- (Required) List of applications to be configured
- config
Space String (Optional)
- 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
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 of the Privileged Remote Access
- 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
ApplicationSegmentPRACommonAppsDto
ApplicationSegmentPRACommonAppsDtoAppsConfig
- Allow
Options bool - App
Id string - App
Types List<string> Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- Application
Port string Port for the Privileged Remote Access
- Application
Protocol string Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- Cname string
- Connection
Security string Parameter required when
application_protocol
is of typeRDP
- Description string
(Optional) Description of the application.
- Domain string
Domain name of the Privileged Remote Access
- Enabled bool
Whether this application is enabled or not
- bool
- Id string
- Local
Domain string - Name string
Name of the Privileged Remote Access
- Portal bool
- Allow
Options bool - App
Id string - App
Types []string Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- Application
Port string Port for the Privileged Remote Access
- Application
Protocol string Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- Cname string
- Connection
Security string Parameter required when
application_protocol
is of typeRDP
- Description string
(Optional) Description of the application.
- Domain string
Domain name of the Privileged Remote Access
- Enabled bool
Whether this application is enabled or not
- bool
- Id string
- Local
Domain string - Name string
Name of the Privileged Remote Access
- Portal bool
- allow
Options Boolean - app
Id String - app
Types List<String> Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- application
Port String Port for the Privileged Remote Access
- application
Protocol String Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- cname String
- connection
Security String Parameter required when
application_protocol
is of typeRDP
- description String
(Optional) Description of the application.
- domain String
Domain name of the Privileged Remote Access
- enabled Boolean
Whether this application is enabled or not
- Boolean
- id String
- local
Domain String - name String
Name of the Privileged Remote Access
- portal Boolean
- allow
Options boolean - app
Id string - app
Types string[] Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- application
Port string Port for the Privileged Remote Access
- application
Protocol string Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- cname string
- connection
Security string Parameter required when
application_protocol
is of typeRDP
- description string
(Optional) Description of the application.
- domain string
Domain name of the Privileged Remote Access
- enabled boolean
Whether this application is enabled or not
- boolean
- id string
- local
Domain string - name string
Name of the Privileged Remote Access
- portal boolean
- allow_
options bool - app_
id str - app_
types Sequence[str] Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- application_
port str Port for the Privileged Remote Access
- application_
protocol str Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- cname str
- connection_
security str Parameter required when
application_protocol
is of typeRDP
- description str
(Optional) Description of the application.
- domain str
Domain name of the Privileged Remote Access
- enabled bool
Whether this application is enabled or not
- bool
- id str
- local_
domain str - name str
Name of the Privileged Remote Access
- portal bool
- allow
Options Boolean - app
Id String - app
Types List<String> Indicates the type of application as Privileged Remote Access. Supported value:
SECURE_REMOTE_ACCESS
- application
Port String Port for the Privileged Remote Access
- application
Protocol String Protocol for the Privileged Remote Access. Supported values:
RDP
andSSH
- cname String
- connection
Security String Parameter required when
application_protocol
is of typeRDP
- description String
(Optional) Description of the application.
- domain String
Domain name of the Privileged Remote Access
- enabled Boolean
Whether this application is enabled or not
- Boolean
- id String
- local
Domain String - name String
Name of the Privileged Remote Access
- portal Boolean
ApplicationSegmentPRAServerGroup
- Ids List<string>
- Ids []string
- ids List<String>
- ids string[]
- ids Sequence[str]
- ids List<String>
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/applicationSegmentPRA:ApplicationSegmentPRA example <application_segment_id>
or
$ pulumi import zpa:ApplicationSegment/applicationSegmentPRA:ApplicationSegmentPRA example <application_segment_name>
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
This Pulumi package is based on the
zpa
Terraform Provider.