Dela via


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