getQuota

Get quota information for users. The default quota for a user is: 1 cluster, 5 instances.

Parameters: GetQuotaRequest

  • developerId: String. Xiaomi developer ID.

Return: GetQuotaResponse

  • clusterLimit: int. Cluster quota. The number of clusters that have not been terminated by the user cannot exceed this value.
  • clusterUsed: int. The number of clusters currently in use. The number of clusters that have not been terminated by the user.
  • instanceLimit: int. Instance quota. The number of instances that have not been terminated by the user cannot exceed this value.
  • instanceUsed: int. The number of instances currently in use. The number of instances that have not been terminated by the user.

Errors

  • Internal server error
  • Parameter error
  • Insufficient permissions