Class DiscoveredAssetEvent
- Assembly
- Azure.Iot.Operations.Services.dll
public class DiscoveredAssetEvent : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
DiscoveredAssetEvent
- Implements
- Inherited Members
Properties
DataSource
Reference to a data source for a given event.
[JsonPropertyName("dataSource")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DataSource { 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
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; }