zpa.getPolicyClientType
Explore with Pulumi AI
Use the zpa_access_policy_client_types data source to get information about all client types for the specified customer in the Zscaler Private Access cloud. This data source can be optionally used when defining the following policy types:
- zpa.PolicyAccessRule
- zpa.PolicyAccessTimeOutRule
- zpa.PolicyAccessForwardingRule
- zpa.PolicyAccessIsolationRule
- zpa.PolicyAccessInspectionRule
The object_type
attribute must be defined as “CLIENT_TYPE” in the policy operand condition. To learn more see the To learn more see the Getting Details of All Client Types
NOTE By Default the ZPA provider will return all client types
NOTE When defining a
zpa.PolicyAccessIsolationRule
policy theobject_type
“CLIENT_TYPE” is mandatory andzpn_client_type_exporter
is the only supported value.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const this = zpa.getPolicyClientType({});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_policy_client_type()
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.GetPolicyClientType(ctx, nil, 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.GetPolicyClientType.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
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.getPolicyClientType();
}
}
variables:
this:
fn::invoke:
Function: zpa:getPolicyClientType
Arguments: {}
Using getPolicyClientType
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 getPolicyClientType(opts?: InvokeOptions): Promise<GetPolicyClientTypeResult>
function getPolicyClientTypeOutput(opts?: InvokeOptions): Output<GetPolicyClientTypeResult>
def get_policy_client_type(opts: Optional[InvokeOptions] = None) -> GetPolicyClientTypeResult
def get_policy_client_type_output(opts: Optional[InvokeOptions] = None) -> Output[GetPolicyClientTypeResult]
func GetPolicyClientType(ctx *Context, opts ...InvokeOption) (*GetPolicyClientTypeResult, error)
func GetPolicyClientTypeOutput(ctx *Context, opts ...InvokeOption) GetPolicyClientTypeResultOutput
> Note: This function is named GetPolicyClientType
in the Go SDK.
public static class GetPolicyClientType
{
public static Task<GetPolicyClientTypeResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetPolicyClientTypeResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyClientTypeResult> getPolicyClientType(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getPolicyClientType:getPolicyClientType
arguments:
# arguments dictionary
getPolicyClientType Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Zpn
Client stringType Branch Connector - Zpn
Client stringType Browser Isolation - Zpn
Client stringType Edge Connector - Zpn
Client stringType Exporter - Zpn
Client stringType Exporter Noauth - Zpn
Client stringType Ip Anchoring - Zpn
Client stringType Machine Tunnel - Zpn
Client stringType Slogger - Zpn
Client stringType Zapp
- Id string
- The provider-assigned unique ID for this managed resource.
- Zpn
Client stringType Branch Connector - Zpn
Client stringType Browser Isolation - Zpn
Client stringType Edge Connector - Zpn
Client stringType Exporter - Zpn
Client stringType Exporter Noauth - Zpn
Client stringType Ip Anchoring - Zpn
Client stringType Machine Tunnel - Zpn
Client stringType Slogger - Zpn
Client stringType Zapp
- id String
- The provider-assigned unique ID for this managed resource.
- zpn
Client StringType Branch Connector - zpn
Client StringType Browser Isolation - zpn
Client StringType Edge Connector - zpn
Client StringType Exporter - zpn
Client StringType Exporter Noauth - zpn
Client StringType Ip Anchoring - zpn
Client StringType Machine Tunnel - zpn
Client StringType Slogger - zpn
Client StringType Zapp
- id string
- The provider-assigned unique ID for this managed resource.
- zpn
Client stringType Branch Connector - zpn
Client stringType Browser Isolation - zpn
Client stringType Edge Connector - zpn
Client stringType Exporter - zpn
Client stringType Exporter Noauth - zpn
Client stringType Ip Anchoring - zpn
Client stringType Machine Tunnel - zpn
Client stringType Slogger - zpn
Client stringType Zapp
- id str
- The provider-assigned unique ID for this managed resource.
- zpn_
client_ strtype_ branch_ connector - zpn_
client_ strtype_ browser_ isolation - zpn_
client_ strtype_ edge_ connector - zpn_
client_ strtype_ exporter - zpn_
client_ strtype_ exporter_ noauth - zpn_
client_ strtype_ ip_ anchoring - zpn_
client_ strtype_ machine_ tunnel - zpn_
client_ strtype_ slogger - zpn_
client_ strtype_ zapp
- id String
- The provider-assigned unique ID for this managed resource.
- zpn
Client StringType Branch Connector - zpn
Client StringType Browser Isolation - zpn
Client StringType Edge Connector - zpn
Client StringType Exporter - zpn
Client StringType Exporter Noauth - zpn
Client StringType Ip Anchoring - zpn
Client StringType Machine Tunnel - zpn
Client StringType Slogger - zpn
Client StringType Zapp
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.