Language

MaintenanceConfiguration Constructors

Definition

Overloads

Name Description
MaintenanceConfiguration()

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.

MaintenanceConfiguration()

Initializes a new instance of the MaintenanceConfiguration class.

public MaintenanceConfiguration();
Public Sub New ()

Applies to

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

Initializes a new instance of the MaintenanceConfiguration class.

public MaintenanceConfiguration(string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerService.Models.SystemData systemData = default, Microsoft.Azure.Management.ContainerService.Models.MaintenanceWindow maintenanceWindow = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.TimeInWeek> timeInWeek = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.TimeSpan> notAllowedTime = default);
new Microsoft.Azure.Management.ContainerService.Models.MaintenanceConfiguration : string * string * string * Microsoft.Azure.Management.ContainerService.Models.SystemData * Microsoft.Azure.Management.ContainerService.Models.MaintenanceWindow * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.TimeInWeek> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerService.Models.TimeSpan> -> Microsoft.Azure.Management.ContainerService.Models.MaintenanceConfiguration
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional maintenanceWindow As MaintenanceWindow = Nothing, Optional timeInWeek As IList(Of TimeInWeek) = Nothing, Optional notAllowedTime As IList(Of TimeSpan) = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

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

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

maintenanceWindow
MaintenanceWindow

Maintenance window for the maintenance configuration.

timeInWeek
IList<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.

notAllowedTime
IList<TimeSpan>

Time slots on which upgrade is not allowed.

Applies to