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 yet, install and initialize it.
The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
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.