Zscaler Internet Access v1.0.1 published on Friday, Jun 6, 2025 by Zscaler
zia.getTimeWindow
Explore with Pulumi AI
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
# ZIA Time Window - Work Hours
data "zia_firewall_filtering_time_window" "work_hours"{
name = "Work hours"
}
# ZIA Time Window - Weekends
data "zia_firewall_filtering_time_window" "weekends"{
name = "Weekends"
}
# ZIA Time Window - Off Hours
data "zia_firewall_filtering_time_window" "off_hours"{
name = "Off hours"
}
Using getTimeWindow
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTimeWindow(args: GetTimeWindowArgs, opts?: InvokeOptions): Promise<GetTimeWindowResult>
function getTimeWindowOutput(args: GetTimeWindowOutputArgs, opts?: InvokeOptions): Output<GetTimeWindowResult>
def get_time_window(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTimeWindowResult
def get_time_window_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTimeWindowResult]
func GetTimeWindow(ctx *Context, args *GetTimeWindowArgs, opts ...InvokeOption) (*GetTimeWindowResult, error)
func GetTimeWindowOutput(ctx *Context, args *GetTimeWindowOutputArgs, opts ...InvokeOption) GetTimeWindowResultOutput
> Note: This function is named GetTimeWindow
in the Go SDK.
public static class GetTimeWindow
{
public static Task<GetTimeWindowResult> InvokeAsync(GetTimeWindowArgs args, InvokeOptions? opts = null)
public static Output<GetTimeWindowResult> Invoke(GetTimeWindowInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTimeWindowResult> getTimeWindow(GetTimeWindowArgs args, InvokeOptions options)
public static Output<GetTimeWindowResult> getTimeWindow(GetTimeWindowArgs args, InvokeOptions options)
fn::invoke:
function: zia:index/getTimeWindow:getTimeWindow
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the time window to be exported.
- Name string
- The name of the time window to be exported.
- name String
- The name of the time window to be exported.
- name string
- The name of the time window to be exported.
- name str
- The name of the time window to be exported.
- name String
- The name of the time window to be exported.
getTimeWindow Result
The following output properties are available:
- Day
Of List<string>Weeks - (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)
- End
Time int - (String)
- Id int
- Start
Time int - (String)
- Name string
- Day
Of []stringWeeks - (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)
- End
Time int - (String)
- Id int
- Start
Time int - (String)
- Name string
- day
Of List<String>Weeks - (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)
- end
Time Integer - (String)
- id Integer
- start
Time Integer - (String)
- name String
- day
Of string[]Weeks - (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)
- end
Time number - (String)
- id number
- start
Time number - (String)
- name string
- day_
of_ Sequence[str]weeks - (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)
- end_
time int - (String)
- id int
- start_
time int - (String)
- name str
- day
Of List<String>Weeks - (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)
- end
Time Number - (String)
- id Number
- start
Time Number - (String)
- name String
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.