Compartilhar via


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