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 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

string

DefaultEventsDestinations

Default destinations for an event.

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

Property Value

List<EventStreamDestination>

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

string

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<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