Condividi tramite


ArmDeviceRegistryModelFactory.AssetUpdateProperties Method

Definition

The updatable properties of the Asset.

public static Azure.ResourceManager.DeviceRegistry.Models.AssetUpdateProperties AssetUpdateProperties(bool? isEnabled = default, string displayName = default, string description = 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 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);
static member AssetUpdateProperties : Nullable<bool> * string * string * string * Uri * string * string * string * string * Uri * string * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryTopic * seq<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataset> * seq<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEvent> -> Azure.ResourceManager.DeviceRegistry.Models.AssetUpdateProperties
Public Shared Function AssetUpdateProperties (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional displayName As String = Nothing, Optional description As String = 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 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) As AssetUpdateProperties

Parameters

isEnabled
Nullable<Boolean>

Enabled/Disabled status of the asset.

displayName
String

Human-readable display name.

description
String

Human-readable description of the asset.

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.

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.

Returns

A new AssetUpdateProperties instance for mocking.

Applies to