zpa.ApplicationSegment.getApplicationSegmentInspection
Use the zpa_application_segment_inspection data source to get information about an inspection application segment in the Zscaler Private Access cloud. This resource can then be referenced in a ZPA access inspection policy. This resource supports ZPA Inspection for both HTTP
and HTTPS
.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.ApplicationSegment.GetApplicationSegmentInspection.Invoke(new()
{
Name = "ZPA_Inspection_Example",
});
});
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.GetApplicationSegmentInspection(ctx, &applicationsegment.GetApplicationSegmentInspectionArgs{
Name: pulumi.StringRef("ZPA_Inspection_Example"),
}, nil)
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.ApplicationSegmentFunctions;
import com.pulumi.zpa.ApplicationSegment.inputs.GetApplicationSegmentInspectionArgs;
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 this = ApplicationSegmentFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
.name("ZPA_Inspection_Example")
.build());
}
}
import pulumi
import pulumi_zpa as zpa
this = zpa.ApplicationSegment.get_application_segment_inspection(name="ZPA_Inspection_Example")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.ApplicationSegment.getApplicationSegmentInspection({
name: "ZPA_Inspection_Example",
});
variables:
this:
fn::invoke:
Function: zpa:ApplicationSegment:getApplicationSegmentInspection
Arguments:
name: ZPA_Inspection_Example
using System.Collections.Generic;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.ApplicationSegment.GetApplicationSegmentInspection.Invoke(new()
{
Id = "123456789",
});
});
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.GetApplicationSegmentInspection(ctx, &applicationsegment.GetApplicationSegmentInspectionArgs{
Id: pulumi.StringRef("123456789"),
}, nil)
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.ApplicationSegmentFunctions;
import com.pulumi.zpa.ApplicationSegment.inputs.GetApplicationSegmentInspectionArgs;
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 this = ApplicationSegmentFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
.id("123456789")
.build());
}
}
import pulumi
import pulumi_zpa as zpa
this = zpa.ApplicationSegment.get_application_segment_inspection(id="123456789")
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.ApplicationSegment.getApplicationSegmentInspection({
id: "123456789",
});
variables:
this:
fn::invoke:
Function: zpa:ApplicationSegment:getApplicationSegmentInspection
Arguments:
id: '123456789'
Using getApplicationSegmentInspection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApplicationSegmentInspection(args: GetApplicationSegmentInspectionArgs, opts?: InvokeOptions): Promise<GetApplicationSegmentInspectionResult>
function getApplicationSegmentInspectionOutput(args: GetApplicationSegmentInspectionOutputArgs, opts?: InvokeOptions): Output<GetApplicationSegmentInspectionResult>
def get_application_segment_inspection(id: Optional[str] = None,
name: Optional[str] = None,
tcp_port_ranges: Optional[Sequence[_applicationsegment.GetApplicationSegmentInspectionTcpPortRange]] = None,
udp_port_ranges: Optional[Sequence[_applicationsegment.GetApplicationSegmentInspectionUdpPortRange]] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationSegmentInspectionResult
def get_application_segment_inspection_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tcp_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_applicationsegment.GetApplicationSegmentInspectionTcpPortRangeArgs]]]] = None,
udp_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[_applicationsegment.GetApplicationSegmentInspectionUdpPortRangeArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationSegmentInspectionResult]
func GetApplicationSegmentInspection(ctx *Context, args *GetApplicationSegmentInspectionArgs, opts ...InvokeOption) (*GetApplicationSegmentInspectionResult, error)
func GetApplicationSegmentInspectionOutput(ctx *Context, args *GetApplicationSegmentInspectionOutputArgs, opts ...InvokeOption) GetApplicationSegmentInspectionResultOutput
> Note: This function is named GetApplicationSegmentInspection
in the Go SDK.
public static class GetApplicationSegmentInspection
{
public static Task<GetApplicationSegmentInspectionResult> InvokeAsync(GetApplicationSegmentInspectionArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationSegmentInspectionResult> Invoke(GetApplicationSegmentInspectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationSegmentInspectionResult> getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:ApplicationSegment/getApplicationSegmentInspection:getApplicationSegmentInspection
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
The ID of the Inspection Application Segment to be exported.
- Name string
The name of the Inspection Application Segment to be exported.
- Tcp
Port List<zscaler.Ranges Pulumi Package. Zpa. Application Segment. Inputs. Get Application Segment Inspection Tcp Port Range> (string) TCP port ranges used to access the app.
from:
to:
- Udp
Port List<zscaler.Ranges Pulumi Package. Zpa. Application Segment. Inputs. Get Application Segment Inspection Udp Port Range> (string) UDP port ranges used to access the app.
from:
to:
- Id string
The ID of the Inspection Application Segment to be exported.
- Name string
The name of the Inspection Application Segment to be exported.
- Tcp
Port []GetRanges Application Segment Inspection Tcp Port Range (string) TCP port ranges used to access the app.
from:
to:
- Udp
Port []GetRanges Application Segment Inspection Udp Port Range (string) UDP port ranges used to access the app.
from:
to:
- id String
The ID of the Inspection Application Segment to be exported.
- name String
The name of the Inspection Application Segment to be exported.
- tcp
Port List<GetRanges Inspection Tcp Port Range> (string) TCP port ranges used to access the app.
from:
to:
- udp
Port List<GetRanges Inspection Udp Port Range> (string) UDP port ranges used to access the app.
from:
to:
- id string
The ID of the Inspection Application Segment to be exported.
- name string
The name of the Inspection Application Segment to be exported.
- tcp
Port GetRanges Application Segment Inspection Tcp Port Range[] (string) TCP port ranges used to access the app.
from:
to:
- udp
Port GetRanges Application Segment Inspection Udp Port Range[] (string) UDP port ranges used to access the app.
from:
to:
- id str
The ID of the Inspection Application Segment to be exported.
- name str
The name of the Inspection Application Segment to be exported.
- tcp_
port_ Getranges Application Segment Inspection Tcp Port Range] (string) TCP port ranges used to access the app.
from:
to:
- udp_
port_ Getranges Application Segment Inspection Udp Port Range] (string) UDP port ranges used to access the app.
from:
to:
- id String
The ID of the Inspection Application Segment to be exported.
- name String
The name of the Inspection Application Segment to be exported.
- tcp
Port List<Property Map>Ranges (string) TCP port ranges used to access the app.
from:
to:
- udp
Port List<Property Map>Ranges (string) UDP port ranges used to access the app.
from:
to:
getApplicationSegmentInspection Result
The following output properties are available:
- Bypass
Type string (string) Indicates whether users can bypass ZPA to access applications.
- Creation
Time string (String)
- Description string
(string) Description of the application.
- Domain
Names List<string> (string) List of domains and IPs.
- Double
Encrypt bool (bool) Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
(bool) Whether this application is enabled or not
- Health
Check stringType (string)
- Health
Reporting string (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (string)
- Inspection
Apps List<zscaler.Pulumi Package. Zpa. Application Segment. Outputs. Get Application Segment Inspection Inspection App> (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- Ip
Anchored bool (bool)
- Is
Cname boolEnabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- Modified
By string - Modified
Time string (String)
- Passive
Health boolEnabled (bool)
- Segment
Group stringId (String) Segment Group IDs
- Segment
Group stringName - Select
Connector boolClose To App - Server
Groups List<zscaler.Pulumi Package. Zpa. Application Segment. Outputs. Get Application Segment Inspection Server Group> (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- Tcp
Port List<string>Ranges (string) TCP port ranges used to access the app.
- Udp
Port List<string>Ranges (string) UDP port ranges used to access the app.
- Id string
- Name string
- Bypass
Type string (string) Indicates whether users can bypass ZPA to access applications.
- Creation
Time string (String)
- Description string
(string) Description of the application.
- Domain
Names []string (string) List of domains and IPs.
- Double
Encrypt bool (bool) Whether Double Encryption is enabled or disabled for the app.
- Enabled bool
(bool) Whether this application is enabled or not
- Health
Check stringType (string)
- Health
Reporting string (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- Icmp
Access stringType (string)
- Inspection
Apps []GetApplication Segment Inspection Inspection App (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- Ip
Anchored bool (bool)
- Is
Cname boolEnabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- Modified
By string - Modified
Time string (String)
- Passive
Health boolEnabled (bool)
- Segment
Group stringId (String) Segment Group IDs
- Segment
Group stringName - Select
Connector boolClose To App - Server
Groups []GetApplication Segment Inspection Server Group (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- Tcp
Port []stringRanges (string) TCP port ranges used to access the app.
- Udp
Port []stringRanges (string) UDP port ranges used to access the app.
- Id string
- Name string
- bypass
Type String (string) Indicates whether users can bypass ZPA to access applications.
- creation
Time String (String)
- description String
(string) Description of the application.
- domain
Names List<String> (string) List of domains and IPs.
- double
Encrypt Boolean (bool) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(bool) Whether this application is enabled or not
- health
Check StringType (string)
- health
Reporting String (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (string)
- inspection
Apps List<GetInspection Inspection App> (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- ip
Anchored Boolean (bool)
- is
Cname BooleanEnabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- modified
By String - modified
Time String (String)
- passive
Health BooleanEnabled (bool)
- segment
Group StringId (String) Segment Group IDs
- segment
Group StringName - select
Connector BooleanClose To App - server
Groups List<GetInspection Server Group> (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- tcp
Port List<String>Ranges (string) TCP port ranges used to access the app.
- udp
Port List<String>Ranges (string) UDP port ranges used to access the app.
- id String
- name String
- bypass
Type string (string) Indicates whether users can bypass ZPA to access applications.
- creation
Time string (String)
- description string
(string) Description of the application.
- domain
Names string[] (string) List of domains and IPs.
- double
Encrypt boolean (bool) Whether Double Encryption is enabled or disabled for the app.
- enabled boolean
(bool) Whether this application is enabled or not
- health
Check stringType (string)
- health
Reporting string (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access stringType (string)
- inspection
Apps GetApplication Segment Inspection Inspection App[] (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- ip
Anchored boolean (bool)
- is
Cname booleanEnabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- modified
By string - modified
Time string (String)
- passive
Health booleanEnabled (bool)
- segment
Group stringId (String) Segment Group IDs
- segment
Group stringName - select
Connector booleanClose To App - server
Groups GetApplication Segment Inspection Server Group[] (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- tcp
Port string[]Ranges (string) TCP port ranges used to access the app.
- udp
Port string[]Ranges (string) UDP port ranges used to access the app.
- id string
- name string
- bypass_
type str (string) Indicates whether users can bypass ZPA to access applications.
- creation_
time str (String)
- description str
(string) Description of the application.
- domain_
names Sequence[str] (string) List of domains and IPs.
- double_
encrypt bool (bool) Whether Double Encryption is enabled or disabled for the app.
- enabled bool
(bool) Whether this application is enabled or not
- health_
check_ strtype (string)
- health_
reporting str (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp_
access_ strtype (string)
- inspection_
apps GetApplication Segment Inspection Inspection App] (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- ip_
anchored bool (bool)
- is_
cname_ boolenabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- modified_
by str - modified_
time str (String)
- passive_
health_ boolenabled (bool)
- segment_
group_ strid (String) Segment Group IDs
- segment_
group_ strname - select_
connector_ boolclose_ to_ app - server_
groups GetApplication Segment Inspection Server Group] (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- tcp_
port_ Sequence[str]ranges (string) TCP port ranges used to access the app.
- udp_
port_ Sequence[str]ranges (string) UDP port ranges used to access the app.
- id str
- name str
- bypass
Type String (string) Indicates whether users can bypass ZPA to access applications.
- creation
Time String (String)
- description String
(string) Description of the application.
- domain
Names List<String> (string) List of domains and IPs.
- double
Encrypt Boolean (bool) Whether Double Encryption is enabled or disabled for the app.
- enabled Boolean
(bool) Whether this application is enabled or not
- health
Check StringType (string)
- health
Reporting String (string) Whether health reporting for the app is Continuous or On Access. Supported values:
NONE
,ON_ACCESS
,CONTINUOUS
.- icmp
Access StringType (string)
- inspection
Apps List<Property Map> (string) TCP port ranges used to access the app.
app_id:
- (string)name:
- (string) Name of the Inspection Applicationdescription:
- (string) Description of the Inspection Applicationdomain:
- (string) Domain name of the inspection application
- ip
Anchored Boolean (bool)
- is
Cname BooleanEnabled (bool) Indicates if the Zscaler Client Connector (formerly Zscaler App or Z App) receives CNAME DNS records from the connectors.
- modified
By String - modified
Time String (String)
- passive
Health BooleanEnabled (bool)
- segment
Group StringId (String) Segment Group IDs
- segment
Group StringName - select
Connector BooleanClose To App - server
Groups List<Property Map> (string) List of Server Group IDs
id:
- (string) List of Server Group IDs
- tcp
Port List<String>Ranges (string) TCP port ranges used to access the app.
- udp
Port List<String>Ranges (string) UDP port ranges used to access the app.
- id String
- name String
Supporting Types
GetApplicationSegmentInspectionInspectionApp
- App
Id string - Application
Port string (string) TCP/UDP Port for ZPA Inspection.
- Application
Protocol string (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- Certificate
Id string (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 (string) - Parameter required when
application_protocol
is of typeHTTPS
- Description string
(string) Description of the application.
- Domain string
- Enabled bool
(bool) Whether this application is enabled or not
- Id string
The ID of the Inspection Application Segment to be exported.
- Name string
The name of the Inspection Application Segment to be exported.
- App
Id string - Application
Port string (string) TCP/UDP Port for ZPA Inspection.
- Application
Protocol string (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- Certificate
Id string (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 (string) - Parameter required when
application_protocol
is of typeHTTPS
- Description string
(string) Description of the application.
- Domain string
- Enabled bool
(bool) Whether this application is enabled or not
- Id string
The ID of the Inspection Application Segment to be exported.
- Name string
The name of the Inspection Application Segment to be exported.
- app
Id String - application
Port String (string) TCP/UDP Port for ZPA Inspection.
- application
Protocol String (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- certificate
Id String (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 (string) - Parameter required when
application_protocol
is of typeHTTPS
- description String
(string) Description of the application.
- domain String
- enabled Boolean
(bool) Whether this application is enabled or not
- id String
The ID of the Inspection Application Segment to be exported.
- name String
The name of the Inspection Application Segment to be exported.
- app
Id string - application
Port string (string) TCP/UDP Port for ZPA Inspection.
- application
Protocol string (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- certificate
Id string (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 (string) - Parameter required when
application_protocol
is of typeHTTPS
- description string
(string) Description of the application.
- domain string
- enabled boolean
(bool) Whether this application is enabled or not
- id string
The ID of the Inspection Application Segment to be exported.
- name string
The name of the Inspection Application Segment to be exported.
- app_
id str - application_
port str (string) TCP/UDP Port for ZPA Inspection.
- application_
protocol str (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- certificate_
id str (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 str (string) - Parameter required when
application_protocol
is of typeHTTPS
- description str
(string) Description of the application.
- domain str
- enabled bool
(bool) Whether this application is enabled or not
- id str
The ID of the Inspection Application Segment to be exported.
- name str
The name of the Inspection Application Segment to be exported.
- app
Id String - application
Port String (string) TCP/UDP Port for ZPA Inspection.
- application
Protocol String (string) Protocol for the Inspection Application. Supported values:
HTTP
andHTTPS
- certificate
Id String (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 (string) - Parameter required when
application_protocol
is of typeHTTPS
- description String
(string) Description of the application.
- domain String
- enabled Boolean
(bool) Whether this application is enabled or not
- id String
The ID of the Inspection Application Segment to be exported.
- name String
The name of the Inspection Application Segment to be exported.
GetApplicationSegmentInspectionServerGroup
- Ids List<string>
The ID of the Inspection Application Segment to be exported.
- Ids []string
The ID of the Inspection Application Segment to be exported.
- ids List<String>
The ID of the Inspection Application Segment to be exported.
- ids string[]
The ID of the Inspection Application Segment to be exported.
- ids Sequence[str]
The ID of the Inspection Application Segment to be exported.
- ids List<String>
The ID of the Inspection Application Segment to be exported.
GetApplicationSegmentInspectionTcpPortRange
GetApplicationSegmentInspectionUdpPortRange
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
This Pulumi package is based on the
zpa
Terraform Provider.