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.DeviceRegistryExtendedLocation extendedLocation = default, string uuid = default, string assetType = default, bool? enabled = default, string externalAssetId = default, string displayName = default, string description = default, Uri assetEndpointProfileUri = default, int? 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, string defaultDataPointsConfiguration = default, string defaultEventsConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.DataPoint> dataPoints = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceRegistry.Models.AssetEvent> events = default, Azure.ResourceManager.DeviceRegistry.Models.AssetStatus status = default, Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState? provisioningState = 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.DeviceRegistryExtendedLocation * string * string * Nullable<bool> * string * string * string * Uri * Nullable<int> * string * Uri * string * string * string * string * Uri * string * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * seq<Azure.ResourceManager.DeviceRegistry.Models.DataPoint> * seq<Azure.ResourceManager.DeviceRegistry.Models.AssetEvent> * Azure.ResourceManager.DeviceRegistry.Models.AssetStatus * Nullable<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryProvisioningState> -> 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 extendedLocation As DeviceRegistryExtendedLocation = Nothing, Optional uuid As String = Nothing, Optional assetType As String = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional externalAssetId As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional assetEndpointProfileUri As Uri = Nothing, Optional version As Nullable(Of Integer) = 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 defaultDataPointsConfiguration As String = Nothing, Optional defaultEventsConfiguration As String = Nothing, Optional dataPoints As IEnumerable(Of DataPoint) = Nothing, Optional events As IEnumerable(Of AssetEvent) = Nothing, Optional status As AssetStatus = Nothing, Optional provisioningState As Nullable(Of DeviceRegistryProvisioningState) = 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.
- extendedLocation
- DeviceRegistryExtendedLocation
The extended location.
- uuid
- String
Globally unique, immutable, non-reusable id.
- assetType
- String
Resource path to asset type (model) definition.
- externalAssetId
- String
Asset id provided by the customer.
- displayName
- String
Human-readable display name.
- description
- String
Human-readable description of the asset.
- assetEndpointProfileUri
- Uri
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 have the format <ModuleCR.metadata.namespace>/<ModuleCR.metadata.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.
- defaultDataPointsConfiguration
- String
Protocol-specific default configuration for all data points. Each data point can have its own configuration that overrides the default settings here. This assumes that each asset instance has one protocol.
- defaultEventsConfiguration
- String
Protocol-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here. This assumes that each asset instance has one protocol.
- dataPoints
- IEnumerable<DataPoint>
Array of data points that are part of the asset. Each data point can reference an asset type capability and have per-data point configuration. See below for more details for the definition of the dataPoints element.
- events
- IEnumerable<AssetEvent>
Array of events that are part of the asset. Each event can reference an asset type capability and have per-event configuration. See below for more details about the definition of the events element.
- status
- AssetStatus
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 DeviceRegistryAssetData instance for mocking.