Compartilhar via


CapacityReservationGroupPatch Class

Definition

Specifies information about the capacity reservation group. Only tags can be updated.

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

Constructors

CapacityReservationGroupPatch()

Initializes a new instance of CapacityReservationGroupPatch.

Properties

CapacityReservations

A list of all capacity reservation resource ids that belong to capacity reservation group.

InstanceView

The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.

SharingSubscriptionIds

Specifies an array of subscription resource IDs that capacity reservation group is shared with. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.

Tags

Resource tags.

(Inherited from ComputeResourcePatch)
VirtualMachinesAssociated

A list of references to all virtual machines associated to the capacity reservation group.

Methods

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

Explicit Interface Implementations

IJsonModel<CapacityReservationGroupPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CapacityReservationGroupPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ComputeResourcePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeResourcePatch)
IPersistableModel<CapacityReservationGroupPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CapacityReservationGroupPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CapacityReservationGroupPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ComputeResourcePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ComputeResourcePatch)

Applies to