@bdzscaler/pulumi-zia
Version:
A Pulumi package for creating and managing zia cloud resources.
40 lines • 1.93 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.getTimeWindowOutput = exports.getTimeWindow = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* * [Official documentation](https://help.zscaler.com/zia/defining-time-intervals)
* * [API documentation](https://help.zscaler.com/zia/firewall-policies#/timeWindows-get)
*
* Use the **zia_firewall_filtering_time_window** data source to get information about a time window option available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering rule.
*
* ## Example Usage
*/
function getTimeWindow(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("zia:index/getTimeWindow:getTimeWindow", {
"name": args.name,
}, opts);
}
exports.getTimeWindow = getTimeWindow;
/**
* * [Official documentation](https://help.zscaler.com/zia/defining-time-intervals)
* * [API documentation](https://help.zscaler.com/zia/firewall-policies#/timeWindows-get)
*
* Use the **zia_firewall_filtering_time_window** data source to get information about a time window option available in the Zscaler Internet Access cloud firewall. This data source can then be associated with a ZIA firewall filtering rule.
*
* ## Example Usage
*/
function getTimeWindowOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("zia:index/getTimeWindow:getTimeWindow", {
"name": args.name,
}, opts);
}
exports.getTimeWindowOutput = getTimeWindowOutput;
//# sourceMappingURL=getTimeWindow.js.map
;