MaintenanceConfiguration Class

Definition

Maintenance configuration record type

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

Constructors

MaintenanceConfiguration()

Initializes a new instance of the MaintenanceConfiguration class.

MaintenanceConfiguration(String, String, String, SystemData, String, IDictionary<String,String>, String, IDictionary<String,String>, String, String, String, String, String, String, String, InputPatchConfiguration)

Initializes a new instance of the MaintenanceConfiguration class.

MaintenanceConfiguration(String, String, String, SystemData, String, IDictionary<String,String>, String, IDictionary<String,String>, String, String, String, String, String, String, String)

Initializes a new instance of the MaintenanceConfiguration class.

Properties

Duration

Gets or sets duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.

ExpirationDateTime

Gets or sets effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.

ExtensionProperties

Gets or sets extensionProperties of the maintenanceConfiguration

Id

Gets fully qualified identifier of the resource

(Inherited from Resource)
InstallPatches

Gets or sets the input parameters to be passed to the patch run operation.

Location

Gets or sets location of the resource

MaintenanceScope

Gets or sets maintenanceScope of the configuration. Possible values include: 'Host', 'Resource', 'OSImage', 'Extension', 'InGuestPatch', 'SQLDB', 'SQLManagedInstance'

Name

Gets name of the resource

(Inherited from Resource)
NamespaceProperty

Gets or sets namespace of the resource

RecurEvery

Gets or sets rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.

StartDateTime

Gets or sets effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from Resource)
Tags

Gets or sets tags of the resource

TimeZone

Gets or sets name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.

Type

Gets type of the resource

(Inherited from Resource)
Visibility

Gets or sets the visibility of the configuration. The default value is 'Custom'. Possible values include: 'Custom', 'Public'

Applies to