forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
439 lines
39 KiB
HTML
439 lines
39 KiB
HTML
<a name="EN-US_TOPIC_0031615565"></a><a name="EN-US_TOPIC_0031615565"></a>
|
|
|
|
<h1 class="topictitle1">Creating Image Metadata (Native OpenStack API)</h1>
|
|
<div id="body1465713890378"><div class="section" id="EN-US_TOPIC_0031615565__section66302617144828"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0031615565__p6074946717954">This API is used to create image metadata.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p1802929144828">After the API is successfully invoked, the image metadata is created, but the image file does not exist yet.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0031615565__section16226363144828"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0031615565__p26513862144828">POST /v2/images</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0031615565__section22707920144828"><h4 class="sectiontitle">Request</h4><ul id="EN-US_TOPIC_0031615565__ul56368594153652"><li id="EN-US_TOPIC_0031615565__li24655304153652">Request parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0031615565__table53011268153646" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0031615565__row8255548153646"><th align="left" class="cellrowborder" valign="top" width="31.35%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="EN-US_TOPIC_0031615565__p64719651153646">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.54%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="EN-US_TOPIC_0031615565__p7800370153646">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="16.86%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="EN-US_TOPIC_0031615565__p27850258153646">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.25%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="EN-US_TOPIC_0031615565__p41278443153646">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0031615565__row55219556153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p43599013153646">__os_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p41859159153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p35148705153646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p28472876153646">Specifies the image OS version. For the value range, see <a href="en-us_topic_0031617666.html">Values of Related Parameters</a>.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p24601632153646">If this parameter is not specified, the value <strong id="EN-US_TOPIC_0031615565__b84235270611441">Other Linux(64 bit)</strong> will be used. In that case, the ECS creation using this image may fail, and the ECS created using this image may fail to run properly.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row20088096153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p16523075153646">visibility</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p63300707153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p27083623153646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p46289848153646">Specifies whether the image is available to other tenants.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p13955448153646">The default value is <strong id="EN-US_TOPIC_0031615565__b842352706145544">private</strong>. When creating image metadata, the value of <strong id="EN-US_TOPIC_0031615565__b842352706142944">visibility</strong> can be set to <strong id="EN-US_TOPIC_0031615565__b842352706142937">private</strong> only.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row56649510153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p25207637153646">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p28552749153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p31071317153646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p33748725153646">Specifies the image name. If this parameter is not specified, its value is empty by default. In that case, ECS creation using this image will fail. The name contains 1 to 255 characters. For detailed description, see <a href="en-us_topic_0020091562.html#EN-US_TOPIC_0020091562__section61598810155254">Image Attributes</a>. This parameter is left blank by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row49292214153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p33246399153646">protected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p8603833153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p25821900153646">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p11199135153646">Specifies whether the image is protected. A protected image cannot be deleted. The default value is <strong id="EN-US_TOPIC_0031615565__b158016473">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row34714714153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p6985178153646">container_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p28928513153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p61508237153646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p16111334153646">Specifies the container format.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p10784283153646">The default value is <strong id="EN-US_TOPIC_0031615565__b145468862">bare</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row29949683153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p10005277153646">disk_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p5121099153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p12155878153646">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p45102037153646"><span id="EN-US_TOPIC_0031615565__ph16558204618406">Specifies the image format. The value can be <strong id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_b16301253205814">zvhd2</strong>, <strong id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_b1430115385816">vhd</strong>, <strong id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_b143005375810">raw</strong>, or <strong id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_b183114538580">qcow2</strong>. The default value is <strong id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_b163155319581">zvhd2</strong><span id="EN-US_TOPIC_0031615565__en-us_topic_0031615565_en-us_topic_0020091562_ph20148759181712"></span>.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row29386369153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p31485649153646">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p200749153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p16260734153646">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p42051116153646">Lists the image tags. The tag contains 1 to 255 characters. The value is left blank by default.</p>
|
|
<div class="note" id="EN-US_TOPIC_0031615565__note11264121815532"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0031615565__p107101715112020">The tag is a key-value pair. Example:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0031615565__screen930822493015">"tagkey=tagvalue"</pre>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row50697246153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p12836285153646">min_ram</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p33106160153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p64353312153646">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p45235764153646">Specifies the minimum memory size (MB) required for running the image. The parameter value depends on <span id="EN-US_TOPIC_0031615565__text826912402084"></span><span id="EN-US_TOPIC_0031615565__text1496184118812">ECS</span> specifications. The default value is <strong id="EN-US_TOPIC_0031615565__b1021437985">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row4468695153646"><td class="cellrowborder" valign="top" width="31.35%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="EN-US_TOPIC_0031615565__p26420029153646">min_disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.54%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="EN-US_TOPIC_0031615565__p59647611153646">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="16.86%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="EN-US_TOPIC_0031615565__p66727226153646">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.25%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="EN-US_TOPIC_0031615565__p38417884203334">Specifies the minimum disk space (GB) required for running the image. The value ranges from 1 GB to 1,024 GB.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p57330868153646">The value of this parameter must be greater than the image system disk capacity. Otherwise, the <span id="EN-US_TOPIC_0031615565__text1126650384"></span><span id="EN-US_TOPIC_0031615565__text182617501488">ECS</span> creation may fail.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0031615565__section140413412287"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0031615565__screen21310128213346">POST https://{Endpoint}/v2/images
|
|
{
|
|
"__os_version": "Ubuntu 14.04 server 64bit",
|
|
"container_format": "bare",
|
|
"disk_format": "vhd",
|
|
"min_disk": 100,
|
|
"min_ram": 1024,
|
|
"name": "test",
|
|
"tags": [
|
|
"test=testvalue",
|
|
"image=imagevalue"
|
|
],
|
|
"visibility": "private",
|
|
"protected": false
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0031615565__section37386190144828"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0031615565__ul1587130153836"><li id="EN-US_TOPIC_0031615565__li50749703153836">Response parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0031615565__table65680948153746" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0031615565__row59664825153746"><th align="left" class="cellrowborder" valign="top" width="36.36%" id="mcps1.3.5.2.1.1.1.4.1.1"><p id="EN-US_TOPIC_0031615565__p1012670153746">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.85%" id="mcps1.3.5.2.1.1.1.4.1.2"><p id="EN-US_TOPIC_0031615565__p352397153746">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40.79%" id="mcps1.3.5.2.1.1.1.4.1.3"><p id="EN-US_TOPIC_0031615565__p28544167153746">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0031615565__row30376173153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p44550985153746">visibility</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p39910492153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p11524453153746">Specifies whether the image is available to other tenants. The value is <strong id="EN-US_TOPIC_0031615565__b84235270614516">private</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row61065506153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p47358972153746">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p8177445153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p58393284153746">Specifies the image name. If this parameter is not specified, its value is empty by default. In that case, ECS creation using this image will fail. The name contains 1 to 128 characters. For detailed description, see <a href="en-us_topic_0020091562.html#EN-US_TOPIC_0020091562__section61598810155254">Image Attributes</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row32235552153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p60942880153746">protected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p11625005153746">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p2101387153746">Specifies whether the image is protected. A protected image cannot be deleted. The value is <strong id="EN-US_TOPIC_0031615565__b842352706141032">false</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row35994669153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p29887100153746">container_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p64274239153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p3986378091022">Specifies the container format.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p2322970491022">The value is <strong id="EN-US_TOPIC_0031615565__b1686864948">bare</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row58291220153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p23968345153746">disk_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p20244641153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p2302086591022"><span id="EN-US_TOPIC_0031615565__ph570353144512">Specifies the image format. The value can be <strong id="EN-US_TOPIC_0031615565__b16301253205814">zvhd2</strong>, <strong id="EN-US_TOPIC_0031615565__b1430115385816">vhd</strong>, <strong id="EN-US_TOPIC_0031615565__b143005375810">raw</strong>, or <strong id="EN-US_TOPIC_0031615565__b183114538580">qcow2</strong>. The default value is <strong id="EN-US_TOPIC_0031615565__b163155319581">zvhd2</strong><span id="EN-US_TOPIC_0031615565__en-us_topic_0020091562_ph20148759181712"></span>.</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row16647962153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p6307710153746">tags</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p45828379153746">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p21111204153746">Lists the image tags. The tag contains 1 to 255 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row32285962153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p65026100153746">min_ram</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p25195510153746">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p27570397153746">Specifies the minimum memory size (MB) required for running the image. The parameter value depends on the ECS specifications limit. The value is generally set to <strong id="EN-US_TOPIC_0031615565__b842352706103121">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row46806987153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p33269625153746">min_disk</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p43985037153746">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p33012089153426">Specifies the minimum disk space (GB) required for running the image. It must be greater than the system disk capacity in the image. Otherwise, the <span id="EN-US_TOPIC_0031615565__text1810514495915"></span><span id="EN-US_TOPIC_0031615565__text186857585917">ECS</span> creation will fail. The value ranges from 1 GB to 1,024 GB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row17715747153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p25689427153746">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p127882921768">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p29539523155411">Specifies the image status. The value can be one of the following:</p>
|
|
<ul id="EN-US_TOPIC_0031615565__ul64671162155411"><li id="EN-US_TOPIC_0031615565__li45182115155411"><strong id="EN-US_TOPIC_0031615565__b842352706103333">queued</strong>: indicates that the image metadata has already been created, and it is ready for the image file to upload. </li><li id="EN-US_TOPIC_0031615565__li15861924155411"><strong id="EN-US_TOPIC_0031615565__b842352706104325">saving</strong>: indicates that the image file is being uploaded to the backend storage. </li><li id="EN-US_TOPIC_0031615565__li24241567155411"><strong id="EN-US_TOPIC_0031615565__b842352706104450">deleted</strong>: indicates that the image has been deleted. </li><li id="EN-US_TOPIC_0031615565__li24158264155411"><strong id="EN-US_TOPIC_0031615565__b842352706104518">killed</strong>: indicates that an error occurs on the image uploading. </li><li id="EN-US_TOPIC_0031615565__li12546517155411"><strong id="EN-US_TOPIC_0031615565__b842352706104558">active</strong>: indicates that the image is available for use. </li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row36868745153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p33578394153746">created_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p56557754153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p17775385153746">Specifies the time when the image was created. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row25760740153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p6245233153746">updated_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p38569043153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p37084793153746">Specifies the time when the image was updated. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row65327686153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p57051191153746">self</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p46735376153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p27469127153746">Specifies the image URL.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row45895558153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p26552727153746">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p64943162153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p25904797153746">Specifies the image ID. After the image creation API is called, the image ID must be saved. The image ID is used to invoke the image uploading API and upload the image.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row31816583153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p27006401153746">file</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p21597859153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p4596122153746">Specifies the URL for uploading and downloading the image file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row41365104153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p62239150153746">schema</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p60735714153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p20645801153746">Specifies the URL for accessing the schema.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row51594484153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p18403679153746">__image_source_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p17692826153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p23832762153746">Specifies the image backend storage type. Only UDS is supported currently. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row13168267153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p59996701153746">__image_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p44870066153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p10596742153746">Specifies the image size. The unit is byte.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row28261814153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p7505593153746">__isregistered</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p53402269153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p30616526153746">Specifies whether the image is registered. Only registered images can be queried on the portal. The value is <strong id="EN-US_TOPIC_0031615565__b1100565169">true</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row64019507153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p18197556153746">__os_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p7501613153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p3650932153746">Specifies the image OS version. For the value range, see <a href="en-us_topic_0031617666.html">Values of Related Parameters</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row27290104153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p63014816153746">__os_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p49609854153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p58975236153746">Specifies the image OS type. The value of this parameter depends on that of <strong id="EN-US_TOPIC_0031615565__b842352706143412">__os_version</strong>. The value can be <strong id="EN-US_TOPIC_0031615565__b842352706143429">Windows</strong>, <strong id="EN-US_TOPIC_0031615565__b842352706143432">Linux</strong>, or <strong id="EN-US_TOPIC_0031615565__b842352706143435">other</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row61015077153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p43274176153746">__platform</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p51377616153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p837397153746">Specifies the OS platform supported by the image. The value of this parameter depends on that of <strong id="EN-US_TOPIC_0031615565__b148402235114355">__os_version</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row7536579153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p6483196153746">__os_bit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p56341747153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p278785153746">Specifies the OS bit. The value of this parameter depends on that of <strong id="EN-US_TOPIC_0031615565__b1028547871143526">__os_version</strong>. The value can be <strong id="EN-US_TOPIC_0031615565__b842352706143549">32</strong> or <strong id="EN-US_TOPIC_0031615565__b842352706143546">64</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row2509069153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p1908061153746">__imagetype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p36544143153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p7285568153746">Specifies the image type. <strong id="EN-US_TOPIC_0031615565__b842352706143620">private</strong> indicates a private image.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row34742228153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p62657107153746">virtual_env_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p51489910153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p9933162153746">Specifies the platform type.</p>
|
|
<p id="EN-US_TOPIC_0031615565__p1364519165504">Specifies the environment where the image is used. The value can be <strong id="EN-US_TOPIC_0031615565__b71545084214">FusionCompute</strong>, <strong id="EN-US_TOPIC_0031615565__b316115012426">Ironic</strong>, <strong id="EN-US_TOPIC_0031615565__b1516165094211">DataImage</strong>, or <strong id="EN-US_TOPIC_0031615565__b416165094216">IsoImage</strong>.</p>
|
|
<ul id="EN-US_TOPIC_0031615565__ul1113018265506"><li id="EN-US_TOPIC_0031615565__li8130152619509">For an <span id="EN-US_TOPIC_0031615565__text112717547261"></span><span id="EN-US_TOPIC_0031615565__text1271145411263">ECS</span> image, the value is <strong id="EN-US_TOPIC_0031615565__b6200101517432">FusionCompute</strong>.</li><li id="EN-US_TOPIC_0031615565__li17130926145017">For an <span id="EN-US_TOPIC_0031615565__text16802537159"></span><span id="EN-US_TOPIC_0031615565__text1568115533155">ECS</span> data disk image, the value is <strong id="EN-US_TOPIC_0031615565__b7466112518368">DataImage</strong>.</li><li id="EN-US_TOPIC_0031615565__li15130726175017">For a <span id="EN-US_TOPIC_0031615565__text1689439291"></span><span id="EN-US_TOPIC_0031615565__text1528894553">BMS</span> image, the value is <strong id="EN-US_TOPIC_0031615565__b1682000912">Ironic</strong>.</li><li id="EN-US_TOPIC_0031615565__li17771353115912">For an ISO image, the value is <strong id="EN-US_TOPIC_0031615565__b889222911616">IsoImage</strong>.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row66388651153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p8771616153746">owner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p38277576153746">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p13475914153746">Specifies the ID of the project to which the image belongs.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row943554493017"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p13436044163010">__root_origin</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p18436114473017">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p11674164212019">Specifies that the image is created from an external image file. Value: <strong id="EN-US_TOPIC_0031615565__b624917396317">file</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row2565115193119"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p056514513313">checksum</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p65651515315">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p165651551123115">Specifies the MD5 value of the image file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row1241718313446"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p48018243194835">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p64272464194835">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p38687077194835">This parameter is unavailable currently.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row54174368153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p26047664153746">virtual_size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p39559770153746">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p50224836153746">Specifies the virtual size of the image. The unit is byte.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row18201104663516"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.5.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p18202346123516">properties</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.5.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p42021446153517">Properties object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.5.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p320254673516">Specifies a collection of image attributes instead of a specified attribute.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0031615565__li1188069315398">Example response<pre class="codeblock" id="EN-US_TOPIC_0031615565__codeblock8382564144828">STATUS CODE 201</pre>
|
|
<pre class="screen" id="EN-US_TOPIC_0031615565__screen24406525214018">{
|
|
"schema": "/v2/schemas/image",
|
|
"min_disk": 100,
|
|
"created_at": "2016-06-02T07:49:48Z",
|
|
"__image_source_type": "uds",
|
|
"container_format": "bare",
|
|
"__image_size": "0",
|
|
"file": "/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba86/file",
|
|
"updated_at": "2016-06-02T07:49:49Z",
|
|
"protected": false,
|
|
"id": "4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba86",
|
|
"__isregistered": "true",
|
|
"min_ram": 1024,
|
|
"owner": "b912fb4a4c464b568ecfca1071b21b10",
|
|
"__os_type": "Linux",
|
|
"__imagetype": "private",
|
|
"visibility": "private",
|
|
"virtual_env_type": "FusionCompute",
|
|
"tags": [
|
|
"test=testvalue",
|
|
"image=imagevalue"
|
|
|
|
],
|
|
"__platform": "Ubuntu",
|
|
"__os_bit": "64",
|
|
"__os_version": "Ubuntu 14.04 server 64bit",
|
|
"name": "test",
|
|
"self": "/v2/images/4ca46bf1-5c61-48ff-b4f3-0ad4e5e3ba86",
|
|
"disk_format": "vhd",
|
|
"status": "queued"
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0031615565__section55843593"><h4 class="sectiontitle">Returned Values</h4><ul id="EN-US_TOPIC_0031615565__ul12698356"><li id="EN-US_TOPIC_0031615565__li47176343">Normal<p id="EN-US_TOPIC_0031615565__p21933905"><a name="EN-US_TOPIC_0031615565__li47176343"></a><a name="li47176343"></a>201</p>
|
|
</li><li id="EN-US_TOPIC_0031615565__li63187419">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0031615565__table512644917454" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0031615565__row5075107217454"><th align="left" class="cellrowborder" valign="top" width="46.54%" id="mcps1.3.6.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0031615565__p1719616917454">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.459999999999994%" id="mcps1.3.6.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0031615565__p5071248317454">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0031615565__row1407048617454"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p6596756117454">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p4177219617454">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row4040544817454"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p5161589217454">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p2013769117454">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row4702149717454"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p5064493517454">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p859904517454">You do not have the rights to perform the operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row27405030192213"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p15819393192215">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p6302489192215">The requested resource was not found.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row1028254117454"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p2757951117454">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p1934790917454">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0031615565__row3991345717454"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.6.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0031615565__p1176460917454">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.6.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0031615565__p1340929017454">The service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0122410334.html">Image (Native OpenStack APIs)</a></div>
|
|
</div>
|
|
</div>
|
|
|