You can call DescribeUserQuota to query resource quotas.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses the common request header only. For more information, see Common parameters.

Request syntax

GET /quota HTTPS|HTTP

Request parameters

Response parameters

Parameter Type Example Description
amk_cluster_quota Integer 2

The quota of managed clusters.

ask_cluster_quota Integer 0

The quota of serverless clusters.

cluster_quota Integer 50

The quota of dedicated clusters.

node_quota Integer 40

The quota of nodes.

Examples

Sample requests

GET /quota HTTP/1.1
Common request header

Sample success responses

XML format

<amk_cluster_quota>2</amk_cluster_quota>
<cluster_quota>50</cluster_quota>
<node_quota>40</node_quota>
<ask_cluster_quota>0</ask_cluster_quota>

JSON format

{"amk_cluster_quota":"2","cluster_quota":"50","node_quota":"40","ask_cluster_quota":"0"}

Error codes

For a list of error codes, visit the API Error Center.