MaintenanceWindowResourceProperties Class

Definition

Properties of a maintenance window. For more information, see https://aka.ms/aks/maintenance-windows.

public class MaintenanceWindowResourceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.MaintenanceWindowResourceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.MaintenanceWindowResourceProperties>
type MaintenanceWindowResourceProperties = class
    interface IJsonModel<MaintenanceWindowResourceProperties>
    interface IPersistableModel<MaintenanceWindowResourceProperties>
Public Class MaintenanceWindowResourceProperties
Implements IJsonModel(Of MaintenanceWindowResourceProperties), IPersistableModel(Of MaintenanceWindowResourceProperties)
Inheritance
MaintenanceWindowResourceProperties
Implements

Constructors

Name Description
MaintenanceWindowResourceProperties(ContainerServiceMaintenanceSchedule, String, Int32)

Initializes a new instance of MaintenanceWindowResourceProperties.

Properties

Name Description
DurationHours

Length of the maintenance window in hours.

NotAllowedDates

Date ranges during which maintenance is not allowed. 'utcOffset' applies to these dates. For example, with 'utcOffset: +02:00' and a date span of '2026-12-23' to '2027-01-03', maintenance will be blocked from '2026-12-22 22:00' to '2027-01-03 22:00' in UTC time.

ProvisioningState

The provisioning state of the maintenance window.

Schedule

Recurrence schedule for the maintenance window. One and only one of the schedule types should be specified: 'daily', 'weekly', 'absoluteMonthly', or 'relativeMonthly'.

StartOn

The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used. If not specified, the maintenance window will be active right away.

StartTime

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'.

UtcOffset

The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'. Note: this is a static offset and does not adjust for Daylight Saving Time. Customers in DST-observing regions should pick the offset that matches their preferred wall-clock time year-round; the maintenance window will shift by one hour relative to local time when DST starts or ends.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MaintenanceWindowResourceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MaintenanceWindowResourceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MaintenanceWindowResourceProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MaintenanceWindowResourceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MaintenanceWindowResourceProperties>.Write(ModelReaderWriterOptions)

Applies to