Queries quota usage of an instance.


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 parameters

Parameter Type Required Example Description
Action String Yes GetInstanceUsage

The operation that you want to perform. Set the value to GetInstanceUsage.

InstanceId String Yes cri-xkx6vujuhay0****

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
ChartNamespaceQuota String 50

The quota of chart namespaces.

ChartNamespaceUsage String 2

The number of namespaces that were created.

ChartRepoQuota String 5000

The quota of chart repositories.

ChartRepoUsage String 5

The number of chart repositories that were created.

Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

NamespaceQuota String 100

The quota of namespaces for the instance.

NamespaceUsage String 4

The number of namespaces created in the instance.

RepoQuota String 1000

The quota of image repositories for the instance.

RepoUsage String 2

The number of image repositories created in the instance.

RequestId String A726E801-7FCF-43F9-AF1C-51B3E65D3E7A

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "IsSuccess": true,
    "ChartNamespaceUsage": 2,
    "ChartNamespaceQuota": 50,
    "RepoQuota": 1000,
    "RequestId": "A726E801-7FCF-43F9-AF1C-51B3E65D3E7A",
    "RepoUsage": 2,
    "NamespaceQuota": 100,
    "NamespaceUsage": 4,
    "Code": "success",
    "ChartRepoUsage": 5,
    "ChartRepoQuota": 5000

Error codes

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