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

ArmDeviceProvisioningServicesModelFactory.DeviceProvisioningServicesSkuInfo 方法

定义

初始化 DeviceProvisioningServicesSkuInfo 的新实例。

public static Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuInfo DeviceProvisioningServicesSkuInfo (Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSku? name = default, string tier = default, long? capacity = default);
static member DeviceProvisioningServicesSkuInfo : Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSku> * string * Nullable<int64> -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuInfo
Public Shared Function DeviceProvisioningServicesSkuInfo (Optional name As Nullable(Of DeviceProvisioningServicesSku) = Nothing, Optional tier As String = Nothing, Optional capacity As Nullable(Of Long) = Nothing) As DeviceProvisioningServicesSkuInfo

参数

tier
String

预配服务的定价层名称。

capacity
Nullable<Int64>

要预配的单位数。

返回

用于模拟的新 DeviceProvisioningServicesSkuInfo 实例。

适用于