AssetUpdateProperties interface
The updatable properties of the Asset.
Properties
asset |
Resource path to asset type (model) definition. |
attributes | A set of key-value pairs that contain custom attributes set by the customer. |
data |
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. |
default |
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. |
default |
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. |
description | Human-readable description of the asset. |
display |
Human-readable display name. |
documentation |
Reference to the documentation. |
enabled | Enabled/Disabled status of the asset. |
events | 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. |
hardware |
Revision number of the hardware. |
manufacturer | Asset manufacturer name. |
manufacturer |
Asset manufacturer URI. |
model | Asset model name. |
product |
Asset product code. |
serial |
Asset serial number. |
software |
Revision number of the software. |
Property Details
assetType
Resource path to asset type (model) definition.
assetType?: string
Property Value
string
attributes
A set of key-value pairs that contain custom attributes set by the customer.
attributes?: {[propertyName: string]: any}
Property Value
{[propertyName: string]: any}
dataPoints
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.
dataPoints?: DataPoint[]
Property Value
defaultDataPointsConfiguration
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.
defaultDataPointsConfiguration?: string
Property Value
string
defaultEventsConfiguration
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.
defaultEventsConfiguration?: string
Property Value
string
description
Human-readable description of the asset.
description?: string
Property Value
string
displayName
Human-readable display name.
displayName?: string
Property Value
string
documentationUri
Reference to the documentation.
documentationUri?: string
Property Value
string
enabled
Enabled/Disabled status of the asset.
enabled?: boolean
Property Value
boolean
events
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.
events?: Event_2[]
Property Value
Event[]
hardwareRevision
Revision number of the hardware.
hardwareRevision?: string
Property Value
string
manufacturer
Asset manufacturer name.
manufacturer?: string
Property Value
string
manufacturerUri
Asset manufacturer URI.
manufacturerUri?: string
Property Value
string
model
Asset model name.
model?: string
Property Value
string
productCode
Asset product code.
productCode?: string
Property Value
string
serialNumber
Asset serial number.
serialNumber?: string
Property Value
string
softwareRevision
Revision number of the software.
softwareRevision?: string
Property Value
string
Azure SDK for JavaScript