UNPKG

@bdzscaler/pulumi-zpa

Version:

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

60 lines 2.67 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getApplicationSegmentByTypeOutput = exports.getApplicationSegmentByType = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [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", * }); * ``` */ function getApplicationSegmentByType(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zpa:index/getApplicationSegmentByType:getApplicationSegmentByType", { "applicationType": args.applicationType, "microtenantId": args.microtenantId, "name": args.name, }, opts); } exports.getApplicationSegmentByType = getApplicationSegmentByType; /** * * [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", * }); * ``` */ function getApplicationSegmentByTypeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("zpa:index/getApplicationSegmentByType:getApplicationSegmentByType", { "applicationType": args.applicationType, "microtenantId": args.microtenantId, "name": args.name, }, opts); } exports.getApplicationSegmentByTypeOutput = getApplicationSegmentByTypeOutput; //# sourceMappingURL=getApplicationSegmentByType.js.map