get Capacity Reservation
suspend fun getCapacityReservation(argument: GetCapacityReservationPlainArgs): GetCapacityReservationResult
The operation that retrieves information about the capacity reservation. Azure REST API version: 2023-03-01. Other available API versions: 2023-07-01.
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.
See also
Parameters
capacity Reservation Group Name
The name of the capacity reservation group.
capacity Reservation Name
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.
resource Group Name
The name of the resource group.
suspend fun getCapacityReservation(argument: suspend GetCapacityReservationPlainArgsBuilder.() -> Unit): GetCapacityReservationResult
Return
Specifies information about the capacity reservation.
See also
Parameters
argument
Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetCapacityReservationPlainArgs.