UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

67 lines (66 loc) 2.25 kB
import * as pulumi from "@pulumi/pulumi"; /** * * [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 */ export declare function getTimeWindow(args?: GetTimeWindowArgs, opts?: pulumi.InvokeOptions): Promise<GetTimeWindowResult>; /** * A collection of arguments for invoking getTimeWindow. */ export interface GetTimeWindowArgs { /** * The name of the time window to be exported. */ name?: string; } /** * A collection of values returned by getTimeWindow. */ export interface GetTimeWindowResult { /** * (String). The supported values are: * * `ANY` - (String) * * `NONE` - (String) * * `EVERYDAY` - (String) * * `SUN` - (String) * * `MON` - (String) * * `TUE` - (String) * * `WED` - (String) * * `THU` - (String) * * `FRI` - (String) * * `SAT` - (String) */ readonly dayOfWeeks: string[]; /** * (String) */ readonly endTime: number; readonly id: number; readonly name?: string; /** * (String) */ readonly startTime: number; } /** * * [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 */ export declare function getTimeWindowOutput(args?: GetTimeWindowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTimeWindowResult>; /** * A collection of arguments for invoking getTimeWindow. */ export interface GetTimeWindowOutputArgs { /** * The name of the time window to be exported. */ name?: pulumi.Input<string>; }