@bdzscaler/pulumi-zpa
Version:
A Pulumi package for creating and managing Zscaler Private Access (ZPA) cloud resources.
70 lines • 3.67 kB
JavaScript
;
// *** 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.getPolicyClientTypeOutput = exports.getPolicyClientType = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [Official documentation](https://help.zscaler.com/zpa)
* * [API documentation](https://help.zscaler.com/zpa/configuring-access-policies-using-api#getClientTypes)
*
* 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 ``objectType`` 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](https://help.zscaler.com/zpa/configuring-access-policies-using-api#getClientTypes)
*
* > **NOTE** By Default the ZPA provider will return all client types
*
* > **NOTE** When defining a ``zpa.PolicyAccessIsolationRule`` policy the ``objectType`` "CLIENT_TYPE" is mandatory and ``zpnClientTypeExporter`` is the only supported value.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as zpa from "@bdzscaler/pulumi-zpa";
*
* const _this = zpa.getPolicyClientType({});
* ```
*/
function getPolicyClientType(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("zpa:index/getPolicyClientType:getPolicyClientType", {}, opts);
}
exports.getPolicyClientType = getPolicyClientType;
/**
* * [Official documentation](https://help.zscaler.com/zpa)
* * [API documentation](https://help.zscaler.com/zpa/configuring-access-policies-using-api#getClientTypes)
*
* 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 ``objectType`` 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](https://help.zscaler.com/zpa/configuring-access-policies-using-api#getClientTypes)
*
* > **NOTE** By Default the ZPA provider will return all client types
*
* > **NOTE** When defining a ``zpa.PolicyAccessIsolationRule`` policy the ``objectType`` "CLIENT_TYPE" is mandatory and ``zpnClientTypeExporter`` is the only supported value.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as zpa from "@bdzscaler/pulumi-zpa";
*
* const _this = zpa.getPolicyClientType({});
* ```
*/
function getPolicyClientTypeOutput(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("zpa:index/getPolicyClientType:getPolicyClientType", {}, opts);
}
exports.getPolicyClientTypeOutput = getPolicyClientTypeOutput;
//# sourceMappingURL=getPolicyClientType.js.map