MaintenanceConfiguration Class
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.
Planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster. See planned maintenance for more information about planned maintenance.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceConfigurationTypeConverter))]
public class MaintenanceConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.MaintenanceConfigurationTypeConverter))>]
type MaintenanceConfiguration = class
interface IMaintenanceConfiguration
interface IJsonSerializable
interface ISubResource
interface IValidates
Public Class MaintenanceConfiguration
Implements IMaintenanceConfiguration, IValidates
- Inheritance
-
MaintenanceConfiguration
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MaintenanceConfiguration() |
Creates an new MaintenanceConfiguration 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. |
| Id |
Resource ID. |
| 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'. |
| Name |
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
| 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. |
| ResourceGroupName |
Gets the resource group name |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| 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. |
| Type |
Resource type |
| 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 MaintenanceConfiguration. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MaintenanceConfiguration. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IMaintenanceConfiguration. |
| FromJsonString(String) |
Creates a new instance of MaintenanceConfiguration, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MaintenanceConfiguration into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |