get Capacity Reservation
suspend fun getCapacityReservation(argument: GetCapacityReservationPlainArgs): GetCapacityReservationResult
The operation that retrieves information about the capacity reservation. API Version: 2021-04-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.
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.
See also
suspend fun getCapacityReservation(argument: suspend GetCapacityReservationPlainArgsBuilder.() -> Unit): GetCapacityReservationResult
Return
Specifies information about the capacity reservation.
Parameters
argument
Builder for com.pulumi.azurenative.compute.kotlin.inputs.GetCapacityReservationPlainArgs.