备份概览@获取存储池存储池使用详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取存储池使用详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:90/api/dbackupapi/getStoragePoolsUseInfo</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;bytesUnit&quot;: &quot;828.55 GB&quot;,
&quot;name&quot;: &quot;重删池-M-6M&quot;,
&quot;bytesGB&quot;: &quot;828.55&quot;,
&quot;per&quot;: &quot;1.11&quot;
},
{
&quot;bytesUnit&quot;: &quot;55.21 TB&quot;,
&quot;name&quot;: &quot;重删池-M-3M&quot;,
&quot;bytesGB&quot;: &quot;56532.44&quot;,
&quot;per&quot;: &quot;75.87&quot;
},
{
&quot;bytesUnit&quot;: &quot;2.56 TB&quot;,
&quot;name&quot;: &quot;重删池-M-1M&quot;,
&quot;bytesGB&quot;: &quot;2624.32&quot;,
&quot;per&quot;: &quot;3.52&quot;
},
{
&quot;bytesUnit&quot;: &quot;0 B&quot;,
&quot;name&quot;: &quot;重删池-M-永久&quot;,
&quot;bytesGB&quot;: &quot;0.00&quot;,
&quot;per&quot;: &quot;0.00&quot;
},
{
&quot;bytesUnit&quot;: &quot;5.80 GB&quot;,
&quot;name&quot;: &quot;catalog&quot;,
&quot;bytesGB&quot;: &quot;5.80&quot;,
&quot;per&quot;: &quot;0.01&quot;
},
{
&quot;bytesUnit&quot;: &quot;10.98 TB&quot;,
&quot;name&quot;: &quot;可用&quot;,
&quot;bytesGB&quot;: &quot;11247.37&quot;,
&quot;per&quot;: &quot;15.09&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;">name</td>
<td style="text-align: left;">string</td>
<td>存储池名称</td>
</tr>
<tr>
<td style="text-align: left;">bytesUnit</td>
<td style="text-align: left;">string</td>
<td>带单位的字节大小</td>
</tr>
<tr>
<td style="text-align: left;">bytesGB</td>
<td style="text-align: left;">string</td>
<td>转换成gb的字节</td>
</tr>
<tr>
<td style="text-align: left;">per</td>
<td style="text-align: left;">string</td>
<td>百分比</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>