你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceSku 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResourceSku() |
初始化 ResourceSku 类的新实例。 |
ResourceSku(String, String, String, SkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<ResourceSkuRestrictions>) |
初始化 ResourceSku 类的新实例。 |
ResourceSku()
初始化 ResourceSku 类的新实例。
public ResourceSku();
Public Sub New ()
适用于
ResourceSku(String, String, String, SkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<ResourceSkuRestrictions>)
初始化 ResourceSku 类的新实例。
public ResourceSku(string resourceType = default, string name = default, string tier = default, Microsoft.Azure.Management.AppPlatform.Models.SkuCapacity capacity = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuLocationInfo> locationInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuRestrictions> restrictions = default);
new Microsoft.Azure.Management.AppPlatform.Models.ResourceSku : string * string * string * Microsoft.Azure.Management.AppPlatform.Models.SkuCapacity * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuLocationInfo> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuRestrictions> -> Microsoft.Azure.Management.AppPlatform.Models.ResourceSku
Public Sub New (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional capacity As SkuCapacity = Nothing, Optional locations As IList(Of String) = Nothing, Optional locationInfo As IList(Of ResourceSkuLocationInfo) = Nothing, Optional restrictions As IList(Of ResourceSkuRestrictions) = Nothing)
参数
- resourceType
- String
获取 SKU 应用到的资源的类型。
- name
- String
获取 SKU 的名称。
- tier
- String
获取 SKU 的层。
- capacity
- SkuCapacity
获取 SKU 的容量。
- locationInfo
- IList<ResourceSkuLocationInfo>
获取 SKU 可用位置中的位置和可用性区域的列表。
- restrictions
- IList<ResourceSkuRestrictions>
获取因不能使用 SKU 而的限制。 如果没有限制,则为空。