你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDeviceRegistryModelFactory.AssetProperties 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 AssetProperties.
public static Azure.ResourceManager.DeviceRegistry.Models.AssetProperties AssetProperties (string uuid = default, bool? isEnabled = default, string externalAssetId = default, string displayName = default, string description = default, string assetEndpointProfileRef = default, long? version = default, string manufacturer = default, Uri manufacturerUri = default, string model = default, string productCode = default, string hardwareRevision = default, string softwareRevision = default, Uri documentationUri = default, string serialNumber = default, System.Collections.Generic.IDictionary<string,BinaryData> attributes = default, System.Collections.Generic.IEnumerable<string> discoveredAssetRefs = default, string defaultDatasetsConfiguration = default, string defaultEventsConfiguration = default, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryTopic defaultTopic = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataset> datasets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEvent> events = default, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAssetStatus status = default, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState? provisioningState = default);
static member AssetProperties : string * Nullable<bool> * string * string * string * string * Nullable<int64> * string * Uri * string * string * string * string * Uri * string * System.Collections.Generic.IDictionary<string, BinaryData> * seq<string> * string * string * Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryTopic * seq<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataset> * seq<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEvent> * Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryAssetStatus * Nullable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState> -> Azure.ResourceManager.DeviceRegistry.Models.AssetProperties
Public Shared Function AssetProperties (Optional uuid As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional externalAssetId As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional assetEndpointProfileRef As String = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional manufacturer As String = Nothing, Optional manufacturerUri As Uri = Nothing, Optional model As String = Nothing, Optional productCode As String = Nothing, Optional hardwareRevision As String = Nothing, Optional softwareRevision As String = Nothing, Optional documentationUri As Uri = Nothing, Optional serialNumber As String = Nothing, Optional attributes As IDictionary(Of String, BinaryData) = Nothing, Optional discoveredAssetRefs As IEnumerable(Of String) = Nothing, Optional defaultDatasetsConfiguration As String = Nothing, Optional defaultEventsConfiguration As String = Nothing, Optional defaultTopic As DeviceRegistryTopic = Nothing, Optional datasets As IEnumerable(Of DeviceRegistryDataset) = Nothing, Optional events As IEnumerable(Of DeviceRegistryEvent) = Nothing, Optional status As DeviceRegistryAssetStatus = Nothing, Optional provisioningState As Nullable(Of DeviceRegistryProvisioningState) = Nothing) As AssetProperties
Parameters
- uuid
- String
Globally unique, immutable, non-reusable id.
- externalAssetId
- String
Asset id provided by the customer.
- displayName
- String
Human-readable display name.
- description
- String
Human-readable description of the asset.
- assetEndpointProfileRef
- String
A reference to the asset endpoint profile (connection information) used by brokers to connect to an endpoint that provides data points for this asset. Must provide asset endpoint profile name.
- manufacturer
- String
Asset manufacturer name.
- manufacturerUri
- Uri
Asset manufacturer URI.
- model
- String
Asset model name.
- productCode
- String
Asset product code.
- hardwareRevision
- String
Revision number of the hardware.
- softwareRevision
- String
Revision number of the software.
- documentationUri
- Uri
Reference to the documentation.
- serialNumber
- String
Asset serial number.
- attributes
- IDictionary<String,BinaryData>
A set of key-value pairs that contain custom attributes set by the customer.
- discoveredAssetRefs
- IEnumerable<String>
Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.
- defaultDatasetsConfiguration
- String
Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
- defaultEventsConfiguration
- String
Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.
- defaultTopic
- DeviceRegistryTopic
Object that describes the default topic information for the asset.
- datasets
- IEnumerable<DeviceRegistryDataset>
Array of datasets that are part of the asset. Each dataset describes the data points that make up the set.
- events
- IEnumerable<DeviceRegistryEvent>
Array of events that are part of the asset. Each event can have per-event configuration.
- status
- DeviceRegistryAssetStatus
Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
- provisioningState
- Nullable<DeviceRegistryProvisioningState>
Provisioning state of the resource.
Returns
A new AssetProperties instance for mocking.