diff options
author | Zuul <zuul@review.opendev.org> | 2020-10-22 11:24:14 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-10-22 11:24:14 +0000 |
commit | 4df3dceeeee8d92f1c876effa4375f88e3249bca (patch) | |
tree | 2f6a2f43e56360b9bbf6b8eed45c8377c69cd542 /api-ref | |
parent | fae7070fd9e2c1042e2b98db7a7b02b4f8310ff3 (diff) | |
parent | d77229e7eb974e2f6f3fdcc6dfc497714c9a47c3 (diff) | |
download | trove-4df3dceeeee8d92f1c876effa4375f88e3249bca.tar.gz |
Merge "Update quota API description"
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/quotas.inc | 7 | ||||
-rw-r--r-- | api-ref/source/samples/quota-update.json | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/api-ref/source/quotas.inc b/api-ref/source/quotas.inc index 0571ff5b..52b86a76 100644 --- a/api-ref/source/quotas.inc +++ b/api-ref/source/quotas.inc @@ -76,7 +76,12 @@ Update resources quota for a specific project .. rest_method:: PUT /v1.0/{project_id}/mgmt/quotas/{user_project} -Admin only action by default. +Admin only action by default. Supported resources: + +* instances +* backups + +If not set, use the default resource quota in Trove configuration. Normal response codes: 200 diff --git a/api-ref/source/samples/quota-update.json b/api-ref/source/samples/quota-update.json index e8388632..5216c5c3 100644 --- a/api-ref/source/samples/quota-update.json +++ b/api-ref/source/samples/quota-update.json @@ -1,5 +1,6 @@ { "quotas": { - "instances": 20 + "instances": 10, + "backups": 30 } }
\ No newline at end of file |