Table of Contents

Class Event

Namespace
Azure.Iot.Operations.Services.Assets
Assembly
Azure.Iot.Operations.Services.dll

An event represents some data that was received from the asset (unprompted). It is similar to a dataset in that it can be forwarded to the MQTT broker as an MQTT message.

public record Event : IEquatable<Event>
Inheritance
Event
Implements
Inherited Members

Properties

EventConfiguration

Protocol-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.

[JsonConverter(typeof(JsonDocumentConverter))]
public JsonDocument? EventConfiguration { get; set; }

Property Value

JsonDocument

EventNotifier

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.

public string? EventNotifier { get; set; }

Property Value

string

Name

The name of the event.

public string Name { get; set; }

Property Value

string

ObservabilityMode

An indication of how the event should be mapped to OpenTelemetry.

public string? ObservabilityMode { get; set; }

Property Value

string

Topic

Object that describes the topic information.

public Topic? Topic { get; set; }

Property Value

Topic