diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2020-10-22 21:31:26 +1300 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2020-10-22 21:31:26 +1300 |
commit | d77229e7eb974e2f6f3fdcc6dfc497714c9a47c3 (patch) | |
tree | 0bb31ee64dea2d5e4a67d0102c5220bca7235f27 /api-ref | |
parent | 060a100aa069ef8e1e15553dea868edd8aa614cb (diff) | |
download | trove-d77229e7eb974e2f6f3fdcc6dfc497714c9a47c3.tar.gz |
Update quota API description
Change-Id: Ia8d36dca81e2dd028b36289cb4547c1a8b88a1b1
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 |