GetCapacityReservationGroupResult

data class GetCapacityReservationGroupResult(val azureApiVersion: String, val capacityReservations: List<SubResourceReadOnlyResponse>, val id: String, val instanceView: CapacityReservationGroupInstanceViewResponse, val location: String, val name: String, val sharingProfile: ResourceSharingProfileResponse? = null, val tags: Map<String, String>? = null, val type: String, val virtualMachinesAssociated: List<SubResourceReadOnlyResponse>, val zones: List<String>? = null)

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.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, capacityReservations: List<SubResourceReadOnlyResponse>, id: String, instanceView: CapacityReservationGroupInstanceViewResponse, location: String, name: String, sharingProfile: ResourceSharingProfileResponse? = null, tags: Map<String, String>? = null, type: String, virtualMachinesAssociated: List<SubResourceReadOnlyResponse>, zones: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

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

Link copied to clipboard
val id: String

Resource Id

Link copied to clipboard

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.

Link copied to clipboard

Resource location

Link copied to clipboard

Resource name

Link copied to clipboard

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.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags

Link copied to clipboard

Resource type

Link copied to clipboard

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

Link copied to clipboard
val zones: List<String>? = null

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.