Partager via


DeviceRegistryDataPoint Class

Definition

Defines the data point properties.

public class DeviceRegistryDataPoint : Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataPointBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataPoint>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryDataPoint>
type DeviceRegistryDataPoint = class
    inherit DeviceRegistryDataPointBase
    interface IJsonModel<DeviceRegistryDataPoint>
    interface IPersistableModel<DeviceRegistryDataPoint>
Public Class DeviceRegistryDataPoint
Inherits DeviceRegistryDataPointBase
Implements IJsonModel(Of DeviceRegistryDataPoint), IPersistableModel(Of DeviceRegistryDataPoint)
Inheritance
DeviceRegistryDataPoint
Implements

Constructors

DeviceRegistryDataPoint(String, String)

Initializes a new instance of DeviceRegistryDataPoint.

Properties

DataPointConfiguration

Stringified JSON that contains connector-specific configuration for the data point. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.

(Inherited from DeviceRegistryDataPointBase)
DataSource

The address of the source of the data in the asset (e.g. URL) so that a client can access the data source on the asset.

(Inherited from DeviceRegistryDataPointBase)
Name

The name of the data point.

(Inherited from DeviceRegistryDataPointBase)
ObservabilityMode

An indication of how the data point should be mapped to OpenTelemetry.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceRegistryDataPoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DeviceRegistryDataPoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DeviceRegistryDataPointBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DeviceRegistryDataPointBase)
IJsonModel<DeviceRegistryDataPointBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DeviceRegistryDataPointBase)
IPersistableModel<DeviceRegistryDataPoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceRegistryDataPoint>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DeviceRegistryDataPoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DeviceRegistryDataPointBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DeviceRegistryDataPointBase)
IPersistableModel<DeviceRegistryDataPointBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DeviceRegistryDataPointBase)
IPersistableModel<DeviceRegistryDataPointBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DeviceRegistryDataPointBase)

Applies to