» Data Source: oci_limits_quotas

This data source provides the list of Quotas in Oracle Cloud Infrastructure Limits service.

Lists all quotas on resources from the given compartment

» Example Usage

data "oci_limits_quotas" "test_quotas" {
    #Required
    compartment_id = "${var.tenancy_ocid}"

    #Optional
    name = "${var.quota_name}"
    state = "${var.quota_state}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
  • name - (Optional) name
  • state - (Optional) Filters returned quotas based on whether the given state.

» Attributes Reference

The following attributes are exported:

  • quotas - The list of quotas.

» Quota Reference

The following attributes are exported:

  • compartment_id - The OCID of the compartment containing the resource this quota applies to.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
  • description - The description you assign to the quota.
  • freeform_tags - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
  • id - The OCID of the quota.
  • name - The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed.
  • state - The quota's current state.
  • statements - An array of one or more quota statements written in the declarative quota statement language.
  • time_created - Date and time the quota was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z