Skip to content

Commit

Permalink
[ci skip] Autodoc commit for 38b0721.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscwiag committed May 7, 2024
1 parent c561caa commit 5b2e684
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions develop/_sources/customizations.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
11 changes: 11 additions & 0 deletions develop/customizations.html
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,17 @@ <h3>Individual User Quota<a class="headerlink" href="#individual-user-quota" tit
<p>If the quota is defined as a <code class="docutils literal notranslate"><span class="pre">user</span></code> 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:</p>
<div class="highlight-json notranslate"><div class="highlight"><pre><span></span><span class="p">{</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;type&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;user&quot;</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;block_limit&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">5000000</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;file_limit&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1000000</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;path&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;/path/to/volume2&quot;</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;total_block_usage&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">400000</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;total_file_usage&quot;</span><span class="p">:</span><span class="w"> </span><span class="mi">1000</span><span class="p">,</span><span class="w"></span>
<span class="w"> </span><span class="nt">&quot;user&quot;</span><span class="p">:</span><span class="w"> </span><span class="s2">&quot;user1&quot;</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</pre></div>
</div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>A block must be equal to 1 KiB for proper conversions.</p>
Expand Down

0 comments on commit 5b2e684

Please sign in to comment.