Partager via


CapacityReservationInstanceView Class

Definition

The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.

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

Properties

Statuses

The resource status information.

UtilizationInfo

Unutilized capacity of the capacity reservation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CapacityReservationInstanceView>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CapacityReservationInstanceView>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CapacityReservationInstanceView>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CapacityReservationInstanceView>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CapacityReservationInstanceView>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to