Share via


MaintenanceConfigurationProperties Class

Definition

Properties used to configure planned maintenance for a Managed Cluster.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceConfigurationPropertiesTypeConverter))]
public class MaintenanceConfigurationProperties : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceConfigurationPropertiesTypeConverter))>]
type MaintenanceConfigurationProperties = class
    interface IMaintenanceConfigurationProperties
    interface IJsonSerializable
Public Class MaintenanceConfigurationProperties
Implements IMaintenanceConfigurationProperties
Inheritance
MaintenanceConfigurationProperties
Attributes
Implements

Constructors

Name Description
MaintenanceConfigurationProperties()

Creates an new MaintenanceConfigurationProperties instance.

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.

MaintenanceWindowDurationHour

Length of maintenance window range from 4 to 24 hours.

MaintenanceWindowNotAllowedDate

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.

MaintenanceWindowStartDate

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.

MaintenanceWindowStartTime

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

MaintenanceWindowUtcOffset

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

NotAllowedTime

Time slots on which upgrade is not allowed.

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.

TimeInWeek

Time slots during the week when planned maintenance is allowed to proceed. If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.

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
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MaintenanceConfigurationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MaintenanceConfigurationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfigurationProperties.

FromJsonString(String)

Creates a new instance of MaintenanceConfigurationProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MaintenanceConfigurationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to