Share via


MaintenanceWindowOptions Constructors

Definition

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"

isEnabled
Nullable<Boolean>

Whether maintenance windows are enabled for the database.

maintenanceWindowCycles
IList<MaintenanceWindowTimeRange>

Available maintenance cycles e.g. {Saturday, 0, 4860}, {Wednesday, 0, 2460}.

minDurationInMinutes
Nullable<Int32>

Minimum duration of maintenance window.

defaultDurationInMinutes
Nullable<Int32>

Default duration for maintenance window.

minCycles
Nullable<Int32>

Minimum number of maintenance windows cycles to be set on the database.

timeGranularityInMinutes
Nullable<Int32>

Time granularity in minutes for maintenance windows.

allowMultipleMaintenanceWindowsPerCycle
Nullable<Boolean>

Whether we allow multiple maintenance windows per cycle.

Applies to