Quota Manager API, REST: QuotaRequest.Get
Returns the specified quota request.
HTTP request
GET https://quota-manager.api.cloud.yandex.net/quota-manager/v1/quotaRequests/{quotaRequestId}
Path parameters
|
Field |
Description |
|
quotaRequestId |
string Required field. ID of the quota request to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"resource": {
"id": "string",
"type": "string"
},
"createdAt": "string",
"status": "string",
"quotaLimits": [
{
"quotaId": "string",
"desiredLimit": "string",
"approvedLimit": "string",
"unit": "string",
"status": "string",
"message": "string",
"modifiedBy": "string"
}
],
"createdBy": "string"
}
|
Field |
Description |
|
id |
string ID of the quota request. |
|
resource |
|
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |
|
status |
enum (Status) Status of current quota request.
|
|
quotaLimits[] |
Quota limits |
|
createdBy |
string ID of the subject who created quota request. |
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. |
QuotaLimit
|
Field |
Description |
|
quotaId |
string ID of the quota. |
|
desiredLimit |
string Desired limit. |
|
approvedLimit |
string Approved limit. |
|
unit |
string Unit of quota. |
|
status |
enum (Status) Status of current quota limit.
|
|
message |
string |
|
modifiedBy |
string ID of the subject who modified quota limit. |