From 5b2e68478369c934d480a3cc419cd42367fdc8ff Mon Sep 17 00:00:00 2001 From: oscwiag Date: Tue, 7 May 2024 16:28:14 +0000 Subject: [PATCH] [ci skip] Autodoc commit for 38b072112d63e7d73856ae741e28dbbf88a796c9. --- develop/_sources/customizations.rst.txt | 12 ++++++++++++ develop/customizations.html | 11 +++++++++++ 2 files changed, 23 insertions(+) diff --git a/develop/_sources/customizations.rst.txt b/develop/_sources/customizations.rst.txt index 07816e40c..059effcb7 100644 --- a/develop/_sources/customizations.rst.txt +++ b/develop/_sources/customizations.rst.txt @@ -904,6 +904,18 @@ If the quota is defined as a ``user`` quota, then it applies to only disk resources used by the user alone. This is the default type of quota object and is given in the following format: +.. code:: json + + { + "type": "user", + "block_limit": 5000000, + "file_limit": 1000000, + "path": "/path/to/volume2", + "total_block_usage": 400000, + "total_file_usage": 1000, + "user": "user1" + } + .. warning:: A block must be equal to 1 KiB for proper conversions. diff --git a/develop/customizations.html b/develop/customizations.html index 461f9f2a1..86a323eef 100644 --- a/develop/customizations.html +++ b/develop/customizations.html @@ -1544,6 +1544,17 @@

Individual User QuotaIf the quota is defined as a user quota, then it applies to only disk resources used by the user alone. This is the default type of quota object and is given in the following format:

+
{
+  "type": "user",
+  "block_limit": 5000000,
+  "file_limit": 1000000,
+  "path": "/path/to/volume2",
+  "total_block_usage": 400000,
+  "total_file_usage": 1000,
+  "user": "user1"
+}
+
+

Warning

A block must be equal to 1 KiB for proper conversions.