New-AzAksTimeInWeekObject
Create an in-memory object for TimeInWeek.
Syntax
New-AzAksTimeInWeekObject
[-Day <WeekDay>]
[-HourSlot <Int32[]>]
[<CommonParameters>]
Description
Create an in-memory object for TimeInWeek.
Examples
Example 1: Create an in-memory object for time in a week
New-AzAksTimeInWeekObject -Day 'Sunday' -HourSlot 1,2
Day HourSlot
--- --------
Sunday {1, 2}
New-AzAksTimeInWeekObject creates an in-memory object of type TimeInWeek. This object represents time in a week. and will be used for parameter TimeInWeek in cmdlet New-AzAksMaintenanceConfiguration.
Parameters
-Day
The day of the week.
Type: | WeekDay |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HourSlot
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.
Type: | Int32[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.