共用方式為


DeviceRegistryAssetStatusEvent Class

Definition

Defines the asset status event properties.

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

Properties

MessageSchemaReference

The message schema reference object.

Name

The name of the event. Must be unique within the status.events array. This name is used to correlate between the spec and status event information.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceRegistryAssetStatusEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeviceRegistryAssetStatusEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeviceRegistryAssetStatusEvent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceRegistryAssetStatusEvent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeviceRegistryAssetStatusEvent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to