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

ArmSqlModelFactory.ManagedInstanceVcoresCapability Method

Definition

Initializes a new instance of ManagedInstanceVcoresCapability.

public static Azure.ResourceManager.Sql.Models.ManagedInstanceVcoresCapability ManagedInstanceVcoresCapability (string name = default, int? value = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability includedMaxSize = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> supportedStorageSizes = default, bool? isInstancePoolSupported = default, bool? isStandaloneSupported = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstanceMaintenanceConfigurationCapability> supportedMaintenanceConfigurations = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ManagedInstanceVcoresCapability : string * Nullable<int> * Azure.ResourceManager.Sql.Models.MaxSizeCapability * seq<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Sql.Models.ManagedInstanceMaintenanceConfigurationCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ManagedInstanceVcoresCapability
Public Shared Function ManagedInstanceVcoresCapability (Optional name As String = Nothing, Optional value As Nullable(Of Integer) = Nothing, Optional includedMaxSize As MaxSizeCapability = Nothing, Optional supportedStorageSizes As IEnumerable(Of MaxSizeRangeCapability) = Nothing, Optional isInstancePoolSupported As Nullable(Of Boolean) = Nothing, Optional isStandaloneSupported As Nullable(Of Boolean) = Nothing, Optional supportedMaintenanceConfigurations As IEnumerable(Of ManagedInstanceMaintenanceConfigurationCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ManagedInstanceVcoresCapability

Parameters

name
String

The virtual cores identifier.

value
Nullable<Int32>

The virtual cores value.

includedMaxSize
MaxSizeCapability

Included size.

supportedStorageSizes
IEnumerable<MaxSizeRangeCapability>

Storage size ranges.

isInstancePoolSupported
Nullable<Boolean>

True if this service objective is supported for managed instances in an instance pool.

isStandaloneSupported
Nullable<Boolean>

True if this service objective is supported for standalone managed instances.

supportedMaintenanceConfigurations
IEnumerable<ManagedInstanceMaintenanceConfigurationCapability>

List of supported maintenance configurations.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new ManagedInstanceVcoresCapability instance for mocking.

Applies to