备份概览@存储池占用空间统计
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>存储池占用空间统计</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:90/api/dbackupapi/getStoragePoolsUsedTotal</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">hostuuid</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>存储服务器uuid</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: {
{
&quot;used\_bytes&quot;: &quot;828.55&quot;,
&quot;name&quot;: &quot;重删池-M-6M&quot;,
&quot;uuid&quot;: &quot;01a720646ca411ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;56532.44&quot;,
&quot;name&quot;: &quot;重删池-M-3M&quot;,
&quot;uuid&quot;: &quot;2cef67cc6ca411ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;2039.56&quot;,
&quot;name&quot;: &quot;重删池-S-永久&quot;,
&quot;uuid&quot;: &quot;3b4c6d826ec111ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;2624.32&quot;,
&quot;name&quot;: &quot;重删池-M-1M&quot;,
&quot;uuid&quot;: &quot;5ef68e2ec3d111ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;26558.68&quot;,
&quot;name&quot;: &quot;重删池-S-3M&quot;,
&quot;uuid&quot;: &quot;6c70d9ac6ec111ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;380.83&quot;,
&quot;name&quot;: &quot;重删池-S-1M&quot;,
&quot;uuid&quot;: &quot;7d36a252c3d111ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;0.00&quot;,
&quot;name&quot;: &quot;重删池-S-6M&quot;,
&quot;uuid&quot;: &quot;81805a486ec111ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;0.00&quot;,
&quot;name&quot;: &quot;重删池-M-永久&quot;,
&quot;uuid&quot;: &quot;81cc5c006ca411ed8000a036bc3b5f59&quot;
},
{
&quot;used\_bytes&quot;: &quot;5.80&quot;,
&quot;name&quot;: &quot;catalog&quot;,
&quot;uuid&quot;: &quot;ddd202e86ec011ed8000a036bc3b5f59&quot;
}
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">used_bytes</td>
<td style="text-align: left;">string</td>
<td>占用空间大小</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>存储池名称</td>
</tr>
<tr>
<td style="text-align: left;">uuid</td>
<td style="text-align: left;">string</td>
<td>存储池uuid</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>