forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
257 lines
28 KiB
HTML
257 lines
28 KiB
HTML
<a name="EN-US_TOPIC_0000002374260893"></a><a name="EN-US_TOPIC_0000002374260893"></a>
|
|
|
|
<h1 class="topictitle1">Querying Details About a <span id="en-us_topic_0053158674_text68606276113">BMS</span><span id="en-us_topic_0053158674_text611312477019"></span><span id="en-us_topic_0053158674_text858612512404"></span> Flavor</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section64833508"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p40261524">This API is used to query details about a <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text14401156606">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text1947382572"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text183631256124010"></span> flavor, such as the flavor name, CPU cores, and memory.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section46630661"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p6133425516420">GET /v2.1/{project_id}/flavors/{flavor_id}</p>
|
|
<p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1874416184414"><a href="#EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table1857156445">Table 1</a> lists the parameters.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table1857156445"></a><a name="en-us_topic_0053158674_table1857156445"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table1857156445" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row98631534416"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p26298136">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.2"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p49774232">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.4.2.4.1.3"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p5180964">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row58681534411"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p35224963">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p34649765">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p55167604">Specifies the project ID.</p>
|
|
<p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p9141450142010">For 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>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row98691534416"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p18974100">flavor_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p60507121">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p2129750">Specifies the flavor ID.</p>
|
|
<p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1153834112450">You can obtain the flavor ID from the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text374914110111">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text1749131818"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text2096916710416"></span> console or using the <a href="en-us_topic_0000002374101029.html#EN-US_TOPIC_0000002374101029">Querying BMS Flavors</a> API.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section17022773"><h4 class="sectiontitle">Request Parameters</h4><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1963912221366">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section1517225615387"><h4 class="sectiontitle">Example Request</h4><div class="p" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p17231173419215">Query details about a flavor (ID: physical.o2.medium)<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_screen13503104994610"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span></pre></div></td><td class="code"><div><pre><span></span><span class="n">GET</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="c1">//{ECS Endpoint}/v2.1/c685484a8cc2416b97260938705deb65/flavors/physical.o2.medium</span>
|
|
</pre></div></td></tr></table></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section18987236"><h4 class="sectiontitle">Response Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table61695723" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row52977523"><th align="left" class="cellrowborder" valign="top" width="25.41%" id="mcps1.3.5.2.1.4.1.1"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p59978491115233">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.619999999999997%" id="mcps1.3.5.2.1.4.1.2"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p26419641115233">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.97%" id="mcps1.3.5.2.1.4.1.3"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p64181866115233">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row2794650"><td class="cellrowborder" valign="top" width="25.41%" headers="mcps1.3.5.2.1.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p25040094">flavor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.619999999999997%" headers="mcps1.3.5.2.1.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p5563313">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.97%" headers="mcps1.3.5.2.1.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p17240151224413">Specifies a <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text1624081294413">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text4240612134420"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text116631638134518"></span> flavor. For details, see <a href="#EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table20109663">Table 2</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table20109663"></a><a name="en-us_topic_0053158674_table20109663"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table20109663" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_b149219158514">flavor</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row50842877"><th align="left" class="cellrowborder" valign="top" width="26.169999999999998%" id="mcps1.3.5.3.2.4.1.1"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p17447358101319">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.990000000000002%" id="mcps1.3.5.3.2.4.1.2"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p14450195812134">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.839999999999996%" id="mcps1.3.5.3.2.4.1.3"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p12452195881310">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row37029065"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p46564252">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p28514710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p50584809">Specifies the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text115310534115">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text153119535117"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text6899444164514"></span> flavor ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row52610097"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p33559471">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p66621782">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p47570623">Specifies the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text203717561113">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text153716560117"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text20861549114510"></span> flavor name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row25482430"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p50810959">vcpus</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p40977906">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p9449599">Specifies the number of CPU cores in the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text19872175810116">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text1587219584117"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text699755613457"></span> flavor.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row2289826710437"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p6260494310453">ram</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p3783561810453">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p42285210453">Specifies the memory size (MB) in the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text1638315728">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text10383156211"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text131761329464"></span> flavor.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row17937528"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p43653635">disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p57980147">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p56052334">Specifies the disk size (GB) in the <span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text11480976217">BMS</span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text13480578215"></span><span id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_text181882715462"></span> flavor.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row43945239"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p2794612">swap</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p14734188">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1160474410518">This is a reserved attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row34246806"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p22527890">OS-FLV-EXT-DATA:ephemeral</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p31767774">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p414192310518">This is a reserved attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row55347837"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p53989823">OS-FLV-DISABLED:disabled</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p26649649">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p6667220510518">This is a reserved attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row29760277"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p61772230">rxtx_factor</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p17171756">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1722029710518">This is a reserved attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row5115727"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p11720763">os-flavor-access:is_public</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p60282721">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p4354924810518">This is a reserved attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row57014372193259"><td class="cellrowborder" valign="top" width="26.169999999999998%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1587802219356">links</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.990000000000002%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1105141919356">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.839999999999996%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p342100019356">Specifies shortcut links of the BMS flavor. For details, see <a href="#EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table35514108193545">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table35514108193545"></a><a name="en-us_topic_0053158674_table35514108193545"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_table35514108193545" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_b19119178855">links</strong> data structure</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row23367815193545"><th align="left" class="cellrowborder" valign="top" width="26.85%" id="mcps1.3.5.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p1992228131410">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.53%" id="mcps1.3.5.4.2.4.1.2"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p159245814143">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.620000000000005%" id="mcps1.3.5.4.2.4.1.3"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p792512831417">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row37879124193545"><td class="cellrowborder" valign="top" width="26.85%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p48310227193545">rel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.53%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p20814310193545">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.620000000000005%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p8237558193545">Specifies the shortcut link marker name.</p>
|
|
<ul id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_ul207311644172510"><li id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0131326852_li1013032685313"><strong id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0131326852_b320113110516">self</strong>: resource link that contains the version number. It is used when immediate tracing is required.</li><li id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0131326852_li14448163219533"><strong id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0131326852_b84171947711">bookmark</strong>: resource link that can be stored for a long time.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_row7029160193545"><td class="cellrowborder" valign="top" width="26.85%" headers="mcps1.3.5.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p32491069193545">href</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.53%" headers="mcps1.3.5.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p14530947193545">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.620000000000005%" headers="mcps1.3.5.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_p36156065193545">Specifies the corresponding shortcut link.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section1747471083910"><h4 class="sectiontitle">Example Response</h4><div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_screen52009613113959"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal"> 1</span>
|
|
<span class="normal"> 2</span>
|
|
<span class="normal"> 3</span>
|
|
<span class="normal"> 4</span>
|
|
<span class="normal"> 5</span>
|
|
<span class="normal"> 6</span>
|
|
<span class="normal"> 7</span>
|
|
<span class="normal"> 8</span>
|
|
<span class="normal"> 9</span>
|
|
<span class="normal">10</span>
|
|
<span class="normal">11</span>
|
|
<span class="normal">12</span>
|
|
<span class="normal">13</span>
|
|
<span class="normal">14</span>
|
|
<span class="normal">15</span>
|
|
<span class="normal">16</span>
|
|
<span class="normal">17</span>
|
|
<span class="normal">18</span>
|
|
<span class="normal">19</span>
|
|
<span class="normal">20</span>
|
|
<span class="normal">21</span>
|
|
<span class="normal">22</span>
|
|
<span class="normal">23</span>
|
|
<span class="normal">24</span></pre></div></td><td class="code"><div><pre><span></span><span class="p">{</span>
|
|
<span class="w"> </span><span class="s">"flavor"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
|
<span class="w"> </span><span class="s">"name"</span><span class="p">:</span><span class="w"> </span><span class="s">"physical.o2.medium"</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"links"</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
|
|
<span class="w"> </span><span class="p">{</span>
|
|
<span class="w"> </span><span class="s">"href"</span><span class="p">:</span><span class="w"> </span><span class="s">"https://openstack.example.com/v2/c685484a8cc2416b97260938705deb65/flavors/physical.o2.medium"</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"rel"</span><span class="p">:</span><span class="w"> </span><span class="s">"self"</span>
|
|
<span class="w"> </span><span class="p">},</span>
|
|
<span class="w"> </span><span class="p">{</span>
|
|
<span class="w"> </span><span class="s">"href"</span><span class="p">:</span><span class="w"> </span><span class="s">"https://openstack.example.com/c685484a8cc2416b97260938705deb65/flavors/physical.o2.medium"</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"rel"</span><span class="p">:</span><span class="w"> </span><span class="s">"bookmark"</span>
|
|
<span class="w"> </span><span class="p">}</span>
|
|
<span class="w"> </span><span class="o">]</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"ram"</span><span class="p">:</span><span class="w"> </span><span class="mi">192705</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"OS-FLV-DISABLED:disabled"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"vcpus"</span><span class="p">:</span><span class="w"> </span><span class="mi">24</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"swap"</span><span class="p">:</span><span class="w"> </span><span class="s">""</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"os-flavor-access:is_public"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"rxtx_factor"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"OS-FLV-EXT-DATA:ephemeral"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"disk"</span><span class="p">:</span><span class="w"> </span><span class="mi">1862</span><span class="p">,</span>
|
|
<span class="w"> </span><span class="s">"id"</span><span class="p">:</span><span class="w"> </span><span class="s">"physical.o2.medium"</span>
|
|
<span class="w"> </span><span class="p">}</span>
|
|
<span class="w"> </span><span class="p">}</span>
|
|
</pre></div></td></tr></table></div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section7610951"><h4 class="sectiontitle">Returned Values</h4><div class="p" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p193201622141412">Normal values
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_table753804619176" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_row10735134615172"><th align="left" class="cellrowborder" valign="top" width="42.42%" id="mcps1.3.7.2.1.1.3.1.1"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p19735204616177">Returned Values</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.7.2.1.1.3.1.2"><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p207355465176">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_row1473514621713"><td class="cellrowborder" valign="top" width="42.42%" headers="mcps1.3.7.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p13735144611178">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.7.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p207351246161711">The request has been successfully processed.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p47633965">For details about other returned values, see <a href="en-us_topic_0053158690.html">Status Codes</a>.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_section14752650154917"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002374260893__en-us_topic_0053158674_en-us_topic_0106040941_p10243161417491">See <a href="en-us_topic_0107541808.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002340063032.html">BMS Flavor Query (OpenStack Nova APIs)</a></div>
|
|
</div>
|
|
</div>
|
|
|