Quota Manager API, REST: QuotaLimit.Get
Статья создана
Обновлена 12 декабря 2024 г.
Returns the specified quota limit.
HTTP request
GET https://quota-manager.api.cloud.yandex.net/quota-manager/v1/quotaLimits/{quotaId}
Path parameters
Field |
Description |
quotaId |
string Required field. The id of the quota to retrieve. |
Query parameters
Field |
Description |
resource |
Required field. The resource for which the quota limit is being requested. |
Resource
Field |
Description |
id |
string Required field. The id if the resource. |
type |
string Required field. The type of the resource, e.g. resource-manager.cloud, billing.account. |
Response
HTTP Code: 200 - OK
{
"quotaId": "string",
"limit": "number",
"usage": "number"
}
Field |
Description |
quotaId |
string The unique id of the quota. |
limit |
number (double) The limit value set for this quota. |
usage |
number (double) The current usage level of this quota. |