MaintenanceWindowResourceProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MaintenanceWindowResourceProperties.
public MaintenanceWindowResourceProperties(Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceSchedule schedule, string startTime, int durationHours);
new Azure.ResourceManager.ContainerService.Models.MaintenanceWindowResourceProperties : Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceSchedule * string * int -> Azure.ResourceManager.ContainerService.Models.MaintenanceWindowResourceProperties
Public Sub New (schedule As ContainerServiceMaintenanceSchedule, startTime As String, durationHours As Integer)
Parameters
- schedule
- ContainerServiceMaintenanceSchedule
Recurrence schedule for the maintenance window. One and only one of the schedule types should be specified: 'daily', 'weekly', 'absoluteMonthly', or 'relativeMonthly'.
- 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'.
- durationHours
- Int32
Length of the maintenance window in hours.
Exceptions
schedule or startTime is null.