doc-exports/docs/deh/api-ref/deh_02_0020.html
Zaoxu, Li 1c7fe15e7b deh_api_1215
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com>
Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
2024-09-27 15:02:29 +00:00

293 lines
21 KiB
HTML

<a name="deh_02_0020"></a><a name="deh_02_0020"></a>
<h1 class="topictitle1">Querying DeHs</h1>
<div id="body1512563929533"><div class="section" id="deh_02_0020__section7659482"><h4 class="sectiontitle">Function</h4><p id="deh_02_0020__p64466590">This API is used to query the DeH list.</p>
</div>
<div class="section" id="deh_02_0020__section1826478"><h4 class="sectiontitle">URI</h4><p id="deh_02_0020__p928817015312">GET /v1.0/{project_id}/dedicated-hosts</p>
<p id="deh_02_0020__p1512101314315"><a href="#deh_02_0020__table572214121015">Table 1</a> describes the parameters.</p>
<div class="tablenoborder"><a name="deh_02_0020__table572214121015"></a><a name="table572214121015"></a><table cellpadding="4" cellspacing="0" summary="" id="deh_02_0020__table572214121015" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters description</caption><thead align="left"><tr id="deh_02_0020__row572516410109"><th align="left" class="cellrowborder" valign="top" width="21.23787621237876%" id="mcps1.3.2.4.2.5.1.1"><p id="deh_02_0020__p107252049107"><strong id="deh_02_0020__b19178110561">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="23.44765523447655%" id="mcps1.3.2.4.2.5.1.2"><p id="deh_02_0020__p726975522919"><strong id="deh_02_0020__b11731311266">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.48755124487551%" id="mcps1.3.2.4.2.5.1.3"><p id="deh_02_0020__p072564201017"><strong id="deh_02_0020__b17785141967">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.826917308269174%" id="mcps1.3.2.4.2.5.1.4"><p id="deh_02_0020__p47253421017"><strong id="deh_02_0020__b472831512610">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="deh_02_0020__row107256481017"><td class="cellrowborder" valign="top" width="21.23787621237876%" headers="mcps1.3.2.4.2.5.1.1 "><p id="deh_02_0020__p1872514451016">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="23.44765523447655%" headers="mcps1.3.2.4.2.5.1.2 "><p id="deh_02_0020__p12269175511291">String</p>
</td>
<td class="cellrowborder" valign="top" width="24.48755124487551%" headers="mcps1.3.2.4.2.5.1.3 "><p id="deh_02_0020__p147251646108">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="30.826917308269174%" headers="mcps1.3.2.4.2.5.1.4 "><p id="deh_02_0020__p6725747104">Specifies the project ID.</p>
<p id="deh_02_0020__p7376194915119">For details about how to obtain the project ID, see <a href="https://docs.otc.t-systems.com/en-us/api/apiug/apig-en-api-180328009.html" target="_blank" rel="noopener noreferrer">Obtaining Required Information</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="deh_02_0020__section56434525"><h4 class="sectiontitle">Request</h4><p id="deh_02_0020__p1656057181412">You can add parameters <strong id="deh_02_0020__b1918455481">host_type</strong>, <strong id="deh_02_0020__b630155510819">host_type_name</strong>, <strong id="deh_02_0020__b103319557812">flavor</strong>, <strong id="deh_02_0020__b734145516814">dedicated_host_id</strong>, <strong id="deh_02_0020__b535855084">state</strong>, <strong id="deh_02_0020__b153515551582">tenant</strong>, <strong id="deh_02_0020__b20361655485">availability_zone</strong>, <strong id="deh_02_0020__b14367551687">name</strong>, <strong id="deh_02_0020__b136175514819">limit</strong>, <strong id="deh_02_0020__b14378551988">marker</strong>, <strong id="deh_02_0020__b23711551987">tags</strong>, <strong id="deh_02_0020__b837855982">instance_uuid</strong>, or <strong id="deh_02_0020__b10381551688">changes-since</strong> to the URI to filter the search result, </p>
<p id="deh_02_0020__p16488122219153">for example, <strong id="deh_02_0020__b43998341093">/v1.0/{project_id}/dedicated-hosts?host_type={host_type}&amp;state={state}</strong>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="deh_02_0020__table17814183115252" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameters</caption><thead align="left"><tr id="deh_02_0020__row1481623119256"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.4.2.6.1.1"><p id="deh_02_0020__p354116576258"><strong id="deh_02_0020__b174861647590">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="10.69%" id="mcps1.3.3.4.2.6.1.2"><p id="deh_02_0020__p115411357182517"><strong id="deh_02_0020__b183360231313">In</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.259999999999998%" id="mcps1.3.3.4.2.6.1.3"><p id="deh_02_0020__p7541115712514"><strong id="deh_02_0020__b12197266312">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.59%" id="mcps1.3.3.4.2.6.1.4"><p id="deh_02_0020__p5541195752516"><strong id="deh_02_0020__b401314706">Mandatory</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="46.46%" id="mcps1.3.3.4.2.6.1.5"><p id="deh_02_0020__p10541185714253"><strong id="deh_02_0020__b871013415329">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="deh_02_0020__row281663172516"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p115410576257">dedicated_host_id</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p10541257112516">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p75411157162513">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p1454195712254">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p254185711255">Specifies the DeH ID.</p>
</td>
</tr>
<tr id="deh_02_0020__row13817183118257"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p25411557192518">name</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p3541145732519">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p12541185792517">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p8541185772511">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p1054116572256">Specifies the DeH name.</p>
</td>
</tr>
<tr id="deh_02_0020__row4817183115251"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p105410576258">host_type</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p554111578257">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p1541757112515">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p18542155782510">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p17542185715255">Specifies the DeH type.</p>
</td>
</tr>
<tr id="deh_02_0020__row6818123122519"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p11542185717256">host_type_name</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p9542205713254">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p15542105762514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p19542257122510">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p1154235717256">Specifies the name of the DeH type.</p>
</td>
</tr>
<tr id="deh_02_0020__row58181631202510"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p175421057102517">flavor</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p3542165712514">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p2542145710258">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p554215714255">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p165422571252">Specifies the flavor ID.</p>
</td>
</tr>
<tr id="deh_02_0020__row1681863110258"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p18542135782514">state</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p0542857182512">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p8542957172514">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p1654212573254">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p12542145715251">Specifies the DeH status.</p>
<p id="deh_02_0020__p1254214574259">The value can be <strong id="deh_02_0020__b14028407345">available</strong>, <strong id="deh_02_0020__b1353944212349">fault</strong>, or <strong id="deh_02_0020__b3528194483410">released</strong>.</p>
</td>
</tr>
<tr id="deh_02_0020__row178186318255"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p13542357162517">tenant</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p1754211570257">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p1054215732519">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p135420571253">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p18542205711250">The value can be a tenant ID or <strong id="deh_02_0020__b178511162357">all</strong>.</p>
<p id="deh_02_0020__p18542155772512">Only users with the DeH administrator permissions can specify this parameter.</p>
</td>
</tr>
<tr id="deh_02_0020__row118191831172518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p6543115718259">availability_zone</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p11543135732516">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p1854313575250">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p18543135702514">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p12543155772513">Specifies the AZ to which the DeH belongs.</p>
</td>
</tr>
<tr id="deh_02_0020__row18197313252"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p75433579252">limit</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p65431057182514">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p135431357202518">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p165434572256">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p1454325762512">Specifies the number of records displayed per page.</p>
</td>
</tr>
<tr id="deh_02_0020__row15819103172518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p554325718257">marker</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p20543145714252">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p154365772516">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p16543145772513">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p10543657152511">Specifies the ID of the last record on the previous page. If the <strong id="deh_02_0020__b262311553354">marker</strong> value is invalid, status code 400 is returned.</p>
</td>
</tr>
<tr id="deh_02_0020__row1581923118250"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p55432057112519">tags</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p6543105712513">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p954315772518">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p95431057112511">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p154375782512">Specifies the DeH tags.</p>
</td>
</tr>
<tr id="deh_02_0020__row5819131162517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p17543205792512">instance_uuid</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p1954355742516">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p2054415578257">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p454413577258">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p19544195772513">Specifies the ID of the ECS on the DeH.</p>
</td>
</tr>
<tr id="deh_02_0020__row1382023152517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.4.2.6.1.1 "><p id="deh_02_0020__p1454595717258">changes-since</p>
</td>
<td class="cellrowborder" valign="top" width="10.69%" headers="mcps1.3.3.4.2.6.1.2 "><p id="deh_02_0020__p18545457192516">query</p>
</td>
<td class="cellrowborder" valign="top" width="16.259999999999998%" headers="mcps1.3.3.4.2.6.1.3 "><p id="deh_02_0020__p1545115716251">String</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.3.4.2.6.1.4 "><p id="deh_02_0020__p554510577254">No</p>
</td>
<td class="cellrowborder" valign="top" width="46.46%" headers="mcps1.3.3.4.2.6.1.5 "><p id="deh_02_0020__p155458577256">Filters the response by date and timestamp when the DeH status changes. To help keep track of changes, this parameter may also display recently deleted DeHs.</p>
<p id="deh_02_0020__p1154525718258">The format of the date and timestamp is ISO 8601:</p>
<pre class="screen" id="deh_02_0020__screen1545105711259">CCYY-MM-DDThh:mm:ss&plusmn;hh:mm</pre>
<p id="deh_02_0020__p185452057152518">If the <strong id="deh_02_0020__b149981536172319">hh:mm</strong> value is included, the time zone is returned as the UTC offset, for example, <strong id="deh_02_0020__b1337186162410">2015-08-27T09:49:58-05:00</strong>. If you omit the time zone, the UTC time zone is assumed.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="deh_02_0020__section38148684"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="deh_02_0020__table2602102620274" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameters</caption><thead align="left"><tr id="deh_02_0020__row760342632718"><th align="left" class="cellrowborder" valign="top" width="19.77%" id="mcps1.3.4.2.2.5.1.1"><p id="deh_02_0020__p147901841202711"><strong id="deh_02_0020__b1086017543347">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.97%" id="mcps1.3.4.2.2.5.1.2"><p id="deh_02_0020__p12790741162718"><strong id="deh_02_0020__b1768190692">In</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="34.79%" id="mcps1.3.4.2.2.5.1.3"><p id="deh_02_0020__p379084162718"><strong id="deh_02_0020__b38174570340">Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.47%" id="mcps1.3.4.2.2.5.1.4"><p id="deh_02_0020__p1579014182716"><strong id="deh_02_0020__b68691358153414">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="deh_02_0020__row260392692717"><td class="cellrowborder" valign="top" width="19.77%" headers="mcps1.3.4.2.2.5.1.1 "><p id="deh_02_0020__p10790154122713">dedicated_hosts</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.4.2.2.5.1.2 "><p id="deh_02_0020__p379084117276">body</p>
</td>
<td class="cellrowborder" valign="top" width="34.79%" headers="mcps1.3.4.2.2.5.1.3 "><p id="deh_02_0020__p379014119275">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="32.47%" headers="mcps1.3.4.2.2.5.1.4 "><p id="deh_02_0020__p1779184116275">Specifies the DeHs that meet the search criteria.</p>
<p id="deh_02_0020__p14711219912">For details, see <a href="deh_02_0018.html#deh_02_0018__dedicated_host">Table 1</a>.</p>
</td>
</tr>
<tr id="deh_02_0020__row5603122632711"><td class="cellrowborder" valign="top" width="19.77%" headers="mcps1.3.4.2.2.5.1.1 "><p id="deh_02_0020__p20791641112712">total</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.4.2.2.5.1.2 "><p id="deh_02_0020__p167911541112718">body</p>
</td>
<td class="cellrowborder" valign="top" width="34.79%" headers="mcps1.3.4.2.2.5.1.3 "><p id="deh_02_0020__p18791124142714">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="32.47%" headers="mcps1.3.4.2.2.5.1.4 "><p id="deh_02_0020__p1179184152711">Specifies the quantity of DeHs that meet the search criteria.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="deh_02_0020__section116617105277"><h4 class="sectiontitle">Example Request</h4><div class="p" id="deh_02_0020__p116031620172719">Query the DeHs in the <strong id="deh_02_0020__b208080135718">available</strong> state.<pre class="screen" id="deh_02_0020__screen12604420182714">GET https://{Endpoint}/v1.0/9c53a566cb3443ab910cf0daebca90c4/dedicated-hosts?state=available</pre>
</div>
</div>
<div class="section" id="deh_02_0020__section18928164812910"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="deh_02_0020__screen113986182536">{
"dedicated_hosts": [
{
"dedicated_host_id": "d465d0ae-f859-4a83-a508-8db654c05e7e",
"name": "DEH001",
"auto_placement": "off",
"availability_zone": "eu-de-01",
"host_properties": {
"vcpus": 74,
"cores": 22,
"sockets": 2,
"memory": 303104,
"host_type": "c4",
"host_type_name": "dedicated_general_purpose",
"available_instance_capacities": [
{
"flavor": "c4.large.4"
},
{
"flavor": "c4.xlarge.4"
},
{
"flavor": "c4.2xlarge.4"
},
{
"flavor": "c4.3xlarge.4"
},
{
"flavor": "c4.6xlarge.4"
},
{
"flavor": "c4.16xlarge.4"
}
]
},
"state": "available",
"project_id": "9c53a566cb3443ab910cf0daebca90c4",
"available_vcpus": 20,
"available_memory": 81920,
"instance_total": 5,
"allocated_at": "2016-10-10T14:35:47Z",
"released_at": ""
}
],
"total": 1
}</pre>
</div>
<div class="section" id="deh_02_0020__section27321283"><h4 class="sectiontitle">Status Code</h4><p id="deh_02_0020__p56256135">See <a href="deh_02_0016.html">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="deh_02_0017.html">API</a></div>
</div>
</div>