Udostępnij za pośrednictwem


ArmSqlModelFactory.MaintenanceWindowOptionData Method

Definition

Initializes a new instance of MaintenanceWindowOptionData.

public static Azure.ResourceManager.Sql.MaintenanceWindowOptionData MaintenanceWindowOptionData (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.Sql.Models.MaintenanceWindowTimeRange> maintenanceWindowCycles = default, int? minDurationInMinutes = default, int? defaultDurationInMinutes = default, int? minCycles = default, int? timeGranularityInMinutes = default, bool? allowMultipleMaintenanceWindowsPerCycle = default);
static member MaintenanceWindowOptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * seq<Azure.ResourceManager.Sql.Models.MaintenanceWindowTimeRange> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Sql.MaintenanceWindowOptionData
Public Shared Function MaintenanceWindowOptionData (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 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) As MaintenanceWindowOptionData

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<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.

Returns

A new MaintenanceWindowOptionData instance for mocking.

Applies to