From d77229e7eb974e2f6f3fdcc6dfc497714c9a47c3 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Thu, 22 Oct 2020 21:31:26 +1300 Subject: [PATCH] Update quota API description Change-Id: Ia8d36dca81e2dd028b36289cb4547c1a8b88a1b1 --- api-ref/source/quotas.inc | 7 ++++++- 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 0571ff5bff..52b86a7655 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 e838863247..5216c5c3be 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