Class DiscoveredAssetEvent
- 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
Destinations
Destinations for an event.
[JsonPropertyName("destinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<EventStreamDestination>? Destinations { get; set; }
Property Value
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
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
LastUpdatedOn
UTC timestamp indicating when the event was added or modified.
[JsonPropertyName("lastUpdatedOn")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DateTime? LastUpdatedOn { get; set; }
Property Value
Name
The name of the event.
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Name { get; set; }
Property Value
TypeRef
URI or type definition ID.
[JsonPropertyName("typeRef")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? TypeRef { get; set; }