CapacityReservationGroupPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Implements
Constructors
| Name | Description |
|---|---|
| CapacityReservationGroupPatch() |
Initializes a new instance of CapacityReservationGroupPatch. |
Properties
| Name | Description |
|---|---|
| AssociatedVirtualMachineResources |
A list of references to all virtual machines associated to the capacity reservation group. |
| CapacityReservationResources |
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. |
| ReservationType |
Indicates the type of capacity reservation. Allowed values are 'Block' for block capacity reservations that enable a VM to consume capacity only from this capacity block when it is associated using a capacity reservation group, 'Targeted' for reservations that enable a VM to consume capacity from an explicitly associated capacity reservation group and fall back to the publicly available capacity if the reservation is full, and 'Open' for reservations that a VM consumes when it is eligible from an implicitly associated capacity reservation group with the matching VM size and zone without associating that capacity reservation group and fall back to the publicly available capacity if the reservation is full. The reservation type is immutable and cannot be changed after the capacity reservation group is created. |
| SharingSubscriptionResources |
Specifies an array of subscription resource IDs that capacity reservation group is shared with. Block Capacity Reservations does not support sharing across subscriptions. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details. |
| Tags |
Resource tags. (Inherited from ComputeResourcePatch) |