ArmContainerServiceModelFactory.ContainerServiceTimeInWeek Method

Definition

Time in a week.

public static Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeInWeek ContainerServiceTimeInWeek(Azure.ResourceManager.ContainerService.Models.ContainerServiceWeekDay? day = default, System.Collections.Generic.IEnumerable<int> hourSlots = default);
static member ContainerServiceTimeInWeek : Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServiceWeekDay> * seq<int> -> Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeInWeek
Public Shared Function ContainerServiceTimeInWeek (Optional day As Nullable(Of ContainerServiceWeekDay) = Nothing, Optional hourSlots As IEnumerable(Of Integer) = Nothing) As ContainerServiceTimeInWeek

Parameters

day
Nullable<ContainerServiceWeekDay>

The day of the week.

hourSlots
IEnumerable<Int32>

A list of hours in the day used to identify a time range. Each integer hour represents a time range beginning at 0m after the hour ending at the next hour (non-inclusive). 0 corresponds to 00:00 UTC, 23 corresponds to 23:00 UTC. Specifying [0, 1] means the 00:00 - 02:00 UTC time range.

Returns

A new ContainerServiceTimeInWeek instance for mocking.

Applies to