summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-10-22 21:31:26 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-10-22 21:31:26 +1300
commitd77229e7eb974e2f6f3fdcc6dfc497714c9a47c3 (patch)
tree0bb31ee64dea2d5e4a67d0102c5220bca7235f27 /api-ref
parent060a100aa069ef8e1e15553dea868edd8aa614cb (diff)
downloadtrove-d77229e7eb974e2f6f3fdcc6dfc497714c9a47c3.tar.gz
Update quota API description
Change-Id: Ia8d36dca81e2dd028b36289cb4547c1a8b88a1b1
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/quotas.inc7
-rw-r--r--api-ref/source/samples/quota-update.json3
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