UNPKG

@bdzscaler/pulumi-zpa

Version:

A Pulumi package for creating and managing Zscaler Private Access (ZPA) cloud resources.

71 lines (70 loc) 2.71 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [Official documentation](https://help.zscaler.com/zpa/about-applications) * * [API documentation](https://help.zscaler.com/zpa/configuring-application-segments-using-api) * * Use the **zpa_application_segment_by_type** data source to get all configured Application Segments by Access Type (e.g., ``BROWSER_ACCESS``, ``INSPECT``, or ``SECURE_REMOTE_ACCESS``) for the specified customer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as zpa from "@bdzscaler/pulumi-zpa"; * * const _this = zpa.getApplicationSegmentByType({ * applicationType: "SECURE_REMOTE_ACCESS", * }); * ``` */ export declare function getApplicationSegmentByType(args: GetApplicationSegmentByTypeArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationSegmentByTypeResult>; /** * A collection of arguments for invoking getApplicationSegmentByType. */ export interface GetApplicationSegmentByTypeArgs { applicationType: string; microtenantId?: string; name?: string; } /** * A collection of values returned by getApplicationSegmentByType. */ export interface GetApplicationSegmentByTypeResult { readonly appId: string; readonly applicationPort: string; readonly applicationProtocol: string; readonly applicationType: string; readonly certificateId: string; readonly certificateName: string; readonly domain: string; readonly enabled: boolean; readonly id: string; readonly microtenantId?: string; readonly microtenantName: string; readonly name?: string; } /** * * [Official documentation](https://help.zscaler.com/zpa/about-applications) * * [API documentation](https://help.zscaler.com/zpa/configuring-application-segments-using-api) * * Use the **zpa_application_segment_by_type** data source to get all configured Application Segments by Access Type (e.g., ``BROWSER_ACCESS``, ``INSPECT``, or ``SECURE_REMOTE_ACCESS``) for the specified customer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as zpa from "@bdzscaler/pulumi-zpa"; * * const _this = zpa.getApplicationSegmentByType({ * applicationType: "SECURE_REMOTE_ACCESS", * }); * ``` */ export declare function getApplicationSegmentByTypeOutput(args: GetApplicationSegmentByTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationSegmentByTypeResult>; /** * A collection of arguments for invoking getApplicationSegmentByType. */ export interface GetApplicationSegmentByTypeOutputArgs { applicationType: pulumi.Input<string>; microtenantId?: pulumi.Input<string>; name?: pulumi.Input<string>; }