Table of Contents

Class DiscoveredAssetStream

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

Properties

Destinations

Destinations for a stream.

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

Property Value

List<EventStreamDestination>

LastUpdatedOn

Timestamp (in UTC) indicating when the stream was added or modified.

[JsonPropertyName("lastUpdatedOn")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DateTime? LastUpdatedOn { get; set; }

Property Value

DateTime?

Name

Name of the stream definition.

[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonRequired]
public string Name { get; set; }

Property Value

string

StreamConfiguration

Stringified JSON that contains connector-specific configuration that describes configuration for the specific stream.

[JsonPropertyName("streamConfiguration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? StreamConfiguration { 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