UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

40 lines 2.14 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.getDepartmentManagementOutput = exports.getDepartmentManagement = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [Official documentation](https://help.zscaler.com/zia/adding-departments) * * [API documentation](https://help.zscaler.com/zia/user-management#/departments-get) * * Use the **zia_department_management** data source to get information about user department created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with several ZIA resources such as: URL filtering rules, Cloud Firewall rules, and locations. * * ## Example Usage */ function getDepartmentManagement(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("zia:index/getDepartmentManagement:getDepartmentManagement", { "name": args.name, }, opts); } exports.getDepartmentManagement = getDepartmentManagement; /** * * [Official documentation](https://help.zscaler.com/zia/adding-departments) * * [API documentation](https://help.zscaler.com/zia/user-management#/departments-get) * * Use the **zia_department_management** data source to get information about user department created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with several ZIA resources such as: URL filtering rules, Cloud Firewall rules, and locations. * * ## Example Usage */ function getDepartmentManagementOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("zia:index/getDepartmentManagement:getDepartmentManagement", { "name": args.name, }, opts); } exports.getDepartmentManagementOutput = getDepartmentManagementOutput; //# sourceMappingURL=getDepartmentManagement.js.map