Class DiscoveredAssetEventGroup
- Assembly
- Azure.Iot.Operations.Services.dll
public class DiscoveredAssetEventGroup : IJsonOnDeserialized, IJsonOnSerializing
- Inheritance
-
DiscoveredAssetEventGroup
- Implements
- Inherited Members
Properties
DataSource
The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.
[JsonPropertyName("dataSource")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? DataSource { get; set; }
Property Value
DefaultEventsDestinations
Default destinations for an event.
[JsonPropertyName("defaultEventsDestinations")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<EventStreamDestination>? DefaultEventsDestinations { get; set; }
Property Value
EventGroupConfiguration
Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.
[JsonPropertyName("eventGroupConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? EventGroupConfiguration { get; set; }
Property Value
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<DiscoveredAssetEvent>? Events { get; set; }
Property Value
Name
Name of the event group.
[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; }