Viewing quota value
-
In the management console
, select the cloud to view quotas for. -
Select the Quotas tab.
The page will display a list of services used in your cloud.
-
Expand a service section and view the values in the Usage column.
-
Two numbers mean
quota usage / quota value. For example,2 / 20or1.203 / 5,120 GB. -
A single number is a non-adjustable
limit.
-
-
To estimate resource consumption, at the top right, select:
- Actively used: Resources consuming over a half of the quota.
- Almost exhausted: Resources that are almost exhausted.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
Run this command:
yc quota-manager quota-limit get \
--quota-id=<quota_ID> \
--resource-id <resource_ID> \
--resource-type <resource_type>
Where:
--quota-id: Quota ID you got when viewing the list of service quotas.--resource-id: Resource ID, i.e., organization, cloud, or billing account ID.--resource-type: Resource type,resource-manager.cloud,organization-manager.organization, orbilling.account.
Here is an example:
yc quota-manager quota-limit get --quota-id=compute.disks.count --resource-id=b1gia87mbaom******** --resource-type=resource-manager.cloud
In the output, you will get the quota value and usage info for the number of Compute Cloud disks in the b1gia87mbaom******** cloud:
quota_id: compute.disks.count
limit: 64
usage: 30
Where:
limit: Quota value.usage: Quota usage.
To view the value of a certain quota, i.e., the current resource limit, use the get REST API method for the QuotaLimit resource or the QuotaLimitService/Get gRPC API call.