@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
54 lines • 2.35 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.getDevicesOutput = exports.getDevices = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [Official documentation](https://help.zscaler.com/zia/device-groups#/deviceGroups-get)
* * [API documentation](https://help.zscaler.com/zia/device-groups#/deviceGroups-get)
*
* Use the **zia_devices** data source to get information about a device in the Zscaler Internet Access cloud or via the API. This data source can then be associated with resources such as: URL Filtering Rules
*
* ## Example Usage
*/
function getDevices(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("zia:index/getDevices:getDevices", {
"deviceGroupType": args.deviceGroupType,
"deviceModel": args.deviceModel,
"hostname": args.hostname,
"id": args.id,
"name": args.name,
"osType": args.osType,
"osVersion": args.osVersion,
"ownerName": args.ownerName,
}, opts);
}
exports.getDevices = getDevices;
/**
* * [Official documentation](https://help.zscaler.com/zia/device-groups#/deviceGroups-get)
* * [API documentation](https://help.zscaler.com/zia/device-groups#/deviceGroups-get)
*
* Use the **zia_devices** data source to get information about a device in the Zscaler Internet Access cloud or via the API. This data source can then be associated with resources such as: URL Filtering Rules
*
* ## Example Usage
*/
function getDevicesOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("zia:index/getDevices:getDevices", {
"deviceGroupType": args.deviceGroupType,
"deviceModel": args.deviceModel,
"hostname": args.hostname,
"id": args.id,
"name": args.name,
"osType": args.osType,
"osVersion": args.osVersion,
"ownerName": args.ownerName,
}, opts);
}
exports.getDevicesOutput = getDevicesOutput;
//# sourceMappingURL=getDevices.js.map
;