共用方式為


ArmSqlModelFactory.InstancePoolFamilyCapability Method

Definition

Initializes a new instance of InstancePoolFamilyCapability.

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

Parameters

name
String

Family name.

supportedLicenseTypes
IEnumerable<LicenseTypeCapability>

List of supported license types.

supportedVcoresValues
IEnumerable<InstancePoolVcoresCapability>

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 InstancePoolFamilyCapability instance for mocking.

Applies to