Bagikan melalui


MaintenanceConfiguration Constructors

Definition

Overloads

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)

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

Initializes a new instance of the MaintenanceConfiguration class.

public MaintenanceConfiguration ();
Public Sub New ()

Applies to

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.

public MaintenanceConfiguration (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Maintenance.Models.SystemData systemData = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string namespaceProperty = default, System.Collections.Generic.IDictionary<string,string> extensionProperties = default, string maintenanceScope = default, string startDateTime = default, string expirationDateTime = default, string duration = default, string timeZone = default, string recurEvery = default, string visibility = default);
new Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration : string * string * string * Microsoft.Azure.Management.Maintenance.Models.SystemData * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * string * string -> Microsoft.Azure.Management.Maintenance.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 location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional namespaceProperty As String = Nothing, Optional extensionProperties As IDictionary(Of String, String) = Nothing, Optional maintenanceScope As String = Nothing, Optional startDateTime As String = Nothing, Optional expirationDateTime As String = Nothing, Optional duration As String = Nothing, Optional timeZone As String = Nothing, Optional recurEvery As String = Nothing, Optional visibility As String = Nothing)

Parameters

id
String

Fully qualified identifier of the resource

name
String

Name of the resource

type
String

Type of the resource

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

location
String

Gets or sets location of the resource

tags
IDictionary<String,String>

Gets or sets tags of the resource

namespaceProperty
String

Gets or sets namespace of the resource

extensionProperties
IDictionary<String,String>

Gets or sets extensionProperties of the maintenanceConfiguration

maintenanceScope
String

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

startDateTime
String

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.

expirationDateTime
String

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.

duration
String

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.

timeZone
String

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.

recurEvery
String

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]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.

visibility
String

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

Applies to

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.

public MaintenanceConfiguration (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Maintenance.Models.SystemData systemData = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string namespaceProperty = default, System.Collections.Generic.IDictionary<string,string> extensionProperties = default, string maintenanceScope = default, string startDateTime = default, string expirationDateTime = default, string duration = default, string timeZone = default, string recurEvery = default, string visibility = default, Microsoft.Azure.Management.Maintenance.Models.InputPatchConfiguration installPatches = default);
new Microsoft.Azure.Management.Maintenance.Models.MaintenanceConfiguration : string * string * string * Microsoft.Azure.Management.Maintenance.Models.SystemData * string * System.Collections.Generic.IDictionary<string, string> * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * string * string * Microsoft.Azure.Management.Maintenance.Models.InputPatchConfiguration -> Microsoft.Azure.Management.Maintenance.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 location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional namespaceProperty As String = Nothing, Optional extensionProperties As IDictionary(Of String, String) = Nothing, Optional maintenanceScope As String = Nothing, Optional startDateTime As String = Nothing, Optional expirationDateTime As String = Nothing, Optional duration As String = Nothing, Optional timeZone As String = Nothing, Optional recurEvery As String = Nothing, Optional visibility As String = Nothing, Optional installPatches As InputPatchConfiguration = Nothing)

Parameters

id
String

Fully qualified identifier of the resource

name
String

Name of the resource

type
String

Type of the resource

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

location
String

Gets or sets location of the resource

tags
IDictionary<String,String>

Gets or sets tags of the resource

namespaceProperty
String

Gets or sets namespace of the resource

extensionProperties
IDictionary<String,String>

Gets or sets extensionProperties of the maintenanceConfiguration

maintenanceScope
String

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

startDateTime
String

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.

expirationDateTime
String

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.

duration
String

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.

timeZone
String

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.

recurEvery
String

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.

visibility
String

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

installPatches
InputPatchConfiguration

The input parameters to be passed to the patch run operation.

Applies to