Table of Contents

Class DiscoveredAssetEvent

Namespace
Azure.Iot.Operations.Services.AssetAndDeviceRegistry.AdrBaseService
Assembly
Azure.Iot.Operations.Services.dll
public class DiscoveredAssetEvent : IJsonOnDeserialized, IJsonOnSerializing
Inheritance
DiscoveredAssetEvent
Implements
Inherited Members

Properties

DataPoints

Array of data points that are part of the event. Each data point can have per-data-point configuration.

[JsonPropertyName("dataPoints")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<DiscoveredAssetEventDataPoint>? DataPoints { get; set; }

Property Value

List<DiscoveredAssetEventDataPoint>

Destinations

Destinations for an event.

[JsonPropertyName("destinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<EventStreamDestination>? Destinations { get; set; }

Property Value

List<EventStreamDestination>

EventConfiguration

Stringified JSON that contains connector-specific configuration for the specific event.

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

Property Value

string

EventNotifier

The address of the notifier of the event in the discovered asset (e.g. URL) so that a client can access the notifier on the asset.

[JsonPropertyName("eventNotifier")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string EventNotifier { get; set; }

Property Value

string

LastUpdatedOn

UTC timestamp indicating when the event was added or modified.

[JsonPropertyName("lastUpdatedOn")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DateTime? LastUpdatedOn { get; set; }

Property Value

DateTime?

Name

The name of the event.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Name { get; set; }

Property Value

string

TypeRef

URI or type definition ID.

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

Property Value

string