你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSqlModelFactory.MaintenanceConfigurationCapability Method

Definition

Initializes a new instance of MaintenanceConfigurationCapability.

public static Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability MaintenanceConfigurationCapability (string name = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member MaintenanceConfigurationCapability : string * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability
Public Shared Function MaintenanceConfigurationCapability (Optional name As String = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As MaintenanceConfigurationCapability

Parameters

name
String

Maintenance configuration name.

isZoneRedundant
Nullable<Boolean>

Whether or not zone redundancy is supported for the maintenance configuration.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new MaintenanceConfigurationCapability instance for mocking.

Applies to