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

ArmSqlModelFactory.ManagedInstanceEditionCapability Method

Definition

Initializes a new instance of ManagedInstanceEditionCapability.

public static Azure.ResourceManager.Sql.Models.ManagedInstanceEditionCapability ManagedInstanceEditionCapability (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstanceFamilyCapability> supportedFamilies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.StorageCapability> supportedStorageCapabilities = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ManagedInstanceEditionCapability : string * seq<Azure.ResourceManager.Sql.Models.ManagedInstanceFamilyCapability> * seq<Azure.ResourceManager.Sql.Models.StorageCapability> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ManagedInstanceEditionCapability
Public Shared Function ManagedInstanceEditionCapability (Optional name As String = Nothing, Optional supportedFamilies As IEnumerable(Of ManagedInstanceFamilyCapability) = Nothing, Optional supportedStorageCapabilities As IEnumerable(Of StorageCapability) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ManagedInstanceEditionCapability

Parameters

name
String

The managed server version name.

supportedFamilies
IEnumerable<ManagedInstanceFamilyCapability>

The supported families.

supportedStorageCapabilities
IEnumerable<StorageCapability>

The list of supported storage capabilities for this edition.

isZoneRedundant
Nullable<Boolean>

Whether or not zone redundancy is supported for the edition.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new ManagedInstanceEditionCapability instance for mocking.

Applies to