MaintenanceConfiguration Class

Definition

Planned maintenance configuration, used to configure when updates can be deployed to a Managed Cluster. See planned maintenance for more information about planned maintenance.

[Microsoft.Rest.Serialization.JsonTransformation]
public class MaintenanceConfiguration : Microsoft.Azure.Management.ContainerService.Models.SubResource
[Microsoft.Rest.Serialization.JsonTransformation]
public class MaintenanceConfiguration : Microsoft.Azure.Management.ContainerService.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type MaintenanceConfiguration = class
    inherit SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type MaintenanceConfiguration = class
    inherit ProxyResource
Public Class MaintenanceConfiguration
Inherits SubResource
Public Class MaintenanceConfiguration
Inherits ProxyResource
Inheritance
MaintenanceConfiguration
Inheritance
MaintenanceConfiguration
Attributes

Remarks

See [planned maintenance](https://docs.microsoft.com/azure/aks/planned-maintenance) for more information about planned maintenance.

Constructors

Name Description
MaintenanceConfiguration()

Initializes a new instance of the MaintenanceConfiguration class.

MaintenanceConfiguration(String, String, String, SystemData, IList<TimeInWeek>, IList<TimeSpan>)

Initializes a new instance of the MaintenanceConfiguration class.

MaintenanceConfiguration(String, String, String, SystemData, MaintenanceWindow, IList<TimeInWeek>, IList<TimeSpan>)

Initializes a new instance of the MaintenanceConfiguration class.

Properties

Name Description
Id

Gets resource ID.

(Inherited from SubResource)
Id

Gets fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

(Inherited from Resource)
MaintenanceWindow

Gets or sets maintenance window for the maintenance configuration.

Name

Gets the name of the resource that is unique within a resource group. This name can be used to access the resource.

(Inherited from SubResource)
Name

Gets the name of the resource

(Inherited from Resource)
NotAllowedTime

Gets or sets time slots on which upgrade is not allowed.

SystemData

Gets the system metadata relating to this resource.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from Resource)
TimeInWeek

Gets or sets 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

Gets resource type

(Inherited from SubResource)
Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Name Description
Validate()

Validate the object.

Applies to