UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

50 lines 2.16 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.getDomainProfilesOutput = exports.getDomainProfiles = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zia/about-email-profiles) * * [API documentation](https://help.zscaler.com/zia/saas-security-api#/domainProfiles/lite-get) * * Use the **zia_domain_profiles** 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 getDomainProfiles(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zia:index/getDomainProfiles:getDomainProfiles", { "profileId": args.profileId, "profileName": args.profileName, }, opts); } exports.getDomainProfiles = getDomainProfiles; /** * * [Official documentation](https://help.zscaler.com/zia/about-email-profiles) * * [API documentation](https://help.zscaler.com/zia/saas-security-api#/domainProfiles/lite-get) * * Use the **zia_domain_profiles** 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 getDomainProfilesOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("zia:index/getDomainProfiles:getDomainProfiles", { "profileId": args.profileId, "profileName": args.profileName, }, opts); } exports.getDomainProfilesOutput = getDomainProfilesOutput; //# sourceMappingURL=getDomainProfiles.js.map