MaintenanceWindowOptions Constructors
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.
Overloads
MaintenanceWindowOptions() |
Initializes a new instance of the MaintenanceWindowOptions class. |
MaintenanceWindowOptions(String, String, String, Nullable<Boolean>, IList<MaintenanceWindowTimeRange>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the MaintenanceWindowOptions class. |
MaintenanceWindowOptions()
Initializes a new instance of the MaintenanceWindowOptions class.
public MaintenanceWindowOptions ();
Public Sub New ()
Applies to
MaintenanceWindowOptions(String, String, String, Nullable<Boolean>, IList<MaintenanceWindowTimeRange>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)
Initializes a new instance of the MaintenanceWindowOptions class.
public MaintenanceWindowOptions (string id = default, string name = default, string type = default, bool? isEnabled = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.MaintenanceWindowTimeRange> maintenanceWindowCycles = default, int? minDurationInMinutes = default, int? defaultDurationInMinutes = default, int? minCycles = default, int? timeGranularityInMinutes = default, bool? allowMultipleMaintenanceWindowsPerCycle = default);
new Microsoft.Azure.Management.Synapse.Models.MaintenanceWindowOptions : string * string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Synapse.Models.MaintenanceWindowTimeRange> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.Synapse.Models.MaintenanceWindowOptions
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional maintenanceWindowCycles As IList(Of MaintenanceWindowTimeRange) = Nothing, Optional minDurationInMinutes As Nullable(Of Integer) = Nothing, Optional defaultDurationInMinutes As Nullable(Of Integer) = Nothing, Optional minCycles As Nullable(Of Integer) = Nothing, Optional timeGranularityInMinutes As Nullable(Of Integer) = Nothing, Optional allowMultipleMaintenanceWindowsPerCycle As Nullable(Of Boolean) = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /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"
- maintenanceWindowCycles
- IList<MaintenanceWindowTimeRange>
Available maintenance cycles e.g. {Saturday, 0, 4860}, {Wednesday, 0, 2460}.
Whether we allow multiple maintenance windows per cycle.
Applies to
Azure SDK for .NET