次の方法で共有


DeviceRegistryDataPointBase Class

Definition

Defines the data point properties.

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

Constructors

DeviceRegistryDataPointBase(String, String)

Initializes a new instance of DeviceRegistryDataPointBase.

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.

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.

Name

The name of the data point.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceRegistryDataPointBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeviceRegistryDataPointBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeviceRegistryDataPointBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceRegistryDataPointBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeviceRegistryDataPointBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to