共用方式為


ArmSqlModelFactory.ManagedInstanceFamilyCapability Method

Definition

Initializes a new instance of ManagedInstanceFamilyCapability.

public static Azure.ResourceManager.Sql.Models.ManagedInstanceFamilyCapability ManagedInstanceFamilyCapability (string name = default, string sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> supportedLicenseTypes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstanceVcoresCapability> supportedVcoresValues = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ManagedInstanceFamilyCapability : string * string * seq<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> * seq<Azure.ResourceManager.Sql.Models.ManagedInstanceVcoresCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ManagedInstanceFamilyCapability
Public Shared Function ManagedInstanceFamilyCapability (Optional name As String = Nothing, Optional sku As String = Nothing, Optional supportedLicenseTypes As IEnumerable(Of LicenseTypeCapability) = Nothing, Optional supportedVcoresValues As IEnumerable(Of ManagedInstanceVcoresCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ManagedInstanceFamilyCapability

Parameters

name
String

Family name.

sku
String

SKU name.

supportedLicenseTypes
IEnumerable<LicenseTypeCapability>

List of supported license types.

supportedVcoresValues
IEnumerable<ManagedInstanceVcoresCapability>

List of supported virtual cores values.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new ManagedInstanceFamilyCapability instance for mocking.

Applies to