Compartilhar via


ArmSqlModelFactory.MaintenanceWindowOptionData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

isEnabled
Nullable<Boolean>

Se as janelas de manutenção estão habilitadas para o banco de dados.

maintenanceWindowCycles
IEnumerable<MaintenanceWindowTimeRange>

Ciclos de manutenção disponíveis, por exemplo, {Sábado, 0, 4860}, {Quarta-feira, 0, 2460}.

minDurationInMinutes
Nullable<Int32>

Duração mínima da janela de manutenção.

defaultDurationInMinutes
Nullable<Int32>

Duração padrão da janela de manutenção.

minCycles
Nullable<Int32>

Número mínimo de ciclos de janelas de manutenção a serem definidos no banco de dados.

timeGranularityInMinutes
Nullable<Int32>

Granularidade de tempo em minutos para janelas de manutenção.

allowMultipleMaintenanceWindowsPerCycle
Nullable<Boolean>

Se permitimos várias janelas de manutenção por ciclo.

Retornos

Uma nova MaintenanceWindowOptionData instância para zombar.

Aplica-se a