getCapacityReservationGroup

The operation that retrieves information about a capacity reservation group. Uses Azure REST API version 2024-11-01. Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native compute [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

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.

Parameters

argument

null


suspend fun getCapacityReservationGroup(capacityReservationGroupName: String, expand: String? = null, resourceGroupName: String): GetCapacityReservationGroupResult

Return

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.

Parameters

capacityReservationGroupName

The name of the capacity reservation group.

expand

The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations.

resourceGroupName

The name of the resource group.

See also


Return

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.

Parameters

argument

Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetCapacityReservationGroupPlainArgs.

See also