你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDeviceRegistryModelFactory.DeviceRegistryAssetData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DeviceRegistryAssetData.
public static Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetData DeviceRegistryAssetData (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.ResourceManager.DeviceRegistry.Models.AssetProperties properties = default, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryExtendedLocation extendedLocation = default);
static member DeviceRegistryAssetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DeviceRegistry.Models.AssetProperties * Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryExtendedLocation -> Azure.ResourceManager.DeviceRegistry.DeviceRegistryAssetData
Public Shared Function DeviceRegistryAssetData (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 properties As AssetProperties = Nothing, Optional extendedLocation As DeviceRegistryExtendedLocation = Nothing) As DeviceRegistryAssetData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- properties
- AssetProperties
The resource-specific properties for this resource.
- extendedLocation
- DeviceRegistryExtendedLocation
The extended location.
Returns
A new DeviceRegistryAssetData instance for mocking.