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

ArmSqlModelFactory.MaxSizeRangeCapability Method

Definition

Initializes a new instance of MaxSizeRangeCapability.

public static Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability MaxSizeRangeCapability (Azure.ResourceManager.Sql.Models.MaxSizeCapability minValue = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability maxValue = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability scaleSize = default, Azure.ResourceManager.Sql.Models.LogSizeCapability logSize = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member MaxSizeRangeCapability : Azure.ResourceManager.Sql.Models.MaxSizeCapability * Azure.ResourceManager.Sql.Models.MaxSizeCapability * Azure.ResourceManager.Sql.Models.MaxSizeCapability * Azure.ResourceManager.Sql.Models.LogSizeCapability * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability
Public Shared Function MaxSizeRangeCapability (Optional minValue As MaxSizeCapability = Nothing, Optional maxValue As MaxSizeCapability = Nothing, Optional scaleSize As MaxSizeCapability = Nothing, Optional logSize As LogSizeCapability = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As MaxSizeRangeCapability

Parameters

minValue
MaxSizeCapability

Minimum value.

maxValue
MaxSizeCapability

Maximum value.

scaleSize
MaxSizeCapability

Scale/step size for discrete values between the minimum value and the maximum value.

logSize
LogSizeCapability

Size of transaction log.

status
Nullable<SqlCapabilityStatus>

The status of the capability.

reason
String

The reason for the capability not being available.

Returns

A new MaxSizeRangeCapability instance for mocking.

Applies to