Data Source: oci_core_compute_capacity_reservations

This data source provides the list of Compute Capacity Reservations in Oracle Cloud Infrastructure Core service.

Lists the compute capacity reservations that match the specified criteria and compartment.

You can limit the list by specifying a compute capacity reservation display name (the list will include all the identically-named compute capacity reservations in the compartment).

Example Usage

data "oci_core_compute_capacity_reservations" "test_compute_capacity_reservations" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	availability_domain = var.compute_capacity_reservation_availability_domain
	display_name = var.compute_capacity_reservation_display_name
	state = var.compute_capacity_reservation_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ComputeCapacityReservation Reference

The following attributes are exported: