Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getApplicationSegmentInspection
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getApplicationSegmentInspection({
name: "ZPA_Inspection_Example",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_application_segment_inspection(name="ZPA_Inspection_Example")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.LookupApplicationSegmentInspection(ctx, &zpa.LookupApplicationSegmentInspectionArgs{
Name: pulumi.StringRef("ZPA_Inspection_Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.GetApplicationSegmentInspection.Invoke(new()
{
Name = "ZPA_Inspection_Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.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 = ZpaFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
.name("ZPA_Inspection_Example")
.build());
}
}
variables:
this:
fn::invoke:
Function: zpa:getApplicationSegmentInspection
Arguments:
name: ZPA_Inspection_Example
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getApplicationSegmentInspection({
id: "123456789",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_application_segment_inspection(id="123456789")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.LookupApplicationSegmentInspection(ctx, &zpa.LookupApplicationSegmentInspectionArgs{
Id: pulumi.StringRef("123456789"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var @this = Zpa.GetApplicationSegmentInspection.Invoke(new()
{
Id = "123456789",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.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 = ZpaFunctions.getApplicationSegmentInspection(GetApplicationSegmentInspectionArgs.builder()
.id("123456789")
.build());
}
}
variables:
this:
fn::invoke:
Function: zpa: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,
microtenant_id: Optional[str] = None,
microtenant_name: Optional[str] = None,
name: Optional[str] = None,
tcp_port_range: Optional[Sequence[GetApplicationSegmentInspectionTcpPortRange]] = None,
udp_port_range: Optional[Sequence[GetApplicationSegmentInspectionUdpPortRange]] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationSegmentInspectionResult
def get_application_segment_inspection_output(id: Optional[pulumi.Input[str]] = None,
microtenant_id: Optional[pulumi.Input[str]] = None,
microtenant_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tcp_port_range: Optional[pulumi.Input[Sequence[pulumi.Input[GetApplicationSegmentInspectionTcpPortRangeArgs]]]] = None,
udp_port_range: Optional[pulumi.Input[Sequence[pulumi.Input[GetApplicationSegmentInspectionUdpPortRangeArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationSegmentInspectionResult]
func LookupApplicationSegmentInspection(ctx *Context, args *LookupApplicationSegmentInspectionArgs, opts ...InvokeOption) (*LookupApplicationSegmentInspectionResult, error)
func LookupApplicationSegmentInspectionOutput(ctx *Context, args *LookupApplicationSegmentInspectionOutputArgs, opts ...InvokeOption) LookupApplicationSegmentInspectionResultOutput
> Note: This function is named LookupApplicationSegmentInspection
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:index/getApplicationSegmentInspection:getApplicationSegmentInspection
arguments:
# arguments dictionary
The following arguments are supported:
- id String
- microtenant
Id String - microtenant
Name String - name String
- tcp
Port List<Property Map>Range - udp
Port List<Property Map>Range
getApplicationSegmentInspection Result
The following output properties are available:
- Bypass
Type string - Creation
Time string - Description string
- Domain
Names List<string> - Double
Encrypt bool - Enabled bool
- Health
Check stringType - Health
Reporting string - Icmp
Access stringType - Inspection
Apps List<Zscaler.Zpa. Outputs. Get Application Segment Inspection Inspection App> - Ip
Anchored bool - Is
Cname boolEnabled - Modified
By string - Modified
Time string - Passive
Health boolEnabled - Segment
Group stringId - Segment
Group stringName - Select
Connector boolClose To App - Server
Groups List<Zscaler.Zpa. Outputs. Get Application Segment Inspection Server Group> - Tcp
Port List<Zscaler.Range Zpa. Outputs. Get Application Segment Inspection Tcp Port Range> - Tcp
Port List<string>Ranges - Udp
Port List<Zscaler.Range Zpa. Outputs. Get Application Segment Inspection Udp Port Range> - Udp
Port List<string>Ranges - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- Bypass
Type string - Creation
Time string - Description string
- Domain
Names []string - Double
Encrypt bool - Enabled bool
- Health
Check stringType - Health
Reporting string - Icmp
Access stringType - Inspection
Apps []GetApplication Segment Inspection Inspection App - Ip
Anchored bool - Is
Cname boolEnabled - Modified
By string - Modified
Time string - Passive
Health boolEnabled - Segment
Group stringId - Segment
Group stringName - Select
Connector boolClose To App - Server
Groups []GetApplication Segment Inspection Server Group - Tcp
Port []GetRange Application Segment Inspection Tcp Port Range - Tcp
Port []stringRanges - Udp
Port []GetRange Application Segment Inspection Udp Port Range - Udp
Port []stringRanges - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- bypass
Type String - creation
Time String - description String
- domain
Names List<String> - double
Encrypt Boolean - enabled Boolean
- health
Check StringType - health
Reporting String - icmp
Access StringType - inspection
Apps List<GetApplication Segment Inspection Inspection App> - ip
Anchored Boolean - is
Cname BooleanEnabled - modified
By String - modified
Time String - passive
Health BooleanEnabled - segment
Group StringId - segment
Group StringName - select
Connector BooleanClose To App - server
Groups List<GetApplication Segment Inspection Server Group> - tcp
Port List<GetRange Application Segment Inspection Tcp Port Range> - tcp
Port List<String>Ranges - udp
Port List<GetRange Application Segment Inspection Udp Port Range> - udp
Port List<String>Ranges - id String
- microtenant
Id String - microtenant
Name String - name String
- bypass
Type string - creation
Time string - description string
- domain
Names string[] - double
Encrypt boolean - enabled boolean
- health
Check stringType - health
Reporting string - icmp
Access stringType - inspection
Apps GetApplication Segment Inspection Inspection App[] - ip
Anchored boolean - is
Cname booleanEnabled - modified
By string - modified
Time string - passive
Health booleanEnabled - segment
Group stringId - segment
Group stringName - select
Connector booleanClose To App - server
Groups GetApplication Segment Inspection Server Group[] - tcp
Port GetRange Application Segment Inspection Tcp Port Range[] - tcp
Port string[]Ranges - udp
Port GetRange Application Segment Inspection Udp Port Range[] - udp
Port string[]Ranges - id string
- microtenant
Id string - microtenant
Name string - name string
- bypass_
type str - creation_
time str - description str
- domain_
names Sequence[str] - double_
encrypt bool - enabled bool
- health_
check_ strtype - health_
reporting str - icmp_
access_ strtype - inspection_
apps Sequence[GetApplication Segment Inspection Inspection App] - ip_
anchored bool - is_
cname_ boolenabled - modified_
by str - modified_
time str - passive_
health_ boolenabled - segment_
group_ strid - segment_
group_ strname - select_
connector_ boolclose_ to_ app - server_
groups Sequence[GetApplication Segment Inspection Server Group] - tcp_
port_ Sequence[Getrange Application Segment Inspection Tcp Port Range] - tcp_
port_ Sequence[str]ranges - udp_
port_ Sequence[Getrange Application Segment Inspection Udp Port Range] - udp_
port_ Sequence[str]ranges - id str
- microtenant_
id str - microtenant_
name str - name str
- bypass
Type String - creation
Time String - description String
- domain
Names List<String> - double
Encrypt Boolean - enabled Boolean
- health
Check StringType - health
Reporting String - icmp
Access StringType - inspection
Apps List<Property Map> - ip
Anchored Boolean - is
Cname BooleanEnabled - modified
By String - modified
Time String - passive
Health BooleanEnabled - segment
Group StringId - segment
Group StringName - select
Connector BooleanClose To App - server
Groups List<Property Map> - tcp
Port List<Property Map>Range - tcp
Port List<String>Ranges - udp
Port List<Property Map>Range - udp
Port List<String>Ranges - id String
- microtenant
Id String - microtenant
Name String - name String
Supporting Types
GetApplicationSegmentInspectionInspectionApp
- App
Id string - Application
Port string - Application
Protocol string - Certificate
Id string - Certificate
Name string - Description string
- Domain string
- Enabled bool
- Id string
- Name string
- App
Id string - Application
Port string - Application
Protocol string - Certificate
Id string - Certificate
Name string - Description string
- Domain string
- Enabled bool
- Id string
- Name string
- app
Id String - application
Port String - application
Protocol String - certificate
Id String - certificate
Name String - description String
- domain String
- enabled Boolean
- id String
- name String
- app
Id string - application
Port string - application
Protocol string - certificate
Id string - certificate
Name string - description string
- domain string
- enabled boolean
- id string
- name string
- app_
id str - application_
port str - application_
protocol str - certificate_
id str - certificate_
name str - description str
- domain str
- enabled bool
- id str
- name str
- app
Id String - application
Port String - application
Protocol String - certificate
Id String - certificate
Name String - description String
- domain String
- enabled Boolean
- id String
- name String
GetApplicationSegmentInspectionServerGroup
- Ids List<string>
- Ids []string
- ids List<String>
- ids string[]
- ids Sequence[str]
- ids List<String>
GetApplicationSegmentInspectionTcpPortRange
GetApplicationSegmentInspectionUdpPortRange
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.