Viewing Resource Limits

A Private Cloud Appliance has a set of service limits configured for each tenancy. A service limit is the quota or allowance set on a resource. These resource limits are listed in Service Limits in the Oracle Private Cloud Appliance Release Notes.

Some resource limits can be changed by the appliance administrator. The commands described in this topic show you which services currently allow resource limits to be changed, and show you what the current values are for those resource limits.

Using the Compute Web UI

  1. On the dashboard, select Governance / Limits.

  2. Select a service from the drop-down menu above the list.

    Resource limit definitions are shown in the list if the selected service exposes its resource limits.

    If the selected service does not expose its resource limits, see Service Limits in the Oracle Private Cloud Appliance Release Notes.

  3. If you select a different service from the drop-down menu, also select the Refresh button to refresh the list.

Using the OCI CLI

List Limits Services

List services that support changing resource limits.

Syntax:

oci limits service list --compartment-id compartment_OCID

If a service is not listed, the resource limits for that service are given in Service Limits in the Oracle Private Cloud Appliance Release Notes.

List the Resource Limit Definitions of a Service

List resource limit definitions for all services that support changing resource limits. For each limit definition, show the name of the service, the name of the resource limit, and the description of the limit definition.

Syntax:

oci limits definition list --compartment-id compartment_OCID \
--service-name service_name --name limit_name

The --service-name option is optional and shows resource limit definitions for only that service. Specify a service that is identified by the limits service list command.

The --name option is optional and shows the limit definition for only that resource.

List the Resource Limit Values of a Service

Show the complete list of resource limits for the specified service. Specify a service that is identified by the limits service list command.

Syntax:

oci limits value list --compartment-id compartment_OCID --service-name service_name \
--name limit_name

The --name option is optional and shows the limit for only that resource.

Show Availability of a Limit Resource

Show the following for the specified compartment, service, and limit:

  • The number of available resources associated with the given limit.

  • The usage in the selected compartment for the given limit.

Specify a service that is identified by the limits service list command.

Syntax:

oci limits resource-availability get --compartment-id compartment_OCID \
 --service-name service_name --limit-name limit_name

Not all resource limits support resource-availability get. If the value is not available, a message is shown that resource availability is not supported for that particular service and limit.