Method description
Obtains quotas of the current user.
Parameter description
None.
Response description
If the call succeeds, a GetQuotasResponse instance is returned. You can use the getQuotas method of this instance to obtain the Quotas object.
If a failure occurs, a ClientException is thrown.
Sample code
try{
GetQuotasResponse response = client.getQuotas();
//Succeeded
Quotas quotas = response.getQuotas();
}catch(ClientException e){
e.printStackTrace();
// Failed
}
Attributes of Quotas
Attribute | Type | Description |
---|---|---|
availableClusterResourceType | List |
Available resource type |
availableClusterInstanceType | List |
Available instance type |
availableSpotInstanceType | List |
Available spot instance type |
availableClusterInstanceSystemDiskType | List |
Available system disk type |
availableClusterInstanceDataDiskType | List |
Available data disk type |