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

ArmSqlModelFactory.InstancePoolVcoresCapability Method

Definition

Initializes a new instance of InstancePoolVcoresCapability.

public static Azure.ResourceManager.Sql.Models.InstancePoolVcoresCapability InstancePoolVcoresCapability (string name = default, int? value = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability storageLimit = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member InstancePoolVcoresCapability : string * Nullable<int> * Azure.ResourceManager.Sql.Models.MaxSizeCapability * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.InstancePoolVcoresCapability
Public Shared Function InstancePoolVcoresCapability (Optional name As String = Nothing, Optional value As Nullable(Of Integer) = Nothing, Optional storageLimit As MaxSizeCapability = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As InstancePoolVcoresCapability

Parameters

name
String

The virtual cores identifier.

value
Nullable<Int32>

The virtual cores value.

storageLimit
MaxSizeCapability

Storage limit.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new InstancePoolVcoresCapability instance for mocking.

Applies to