Table of Contents

Class AssetEventGroupSchemaElementSchema

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

Properties

DataSource

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

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

Property Value

string

DefaultDestinations

Default destinations for an event group.

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

Property Value

List<EventStreamDestination>

EventGroupConfiguration

Stringified JSON that contains connector-specific configuration for the event group. 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

string

Events

Array of events that are part of the event group. Each event can have per-event configuration.

[JsonPropertyName("events")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public List<AssetEventSchemaElementSchema>? Events { get; set; }

Property Value

List<AssetEventSchemaElementSchema>

Name

Name of the event group.

[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