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

ResourceSku 构造函数

定义

重载

ResourceSku()

初始化 ResourceSku 类的新实例。

ResourceSku(String, String, String, String, String, String, ResourceSkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<String>, IList<ResourceSkuCosts>, IList<ResourceSkuCapabilities>, IList<ResourceSkuRestrictions>)

初始化 ResourceSku 类的新实例。

ResourceSku()

初始化 ResourceSku 类的新实例。

public ResourceSku ();
Public Sub New ()

适用于

ResourceSku(String, String, String, String, String, String, ResourceSkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<String>, IList<ResourceSkuCosts>, IList<ResourceSkuCapabilities>, IList<ResourceSkuRestrictions>)

初始化 ResourceSku 类的新实例。

public ResourceSku (string resourceType = default, string name = default, string tier = default, string size = default, string family = default, string kind = default, Microsoft.Azure.Management.Compute.Models.ResourceSkuCapacity capacity = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuLocationInfo> locationInfo = default, System.Collections.Generic.IList<string> apiVersions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCosts> costs = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCapabilities> capabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictions> restrictions = default);
new Microsoft.Azure.Management.Compute.Models.ResourceSku : string * string * string * string * string * string * Microsoft.Azure.Management.Compute.Models.ResourceSkuCapacity * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuLocationInfo> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCosts> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCapabilities> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictions> -> Microsoft.Azure.Management.Compute.Models.ResourceSku
Public Sub New (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional kind As String = Nothing, Optional capacity As ResourceSkuCapacity = Nothing, Optional locations As IList(Of String) = Nothing, Optional locationInfo As IList(Of ResourceSkuLocationInfo) = Nothing, Optional apiVersions As IList(Of String) = Nothing, Optional costs As IList(Of ResourceSkuCosts) = Nothing, Optional capabilities As IList(Of ResourceSkuCapabilities) = Nothing, Optional restrictions As IList(Of ResourceSkuRestrictions) = Nothing)

参数

resourceType
String

SKU 适用的资源类型。

name
String

SKU 的名称。

tier
String

指定规模集中虚拟机的层。<br /><br /> Possible Values:<br /><br />Standard<br /><br />Basic

size
String

SKU 的大小。

family
String

此特定 SKU 的系列。

kind
String

此 SKU 中支持的资源类型。

capacity
ResourceSkuCapacity

指定规模集中的虚拟机数。

locations
IList<String>

SKU 可用的位置集。

locationInfo
IList<ResourceSkuLocationInfo>

SKU 可用位置中的位置和可用性区域的列表。

apiVersions
IList<String>

支持此 SKU 的 API 版本。

costs
IList<ResourceSkuCosts>

用于检索价格信息的元数据。

capabilities
IList<ResourceSkuCapabilities>

用于描述功能的名称值对。

restrictions
IList<ResourceSkuRestrictions>

由于不能使用 SKU 的限制。 如果没有限制,则为空。

适用于