Share via


SensorIntegration Class

Definition

Sensor integration request model.

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

Constructors

SensorIntegration()

Initializes a new instance of SensorIntegration.

Properties

Enabled

Sensor integration enable state. Allowed values are True, None.

ProvisioningInfoError

The error object.

ProvisioningState

Sensor integration instance provisioning state.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SensorIntegration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SensorIntegration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SensorIntegration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SensorIntegration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SensorIntegration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to