GetCapacityReservationGroupResult

data class GetCapacityReservationGroupResult(val capacityReservations: List<SubResourceReadOnlyResponse>, val id: String, val instanceView: CapacityReservationGroupInstanceViewResponse, val location: String, val name: String, 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(capacityReservations: List<SubResourceReadOnlyResponse>, id: String, instanceView: CapacityReservationGroupInstanceViewResponse, location: String, name: String, 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

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
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.