共用方式為


ArmSynapseModelFactory.SynapseMaintenanceWindowOptionData Method

Definition

Initializes a new instance of SynapseMaintenanceWindowOptionData.

public static Azure.ResourceManager.Synapse.SynapseMaintenanceWindowOptionData SynapseMaintenanceWindowOptionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isEnabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Synapse.Models.SynapseMaintenanceWindowTimeRange> maintenanceWindowCycles = default, int? minDurationInMinutes = default, int? defaultDurationInMinutes = default, int? minCycles = default, int? timeGranularityInMinutes = default, bool? allowMultipleMaintenanceWindowsPerCycle = default);
static member SynapseMaintenanceWindowOptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * seq<Azure.ResourceManager.Synapse.Models.SynapseMaintenanceWindowTimeRange> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Synapse.SynapseMaintenanceWindowOptionData
Public Shared Function SynapseMaintenanceWindowOptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional maintenanceWindowCycles As IEnumerable(Of SynapseMaintenanceWindowTimeRange) = 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) As SynapseMaintenanceWindowOptionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

isEnabled
Nullable<Boolean>

Whether maintenance windows are enabled for the database.

maintenanceWindowCycles
IEnumerable<SynapseMaintenanceWindowTimeRange>

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.

Returns

A new SynapseMaintenanceWindowOptionData instance for mocking.

Applies to