Viewing the list of services and quotas
In most services, quotas apply at the cloud level. In Resource Manager, Cloud Video, and some other services quotas apply at the organization level. IAM has quotas at both levels.
Quota management interfaces:
- Cloud Center
: Organization level. - Management console
: Cloud level. - CLI and API: Organization and cloud level.
To view quotas, assign either the quota-manager.viewer role to the account. Assign the role for the respective cloud or organization.
Viewing the list of services that have available quotas
To view the list of cloud services with quotas:
-
In the management console
, select a cloud and navigate to Quotas in the left-hand panel.The Quota list tab will display a list of services in the Services with usage and Services without usage groups.
To view the list of services with quotas within an organization:
-
In Cloud Center
, select an organization and open Quotas in the left-hand panel.The List of quotas tab will display a list of services in the Services with usage and Services without usage groups.
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 list-services --resource-type=<resource_type>
Where --resource-type is the resource type, resource-manager.cloud, organization-manager.organization, or billing.account.
To get the list of services, use the listServices REST API method for the QuotaLimit resource or the QuotaLimitService/ListServices gRPC API call.
Viewing the list of service quotas
To view quotas for a cloud service:
-
In the management console
, select a cloud and navigate to Quotas in the left-hand panel. -
On the Quota list tab, enter the service name and the quota name or ID in the search bar.
-
In the Services with usage or Services without usage group, expand the appropriate section.
To view quotas for a service within an organization:
-
In Cloud Center
, select an organization and open Quotas in the left-hand panel. -
On the List of quotas tab, enter the service name and the quota name or ID in the search bar.
-
In the Services with usage or Services without usage group, expand the appropriate section.
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 list \
--service=<service_name> \
--resource-type=<resource_type> \
--resource-id=<resource_ID>
Where:
--service: Service ID you got when viewing the list of services.--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 list \
--service=compute \
--resource-type=resource-manager.cloud \
--resource-id=b1gia87mbaom********
This returns a list of Compute Cloud quotas in the b1gia87mbaom******** cloud.
resource:
id: b1gia87mbaom********
type: resource-manager.cloud
quota_limits:
- quota_id: compute.dedicatedHosts.count
limit: 1
usage: 0
- quota_id: compute.diskPlacementGroups.count
limit: 5
usage: 1
- quota_id: compute.diskPools.count
limit: 0
usage: 0
- quota_id: compute.disks.count
limit: 64
usage: 30
- quota_id: compute.filesystems.count
limit: 100
usage: 1
- quota_id: compute.hddDisks.size
limit: 1116691496960
usage: 464930209792
...
Where:
limit: Quota valueusage: Quota usage
To get the list of quotas for a specific service, use the list REST API method for the QuotaLimit resource or the QuotaLimitService/List gRPC API call.