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

ArmDeviceProvisioningServicesModelFactory.DeviceProvisioningServiceData 方法

定义

初始化 DeviceProvisioningServiceData 的新实例。

public static Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServiceData DeviceProvisioningServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServiceProperties properties = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuInfo sku = default);
static member DeviceProvisioningServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServiceProperties * Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSkuInfo -> Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServiceData
Public Shared Function DeviceProvisioningServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional properties As DeviceProvisioningServiceProperties = Nothing, Optional sku As DeviceProvisioningServicesSkuInfo = Nothing) As DeviceProvisioningServiceData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

etag
Nullable<ETag>

Etag 字段 是必需的。 如果响应正文中提供了它,则还必须根据常规 ETag 约定将其作为标头提供。

properties
DeviceProvisioningServiceProperties

预配服务的服务特定属性。

sku
DeviceProvisioningServicesSkuInfo

预配服务的 SKU 信息。

返回

用于模拟的新 DeviceProvisioningServiceData 实例。

适用于