Class Asset
- Assembly
- Azure.Iot.Operations.Services.dll
public class Asset : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
Asset
- Implements
- Inherited Members
Properties
AssetTypeRefs
URIs or type definition IDs.
[JsonPropertyName("assetTypeRefs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<string>? AssetTypeRefs { get; set; }
Property Value
Attributes
A set of key-value pairs that contain custom attributes set by the customer.
[JsonPropertyName("attributes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Dictionary<string, string>? Attributes { get; set; }
Property Value
Datasets
Array of data sets that are part of the asset. Each data set describes the data points that make up the set.
[JsonPropertyName("datasets")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<AssetDatasetSchemaElementSchema>? Datasets { get; set; }
Property Value
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
DefaultDatasetsDestinations
Default destinations for a dataset.
[JsonPropertyName("defaultDatasetsDestinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<DatasetDestination>? DefaultDatasetsDestinations { get; set; }
Property Value
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.
[JsonPropertyName("defaultEventsConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DefaultEventsConfiguration { get; set; }
Property Value
DefaultEventsDestinations
Default destinations for an event.
[JsonPropertyName("defaultEventsDestinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<EventStreamDestination>? DefaultEventsDestinations { get; set; }
Property Value
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.
[JsonPropertyName("defaultManagementGroupsConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DefaultManagementGroupsConfiguration { get; set; }
Property Value
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.
[JsonPropertyName("defaultStreamsConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DefaultStreamsConfiguration { get; set; }
Property Value
DefaultStreamsDestinations
Default destinations for a stream.
[JsonPropertyName("defaultStreamsDestinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<EventStreamDestination>? DefaultStreamsDestinations { get; set; }
Property Value
Description
Human-readable description of the asset.
[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Description { get; set; }
Property Value
DeviceRef
[JsonPropertyName("deviceRef")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public AssetDeviceRef DeviceRef { get; set; }
Property Value
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.
[JsonPropertyName("discoveredAssetRefs")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<string>? DiscoveredAssetRefs { get; set; }
Property Value
DisplayName
Human-readable display name.
[JsonPropertyName("displayName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DisplayName { get; set; }
Property Value
DocumentationUri
Asset documentation reference.
[JsonPropertyName("documentationUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DocumentationUri { get; set; }
Property Value
Enabled
Enabled/Disabled status of the asset.
[JsonPropertyName("enabled")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Enabled { get; set; }
Property Value
- bool?
Events
Array of events that are part of the asset. Each event can have per-event configuration.
[JsonPropertyName("events")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<AssetEventSchemaElementSchema>? Events { get; set; }
Property Value
ExternalAssetId
Asset ID provided by the customer.
[JsonPropertyName("externalAssetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ExternalAssetId { get; set; }
Property Value
HardwareRevision
Asset hardware revision number.
[JsonPropertyName("hardwareRevision")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? HardwareRevision { get; set; }
Property Value
LastTransitionTime
A timestamp (in UTC) that is updated each time the resource is modified.
[JsonPropertyName("lastTransitionTime")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DateTime? LastTransitionTime { get; set; }
Property Value
ManagementGroups
Array of management groups that are part of the asset.
[JsonPropertyName("managementGroups")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<AssetManagementGroupSchemaElementSchema>? ManagementGroups { get; set; }
Property Value
Manufacturer
Asset manufacturer.
[JsonPropertyName("manufacturer")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Manufacturer { get; set; }
Property Value
ManufacturerUri
Asset manufacturer URI.
[JsonPropertyName("manufacturerUri")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ManufacturerUri { get; set; }
Property Value
Model
Asset model.
[JsonPropertyName("model")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Model { get; set; }
Property Value
ProductCode
Asset product code.
[JsonPropertyName("productCode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ProductCode { get; set; }
Property Value
SerialNumber
Asset serial number.
[JsonPropertyName("serialNumber")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SerialNumber { get; set; }
Property Value
SoftwareRevision
Asset software revision number.
[JsonPropertyName("softwareRevision")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SoftwareRevision { get; set; }
Property Value
Streams
Array of streams that are part of the asset. Each stream can have per-stream configuration.
[JsonPropertyName("streams")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<AssetStreamSchemaElementSchema>? Streams { get; set; }
Property Value
Uuid
Globally unique, immutable, non-reusable id.
[JsonPropertyName("uuid")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Uuid { get; set; }
Property Value
Version
A read-only integer that is incremented each time the resource is modified the cloud.
[JsonPropertyName("version")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ulong? Version { get; set; }