@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
46 lines • 2.31 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.getLocationManagementOutput = exports.getLocationManagement = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [Official documentation](https://help.zscaler.com/zia/about-locations)
* * [API documentation](https://help.zscaler.com/zia/location-management#/locations-get)
*
* Use the **zia_location_management** data source to get information about a location resource available in the Zscaler Internet Access Location Management. This resource can then be referenced in multiple other resources, such as URL Filtering Rules, Firewall rules etc.
*
* ## Example Usage
*/
function getLocationManagement(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("zia:index/getLocationManagement:getLocationManagement", {
"basicAuthEnabled": args.basicAuthEnabled,
"id": args.id,
"name": args.name,
"parentName": args.parentName,
}, opts);
}
exports.getLocationManagement = getLocationManagement;
/**
* * [Official documentation](https://help.zscaler.com/zia/about-locations)
* * [API documentation](https://help.zscaler.com/zia/location-management#/locations-get)
*
* Use the **zia_location_management** data source to get information about a location resource available in the Zscaler Internet Access Location Management. This resource can then be referenced in multiple other resources, such as URL Filtering Rules, Firewall rules etc.
*
* ## Example Usage
*/
function getLocationManagementOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("zia:index/getLocationManagement:getLocationManagement", {
"basicAuthEnabled": args.basicAuthEnabled,
"id": args.id,
"name": args.name,
"parentName": args.parentName,
}, opts);
}
exports.getLocationManagementOutput = getLocationManagementOutput;
//# sourceMappingURL=getLocationManagement.js.map