Viewing Resource Limits

This section describes how to list the available resource limit definitions, show the full specified resource limit definition, and show the default and current limit values of the specified resources.

Listing and Showing Limit Definitions

This topic describes how to list all available limit definitions for all supported services and show a description of each limit. This topic also describes how to show the details of a specified limit definition, including the default value of the limit, supported tags, and whether quotas are supported. See Supported Tags and Quotas Supported.

Using the Service Web UI

  1. On the navigation menu, select Limits, and then select Limit Definitions.

    For each limit definition, the table shows the name of the limit definition, the name of the service, and the description of the limit.

  2. To show the details of a particular limit definition, either select the name of the limit definition in the list, or select the Actions menu for that limit definition and select View Details.

    The Resources section of the details page shows overrides that have already been created for this resource limit. You can edit or delete an override in that list, view details of an override, or use the button above the list to create a new override for this resource limit. See Creating Resource Limit Overrides.

Using the Service CLI

To list all available limit definitions, use the list LimitDefinition command. The following example lists only two limit definitions. Many more limit definitions are listed when you run this command.

PCA-ADMIN> list LimitDefinition
Command: list LimitDefinition
Status: Success
Time: 2025-05-06 15:29:26,212 UTC
Data: 
  id                      Name       Service Name   Description
  --                      ----       ------------   -----------
  identity~groups         groups     identity       Maximum number of user groups
  loadbalancer~backends   backends   loadbalancer   Maximum number of backends per load balancer (system-wide)

To show the details of a specified limit definition, use the show LimitDefinition command. Provide the resource limit id from the list LimitDefinition output.

PCA-ADMIN> show LimitDefinition id=identity~groups
Command: show LimitDefinition id=identity~groups
Status: Success
Time: 2025-05-06 16:50:22,144 UTC
Data:
  Id = identity~groups
  Type = LimitDefinition
  Name = groups
  Service Name = identity
  Description = Maximum number of user groups
  Supported Tags 1 = {TENANCY}
  Quotas Supported = false
  Value = 100
PCA-ADMIN>
PCA-ADMIN> show LimitDefinition id=loadbalancer~backends
Command: show LimitDefinition id=loadbalancer~backends
Status: Success
Time: 2025-05-06 16:50:22,144 UTC
Data:
  Id = loadbalancer~backends
  Type = LimitDefinition
  Name = backends
  Service Name = loadbalancer
  Description = Maximum number of backends per load balancer
  Supported Tags 1 = SYSTEM
  Value = 512

The "Value" is the default limit for this resource. For the current limit value (if an override has been set), see the example in Viewing Current Resource Limits.

Supported Tags and Quotas Supported

Supported Tags are tags that you can use to override values. Curly braces indicate variable tags. For example, {TENANCY} indicates that you can set different limit values on different tenancies. In the preceding Service CLI example, you can set different groups limits for different tenancies. You cannot set different backends limits for different load balancers; all load balancers have the same backends limit.

If Quotas Supported is Yes or true, a Compute Enclave user with sufficient authorization can create additional compartment-specific limits within the specified tenancy.

Viewing Current Resource Limits

This topic describes how to show the current limit values of the specified resources. If an override has been set, the current limit value could be different from the default value.

Using the Service Web UI

  1. On the navigation menu, select Limits, and then select Service Limits.

  2. On the Service Name menu at the top of the page, select the service of the resource that you are interested in.

  3. On the Tag menu, select the tag.

    All resources that are supported in the Limits Service, that belong to the selected service, and that have the specified tag are listed.

    The "Value" column shows the current value of the limit.

    The "Assigned By" column shows whether the value is the default limit value from the limit definition or an override value set in a template or on a tag (see Setting Resource Limit Overrides). If the value is an override value set in a template, the name of the template is shown.

    Any of the columns can be sorted by selecting the arrow keys in the column header. Select the Refresh button to re-load the original list sorted alphabetically by limit name.

Using the Service CLI

The getCurrentServiceLimits command shows all current limits for the specified service and tag or shows the specified current limit.

The following example shows all current limits for the IAM service and the specified tenancy.

PCA-ADMIN> getCurrentServiceLimits serviceName=identity tag=ocid1.tenancy.unique_ID
Command: getCurrentServiceLimits serviceName=identity tag=ocid1.tenancy.unique_ID
Status: Success
Time: 2025-05-06 16:52:23,329 UTC
Data: 
  Limit Name   Service Name   Value   Assigned By    Tag                       Template Name
  ----------   ------------   -----   -----------    ---                       -------------
  users        identity       200     Template       ocid1.tenancy.unique_ID   template_name
  groups       identity       200     Tag Override   ocid1.tenancy.unique_ID   null
...
  api-keys     identity       3       Default        ocid1.tenancy.unique_ID   null

The "Assigned By" column shows whether the "Value" is the default limit value from the limit definition or an override value set with create LimitOverride in a template or on a tag (see Setting Resource Limit Overrides). If the value is an override value set in a template, the name of the template is shown.

Provide the limit name to show only that particular limit for the specified service and tag.

PCA-ADMIN> getCurrentServiceLimits serviceName=identity tag=ocid1.tenancy.unique_ID limitName=users
Command: getCurrentServiceLimits serviceName=identity tag=ocid1.tenancy.unique_ID limitName=users
Status: Success
Time: 2025-05-06 16:52:23,329 UTC
Data: 
  Limit Name   Service Name   Value   Assigned By   Tag                       Template Name
  ----------   ------------   -----   -----------   ---                       -------------
  users        identity       200     Template      ocid1.tenancy.unique_ID   template_name