All Products
Search
Document Center

MaxCompute:ListComputeQuotaPlan

Last Updated:Dec 18, 2025

Lists compute quota plans.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

odps:ListQuotasPlans

list

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None

Request syntax

GET /api/v1/quotas/{nickname}/computeQuotaPlan HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

nickname

string

Yes

The nickname of the level-1 quota.

os_MyQuota_p

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

PopResult

requestId

string

The request ID.

0bc3b4ae16685836687916212e7850

httpCode

integer

The HTTP status code returned.

200

errorCode

string

The error code.

OBJECT_NOT_EXIST

errorMsg

string

The error message.

This object does not exist.

data

object

The returned data.

planList

array<object>

The list of quota plans.

array<object>

name

string

The name of the quota plan.

planA

createTime

string

The time when the plan was created.

1731394621890

quota

object

The quota properties.

subQuotaInfoList

array<object>

The list of level-2 quotas.

array<object>

id

string

The ID of the level-2 quota.

6790

name

string

The name of the level-2 quota.

dp_cn_shanghai_1702627945_p

nickName

string

The nickname of the level-2 quota.

os_MyQuota

type

string

The quota type.

FUXI_ONLINE

status

string

The resource status.

ON

tenantId

string

The tenant ID.

478403690625249

regionId

string

The region ID.

cn-beijing

cluster

string

The cluster ID.

AT-120N

version

string

The version number.

2056

parameter

object

The quota configuration parameters.

{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" }

minCU

integer

elasticReservedCU

integer

maxCU

integer

createTime

integer

The time when the quota was created.

1730946421757

creatorId

string

The creator of the resource. This is the UID of an Alibaba Cloud account.

672863518

id

string

The ID of the level-1 quota.

186

name

string

The name of the level-1 quota.

dp_cn_hangzhou_1717465943_p

nickName

string

The nickname of the level-1 quota.

os_MyQuota_p

type

string

This corresponds to the resourceSystemType field of the control cluster.

FUXI_ONLINE

status

string

The resource status.

ON

tenantId

string

The tenant ID.

478403690625249

regionId

string

The region ID.

cn-beijing

cluster

string

The cluster ID.

AT-120N

version

string

The version.

2056

parameter

object

The quota configuration parameters.

{ "enablePriority": false, "minCU": 25, "adhocCU": 0, "elasticReservedCU": 0, "forceReservedMin": false, "maxCU": 50, "schedulerType": "Fifo" }

minCU

integer

elasticReservedCU

integer

maxCU

integer

createTime

integer

The time when the quota was created.

1730247361356

creatorId

string

The creator of the resource. This is the UID of an Alibaba Cloud account.

672863518

Examples

Success response

JSON format

{
  "requestId": "0bc3b4ae16685836687916212e7850",
  "httpCode": 200,
  "errorCode": "OBJECT_NOT_EXIST",
  "errorMsg": "This object does not exist.",
  "data": {
    "planList": [
      {
        "name": "planA",
        "createTime": "1731394621890",
        "quota": {
          "subQuotaInfoList": [
            {
              "id": "6790",
              "name": "dp_cn_shanghai_1702627945_p",
              "nickName": "os_MyQuota",
              "type": "FUXI_ONLINE",
              "status": "ON",
              "tenantId": "478403690625249",
              "regionId": "cn-beijing",
              "cluster": "AT-120N\n",
              "version": "2056",
              "parameter": {
                "minCU": 0,
                "elasticReservedCU": 0,
                "maxCU": 0
              },
              "createTime": 1730946421757,
              "creatorId": "672863518"
            }
          ],
          "id": "186",
          "name": "dp_cn_hangzhou_1717465943_p",
          "nickName": "os_MyQuota_p",
          "type": "FUXI_ONLINE",
          "status": "ON",
          "tenantId": "478403690625249",
          "regionId": "cn-beijing",
          "cluster": "AT-120N\n",
          "version": "2056",
          "parameter": {
            "minCU": 0,
            "elasticReservedCU": 0,
            "maxCU": 0
          },
          "createTime": 1730247361356,
          "creatorId": "672863518"
        }
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.