Condividi tramite


CapacityReservationInstanceViewWithName Class

Definition

The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group.

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

Properties

Name

The name of the capacity reservation.

Statuses

The resource status information.

(Inherited from CapacityReservationInstanceView)
UtilizationInfo

Unutilized capacity of the capacity reservation.

(Inherited from CapacityReservationInstanceView)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CapacityReservationInstanceView)

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.

(Inherited from CapacityReservationInstanceView)
IJsonModel<CapacityReservationInstanceView>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CapacityReservationInstanceView)
IJsonModel<CapacityReservationInstanceViewWithName>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CapacityReservationInstanceViewWithName>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CapacityReservationInstanceView>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CapacityReservationInstanceView)
IPersistableModel<CapacityReservationInstanceView>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CapacityReservationInstanceView)
IPersistableModel<CapacityReservationInstanceView>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CapacityReservationInstanceView)
IPersistableModel<CapacityReservationInstanceViewWithName>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CapacityReservationInstanceViewWithName>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CapacityReservationInstanceViewWithName>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to