你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Restriction 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Restriction() |
初始化 Restriction 类的新实例。 |
Restriction(String, IList<String>, String) |
初始化 Restriction 类的新实例。 |
Restriction()
初始化 Restriction 类的新实例。
public Restriction ();
Public Sub New ()
适用于
Restriction(String, IList<String>, String)
初始化 Restriction 类的新实例。
public Restriction (string type = default, System.Collections.Generic.IList<string> values = default, string reasonCode = default);
new Microsoft.Azure.Management.Storage.Models.Restriction : string * System.Collections.Generic.IList<string> * string -> Microsoft.Azure.Management.Storage.Models.Restriction
Public Sub New (Optional type As String = Nothing, Optional values As IList(Of String) = Nothing, Optional reasonCode As String = Nothing)
参数
- type
- String
限制的类型。 到目前为止,只有可能的值是位置。
- reasonCode
- String
限制的原因。 到目前为止,这可以是“QuotaId”或“NotAvailableForSubscription”。 当 SKU 具有 requiredQuotas 参数时,将设置配额 ID,因为订阅不属于该配额。 “NotAvailableForSubscription”与 DC 的容量相关。 可能的值包括:“QuotaId”、“NotAvailableForSubscription”