Data Source: oci_limits_resource_availability

This data source provides details about a specific Resource Availability resource in Oracle Cloud Infrastructure Limits service.

For a given compartmentId, resource limit name, and scope, returns the following: * The number of available resources associated with the given limit. * The usage in the selected compartment for the given limit. Note that not all resource limits support this API. If the value is not available, the API returns a 404 response.

Example Usage

data "oci_limits_resource_availability" "test_resource_availability" {
	#Required
	compartment_id = var.tenancy_ocid
	limit_name = var.resource_availability_limit_name
	service_name = oci_limits_service.test_service.name

	#Optional
	availability_domain = var.resource_availability_availability_domain
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: