Viewing Resource Limits

Compute Cloud@Customer has a set of service limits configured. A service limit is the quota or allowance set on a resource.

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.

    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.

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

  • Use the oci limits service list command and required parameters to return a list of supported services.

    oci limits service list --compartment-id compartment_OCID [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

    Examples:

    • List Limits Services

      List services that support changing resource limits.

      Syntax:

      oci limits service list --compartment-id compartment_OCID
    • 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 isn't available, a message is shown that resource availability isn't supported for that particular service and limit.

  • Use the ListServices operation to return a list of supported services.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.