@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
52 lines • 2.37 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.getTenantRestrictionProfileOutput = exports.getTenantRestrictionProfile = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [Official documentation](https://help.zscaler.com/zia/about-tenant-profiles)
* * [API documentation](https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get)
*
* Use the **zia_tenant_restriction_profile** data source to get information about a ZIA Domain Profiles in the Zscaler Internet Access cloud or via the API. The resource can then be utilized when configuring a Web DLP Rule resource `zia.DLPWebRules`
*
* ## Example Usage
*
* ### By Name
*
* ### By ID
*/
function getTenantRestrictionProfile(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("zia:index/getTenantRestrictionProfile:getTenantRestrictionProfile", {
"description": args.description,
"id": args.id,
"name": args.name,
}, opts);
}
exports.getTenantRestrictionProfile = getTenantRestrictionProfile;
/**
* * [Official documentation](https://help.zscaler.com/zia/about-tenant-profiles)
* * [API documentation](https://help.zscaler.com/zia/cloud-app-control-policy#/tenancyRestrictionProfile-get)
*
* Use the **zia_tenant_restriction_profile** data source to get information about a ZIA Domain Profiles in the Zscaler Internet Access cloud or via the API. The resource can then be utilized when configuring a Web DLP Rule resource `zia.DLPWebRules`
*
* ## Example Usage
*
* ### By Name
*
* ### By ID
*/
function getTenantRestrictionProfileOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("zia:index/getTenantRestrictionProfile:getTenantRestrictionProfile", {
"description": args.description,
"id": args.id,
"name": args.name,
}, opts);
}
exports.getTenantRestrictionProfileOutput = getTenantRestrictionProfileOutput;
//# sourceMappingURL=getTenantRestrictionProfile.js.map
;