Managing project S3 user quotas

To set the quota for a project S3 user

Use the following command:

vinfra service s3 project user quota set --project <project> --domain <domain> --s3-user <s3_user> --quotas <quotas>
--project <project>
Project name or ID
--domain <domain>
Domain name or ID (required when a project name is specified)
--s3-user <s3_user>
S3 user ID
--quotas <quotas>
Quota size in GB

For example, to set the quota for the user with the ID 1 in the project myproject to 100 GB, run:

# vinfra service s3 project user quota set --project myproject --domain mydomain --s3-user 1 --quotas 100

You can check the applied quota in the vinfra service s3 project user quota show output:

# vinfra service s3 project user quota show --project myproject --domain mydomain --s3-user 1
+---------------+------------------+
| Field         | Value            |
+---------------+------------------+
| resource_name | e14bbf0baae895ca |
| resource_type | user             |
| size          | 100              |
| units         | GB               |
+---------------+------------------+

To remove the quota from a project S3 user

Use the following command:

vinfra service s3 project user quota remove --project <project> --domain <domain> --s3-user <s3_user>
--project <project>
Project name or ID
--domain <domain>
Domain name or ID (required when a project name is specified)
--s3-user <s3_user>
S3 user ID

For example, to remove the quota from the user with the ID 1 in the project myproject, run:

# vinfra service s3 project user quota remove --project myproject --domain mydomain --s3-user 1