Class Asset
- Namespace
- Azure.Iot.Operations.Services.Assets
- Assembly
- Azure.Iot.Operations.Services.dll
public record Asset : IEquatable<Asset>
- Inheritance
-
Asset
- Implements
- Inherited Members
Properties
AssetEndpointProfileRef
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.namespace>.
public string? AssetEndpointProfileRef { get; set; }
Property Value
Attributes
A set of key-value pairs that contain custom attributes set by the customer.
public Dictionary<string, string>? Attributes { get; set; }
Property Value
Datasets
public Dataset[]? Datasets { get; set; }
Property Value
- Dataset[]
DatasetsDictionary
The mapping of dataset names to datasets that are part of the asset. Each dataset can have per-dataset configuration.
[JsonIgnore]
public Dictionary<string, Dataset>? DatasetsDictionary { get; }
Property Value
DefaultDatasetsConfiguration
Protocol-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.
[JsonConverter(typeof(JsonDocumentConverter))]
public JsonDocument? DefaultDatasetsConfiguration { get; set; }
Property Value
DefaultEventsConfiguration
Protocol-specific default configuration for all data sets. Each data set can have its own configuration that overrides the default settings here. This assumes that each asset instance has one protocol.
[JsonConverter(typeof(JsonDocumentConverter))]
public JsonDocument? DefaultEventsConfiguration { get; set; }
Property Value
DefaultTopic
Object that describes the topic information.
public Topic? DefaultTopic { get; set; }
Property Value
Description
Human-readable description of the asset.
public string? Description { get; set; }
Property Value
DiscoveredAssetRefs
Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow.
public string[]? DiscoveredAssetRefs { get; set; }
Property Value
- string[]
DisplayName
Human-readable display name.
public string? DisplayName { get; set; }
Property Value
DocumentationUri
Reference to the documentation.
public string? DocumentationUri { get; set; }
Property Value
Enabled
Enabled/Disabled status of the asset.
public bool? Enabled { get; set; }
Property Value
- bool?
Events
public Event[]? Events { get; set; }
Property Value
- Event[]
EventsDictionary
The mapping of event names to events in this asset.
[JsonIgnore]
public Dictionary<string, Event>? EventsDictionary { get; }
Property Value
ExternalAssetId
Asset id provided by the customer.
public string? ExternalAssetId { get; set; }
Property Value
HardwareRevision
Revision number of the hardware.
public string? HardwareRevision { get; set; }
Property Value
Manufacturer
Asset manufacturer name.
public string? Manufacturer { get; set; }
Property Value
ManufacturerUri
Asset manufacturer URI.
public string? ManufacturerUri { get; set; }
Property Value
Model
Asset model name.
public string? Model { get; set; }
Property Value
ProductCode
Asset product code.
public string? ProductCode { get; set; }
Property Value
ProvisioningState
Provisioning state of the resource.
public string? ProvisioningState { get; set; }
Property Value
SerialNumber
Asset serial number.
public string? SerialNumber { get; set; }
Property Value
SoftwareRevision
Revision number of the software.
public string? SoftwareRevision { get; set; }
Property Value
Status
Read only object to reflect changes that have occurred on the Edge. Similar to Kubernetes status property for custom resources.
public Status? Status { get; set; }
Property Value
Uuid
Globally unique, immutable, non-reusable id.
public string? Uuid { get; set; }
Property Value
Version
A value that is incremented each time the resource is modified.
public long? Version { get; set; }
Property Value
- long?