getCapacityReservation

The operation that retrieves information about the capacity reservation. 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.

Parameters

argument

null


suspend fun getCapacityReservation(capacityReservationGroupName: String, capacityReservationName: String, expand: String? = null, resourceGroupName: String): GetCapacityReservationResult

Return

Specifies information about the capacity reservation.

Parameters

capacityReservationGroupName

The name of the capacity reservation group.

capacityReservationName

The name of the capacity reservation.

expand

The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the 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.

Parameters

argument

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

See also