Dela via


CapacityReservationGroupInstanceView Class

Definition

The CapacityReservationGroupInstanceView.

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

Properties

CapacityReservations

List of instance view of the capacity reservations under the capacity reservation group.

SharedSubscriptionIds

List of the subscriptions that the capacity reservation group is shared with. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CapacityReservationGroupInstanceView>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CapacityReservationGroupInstanceView>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CapacityReservationGroupInstanceView>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CapacityReservationGroupInstanceView>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CapacityReservationGroupInstanceView>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to