Share via


IMaintenanceWindow Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceWindowTypeConverter))]
public interface IMaintenanceWindow : Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceWindowTypeConverter))>]
type IMaintenanceWindow = interface
    interface IJsonSerializable
Public Interface IMaintenanceWindow
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Name Description
AbsoluteMonthlyDayOfMonth

The date of the month.

AbsoluteMonthlyIntervalMonth

Specifies the number of months between each set of occurrences.

DailyIntervalDay

Specifies the number of days between each set of occurrences.

DurationHour

Length of maintenance window range from 4 to 24 hours.

NotAllowedDate

Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.

RelativeMonthlyDayOfWeek

Specifies on which day of the week the maintenance occurs.

RelativeMonthlyIntervalMonth

Specifies the number of months between each set of occurrences.

RelativeMonthlyWeekIndex

The week index. Specifies on which week of the month the dayOfWeek applies.

StartDate

The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. 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'.

WeeklyDayOfWeek

Specifies on which day of the week the maintenance occurs.

WeeklyIntervalWeek

Specifies the number of weeks between each set of occurrences.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to