Managing project S3 quotas
To set the quota for a project
Use the following command:
vinfra service s3 project quota set --project <project> --domain <domain> --quotas <quotas>
--project <project>- Project name or ID
--domain <domain>- Domain name or ID (required when a project name is specified)
--quotas <quotas>- Quota size in GB
For example, to set the quota for the project myproject within the domain mydomain to 500 GB, run:
# vinfra service s3 project quota set --project myproject --domain mydomain --quotas 500
You can check the applied quota in the vinfra service s3 project quota show output:
# vinfra service s3 project quota show --project myproject --domain mydomain +---------------+----------------------------------+ | Field | Value | +---------------+----------------------------------+ | resource_name | 653c050730f24cf585cb175bc0557e86 | | resource_type | organization | | size | 500 | | units | GB | +---------------+----------------------------------+
To remove the quota from a project
Use the following command:
vinfra service s3 project quota remove --project <project> --domain <domain>
--project <project>- Project name or ID
--domain <domain>- Domain name or ID (required when a project name is specified)
For example, to remove the quota from the project myproject within the domain mydomain, run:
# vinfra service s3 project quota remove --project myproject --domain mydomain