你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceRegistryAssetStatus Class

Definition

Defines the asset status properties.

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

Properties

Datasets

Array of dataset statuses that describe the status of each dataset.

Errors

Array object to transfer and persist errors that originate from the Edge.

Events

Array of event statuses that describe the status of each event.

Version

A read only incremental counter indicating the number of times the configuration has been modified from the perspective of the current actual (Edge) state of the Asset. Edge would be the only writer of this value and would sync back up to the cloud. In steady state, this should equal version.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceRegistryAssetStatus>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeviceRegistryAssetStatus>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeviceRegistryAssetStatus>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceRegistryAssetStatus>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeviceRegistryAssetStatus>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to