Share via


IotHubCapacity Class

Definition

IoT Hub capacity information.

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

Properties

Default

The default number of units.

Maximum

The maximum number of units.

Minimum

The minimum number of units.

ScaleType

The type of the scaling enabled.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<IotHubCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<IotHubCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<IotHubCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<IotHubCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<IotHubCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to