Package version:

Interface CapacityReservationGroup

Specifies information about the capacity reservation group that the capacity reservations should be assigned to. Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group.

interface CapacityReservationGroup {
    capacityReservations?: SubResourceReadOnly[];
    id?: string;
    instanceView?: CapacityReservationGroupInstanceView;
    location: string;
    name?: string;
    sharingProfile?: ResourceSharingProfile;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
    virtualMachinesAssociated?: SubResourceReadOnly[];
    zones?: string[];
}

Hierarchy (view full)

Properties

capacityReservations?: SubResourceReadOnly[]

A list of all capacity reservation resource ids that belong to capacity reservation group. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Resource Id NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

location: string

Resource location

name?: string

Resource name NOTE: This property will not be serialized. It can only be populated by the server.

sharingProfile?: ResourceSharingProfile

Specifies the settings to enable sharing across subscriptions for the capacity reservation group resource. Pls. keep in mind the capacity reservation group resource generally can be shared across subscriptions belonging to a single azure AAD tenant or cross AAD tenant if there is a trust relationship established between the AAD tenants. Note: Minimum api-version: 2023-09-01. Please refer to https://aka.ms/computereservationsharing for more details.

tags?: {
    [propertyName: string]: string;
}

Resource tags

type?: string

Resource type NOTE: This property will not be serialized. It can only be populated by the server.

virtualMachinesAssociated?: SubResourceReadOnly[]

A list of references to all virtual machines associated to the capacity reservation group. NOTE: This property will not be serialized. It can only be populated by the server.

zones?: string[]

Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.