forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
557 lines
40 KiB
HTML
557 lines
40 KiB
HTML
<a name="EN-US_TOPIC_0000002044216596"></a><a name="EN-US_TOPIC_0000002044216596"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Nodes</h1>
|
|
<div id="body95551720114611"><div class="section" id="EN-US_TOPIC_0000002044216596__section195557201466"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002044216596__p955552011469">This API is used to obtain nodes in a resource pool.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__atuogenerate_2"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002044216596__p1556182044613">GET /v2/{project_id}/pools/{pool_name}/nodes</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__table85561205463" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row355602012462"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002044216596__p11556132074612">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000002044216596__p555722094611">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000002044216596__p16557162054616">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000002044216596__p45572020134615">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row955652016466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002044216596__p14557520164618">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1955732084615">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002044216596__p655762013467">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002044216596__p1755772004612">Project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row2556102018466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002044216596__p19557162016460">pool_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002044216596__p145571620104614">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002044216596__p8558132019465">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002044216596__p555862054617">Name of a resource pool.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__table6558112094617" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row1655820203465"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002044216596__p18558102019461">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0000002044216596__p19559820174617">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="EN-US_TOPIC_0000002044216596__p25591520174619">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="EN-US_TOPIC_0000002044216596__p9559112044620">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row155812013468"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002044216596__p15559192011462">continue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002044216596__p155942084610">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002044216596__p55598202464">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002044216596__p1055917203462">Previous query location in pagination query.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row17558102004614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002044216596__p855932034610">limit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002044216596__p19559152010468">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002044216596__p125599201467">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002044216596__p1256012204462">Number of records returned for a single pagination query.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section17560162044618"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000002044216596__p16560720114620">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section85606204463"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002044216596__p25601720124610"><strong id="EN-US_TOPIC_0000002044216596__b1456092094612">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeList" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row1356017202469"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p12561520194612">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p1256192019468">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p195616201464">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row20560112018463"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p10561162019462">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1756282014618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p1856217202462">API version. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002044216596__ul1856222004617"><li id="EN-US_TOPIC_0000002044216596__li1156211202469"><p id="EN-US_TOPIC_0000002044216596__p65621920164618"><a name="EN-US_TOPIC_0000002044216596__li1156211202469"></a><a name="li1156211202469"></a><strong id="EN-US_TOPIC_0000002044216596__b14562132044612">v2</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1656142044611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p1456272014469">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p3562120194613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p1656202012469">Resource type. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002044216596__ul15562120114616"><li id="EN-US_TOPIC_0000002044216596__li35627202461"><p id="EN-US_TOPIC_0000002044216596__p12562102014616"><a name="EN-US_TOPIC_0000002044216596__li35627202461"></a><a name="li35627202461"></a><strong id="EN-US_TOPIC_0000002044216596__b856215208468">NodeList</strong>: nodes</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row956172017463"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p9562102011469">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1856282015464"><a href="#EN-US_TOPIC_0000002044216596__response_NodeListMetadata">NodeListMetadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p8563320114619">Metadata of resources.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row115612206464"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p256312034618">items</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p35635202463">Array of <a href="#EN-US_TOPIC_0000002044216596__response_Node">Node</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p6563520134616">Nodes.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeListMetadata"></a><a name="response_NodeListMetadata"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeListMetadata" frame="border" border="1" rules="all"><caption><b>Table 4 </b>NodeListMetadata</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row356322018469"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p14564132084614">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p95641120124619">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p7564220114611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row1756362012467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p175649200464">continue</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p2564182094614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p14564820164618">Next query position in pagination query</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1456352012466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p17564142015462">remainingItemCount</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p19564182044615">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p5565920154614">Remaining resources</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_Node"></a><a name="response_Node"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_Node" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Node</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row195651320144618"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p165667207465">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p1656652013469">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p1756692054619">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row13565620164611"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p115661620144618">apiVersion</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p456610203468">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p105662020124613">API version. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002044216596__ul4566202020462"><li id="EN-US_TOPIC_0000002044216596__li1566152017466"><p id="EN-US_TOPIC_0000002044216596__p19566320134614"><a name="EN-US_TOPIC_0000002044216596__li1566152017466"></a><a name="li1566152017466"></a><strong id="EN-US_TOPIC_0000002044216596__b3566192074616">v2</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1256511207468"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p4566202054613">kind</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1566122054616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p8567132064612">Resource type. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002044216596__ul1456732024614"><li id="EN-US_TOPIC_0000002044216596__li185670209469"><p id="EN-US_TOPIC_0000002044216596__p8567152064618"><a name="EN-US_TOPIC_0000002044216596__li185670209469"></a><a name="li185670209469"></a><strong id="EN-US_TOPIC_0000002044216596__b13567182024613">Node</strong>: node</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row17565162015464"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p195671320174615">metadata</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p75671820174613"><a href="#EN-US_TOPIC_0000002044216596__response_metadata">metadata</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p1256719203466">Basic node information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1256518206466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p7567182084618">spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p35671820104617"><a href="#EN-US_TOPIC_0000002044216596__response_NodeSpec">NodeSpec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p19567120104618">Node description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1056510206466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p156710205466">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p165671320104616"><a href="#EN-US_TOPIC_0000002044216596__response_NodeStatus">NodeStatus</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p115681620144612">Node status.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_metadata"></a><a name="response_metadata"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_metadata" frame="border" border="1" rules="all"><caption><b>Table 6 </b>metadata</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row55681720174620"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p6568132018468">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p155689206463">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p4569142064613">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row185682020104612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p105691520194611">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p18569142013466">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p9569162024610">Node name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1556852019466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p2569120154619">creationTimestamp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p556922024611">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p4569202011464">Creation time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row12568220204612"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p205692202467">labels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1856922013461"><a href="#EN-US_TOPIC_0000002044216596__response_NodeLabels">NodeLabels</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p195698204463">Label information of a node</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeLabels"></a><a name="response_NodeLabels"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeLabels" frame="border" border="1" rules="all"><caption><b>Table 7 </b>NodeLabels</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row657017203464"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p5570420134612">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p125701020144617">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p1857042074611">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row1657002084614"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p105711520144613">os.modelarts.node/cluster</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p3571220174620">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p10571102014617">Name of the cluster where the node is located</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row145701207464"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p17571152016464">os.modelarts.node/elastic.quota</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p165719205461">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p175711120164618">Logical pool of the node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row857019209465"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p105711820134617">os.modelarts.node/nodepool</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p9571182018469">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p1857119205465">Name of the pool where the node is located</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeSpec"></a><a name="response_NodeSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeSpec" frame="border" border="1" rules="all"><caption><b>Table 8 </b>NodeSpec</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row35721520194611"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p19572820134612">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p55729208467">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p85721720174613">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row5572920184615"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p135721220164615">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p3572112044614">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p20573112018466">Node specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1857214204467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p757311202466">hostNetwork</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1757310207462"><a href="#EN-US_TOPIC_0000002044216596__response_NodeNetwork">NodeNetwork</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p175731120174612">Node network information</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeNetwork"></a><a name="response_NodeNetwork"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeNetwork" frame="border" border="1" rules="all"><caption><b>Table 9 </b>NodeNetwork</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row10573820154617"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p857414202460">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p12574152017465">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p25741120154610">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row2573122010463"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p16574132018462">vpc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p457442024616">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p457472010460">VPC ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row3573182011462"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p4574420114615">subnet</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p145753203461">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p1575142020462">Subnet ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row8573162064613"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p557552017463">securityGroups</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1757592017469">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p557517205463">Security group IDs</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeStatus"></a><a name="response_NodeStatus"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeStatus" frame="border" border="1" rules="all"><caption><b>Table 10 </b>NodeStatus</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row185751020184612"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p1576192015469">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p6576152074615">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p13576620154613">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row2057672017466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p105761020174619">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p457722064613">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p135771920194619">Node status. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002044216596__ul5577420124618"><li id="EN-US_TOPIC_0000002044216596__li18577220164615"><p id="EN-US_TOPIC_0000002044216596__p1757752011469"><a name="EN-US_TOPIC_0000002044216596__li18577220164615"></a><a name="li18577220164615"></a><strong id="EN-US_TOPIC_0000002044216596__b1957722020463">Available</strong>: The node is available.</p>
|
|
</li><li id="EN-US_TOPIC_0000002044216596__li1657716204465"><p id="EN-US_TOPIC_0000002044216596__p1657713205464"><a name="EN-US_TOPIC_0000002044216596__li1657716204465"></a><a name="li1657716204465"></a><strong id="EN-US_TOPIC_0000002044216596__b115773208461">Creating</strong>: The node is being created.</p>
|
|
</li><li id="EN-US_TOPIC_0000002044216596__li35778202467"><p id="EN-US_TOPIC_0000002044216596__p3577420114612"><a name="EN-US_TOPIC_0000002044216596__li35778202467"></a><a name="li35778202467"></a><strong id="EN-US_TOPIC_0000002044216596__b457716200462">Deleting</strong>: The node is being deleted.</p>
|
|
</li><li id="EN-US_TOPIC_0000002044216596__li12577102020461"><p id="EN-US_TOPIC_0000002044216596__p1357719206464"><a name="EN-US_TOPIC_0000002044216596__li12577102020461"></a><a name="li12577102020461"></a><strong id="EN-US_TOPIC_0000002044216596__b1057722054611">Abnormal</strong>: The node is not running properly.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row15766206467"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p135776200465">az</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p657711204461">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p15577620104612">AZ to which the node belongs</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1157632019468"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p19578320194610">privateIp</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p20578192014469">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p657813208469">IP address of a node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row10576220174620"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p12578820124610">resources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p15578720134620"><a href="#EN-US_TOPIC_0000002044216596__response_NodeResource">NodeResource</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p19578120104611">Node resources</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row1057617208466"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p16578142094611">availableResources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p1557892094615"><a href="#EN-US_TOPIC_0000002044216596__response_NodeResource">NodeResource</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p35781820164614">Available node resources</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002044216596__response_NodeResource"></a><a name="response_NodeResource"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_NodeResource" frame="border" border="1" rules="all"><caption><b>Table 11 </b>NodeResource</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row1157972011465"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p0579182014613">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p11579122018466">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p158042084610">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row7579920124610"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p185807207468">cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p3580020144612">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p9580192024617">CPUs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row657962034618"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p4580920114611">memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p185801720104610">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p9580172034614">Memory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row18579220174617"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p185801120184611">nvidia.com/gpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p2580162044618">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p258062034615">GPUs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002044216596__p10581122024612"><strong id="EN-US_TOPIC_0000002044216596__b7581152034619">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__response_ErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row205818204463"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="EN-US_TOPIC_0000002044216596__p19582920164613">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.2"><p id="EN-US_TOPIC_0000002044216596__p185824209460">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.13.2.4.1.3"><p id="EN-US_TOPIC_0000002044216596__p35825207462">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row1158122011469"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p1658272094614">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p758214208465">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p85829206463">Error code.</p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p14582192014611">Minimum: <strong id="EN-US_TOPIC_0000002044216596__b9582120124614">8</strong></p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p858342064613">Maximum: <strong id="EN-US_TOPIC_0000002044216596__b13583220154616">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row558112094619"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="EN-US_TOPIC_0000002044216596__p75831120194616">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="EN-US_TOPIC_0000002044216596__p2070516205461">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="EN-US_TOPIC_0000002044216596__p17705102011462">Error message.</p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p1770562034615">Minimum: <strong id="EN-US_TOPIC_0000002044216596__b670519205467">2</strong></p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p470542015463">Maximum: <strong id="EN-US_TOPIC_0000002044216596__b570522018463">512</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section670562064618"><h4 class="sectiontitle">Example Requests</h4><p id="EN-US_TOPIC_0000002044216596__p77051620114616">Obtain nodes in a resource pool.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002044216596__screen12705112004616">GET https://{endpoint}/v2/{project_id}/pools/{pool_name}/nodes
|
|
|
|
{ }</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section147051820154614"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002044216596__p2705112074620"><strong id="EN-US_TOPIC_0000002044216596__b197054203465">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p1570512024616">OK</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002044216596__screen107051620144616">{
|
|
"kind" : "NodeList",
|
|
"apiVersion" : "v2",
|
|
"metadata" : { },
|
|
"items" : [ {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-zlncn",
|
|
"creationTimestamp" : "2022-09-16T05:32:44Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.1",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "2970m",
|
|
"memory" : "4558Mi"
|
|
}
|
|
}
|
|
}, {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-4s522",
|
|
"creationTimestamp" : "2022-09-16T03:20:53Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.2",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "2970m",
|
|
"memory" : "4558Mi"
|
|
}
|
|
}
|
|
}, {
|
|
"kind" : "Node",
|
|
"apiVersion" : "v2",
|
|
"metadata" : {
|
|
"name" : "os-node-created-v7hfj",
|
|
"creationTimestamp" : "2022-09-16T09:16:37Z"
|
|
},
|
|
"spec" : {
|
|
"flavor" : "modelarts.vm.cpu.4ud"
|
|
},
|
|
"status" : {
|
|
"phase" : "Available",
|
|
"az" : "xx-xxxx-xx",
|
|
"privateIp" : "192.168.0.3",
|
|
"resources" : {
|
|
"cpu" : "3920m",
|
|
"memory" : "6270Mi"
|
|
},
|
|
"availableResources" : {
|
|
"cpu" : "3720m",
|
|
"memory" : "5670Mi"
|
|
}
|
|
}
|
|
} ]
|
|
}</pre>
|
|
<p id="EN-US_TOPIC_0000002044216596__p270612020469"><strong id="EN-US_TOPIC_0000002044216596__b12706120184612">Status code: 404</strong></p>
|
|
<p id="EN-US_TOPIC_0000002044216596__p1770612044618">Not found.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002044216596__screen147062020124613">{
|
|
"error_code" : "ModelArts.50015001",
|
|
"error_msg" : "pool not found"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section1970611202462"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002044216596__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002044216596__row7589020154613"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002044216596__p19707202018463">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000002044216596__p8707122034616">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002044216596__row1058932034616"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002044216596__p9707020174618">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002044216596__p07074207463">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002044216596__row45892020184619"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002044216596__p2707720114618">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002044216596__p167070209463">Not found.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002044216596__section57076203467"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002044216596__p47075208467">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="nodes_management.html">Node Management</a></div>
|
|
</div>
|
|
</div>
|
|
|