zpa.ApplicationSegment.ApplicationSegmentInspection
The zpa_application_segment_inspection resource creates an inspection application segment in the Zscaler Private Access cloud. This resource can then be referenced in an access policy inspection rule. This resource supports Inspection for both HTTP
and HTTPS
.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;
using Zpa = zscaler.PulumiPackage.Zpa;
return await Deployment.RunAsync(() =>
{
var jenkins = Zpa.BrowserCertificate.GetBaCertificate.Invoke(new()
{
Name = "jenkins.securitygeek.io",
});
var @this = new Zpa.ApplicationSegment.ApplicationSegmentInspection("this", new()
{
Description = "ZPA_Inspection_Example",
Enabled = true,
HealthReporting = "ON_ACCESS",
BypassType = "NEVER",
IsCnameEnabled = true,
TcpPortRanges = new[]
{
"443",
"443",
},
DomainNames = new[]
{
"jenkins.example.com",
},
SegmentGroupId = zpa_segment_group.This.Id,
ServerGroups = new[]
{
new Zpa.ApplicationSegment.Inputs.ApplicationSegmentInspectionServerGroupArgs
{
Ids = new[]
{
zpa_server_group.This.Id,
},
},
},
CommonAppsDto = new Zpa.ApplicationSegment.Inputs.ApplicationSegmentInspectionCommonAppsDtoArgs
{
AppsConfigs = new[]
{
new Zpa.ApplicationSegment.Inputs.ApplicationSegmentInspectionCommonAppsDtoAppsConfigArgs
{
Name = "jenkins.example.com",
Domain = "jenkins.example.com",
ApplicationProtocol = "HTTPS",
ApplicationPort = "443",
CertificateId = jenkins.Apply(getBaCertificateResult => getBaCertificateResult.Id),
Enabled = true,
AppTypes = new[]
{
"INSPECT",
},
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa/ApplicationSegment"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa/BrowserCertificate"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
jenkins, err := BrowserCertificate.GetBaCertificate(ctx, &browsercertificate.GetBaCertificateArgs{
Name: pulumi.StringRef("jenkins.securitygeek.io"),
}, nil)
if err != nil {
return err
}
_, err = ApplicationSegment.NewApplicationSegmentInspection(ctx, "this", &ApplicationSegment.ApplicationSegmentInspectionArgs{
Description: pulumi.String("ZPA_Inspection_Example"),
Enabled: pulumi.Bool(true),
HealthReporting: pulumi.String("ON_ACCESS"),
BypassType: pulumi.String("NEVER"),
IsCnameEnabled: pulumi.Bool(true),
TcpPortRanges: pulumi.StringArray{
pulumi.String("443"),
pulumi.String("443"),
},
DomainNames: pulumi.StringArray{
pulumi.String("jenkins.example.com"),
},
SegmentGroupId: pulumi.Any(zpa_segment_group.This.Id),
ServerGroups: applicationsegment.ApplicationSegmentInspectionServerGroupArray{
&applicationsegment.ApplicationSegmentInspectionServerGroupArgs{
Ids: pulumi.StringArray{
zpa_server_group.This.Id,
},
},
},
CommonAppsDto: &applicationsegment.ApplicationSegmentInspectionCommonAppsDtoArgs{
AppsConfigs: applicationsegment.ApplicationSegmentInspectionCommonAppsDtoAppsConfigArray{
&applicationsegment.ApplicationSegmentInspectionCommonAppsDtoAppsConfigArgs{
Name: pulumi.String("jenkins.example.com"),
Domain: pulumi.String("jenkins.example.com"),
ApplicationProtocol: pulumi.String("HTTPS"),
ApplicationPort: pulumi.String("443"),
CertificateId: *pulumi.String(jenkins.Id),
Enabled: pulumi.Bool(true),
AppTypes: pulumi.StringArray{
pulumi.String("INSPECT"),
},
},
},
},
})
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.BrowserCertificate.BrowserCertificateFunctions;
import com.pulumi.zpa.BrowserCertificate.inputs.GetBaCertificateArgs;
import com.pulumi.zpa.ApplicationSegment.ApplicationSegmentInspection;
import com.pulumi.zpa.ApplicationSegment.ApplicationSegmentInspectionArgs;
import com.pulumi.zpa.ApplicationSegment.inputs.ApplicationSegmentInspectionServerGroupArgs;
import com.pulumi.zpa.ApplicationSegment.inputs.ApplicationSegmentInspectionCommonAppsDtoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var jenkins = BrowserCertificateFunctions.getBaCertificate(GetBaCertificateArgs.builder()
.name("jenkins.securitygeek.io")
.build());
var this_ = new ApplicationSegmentInspection("this", ApplicationSegmentInspectionArgs.builder()
.description("ZPA_Inspection_Example")
.enabled(true)
.healthReporting("ON_ACCESS")
.bypassType("NEVER")
.isCnameEnabled(true)
.tcpPortRanges(
"443",
"443")
.domainNames("jenkins.example.com")
.segmentGroupId(zpa_segment_group.this().id())
.serverGroups(ApplicationSegmentInspectionServerGroupArgs.builder()
.ids(zpa_server_group.this().id())
.build())
.commonAppsDto(ApplicationSegmentInspectionCommonAppsDtoArgs.builder()
.appsConfigs(ApplicationSegmentInspectionCommonAppsDtoAppsConfigArgs.builder()
.name("jenkins.example.com")
.domain("jenkins.example.com")
.applicationProtocol("HTTPS")
.applicationPort("443")
.certificateId(jenkins.applyValue(getBaCertificateResult -> getBaCertificateResult.id()))
.enabled(true)
.appTypes("INSPECT")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_zpa as zpa
import zscaler_pulumi_zpa as zpa
jenkins = zpa.BrowserCertificate.get_ba_certificate(name="jenkins.securitygeek.io")
this = zpa.application_segment.ApplicationSegmentInspection("this",
description="ZPA_Inspection_Example",
enabled=True,
health_reporting="ON_ACCESS",
bypass_type="NEVER",
is_cname_enabled=True,
tcp_port_ranges=[
"443",
"443",
],
domain_names=["jenkins.example.com"],
segment_group_id=zpa_segment_group["this"]["id"],
server_groups=[zpa.application_segment.ApplicationSegmentInspectionServerGroupArgs(
ids=[zpa_server_group["this"]["id"]],
)],
common_apps_dto=zpa.application_segment.ApplicationSegmentInspectionCommonAppsDtoArgs(
apps_configs=[zpa.application_segment.ApplicationSegmentInspectionCommonAppsDtoAppsConfigArgs(
name="jenkins.example.com",
domain="jenkins.example.com",
application_protocol="HTTPS",
application_port="443",
certificate_id=jenkins.id,
enabled=True,
app_types=["INSPECT"],
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
import * as zpa from "@zscaler/pulumi-zpa";
const jenkins = zpa.BrowserCertificate.getBaCertificate({
name: "jenkins.securitygeek.io",
});
const _this = new zpa.applicationsegment.ApplicationSegmentInspection("this", {
description: "ZPA_Inspection_Example",
enabled: true,
healthReporting: "ON_ACCESS",
bypassType: "NEVER",
isCnameEnabled: true,
tcpPortRanges: [
"443",
"443",
],
domainNames: ["jenkins.example.com"],
segmentGroupId: zpa_segment_group["this"].id,
serverGroups: [{
ids: [zpa_server_group["this"].id],
}],
commonAppsDto: {
appsConfigs: [{
name: "jenkins.example.com",
domain: "jenkins.example.com",
applicationProtocol: "HTTPS",
applicationPort: "443",
certificateId: jenkins.then(jenkins => jenkins.id),
enabled: true,
appTypes: ["INSPECT"],
}],
},
});
resources:
this:
type: zpa:ApplicationSegment:ApplicationSegmentInspection
properties:
description: ZPA_Inspection_Example
enabled: true
healthReporting: ON_ACCESS
bypassType: NEVER
isCnameEnabled: true
tcpPortRanges:
- '443'
- '443'
domainNames:
- jenkins.example.com
segmentGroupId: ${zpa_segment_group.this.id}
serverGroups:
- ids:
- ${zpa_server_group.this.id}
commonAppsDto:
appsConfigs:
- name: jenkins.example.com
domain: jenkins.example.com
applicationProtocol: HTTPS
applicationPort: '443'
certificateId: ${jenkins.id}
enabled: true
appTypes:
- INSPECT
variables:
jenkins:
fn::invoke:
Function: zpa:BrowserCertificate:getBaCertificate
Arguments:
name: jenkins.securitygeek.io
Create ApplicationSegmentInspection Resource
new ApplicationSegmentInspection(name: string, args: ApplicationSegmentInspectionArgs, opts?: CustomResourceOptions);
@overload
def ApplicationSegmentInspection(resource_name: str,
opts: Optional[ResourceOptions] = None,
bypass_type: Optional[str] = None,
common_apps_dto: Optional[_applicationsegment.ApplicationSegmentInspectionCommonAppsDtoArgs] = 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.ApplicationSegmentInspectionServerGroupArgs]] = None,
tcp_port_ranges: Optional[Sequence[str]] = None,
udp_port_ranges: Optional[Sequence[str]] = None)
@overload
def ApplicationSegmentInspection(resource_name: str,
args: ApplicationSegmentInspectionArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationSegmentInspection(ctx *Context, name string, args ApplicationSegmentInspectionArgs, opts ...ResourceOption) (*ApplicationSegmentInspection, error)
public ApplicationSegmentInspection(string name, ApplicationSegmentInspectionArgs args, CustomResourceOptions? opts = null)
public ApplicationSegmentInspection(String name, ApplicationSegmentInspectionArgs args)
public ApplicationSegmentInspection(String name, ApplicationSegmentInspectionArgs args, CustomResourceOptions options)
type: zpa:ApplicationSegment:ApplicationSegmentInspection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentInspectionArgs
- 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 ApplicationSegmentInspectionArgs
- 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 ApplicationSegmentInspectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationSegmentInspectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationSegmentInspectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationSegmentInspection 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 ApplicationSegmentInspection 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 Inspection Server 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 Inspection Common 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 Inspection Application Segment.
- 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 Inspection Server Group Args List of Server Group IDs
- Bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- Common
Apps ApplicationDto Segment Inspection Common 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 Inspection Application Segment.
- 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<InspectionServer Group Args> List of Server Group IDs
- bypass
Type String (Optional) Indicates whether users can bypass ZPA to access applications.
- common
Apps InspectionDto Common 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 Inspection Application Segment.
- 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 Inspection Server Group Args[] List of Server Group IDs
- bypass
Type string (Optional) Indicates whether users can bypass ZPA to access applications.
- common
Apps ApplicationDto Segment Inspection Common 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 Inspection Application Segment.
- 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 Inspection Server Group Args] List of Server Group IDs
- bypass_
type str (Optional) Indicates whether users can bypass ZPA to access applications.
- common_
apps_ Applicationdto Segment Inspection Common 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 Inspection Application Segment.
- 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 Inspection Application Segment.
- 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 ApplicationSegmentInspection 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 ApplicationSegmentInspection Resource
Get an existing ApplicationSegmentInspection 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?: ApplicationSegmentInspectionState, opts?: CustomResourceOptions): ApplicationSegmentInspection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bypass_type: Optional[str] = None,
common_apps_dto: Optional[_applicationsegment.ApplicationSegmentInspectionCommonAppsDtoArgs] = 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.ApplicationSegmentInspectionServerGroupArgs]] = None,
tcp_port_ranges: Optional[Sequence[str]] = None,
udp_port_ranges: Optional[Sequence[str]] = None) -> ApplicationSegmentInspection
func GetApplicationSegmentInspection(ctx *Context, name string, id IDInput, state *ApplicationSegmentInspectionState, opts ...ResourceOption) (*ApplicationSegmentInspection, error)
public static ApplicationSegmentInspection Get(string name, Input<string> id, ApplicationSegmentInspectionState? state, CustomResourceOptions? opts = null)
public static ApplicationSegmentInspection get(String name, Output<String> id, ApplicationSegmentInspectionState 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 Inspection Common 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 Inspection Application Segment.
- 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 Inspection 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.
- Common
Apps ApplicationDto Segment Inspection Common 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 Inspection Application Segment.
- Passive
Health boolEnabled (Optional)
- Segment
Group stringId List of Segment Group IDs
- Segment
Group stringName - Server
Groups []ApplicationSegment Inspection 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.
- common
Apps InspectionDto Common 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 Inspection Application Segment.
- passive
Health BooleanEnabled (Optional)
- segment
Group StringId List of Segment Group IDs
- segment
Group StringName - server
Groups List<InspectionServer 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 Inspection Common 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 Inspection Application Segment.
- passive
Health booleanEnabled (Optional)
- segment
Group stringId List of Segment Group IDs
- segment
Group stringName - server
Groups ApplicationSegment Inspection 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.
- common_
apps_ Applicationdto Segment Inspection Common 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 Inspection Application Segment.
- passive_
health_ boolenabled (Optional)
- segment_
group_ strid List of Segment Group IDs
- segment_
group_ strname - server_
groups ApplicationSegment Inspection 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.
- 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 Inspection Application Segment.
- 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
ApplicationSegmentInspectionCommonAppsDto
ApplicationSegmentInspectionCommonAppsDtoAppsConfig
- Allow
Options bool - App
Id string - App
Types List<string> Indicates the type of application as inspection. Supported value:
INSPECT
- Application
Port string Port for the Inspection Application Segment.
- Application
Protocol string Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- Certificate
Id string ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- Certificate
Name string - Cname string
- Description string
(Optional) Description of the application.
- Domain string
Domain name of the Inspection Application Segment.
- Enabled bool
Whether this application is enabled or not
- bool
- Id string
- Local
Domain string - Name string
Name of the Inspection Application Segment.
- Portal bool
- Trust
Untrusted boolCert
- Allow
Options bool - App
Id string - App
Types []string Indicates the type of application as inspection. Supported value:
INSPECT
- Application
Port string Port for the Inspection Application Segment.
- Application
Protocol string Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- Certificate
Id string ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- Certificate
Name string - Cname string
- Description string
(Optional) Description of the application.
- Domain string
Domain name of the Inspection Application Segment.
- Enabled bool
Whether this application is enabled or not
- bool
- Id string
- Local
Domain string - Name string
Name of the Inspection Application Segment.
- Portal bool
- Trust
Untrusted boolCert
- allow
Options Boolean - app
Id String - app
Types List<String> Indicates the type of application as inspection. Supported value:
INSPECT
- application
Port String Port for the Inspection Application Segment.
- application
Protocol String Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- certificate
Id String ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- certificate
Name String - cname String
- description String
(Optional) Description of the application.
- domain String
Domain name of the Inspection Application Segment.
- enabled Boolean
Whether this application is enabled or not
- Boolean
- id String
- local
Domain String - name String
Name of the Inspection Application Segment.
- portal Boolean
- trust
Untrusted BooleanCert
- allow
Options boolean - app
Id string - app
Types string[] Indicates the type of application as inspection. Supported value:
INSPECT
- application
Port string Port for the Inspection Application Segment.
- application
Protocol string Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- certificate
Id string ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- certificate
Name string - cname string
- description string
(Optional) Description of the application.
- domain string
Domain name of the Inspection Application Segment.
- enabled boolean
Whether this application is enabled or not
- boolean
- id string
- local
Domain string - name string
Name of the Inspection Application Segment.
- portal boolean
- trust
Untrusted booleanCert
- allow_
options bool - app_
id str - app_
types Sequence[str] Indicates the type of application as inspection. Supported value:
INSPECT
- application_
port str Port for the Inspection Application Segment.
- application_
protocol str Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- certificate_
id str ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- certificate_
name str - cname str
- description str
(Optional) Description of the application.
- domain str
Domain name of the Inspection Application Segment.
- enabled bool
Whether this application is enabled or not
- bool
- id str
- local_
domain str - name str
Name of the Inspection Application Segment.
- portal bool
- trust_
untrusted_ boolcert
- allow
Options Boolean - app
Id String - app
Types List<String> Indicates the type of application as inspection. Supported value:
INSPECT
- application
Port String Port for the Inspection Application Segment.
- application
Protocol String Protocol for the Inspection Application Segment.. Supported values:
HTTP
andHTTPS
- certificate
Id String ID of the signing certificate. This field is required if the applicationProtocol is set to
HTTPS
. The certificateId is not supported if the applicationProtocol is set toHTTP
.- certificate
Name String - cname String
- description String
(Optional) Description of the application.
- domain String
Domain name of the Inspection Application Segment.
- enabled Boolean
Whether this application is enabled or not
- Boolean
- id String
- local
Domain String - name String
Name of the Inspection Application Segment.
- portal Boolean
- trust
Untrusted BooleanCert
ApplicationSegmentInspectionServerGroup
- 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 Inspection Application Segment can be imported by using <APPLICATION SEGMENT ID>
or <APPLICATION SEGMENT NAME>
as the import ID.
$ pulumi import zpa:ApplicationSegment/applicationSegmentInspection:ApplicationSegmentInspection example <application_segment_id>
or
$ pulumi import zpa:ApplicationSegment/applicationSegmentInspection:ApplicationSegmentInspection example <application_segment_name>
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
This Pulumi package is based on the
zpa
Terraform Provider.