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

Restriction 构造函数

定义

重载

Restriction()

初始化 Restriction 类的新实例。

Restriction(String, IList<String>, ReasonCode)

初始化 Restriction 类的新实例。

Restriction()

初始化 Restriction 类的新实例。

public Restriction ();
Public Sub New ()

适用于

Restriction(String, IList<String>, ReasonCode)

初始化 Restriction 类的新实例。

public Restriction (string type = default, System.Collections.Generic.IList<string> values = default, Microsoft.Azure.Management.Storage.Fluent.Models.ReasonCode reasonCode = default);
new Microsoft.Azure.Management.Storage.Fluent.Models.Restriction : string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Storage.Fluent.Models.ReasonCode -> Microsoft.Azure.Management.Storage.Fluent.Models.Restriction
Public Sub New (Optional type As String = Nothing, Optional values As IList(Of String) = Nothing, Optional reasonCode As ReasonCode = Nothing)

参数

type
String

限制的类型。 到目前为止,只有可能的值是位置。

values
IList<String>

限制的值。 如果限制类型设置为 location。 这将是限制 SKU 的不同位置。

reasonCode
ReasonCode

限制的原因。 到目前为止,这可以是“QuotaId”或“NotAvailableForSubscription”。 当 SKU 具有 requiredQuotas 参数时,将设置配额 ID,因为订阅不属于该配额。 “NotAvailableForSubscription”与 DC 的容量相关。 可能的值包括:“QuotaId”、“NotAvailableForSubscription”

适用于