GetQuota

Updated at:

Description

Returns some quota information of a user.

Request syntax

GET /quotas

Response

Success

The 200 status code and the following quota information are returned:

{
    "AvailableClusterResourceType": ["OnDemand","Spot","PrePaid"],
    "AvailableClusterInstanceDataDiskType": ["cloud", "ephemeral"],
    "AvailableClusterInstanceSystemDiskType": ["cloud"],
    "AvailableClusterInstanceType": ["bcs.a2.3xlarge","bcs.a2.large","bcs.a2.xlarge"],
    "AvailableSpotInstanceType": ["ecs.sn1.large","ecs.sn1.xlarge"]
}

Attribute description

Currently, three quota attributes can be queried.

Name Type Description
AvailableClusterResourceType array Available instance type.
AvailableClusterInstanceSystemDiskType array Available system disk type.
AvailableClusterInstanceDataDiskType array Available data disk type.
AvailableClusterInstanceType array Available resource type.
AvailableSpotInstanceType array Available spot instance type.