Table of Contents

Class Asset

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.Models
Assembly
Azure.Iot.Operations.Services.dll
public record Asset : IEquatable<Asset>
Inheritance
Asset
Implements
Inherited Members

Properties

AssetTypeRefs

URIs or type definition IDs.

public List<string>? AssetTypeRefs { get; set; }

Property Value

List<string>

Attributes

A set of key-value pairs that contain custom attributes set by the customer.

public Dictionary<string, string>? Attributes { get; set; }

Property Value

Dictionary<string, string>

Datasets

Array of data sets that are part of the asset. Each data set describes the data points that make up the set.

public List<AssetDataset>? Datasets { get; set; }

Property Value

List<AssetDataset>

DefaultDatasetsConfiguration

Stringified JSON that contains connector-specific default configuration for all datasets. Each dataset can have its own configuration that overrides the default settings here.

[JsonPropertyName("defaultDatasetsConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DefaultDatasetsConfiguration { get; set; }

Property Value

string

DefaultDatasetsDestinations

Default destinations for a dataset.

public List<DatasetDestination>? DefaultDatasetsDestinations { get; set; }

Property Value

List<DatasetDestination>

DefaultEventsConfiguration

Stringified JSON that contains connector-specific default configuration for all events. Each event can have its own configuration that overrides the default settings here.

public string? DefaultEventsConfiguration { get; set; }

Property Value

string

DefaultEventsDestinations

Default destinations for an event.

public List<EventStreamDestination>? DefaultEventsDestinations { get; set; }

Property Value

List<EventStreamDestination>

DefaultManagementGroupsConfiguration

Stringified JSON that contains connector-specific default configuration for all management groups. Each management group can have its own configuration that overrides the default settings here.

public string? DefaultManagementGroupsConfiguration { get; set; }

Property Value

string

DefaultStreamsConfiguration

Stringified JSON that contains connector-specific default configuration for all streams. Each stream can have its own configuration that overrides the default settings here.

public string? DefaultStreamsConfiguration { get; set; }

Property Value

string

DefaultStreamsDestinations

Default destinations for a stream.

public List<EventStreamDestination>? DefaultStreamsDestinations { get; set; }

Property Value

List<EventStreamDestination>

Description

Human-readable description of the asset.

public string? Description { get; set; }

Property Value

string

DeviceRef

public AssetDeviceRef DeviceRef { get; set; }

Property Value

AssetDeviceRef

DiscoveredAssetRefs

Reference to a list of discovered assets. Populated only if the asset has been created from discovery flow. Discovered asset names must be provided.

public List<string>? DiscoveredAssetRefs { get; set; }

Property Value

List<string>

DisplayName

Human-readable display name.

public string? DisplayName { get; set; }

Property Value

string

DocumentationUri

Asset documentation reference.

public string? DocumentationUri { get; set; }

Property Value

string

Enabled

Enabled/Disabled status of the asset.

public bool? Enabled { get; set; }

Property Value

bool?

EventGroups

Array of events that are part of the asset. Each event can have per-event configuration.

public List<AssetEventGroup>? EventGroups { get; set; }

Property Value

List<AssetEventGroup>

ExternalAssetId

Asset ID provided by the customer.

public string? ExternalAssetId { get; set; }

Property Value

string

HardwareRevision

Asset hardware revision number.

public string? HardwareRevision { get; set; }

Property Value

string

LastTransitionTime

A timestamp (in UTC) that is updated each time the resource is modified.

public DateTime? LastTransitionTime { get; set; }

Property Value

DateTime?

ManagementGroups

Array of management groups that are part of the asset.

public List<AssetManagementGroup>? ManagementGroups { get; set; }

Property Value

List<AssetManagementGroup>

Manufacturer

Asset manufacturer.

public string? Manufacturer { get; set; }

Property Value

string

ManufacturerUri

Asset manufacturer URI.

public string? ManufacturerUri { get; set; }

Property Value

string

Model

Asset model.

public string? Model { get; set; }

Property Value

string

ProductCode

Asset product code.

public string? ProductCode { get; set; }

Property Value

string

SerialNumber

Asset serial number.

public string? SerialNumber { get; set; }

Property Value

string

SoftwareRevision

Asset software revision number.

[JsonPropertyName("softwareRevision")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SoftwareRevision { get; set; }

Property Value

string

Streams

Array of streams that are part of the asset. Each stream can have per-stream configuration.

public List<AssetStream>? Streams { get; set; }

Property Value

List<AssetStream>

Uuid

Globally unique, immutable, non-reusable id.

public string? Uuid { get; set; }

Property Value

string

Version

A read-only integer that is incremented each time the resource is modified the cloud.

public ulong? Version { get; set; }

Property Value

ulong?