备份概览@资源池列表计
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>资源池列表计</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:90/api/dbackupapi/getStoragePoolsList</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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;msg&quot;: &quot;操作成功&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;total&quot;: 9,
&quot;list&quot;: \[
{
&quot;address&quot;: &quot;10.108.100.48&quot;,
&quot;jobnum&quot;: 2,
&quot;used\_bytes&quot;: &quot;828.55 GB&quot;,
&quot;uuid&quot;: &quot;01a720646ca411ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;6055a01e2be0ec118e26a036bc3b5f59&quot;,
&quot;sourcenum&quot;: 1,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;1.11&quot;,
&quot;retention\_days&quot;: 180,
&quot;poolsname&quot;: &quot;重删池-M-6M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;10.57 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.48&quot;,
&quot;jobnum&quot;: 31,
&quot;used\_bytes&quot;: &quot;55.21 TB&quot;,
&quot;uuid&quot;: &quot;2cef67cc6ca411ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;6055a01e2be0ec118e26a036bc3b5f59&quot;,
&quot;sourcenum&quot;: 15,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;75.87&quot;,
&quot;retention\_days&quot;: 90,
&quot;poolsname&quot;: &quot;重删池-M-3M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;10.26 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.49&quot;,
&quot;jobnum&quot;: 2,
&quot;used\_bytes&quot;: &quot;1.99 TB&quot;,
&quot;uuid&quot;: &quot;3b4c6d826ec111ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;c0f7f02b9c0de911a048a036bc3b68d9&quot;,
&quot;sourcenum&quot;: 1,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;2.74&quot;,
&quot;retention\_days&quot;: 99999,
&quot;poolsname&quot;: &quot;重删池-S-永久&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;43.26 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.48&quot;,
&quot;jobnum&quot;: 7,
&quot;used\_bytes&quot;: &quot;2.56 TB&quot;,
&quot;uuid&quot;: &quot;5ef68e2ec3d111ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;6055a01e2be0ec118e26a036bc3b5f59&quot;,
&quot;sourcenum&quot;: 5,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;3.52&quot;,
&quot;retention\_days&quot;: 30,
&quot;poolsname&quot;: &quot;重删池-M-1M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;10.25 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.49&quot;,
&quot;jobnum&quot;: 24,
&quot;used\_bytes&quot;: &quot;25.94 TB&quot;,
&quot;uuid&quot;: &quot;6c70d9ac6ec111ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;c0f7f02b9c0de911a048a036bc3b68d9&quot;,
&quot;sourcenum&quot;: 11,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;35.64&quot;,
&quot;retention\_days&quot;: 90,
&quot;poolsname&quot;: &quot;重删池-S-3M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;43.14 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.49&quot;,
&quot;jobnum&quot;: 12,
&quot;used\_bytes&quot;: &quot;380.83 GB&quot;,
&quot;uuid&quot;: &quot;7d36a252c3d111ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;c0f7f02b9c0de911a048a036bc3b68d9&quot;,
&quot;sourcenum&quot;: 11,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;0.51&quot;,
&quot;retention\_days&quot;: 30,
&quot;poolsname&quot;: &quot;重删池-S-1M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;43.27 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.49&quot;,
&quot;jobnum&quot;: 0,
&quot;used\_bytes&quot;: &quot;0 B&quot;,
&quot;uuid&quot;: &quot;81805a486ec111ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;c0f7f02b9c0de911a048a036bc3b68d9&quot;,
&quot;sourcenum&quot;: 0,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;0.00&quot;,
&quot;retention\_days&quot;: 180,
&quot;poolsname&quot;: &quot;重删池-S-6M&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;43.28 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.48&quot;,
&quot;jobnum&quot;: 0,
&quot;used\_bytes&quot;: &quot;0 B&quot;,
&quot;uuid&quot;: &quot;81cc5c006ca411ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;6055a01e2be0ec118e26a036bc3b5f59&quot;,
&quot;sourcenum&quot;: 0,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;0.00&quot;,
&quot;retention\_days&quot;: 99999,
&quot;poolsname&quot;: &quot;重删池-M-永久&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;10.57 TB&quot;
},
{
&quot;address&quot;: &quot;10.108.100.48&quot;,
&quot;jobnum&quot;: 0,
&quot;used\_bytes&quot;: &quot;5.80 GB&quot;,
&quot;uuid&quot;: &quot;ddd202e86ec011ed8000a036bc3b5f59&quot;,
&quot;host\_uuid&quot;: &quot;6055a01e2be0ec118e26a036bc3b5f59&quot;,
&quot;sourcenum&quot;: 0,
&quot;nodename&quot;: &quot;infokist&quot;,
&quot;freePer&quot;: &quot;0.01&quot;,
&quot;retention\_days&quot;: 30,
&quot;poolsname&quot;: &quot;catalog&quot;,
&quot;total\_bytes&quot;: &quot;72.77 TB&quot;,
&quot;online&quot;: &quot;1&quot;,
&quot;free\_size&quot;: &quot;72.76 TB&quot;
}
\],
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 10,
&quot;size&quot;: 9,
&quot;startRow&quot;: 1,
&quot;endRow&quot;: 9,
&quot;pages&quot;: 1,
&quot;prePage&quot;: 0,
&quot;nextPage&quot;: 0,
&quot;isFirstPage&quot;: true,
&quot;isLastPage&quot;: true,
&quot;hasPreviousPage&quot;: false,
&quot;hasNextPage&quot;: false,
&quot;navigatePages&quot;: 8,
&quot;navigatepageNums&quot;: \[
1
\],
&quot;navigateFirstPage&quot;: 1,
&quot;navigateLastPage&quot;: 1,
&quot;lastPage&quot;: 1,
&quot;firstPage&quot;: 1
}
}</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;">nodename</td>
<td style="text-align: left;">string</td>
<td>主机名称</td>
</tr>
<tr>
<td style="text-align: left;">free_size</td>
<td style="text-align: left;">string</td>
<td>可用空间</td>
</tr>
<tr>
<td style="text-align: left;">retention_days</td>
<td style="text-align: left;">string</td>
<td>保留策略</td>
</tr>
<tr>
<td style="text-align: left;">jobnum</td>
<td style="text-align: left;">string</td>
<td>作业数</td>
</tr>
<tr>
<td style="text-align: left;">address</td>
<td style="text-align: left;">string</td>
<td>服务器地址</td>
</tr>
<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;">poolsname</td>
<td style="text-align: left;">string</td>
<td>存储池名称</td>
</tr>
<tr>
<td style="text-align: left;">online</td>
<td style="text-align: left;">string</td>
<td>服务器状态 0 在线 1 离线</td>
</tr>
<tr>
<td style="text-align: left;">uuid</td>
<td style="text-align: left;">string</td>
<td>存储池uuid</td>
</tr>
<tr>
<td style="text-align: left;">host_uuid</td>
<td style="text-align: left;">string</td>
<td>存储uuid</td>
</tr>
<tr>
<td style="text-align: left;">sourcenum</td>
<td style="text-align: left;">string</td>
<td>资源数量</td>
</tr>
<tr>
<td style="text-align: left;">freePer</td>
<td style="text-align: left;">String</td>
<td>已用占比</td>
</tr>
<tr>
<td style="text-align: left;">total_bytes</td>
<td style="text-align: left;">string</td>
<td>总空间</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>