Udostępnij za pośrednictwem


ContainerServiceMaintenanceWindow Constructor

Definition

Initializes a new instance of ContainerServiceMaintenanceWindow.

public ContainerServiceMaintenanceWindow (Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceSchedule schedule, int durationHours, string startTime);
new Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceWindow : Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceSchedule * int * string -> Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceWindow
Public Sub New (schedule As ContainerServiceMaintenanceSchedule, durationHours As Integer, startTime As String)

Parameters

schedule
ContainerServiceMaintenanceSchedule

Recurrence schedule for the maintenance window.

durationHours
Int32

Length of maintenance window range from 4 to 24 hours.

startTime
String

The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.

Exceptions

schedule or startTime is null.

Applies to