Compare commits

...

1 Commits

Author SHA1 Message Date
7b69c0fd5b recreate pr for ims_api_0406 as the original PR cannot be merged due to
gitea bug
2023-04-21 17:50:33 +00:00
26 changed files with 270 additions and 641 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -6,7 +6,7 @@
<p id="EN-US_TOPIC_0020092109__p46070087">The API is an asynchronous one. If it is successfully called, the cloud service system receives the request. However, you need to use the asynchronous job query API to query the image creation status. For details, see <a href="en-us_topic_0022473688.html">Asynchronous Job Query</a>.</p> <p id="EN-US_TOPIC_0020092109__p46070087">The API is an asynchronous one. If it is successfully called, the cloud service system receives the request. However, you need to use the asynchronous job query API to query the image creation status. For details, see <a href="en-us_topic_0022473688.html">Asynchronous Job Query</a>.</p>
<p id="EN-US_TOPIC_0020092109__p19605512476">You cannot export public images (such as Windows, SUSE, Red Hat, Oracle Linux, and Ubuntu) or private images created using these public images.</p> <p id="EN-US_TOPIC_0020092109__p19605512476">You cannot export public images (such as Windows, SUSE, Red Hat, Oracle Linux, and Ubuntu) or private images created using these public images.</p>
</div> </div>
<div class="section" id="EN-US_TOPIC_0020092109__section111371758488"><h4 class="sectiontitle">Constraints (Creating a System Disk Image Using a Data Disk)</h4><ul id="EN-US_TOPIC_0020092109__ul1588017444912"><li id="EN-US_TOPIC_0020092109__li108819412499">Before using a data disk to create a system disk image, ensure that an OS has been installed on the data disk and has been optimized. For details about the optimization, see "Optimizing a Windows Private Image" and "Optimizing a Linux Private Image" in the <em id="EN-US_TOPIC_0020092109__i842352697115226">Image Management Service User Guide</em>.</li><li id="EN-US_TOPIC_0020092109__li189251922101020">The system cannot verify that an OS has been installed on the data disk. Therefore, ensure that the value of <strong id="EN-US_TOPIC_0020092109__b1113641608">os_version</strong> is valid when creating a system disk image from the data disk. For details, see <a href="en-us_topic_0031617666.html">Values of Related Parameters</a>.</li></ul> <div class="section" id="EN-US_TOPIC_0020092109__section111371758488"><h4 class="sectiontitle">Constraints (Creating a System Disk Image Using a Data Disk)</h4><ul id="EN-US_TOPIC_0020092109__ul1588017444912"><li id="EN-US_TOPIC_0020092109__li108819412499">Before using a data disk to create a system disk image, ensure that an OS has been installed on the data disk and has been optimized. For details about the optimization, see "Optimizing a Windows Private Image" and "Optimizing a Linux Private Image" in the <em id="EN-US_TOPIC_0020092109__i842352697115226">Image Management Service User Guide</em>.</li><li id="EN-US_TOPIC_0020092109__li189251922101020">The system cannot verify that an OS has been installed on the data disk. Therefore, ensure that the value of <strong id="EN-US_TOPIC_0020092109__b123833559">os_version</strong> is valid when creating a system disk image from the data disk. For details, see <a href="en-us_topic_0031617666.html">Values of Related Parameters</a>.</li></ul>
</div> </div>
<div class="section" id="EN-US_TOPIC_0020092109__section1527883"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020092109__p588929">POST /v2/cloudimages/action</p> <div class="section" id="EN-US_TOPIC_0020092109__section1527883"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0020092109__p588929">POST /v2/cloudimages/action</p>
</div> </div>
@ -79,7 +79,7 @@
<td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.3.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p2378868184039">Array of objects</p> <td class="cellrowborder" valign="top" width="14.85148514851485%" headers="mcps1.3.4.2.1.3.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p2378868184039">Array of objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="41.73417341734174%" headers="mcps1.3.4.2.1.3.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p5510142012586">Specifies tags of the image. This parameter is left blank by default.</p> <td class="cellrowborder" valign="top" width="41.73417341734174%" headers="mcps1.3.4.2.1.3.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p5510142012586">Specifies tags of the image. This parameter is left blank by default.</p>
<p id="EN-US_TOPIC_0020092109__p58470580184039">Use either <strong id="EN-US_TOPIC_0020092109__b2057821801">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b1006608005">image_tags</strong>.</p> <p id="EN-US_TOPIC_0020092109__p58470580184039">Use either <strong id="EN-US_TOPIC_0020092109__b452454838">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b1944279961">image_tags</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row15885142772916"><td class="cellrowborder" valign="top" width="21.242124212421242%" headers="mcps1.3.4.2.1.3.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p172919315292">enterprise_project_id</p> <tr id="EN-US_TOPIC_0020092109__row15885142772916"><td class="cellrowborder" valign="top" width="21.242124212421242%" headers="mcps1.3.4.2.1.3.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p172919315292">enterprise_project_id</p>
@ -279,7 +279,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p22361635184130">Array of objects</p> <td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p22361635184130">Array of objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p66462038184130">Specifies tags of the image. This parameter is left blank by default. Use either <strong id="EN-US_TOPIC_0020092109__b131547018">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b1182503910">image_tags</strong>.</p> <td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p66462038184130">Specifies tags of the image. This parameter is left blank by default. Use either <strong id="EN-US_TOPIC_0020092109__b50159287">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b82067112">image_tags</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row44624222161131"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p57792233161131">type</p> <tr id="EN-US_TOPIC_0020092109__row44624222161131"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p57792233161131">type</p>
@ -300,7 +300,7 @@
<td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p29784476296">String</p> <td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p29784476296">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1246345212398">Specifies the enterprise project that the image belongs to.</p> <td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1246345212398">Specifies the enterprise project that the image belongs to.</p>
<ul id="EN-US_TOPIC_0020092109__ul9463252133912"><li id="EN-US_TOPIC_0020092109__li447935219394">If the value is <strong id="EN-US_TOPIC_0020092109__b1960460769">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0020092109__li64790525398">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0020092109__p13705743174014"><a name="EN-US_TOPIC_0020092109__li64790525398"></a><a name="li64790525398"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0020092109__i445082520593">Enterprise Management User Guide</em>.</p> <ul id="EN-US_TOPIC_0020092109__ul9463252133912"><li id="EN-US_TOPIC_0020092109__li447935219394">If the value is <strong id="EN-US_TOPIC_0020092109__b103545020">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0020092109__li64790525398">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0020092109__p13705743174014"><a name="EN-US_TOPIC_0020092109__li64790525398"></a><a name="li64790525398"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0020092109__i445082520593">Enterprise Management User Guide</em>.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>
@ -319,7 +319,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p483841659949">Integer</p> <td class="cellrowborder" valign="top" width="14.84%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p483841659949">Integer</p>
</td> </td>
<td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p268033079949">Specifies the minimum memory required by the image in the unit of MB. The default value is <strong id="EN-US_TOPIC_0020092109__b1700423428">0</strong>, indicating that the memory is not restricted.</p> <td class="cellrowborder" valign="top" width="41.55%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p268033079949">Specifies the minimum memory required by the image in the unit of MB. The default value is <strong id="EN-US_TOPIC_0020092109__b1370841310">0</strong>, indicating that the memory is not restricted.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row1564134318217"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p117131450152317">data_images</p> <tr id="EN-US_TOPIC_0020092109__row1564134318217"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p117131450152317">data_images</p>
@ -428,7 +428,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="47.33%" headers="mcps1.3.4.2.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0020092109__p136431422142919">Specifies tags of the image. The value is left blank by default.</p> <td class="cellrowborder" valign="top" width="47.33%" headers="mcps1.3.4.2.2.2.2.5.1.4 "><p id="EN-US_TOPIC_0020092109__p136431422142919">Specifies tags of the image. The value is left blank by default.</p>
<p id="EN-US_TOPIC_0020092109__p464362232913">For detailed parameter descriptions, see <a href="en-us_topic_0020092110.html">Image Tag Data Formats</a>.</p> <p id="EN-US_TOPIC_0020092109__p464362232913">For detailed parameter descriptions, see <a href="en-us_topic_0020092110.html">Image Tag Data Formats</a>.</p>
<p id="EN-US_TOPIC_0020092109__p1643132242910">Use either <strong id="EN-US_TOPIC_0020092109__b1920866761">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b1351934132">image_tags</strong>.</p> <p id="EN-US_TOPIC_0020092109__p1643132242910">Use either <strong id="EN-US_TOPIC_0020092109__b1154869512">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b1743446769">image_tags</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row3199194611262"><td class="cellrowborder" valign="top" width="23.599999999999998%" headers="mcps1.3.4.2.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0020092109__p156431022152917">image_tags</p> <tr id="EN-US_TOPIC_0020092109__row3199194611262"><td class="cellrowborder" valign="top" width="23.599999999999998%" headers="mcps1.3.4.2.2.2.2.5.1.1 "><p id="EN-US_TOPIC_0020092109__p156431022152917">image_tags</p>
@ -536,7 +536,7 @@
<td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p19992184322413">Array of strings</p> <td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p19992184322413">Array of strings</p>
</td> </td>
<td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1399213430241">Specifies tags of the image. This parameter is left blank by default.</p> <td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1399213430241">Specifies tags of the image. This parameter is left blank by default.</p>
<p id="EN-US_TOPIC_0020092109__p10992184302416">Use either <strong id="EN-US_TOPIC_0020092109__b1789793420">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b533148437">image_tags</strong>.</p> <p id="EN-US_TOPIC_0020092109__p10992184302416">Use either <strong id="EN-US_TOPIC_0020092109__b1400261953">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b849425367">image_tags</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row189015152240"><td class="cellrowborder" valign="top" width="17.938206179382064%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p89921243122410">image_tags</p> <tr id="EN-US_TOPIC_0020092109__row189015152240"><td class="cellrowborder" valign="top" width="17.938206179382064%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p89921243122410">image_tags</p>
@ -546,7 +546,7 @@
<td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p59931243112412">Array of objects</p> <td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p59931243112412">Array of objects</p>
</td> </td>
<td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p20170175335712">Specifies tags of the image. This parameter is left blank by default.</p> <td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p20170175335712">Specifies tags of the image. This parameter is left blank by default.</p>
<p id="EN-US_TOPIC_0020092109__p13993843182416">Use either <strong id="EN-US_TOPIC_0020092109__b387105198">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b888192425">image_tags</strong>.</p> <p id="EN-US_TOPIC_0020092109__p13993843182416">Use either <strong id="EN-US_TOPIC_0020092109__b1800190971">tags</strong> or <strong id="EN-US_TOPIC_0020092109__b856041641">image_tags</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0020092109__row290111572411"><td class="cellrowborder" valign="top" width="17.938206179382064%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p1399364310249">enterprise_project_id</p> <tr id="EN-US_TOPIC_0020092109__row290111572411"><td class="cellrowborder" valign="top" width="17.938206179382064%" headers="mcps1.3.4.2.3.1.1.5.1.1 "><p id="EN-US_TOPIC_0020092109__p1399364310249">enterprise_project_id</p>
@ -556,7 +556,7 @@
<td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p1399374317246">String</p> <td class="cellrowborder" valign="top" width="15.858414158584141%" headers="mcps1.3.4.2.3.1.1.5.1.3 "><p id="EN-US_TOPIC_0020092109__p1399374317246">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1999334392410">Specifies the enterprise project that the image belongs to.</p> <td class="cellrowborder" valign="top" width="49.81501849815018%" headers="mcps1.3.4.2.3.1.1.5.1.4 "><p id="EN-US_TOPIC_0020092109__p1999334392410">Specifies the enterprise project that the image belongs to.</p>
<ul id="EN-US_TOPIC_0020092109__ul1199394318242"><li id="EN-US_TOPIC_0020092109__li16993204342419">If the value is <strong id="EN-US_TOPIC_0020092109__b1369536458">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0020092109__li26962020105817">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0020092109__p1584912513425"><a name="EN-US_TOPIC_0020092109__li26962020105817"></a><a name="li26962020105817"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0020092109__i1668330791">Enterprise Management User Guide</em>.</p> <ul id="EN-US_TOPIC_0020092109__ul1199394318242"><li id="EN-US_TOPIC_0020092109__li16993204342419">If the value is <strong id="EN-US_TOPIC_0020092109__b625896859">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0020092109__li26962020105817">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0020092109__p1584912513425"><a name="EN-US_TOPIC_0020092109__li26962020105817"></a><a name="li26962020105817"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0020092109__i152265150">Enterprise Management User Guide</em>.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>

View File

@ -65,6 +65,7 @@
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p45758078205922">String</p> <td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p45758078205922">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p3545068711520">Specifies the job type.</p> <td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p3545068711520">Specifies the job type.</p>
<ul id="EN-US_TOPIC_0022473688__ul12384124515267"><li id="EN-US_TOPIC_0022473688__li1138484517262"><strong id="EN-US_TOPIC_0022473688__b64531157487">imsCreateImageByInstance</strong>: Creating a system disk image from a cloud server</li><li id="EN-US_TOPIC_0022473688__li188210493284"><strong id="EN-US_TOPIC_0022473688__b18130195719507">imsImportImageJob</strong>: Creating a system disk image from an external image file</li><li id="EN-US_TOPIC_0022473688__li688518492285"><strong id="EN-US_TOPIC_0022473688__b118927241517">imsImportOvaImageJob</strong>: Creating an image from an OVA image file</li><li id="EN-US_TOPIC_0022473688__li28882049112816"><strong id="EN-US_TOPIC_0022473688__b1470141175215">imsVolumeCreateImageJob</strong>: Creating a data disk image from a cloud server</li><li id="EN-US_TOPIC_0022473688__li7890249152812"><strong id="EN-US_TOPIC_0022473688__b54785571521">imsImportDataImageJob</strong>: Creating a data disk image from an external image file</li><li id="EN-US_TOPIC_0022473688__li1689212492286"><strong id="EN-US_TOPIC_0022473688__b19378195095310">imsCreateWholeImageByInstanceJob</strong>: Creating a full-ECS image from an ECS</li><li id="EN-US_TOPIC_0022473688__li188951149102817"><strong id="EN-US_TOPIC_0022473688__b1228825125413">imsCreateWholeImageByBackupJob</strong>: Creating a full-ECS image from a CBR or CSBS backup</li><li id="EN-US_TOPIC_0022473688__li8812131682910"><strong id="EN-US_TOPIC_0022473688__b1034043895516">imsNativeImportImageJob</strong>: Registering an image</li><li id="EN-US_TOPIC_0022473688__li58978497289"><strong id="EN-US_TOPIC_0022473688__b1458010415610">imsNativeExportImageJob</strong>: Exporting image</li><li id="EN-US_TOPIC_0022473688__li4773223102915"><strong id="EN-US_TOPIC_0022473688__b9297415125618">imsAddImageMembersJob</strong>: Adding tenants that can use a shared image</li><li id="EN-US_TOPIC_0022473688__li187261026142913"><strong id="EN-US_TOPIC_0022473688__b816342135616">imsDelImageMembersJob</strong>: Deleting tenants that can use a shared image</li><li id="EN-US_TOPIC_0022473688__li18899184932817"><strong id="EN-US_TOPIC_0022473688__b14767124155715">imsUpdateImageMembersJob</strong>: Updating status of tenants who will accept or reject shared images</li><li id="EN-US_TOPIC_0022473688__li1090118490284"><strong id="EN-US_TOPIC_0022473688__b15167161675013">imsCopyImageInRegionJob</strong>: Replicating images</li></ul>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0022473688__row5062073411520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p663876511520">begin_time</p> <tr id="EN-US_TOPIC_0022473688__row5062073411520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p663876511520">begin_time</p>
@ -108,7 +109,7 @@
</table> </table>
</div> </div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table791935535712"></a><a name="table791935535712"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table791935535712" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Data structure description of the entities field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row99193554577"><th align="left" class="cellrowborder" valign="top" width="23.522352235223522%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p208253244593"><strong id="EN-US_TOPIC_0022473688__b1629938249">Parameter</strong></p> <div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table791935535712"></a><a name="table791935535712"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table791935535712" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Data structure description of the entities field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row99193554577"><th align="left" class="cellrowborder" valign="top" width="23.522352235223522%" id="mcps1.3.4.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p208253244593"><strong id="EN-US_TOPIC_0022473688__b1520881867">Parameter</strong></p>
</th> </th>
<th align="left" class="cellrowborder" valign="top" width="21.67216721672167%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p118251624185918">Type</p> <th align="left" class="cellrowborder" valign="top" width="21.67216721672167%" id="mcps1.3.4.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p118251624185918">Type</p>
</th> </th>
@ -202,7 +203,7 @@
</table> </table>
</div> </div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table1966074735019"></a><a name="table1966074735019"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table1966074735019" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure description of the SubJobResult field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row1266120471506"><th align="left" class="cellrowborder" valign="top" width="17.301730173017297%" id="mcps1.3.4.2.1.4.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p48161954115114"><strong id="EN-US_TOPIC_0022473688__b1138019384">Parameter</strong></p> <div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table1966074735019"></a><a name="table1966074735019"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table1966074735019" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Data structure description of the SubJobResult field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row1266120471506"><th align="left" class="cellrowborder" valign="top" width="17.301730173017297%" id="mcps1.3.4.2.1.4.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p48161954115114"><strong id="EN-US_TOPIC_0022473688__b679670625">Parameter</strong></p>
</th> </th>
<th align="left" class="cellrowborder" valign="top" width="24.71247124712471%" id="mcps1.3.4.2.1.4.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p148161154105112">Type</p> <th align="left" class="cellrowborder" valign="top" width="24.71247124712471%" id="mcps1.3.4.2.1.4.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p148161154105112">Type</p>
</th> </th>
@ -215,7 +216,7 @@
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p115191302517">String</p> <td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.4.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p115191302517">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p59291507523">Specifies the sub-job status. The value can be:</p> <td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.4.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p59291507523">Specifies the sub-job status. The value can be:</p>
<ul id="EN-US_TOPIC_0022473688__ul1679414202528"><li id="EN-US_TOPIC_0022473688__li15794102035210"><strong id="EN-US_TOPIC_0022473688__b701156444">SUCCESS</strong>: The sub-job is successfully executed.</li><li id="EN-US_TOPIC_0022473688__li19794152015214"><strong id="EN-US_TOPIC_0022473688__b1963856295">FAIL</strong>: The sub-job failed to be executed.</li><li id="EN-US_TOPIC_0022473688__li164591145125217"><strong id="EN-US_TOPIC_0022473688__b632786758">RUNNING</strong>: The sub-job is in progress.</li><li id="EN-US_TOPIC_0022473688__li2794192005210"><strong id="EN-US_TOPIC_0022473688__b2036718612">INIT</strong>: The sub-job is being initialized.</li></ul> <ul id="EN-US_TOPIC_0022473688__ul1679414202528"><li id="EN-US_TOPIC_0022473688__li15794102035210"><strong id="EN-US_TOPIC_0022473688__b738894043">SUCCESS</strong>: The sub-job is successfully executed.</li><li id="EN-US_TOPIC_0022473688__li19794152015214"><strong id="EN-US_TOPIC_0022473688__b1219396142">FAIL</strong>: The sub-job failed to be executed.</li><li id="EN-US_TOPIC_0022473688__li164591145125217"><strong id="EN-US_TOPIC_0022473688__b1152609084">RUNNING</strong>: The sub-job is in progress.</li><li id="EN-US_TOPIC_0022473688__li2794192005210"><strong id="EN-US_TOPIC_0022473688__b284001845">INIT</strong>: The sub-job is being initialized.</li></ul>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0022473688__row1066294715012"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p125191206515">job_id</p> <tr id="EN-US_TOPIC_0022473688__row1066294715012"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.4.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p125191206515">job_id</p>
@ -272,7 +273,7 @@
</table> </table>
</div> </div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table294510331539"></a><a name="table294510331539"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table294510331539" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure description of the SubJobEntities field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row89504333535"><th align="left" class="cellrowborder" valign="top" width="17.69%" id="mcps1.3.4.2.1.5.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p19390121465414"><strong id="EN-US_TOPIC_0022473688__b1141805392">Parameter</strong></p> <div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table294510331539"></a><a name="table294510331539"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table294510331539" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Data structure description of the SubJobEntities field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row89504333535"><th align="left" class="cellrowborder" valign="top" width="17.69%" id="mcps1.3.4.2.1.5.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p19390121465414"><strong id="EN-US_TOPIC_0022473688__b1567405263">Parameter</strong></p>
</th> </th>
<th align="left" class="cellrowborder" valign="top" width="25.75%" id="mcps1.3.4.2.1.5.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p3390121405416">Type</p> <th align="left" class="cellrowborder" valign="top" width="25.75%" id="mcps1.3.4.2.1.5.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p3390121405416">Type</p>
</th> </th>

View File

@ -148,7 +148,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p238232615384"><strong id="EN-US_TOPIC_0022473689__b84235270614571">forceCreate</strong> must be set to <strong id="EN-US_TOPIC_0022473689__b84235270614575">true</strong>.</p> <td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p238232615384"><strong id="EN-US_TOPIC_0022473689__b84235270614571">forceCreate</strong> must be set to <strong id="EN-US_TOPIC_0022473689__b84235270614575">true</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p48365908115557"><strong id="EN-US_TOPIC_0022473689__b1276955632">forceCreate</strong> must be set to <strong id="EN-US_TOPIC_0022473689__b2007142515">true</strong>.</p> <td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p48365908115557"><strong id="EN-US_TOPIC_0022473689__b1126468073">forceCreate</strong> must be set to <strong id="EN-US_TOPIC_0022473689__b1580618844">true</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p1668942653519">Set <strong id="EN-US_TOPIC_0022473689__b842352706144656">forceCreate</strong> to <strong id="EN-US_TOPIC_0022473689__b842352706144659">true</strong>.</p> <td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p1668942653519">Set <strong id="EN-US_TOPIC_0022473689__b842352706144656">forceCreate</strong> to <strong id="EN-US_TOPIC_0022473689__b842352706144659">true</strong>.</p>
</td> </td>
@ -423,7 +423,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p177291826133819">An error occurred when the value of <strong id="EN-US_TOPIC_0022473689__b84235270616410">asumeToken</strong> was obtained.</p> <td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p177291826133819">An error occurred when the value of <strong id="EN-US_TOPIC_0022473689__b84235270616410">asumeToken</strong> was obtained.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p38564288115557">An error occurred when the value of <strong id="EN-US_TOPIC_0022473689__b2044536589">asumeToken</strong> was obtained. </p> <td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p38564288115557">An error occurred when the value of <strong id="EN-US_TOPIC_0022473689__b1543312649">asumeToken</strong> was obtained. </p>
</td> </td>
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p15689142643517">Contact technical support.</p> <td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p15689142643517">Contact technical support.</p>
</td> </td>
@ -553,11 +553,11 @@
</td> </td>
<td class="cellrowborder" valign="top" width="12.07%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0022473689__p64262004114454">IMG.0056</p> <td class="cellrowborder" valign="top" width="12.07%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0022473689__p64262004114454">IMG.0056</p>
</td> </td>
<td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p20573275381">The OS type is invalid.</p> <td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p20573275381">Invalid OS version.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p11746740115557">The OS type is invalid.</p> <td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p11746740115557">The OS version is invalid.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p18690142617356">Select Windows or Linux.</p> <td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p18690142617356">Select a valid OS version.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0022473689__row63082147114422"><td class="cellrowborder" valign="top" width="10.14%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0022473689__p15574713198">400</p> <tr id="EN-US_TOPIC_0022473689__row63082147114422"><td class="cellrowborder" valign="top" width="10.14%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0022473689__p15574713198">400</p>
@ -1403,7 +1403,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p2024152893812">The value of <strong id="EN-US_TOPIC_0022473689__b842352706163246">hw_firmware_type</strong> is not <strong id="EN-US_TOPIC_0022473689__b842352706163251">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b84235270616331">bios</strong>.</p> <td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p2024152893812">The value of <strong id="EN-US_TOPIC_0022473689__b842352706163246">hw_firmware_type</strong> is not <strong id="EN-US_TOPIC_0022473689__b842352706163251">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b84235270616331">bios</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p126659281813">The value of <strong id="EN-US_TOPIC_0022473689__b1731204438">hw_firmware_type</strong> is not <strong id="EN-US_TOPIC_0022473689__b728398658">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b908055139">bios</strong>.</p> <td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p126659281813">The value of <strong id="EN-US_TOPIC_0022473689__b1288566849">hw_firmware_type</strong> is not <strong id="EN-US_TOPIC_0022473689__b788821940">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b1685328973">bios</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p2069202603512">Set <strong id="EN-US_TOPIC_0022473689__b84235270617416">hw_firmware_type</strong> to <strong id="EN-US_TOPIC_0022473689__b84235270617419">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b842352706174119">bios</strong>.</p> <td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p2069202603512">Set <strong id="EN-US_TOPIC_0022473689__b84235270617416">hw_firmware_type</strong> to <strong id="EN-US_TOPIC_0022473689__b84235270617419">uefi</strong> or <strong id="EN-US_TOPIC_0022473689__b842352706174119">bios</strong>.</p>
</td> </td>
@ -1918,11 +1918,11 @@
</td> </td>
<td class="cellrowborder" valign="top" width="12.07%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0022473689__p19880193105218">IMG.0212</p> <td class="cellrowborder" valign="top" width="12.07%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0022473689__p19880193105218">IMG.0212</p>
</td> </td>
<td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p1688018375215">The value of <strong id="EN-US_TOPIC_0022473689__b414610161119">architecture</strong> is not <strong id="EN-US_TOPIC_0022473689__b18881738528">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b1888116311528">arm</strong>.</p> <td class="cellrowborder" valign="top" width="28.4%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0022473689__p1688018375215">The value of <strong id="EN-US_TOPIC_0022473689__b414610161119">Architecture</strong> must be <strong id="EN-US_TOPIC_0022473689__b18881738528">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b1888116311528">Arm</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p38807320524">The value of <strong id="EN-US_TOPIC_0022473689__b59004570">architecture</strong> is not <strong id="EN-US_TOPIC_0022473689__b697918377">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b205445824">arm</strong>.</p> <td class="cellrowborder" valign="top" width="22.33%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0022473689__p38807320524">The value of <strong id="EN-US_TOPIC_0022473689__b1730394743">Architecture</strong> must be <strong id="EN-US_TOPIC_0022473689__b1345313753">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b1504011848">Arm</strong>.</p>
</td> </td>
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p158819310521">Set <strong id="EN-US_TOPIC_0022473689__b596752757">architecture</strong> to <strong id="EN-US_TOPIC_0022473689__b1029730106">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b1574205135">arm</strong>.</p> <td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0022473689__p158819310521">Set <strong id="EN-US_TOPIC_0022473689__b1381588187">Architecture</strong> to <strong id="EN-US_TOPIC_0022473689__b829020806">x86</strong> or <strong id="EN-US_TOPIC_0022473689__b985574639">arm</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0022473689__row1192582863911"><td class="cellrowborder" valign="top" width="10.14%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0022473689__p1798655413919">400</p> <tr id="EN-US_TOPIC_0022473689__row1192582863911"><td class="cellrowborder" valign="top" width="10.14%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0022473689__p1798655413919">400</p>

View File

@ -8,7 +8,15 @@
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody><tr id="EN-US_TOPIC_0024735403__row11271181552419"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p1727241518249">2023-02-01</p> <tbody><tr id="EN-US_TOPIC_0024735403__row123795813115"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p1538145851111">2023-03-23</p>
</td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p1265217516395">Added the following content:</p>
<p id="EN-US_TOPIC_0024735403__p1952612873913"><a href="en-us_topic_0171654733.html">Introduction</a></p>
<p id="EN-US_TOPIC_0024735403__p19250193413121">Modified the following content:</p>
<ul id="EN-US_TOPIC_0024735403__ul310765411112"><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li721917357369">Deleted the description of the <strong id="EN-US_TOPIC_0024735403__b0801101718149">all_granted_eps</strong> value for the <strong id="EN-US_TOPIC_0024735403__b138012017181417">enterprise_project_id</strong> parameter in <a href="en-us_topic_0067360382.html">Querying Tags</a>.</li><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li37828143176">Added specific jobs in <a href="en-us_topic_0022473688.html">Asynchronous Job Query</a>.</li><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li177821014151710">Updated <strong id="EN-US_TOPIC_0024735403__b562618232149">created_at</strong> for <strong id="EN-US_TOPIC_0024735403__b16626142315144">sort_key</strong> in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li136818016372">Added a note for the <strong id="EN-US_TOPIC_0024735403__b1825212511143">tags</strong> parameter in <a href="en-us_topic_0031615565.html">Creating Image Metadata (Native OpenStack API)</a> to describe the tag format.</li><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li748117701110">Added enterprise project permissions for image registration in <a href="en-us_topic_0125866390.html">Image Management</a>.</li><li id="EN-US_TOPIC_0024735403__en-us_topic_0161329695_li347886131814">Updated the description of the error code IMG.0056 in <a href="en-us_topic_0022473689.html">Error Codes</a>.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0024735403__row11271181552419"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p1727241518249">2023-02-01</p>
</td> </td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p15272111542419">Modified the following content:</p> <td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p15272111542419">Modified the following content:</p>
<ul id="EN-US_TOPIC_0024735403__ul5789141672519"><li id="EN-US_TOPIC_0024735403__li1478915161254">Changed Redhat to Red Hat in <a href="en-us_topic_0020091565.html">Querying Images</a>, <a href="en-us_topic_0020091567.html">Updating Image Information</a>, <a href="en-us_topic_0020092109.html">Creating an Image</a>, <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>, <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>, and <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li16634551454">Added the restriction on the message body size for AK/SK authentication in section <a href="en-us_topic_0031615566.html">Uploading an Image (Native OpenStack API)</a>.</li></ul> <ul id="EN-US_TOPIC_0024735403__ul5789141672519"><li id="EN-US_TOPIC_0024735403__li1478915161254">Changed Redhat to Red Hat in <a href="en-us_topic_0020091565.html">Querying Images</a>, <a href="en-us_topic_0020091567.html">Updating Image Information</a>, <a href="en-us_topic_0020092109.html">Creating an Image</a>, <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>, <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>, and <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li16634551454">Added the restriction on the message body size for AK/SK authentication in section <a href="en-us_topic_0031615566.html">Uploading an Image (Native OpenStack API)</a>.</li></ul>
@ -47,7 +55,7 @@
<tr id="EN-US_TOPIC_0024735403__row163017395206"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p030739142018">2020-08-12</p> <tr id="EN-US_TOPIC_0024735403__row163017395206"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p030739142018">2020-08-12</p>
</td> </td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p43083914204">Modified the following content:</p> <td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p43083914204">Modified the following content:</p>
<div class="p" id="EN-US_TOPIC_0024735403__p7507195882116">A CBR backup can be used to create a full-ECS image. The following changes are involved:<ul id="EN-US_TOPIC_0024735403__ul1450725812118"><li id="EN-US_TOPIC_0024735403__li20507115820213">Added the <strong id="EN-US_TOPIC_0024735403__b177614546211">vault_id</strong> and <strong id="EN-US_TOPIC_0024735403__b15761954327">whole_image_type</strong> fields and updated the example request in <a href="en-us_topic_0092380109.html">Creating a Full-ECS Image</a>.</li><li id="EN-US_TOPIC_0024735403__li145071258122119">Added the <strong id="EN-US_TOPIC_0024735403__b486114865">vault_id</strong> field and updated the example request in <a href="en-us_topic_0036994323.html">Updating the Status of Image Members in Batches</a>.</li><li id="EN-US_TOPIC_0024735403__li850785819218">Added the <strong id="EN-US_TOPIC_0024735403__b667203743">vault_id</strong> field and updated the example request in <a href="en-us_topic_0036994318.html">Updating the Image Sharing Status in Batches (Native OpenStack API)</a>.</li></ul> <div class="p" id="EN-US_TOPIC_0024735403__p7507195882116">A CBR backup can be used to create a full-ECS image. The following changes are involved:<ul id="EN-US_TOPIC_0024735403__ul1450725812118"><li id="EN-US_TOPIC_0024735403__li20507115820213">Added the <strong id="EN-US_TOPIC_0024735403__b177614546211">vault_id</strong> and <strong id="EN-US_TOPIC_0024735403__b15761954327">whole_image_type</strong> fields and updated the example request in <a href="en-us_topic_0092380109.html">Creating a Full-ECS Image</a>.</li><li id="EN-US_TOPIC_0024735403__li145071258122119">Added the <strong id="EN-US_TOPIC_0024735403__b951686253">vault_id</strong> field and updated the example request in <a href="en-us_topic_0036994323.html">Updating the Status of Image Members in Batches</a>.</li><li id="EN-US_TOPIC_0024735403__li850785819218">Added the <strong id="EN-US_TOPIC_0024735403__b1071472749">vault_id</strong> field and updated the example request in <a href="en-us_topic_0036994318.html">Updating the Image Sharing Status in Batches (Native OpenStack API)</a>.</li></ul>
</div> </div>
</td> </td>
</tr> </tr>
@ -78,7 +86,7 @@
<tr id="EN-US_TOPIC_0024735403__row831118351102"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p8311153516105">2019-01-30</p> <tr id="EN-US_TOPIC_0024735403__row831118351102"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p8311153516105">2019-01-30</p>
</td> </td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p1231183510103">Modified the following content:</p> <td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="EN-US_TOPIC_0024735403__p1231183510103">Modified the following content:</p>
<ul id="EN-US_TOPIC_0024735403__ul57411758141013"><li id="EN-US_TOPIC_0024735403__li2741158111010">Added parameter <strong id="EN-US_TOPIC_0024735403__b964711818">_support_fc_inject</strong> in <a href="en-us_topic_0020091565.html">Querying Images</a>, <a href="en-us_topic_0020091567.html">Updating Image Information</a>, <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>, <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>, and <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li19209154885111">Modified <a href="en-us_topic_0020092109.html">Creating an Image</a> to allow users to create system disk images using data disks.</li><li id="EN-US_TOPIC_0024735403__li858955642316">Added "Common Query Methods" in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li1439917324365">Added a note for parameter <strong id="EN-US_TOPIC_0024735403__b842352706111445">visibility</strong> in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li></ul> <ul id="EN-US_TOPIC_0024735403__ul57411758141013"><li id="EN-US_TOPIC_0024735403__li2741158111010">Added parameter <strong id="EN-US_TOPIC_0024735403__b1974466419">_support_fc_inject</strong> in <a href="en-us_topic_0020091565.html">Querying Images</a>, <a href="en-us_topic_0020091567.html">Updating Image Information</a>, <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>, <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>, and <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li19209154885111">Modified <a href="en-us_topic_0020092109.html">Creating an Image</a> to allow users to create system disk images using data disks.</li><li id="EN-US_TOPIC_0024735403__li858955642316">Added "Common Query Methods" in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li1439917324365">Added a note for parameter <strong id="EN-US_TOPIC_0024735403__b842352706111445">visibility</strong> in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li></ul>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0024735403__row1935333110248"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p158992381241">2018-09-30</p> <tr id="EN-US_TOPIC_0024735403__row1935333110248"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p158992381241">2018-09-30</p>
@ -191,7 +199,7 @@
</tr> </tr>
<tr id="EN-US_TOPIC_0024735403__row31479832144445"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p49508284144448">2017-02-08</p> <tr id="EN-US_TOPIC_0024735403__row31479832144445"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p49508284144448">2017-02-08</p>
</td> </td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><div class="p" id="EN-US_TOPIC_0024735403__p393712142477">Modified the following content:<ul id="EN-US_TOPIC_0024735403__ul1534777382"><li id="EN-US_TOPIC_0024735403__li3341477385">Updated the values of <strong id="EN-US_TOPIC_0024735403__b99978667">__os_version</strong>.</li></ul> <td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><div class="p" id="EN-US_TOPIC_0024735403__p393712142477">Modified the following content:<ul id="EN-US_TOPIC_0024735403__ul1534777382"><li id="EN-US_TOPIC_0024735403__li3341477385">Updated the values of <strong id="EN-US_TOPIC_0024735403__b87630675">__os_version</strong>.</li></ul>
</div> </div>
</td> </td>
</tr> </tr>
@ -213,7 +221,7 @@
</tr> </tr>
<tr id="EN-US_TOPIC_0024735403__row30602430232750"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p35047992102927">2016-10-29</p> <tr id="EN-US_TOPIC_0024735403__row30602430232750"><td class="cellrowborder" valign="top" width="27.07%" headers="mcps1.3.1.1.3.1.1 "><p id="EN-US_TOPIC_0024735403__p35047992102927">2016-10-29</p>
</td> </td>
<td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><div class="p" id="EN-US_TOPIC_0024735403__p606485719151">Added the following content:<ul id="EN-US_TOPIC_0024735403__ul89662359151"><li id="EN-US_TOPIC_0024735403__li135872589151">Added the <strong id="EN-US_TOPIC_0024735403__b84235270695333">__is_config_init</strong> response parameter in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li551764669151">Added the <strong id="EN-US_TOPIC_0024735403__b1756789662">__is_config_init</strong> response parameter in <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li268261469151">Added the <strong id="EN-US_TOPIC_0024735403__b1255422205">__is_config_init</strong> response parameter in <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li401087249151">Added parameter <strong id="EN-US_TOPIC_0024735403__b84235270619456">is_config_init</strong> to the request body in <a href="en-us_topic_0020092109.html">Creating an Image</a>. This parameter is mandatory when an image file uploaded to the OBS bucket is used to create an image.</li></ul> <td class="cellrowborder" valign="top" width="72.92999999999999%" headers="mcps1.3.1.1.3.1.2 "><div class="p" id="EN-US_TOPIC_0024735403__p606485719151">Added the following content:<ul id="EN-US_TOPIC_0024735403__ul89662359151"><li id="EN-US_TOPIC_0024735403__li135872589151">Added the <strong id="EN-US_TOPIC_0024735403__b84235270695333">__is_config_init</strong> response parameter in <a href="en-us_topic_0060804959.html">Querying Images (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li551764669151">Added the <strong id="EN-US_TOPIC_0024735403__b1164506898">__is_config_init</strong> response parameter in <a href="en-us_topic_0020091566.html">Querying Image Details (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li268261469151">Added the <strong id="EN-US_TOPIC_0024735403__b565167315">__is_config_init</strong> response parameter in <a href="en-us_topic_0060804960.html">Updating Image Information (Native OpenStack API)</a>.</li><li id="EN-US_TOPIC_0024735403__li401087249151">Added parameter <strong id="EN-US_TOPIC_0024735403__b84235270619456">is_config_init</strong> to the request body in <a href="en-us_topic_0020092109.html">Creating an Image</a>. This parameter is mandatory when an image file uploaded to the OBS bucket is used to create an image.</li></ul>
</div> </div>
</td> </td>
</tr> </tr>

View File

@ -52,7 +52,7 @@
</td> </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 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>
<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__b715051638">false</strong>.</p> <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__b32660990">false</strong>.</p>
</td> </td>
</tr> </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> <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>
@ -62,7 +62,7 @@
<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 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>
<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> <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__b2070966366">bare</strong>.</p> <p id="EN-US_TOPIC_0031615565__p10784283153646">The default value is <strong id="EN-US_TOPIC_0031615565__b210932848">bare</strong>.</p>
</td> </td>
</tr> </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> <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>
@ -81,6 +81,9 @@
<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 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>
<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> <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> </td>
</tr> </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> <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>
@ -89,7 +92,7 @@
</td> </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 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>
<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__b931008288">0</strong>.</p> <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__b252141496">0</strong>.</p>
</td> </td>
</tr> </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> <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>
@ -105,9 +108,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="note" id="EN-US_TOPIC_0031615565__note11264121815532"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0031615565__p0264101875310">Parameters in the request body are strings of no more than 255 characters, and their values can be left blank. Example:</p>
<pre class="screen" id="EN-US_TOPIC_0031615565__screen4360105615416">"key": "value"</pre>
</div></div>
</li><li id="EN-US_TOPIC_0031615565__li3019100153723">Example request<pre class="codeblock" id="EN-US_TOPIC_0031615565__codeblock27402193144828">POST https://{Endpoint}/v2/images</pre> </li><li id="EN-US_TOPIC_0031615565__li3019100153723">Example request<pre class="codeblock" id="EN-US_TOPIC_0031615565__codeblock27402193144828">POST https://{Endpoint}/v2/images</pre>
<pre class="screen" id="EN-US_TOPIC_0031615565__screen21310128213346">{ <pre class="screen" id="EN-US_TOPIC_0031615565__screen21310128213346">{
"__os_version": "Ubuntu 14.04 server 64bit", "__os_version": "Ubuntu 14.04 server 64bit",
@ -117,8 +117,8 @@
"min_ram": 1024, "min_ram": 1024,
"name": "test", "name": "test",
"tags": [ "tags": [
"test", "test=testvalue",
"image" "image=imagevalue"
], ],
"visibility": "private", "visibility": "private",
"protected": false "protected": false
@ -160,7 +160,7 @@
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p64274239153746">String</p> <td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p64274239153746">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p3986378091022">Specifies the container format.</p> <td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.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__b87875208">bare</strong>.</p> <p id="EN-US_TOPIC_0031615565__p2322970491022">The value is <strong id="EN-US_TOPIC_0031615565__b465477025">bare</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0031615565__row58291220153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p23968345153746">disk_format</p> <tr id="EN-US_TOPIC_0031615565__row58291220153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p23968345153746">disk_format</p>
@ -259,7 +259,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p53402269153746">String</p> <td class="cellrowborder" valign="top" width="22.85%" headers="mcps1.3.4.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0031615565__p53402269153746">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.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__b1132122253">true</strong>.</p> <td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.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__b1446311599">true</strong>.</p>
</td> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0031615565__row64019507153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p18197556153746">__os_version</p> <tr id="EN-US_TOPIC_0031615565__row64019507153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p18197556153746">__os_version</p>
@ -303,7 +303,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0031615565__p9933162153746">Specifies the platform type.</p> <td class="cellrowborder" valign="top" width="40.79%" headers="mcps1.3.4.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> <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 a 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__text1388649980"></span><span id="EN-US_TOPIC_0031615565__text1962244984">BMS</span> image, the value is <strong id="EN-US_TOPIC_0031615565__b683560370">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> <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 a 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__text323922493"></span><span id="EN-US_TOPIC_0031615565__text918454229">BMS</span> image, the value is <strong id="EN-US_TOPIC_0031615565__b1901877362">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> </td>
</tr> </tr>
<tr id="EN-US_TOPIC_0031615565__row66388651153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p8771616153746">owner</p> <tr id="EN-US_TOPIC_0031615565__row66388651153746"><td class="cellrowborder" valign="top" width="36.36%" headers="mcps1.3.4.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0031615565__p8771616153746">owner</p>
@ -371,8 +371,9 @@
"visibility": "private", "visibility": "private",
"virtual_env_type": "FusionCompute", "virtual_env_type": "FusionCompute",
"tags": [ "tags": [
"test", "test=testvalue",
"image" "image=imagevalue"
], ],
"__platform": "Ubuntu", "__platform": "Ubuntu",
"__os_bit": "64", "__os_bit": "64",

View File

@ -5,7 +5,7 @@
<div class="note" id="EN-US_TOPIC_0036994315__note666119145185"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0036994315__p26613144183">Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.</p> <div class="note" id="EN-US_TOPIC_0036994315__note666119145185"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0036994315__p26613144183">Before exporting an image, ensure that you have the Tenant Administrator permission for OBS.</p>
</div></div> </div></div>
</div> </div>
<div class="section" id="EN-US_TOPIC_0036994315__section921963105411"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_ul3544255069"><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li1754519555613">The following private images cannot be exported:<ul id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_ul3991132155017"><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li19476191413112">Full-ECS images</li><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li4006317915441">Private images created from a Windows, SUSE, Red Hat, Ubuntu, or Oracle Linux public image</li></ul> <div class="section" id="EN-US_TOPIC_0036994315__section921963105411"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_ul3544255069"><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li1754519555613">The following private images cannot be exported:<ul id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_ul3991132155017"><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li19476191413112">Full-ECS images</li><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li4006317915441"><span id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_ph112785316171">Private images created from a Windows, SUSE, Red Hat, Ubuntu, or Oracle Linux public image</span></li></ul>
</li><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li5325121314326">The image size must be less than 1 TB. Images larger than 128 GB support only fast export.</li></ul> </li><li id="EN-US_TOPIC_0036994315__en-us_topic_0034011241_li5325121314326">The image size must be less than 1 TB. Images larger than 128 GB support only fast export.</li></ul>
</div> </div>
<div class="section" id="EN-US_TOPIC_0036994315__section66620681154747"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0036994315__p1631075693910">POST /v1/cloudimages/{image_id}/file</p> <div class="section" id="EN-US_TOPIC_0036994315__section66620681154747"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0036994315__p1631075693910">POST /v1/cloudimages/{image_id}/file</p>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +0,0 @@
<a name="EN-US_TOPIC_0121671868"></a><a name="EN-US_TOPIC_0121671868"></a>
<h1 class="topictitle1">Calling APIs</h1>
<div id="body1531451523290"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0121682347.html">Making an API Request</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0121671869.html">Authentication</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0170155703.html">Response</a></strong><br>
</li>
</ul>
</div>

View File

@ -1,59 +0,0 @@
<a name="EN-US_TOPIC_0121671869"></a><a name="EN-US_TOPIC_0121671869"></a>
<h1 class="topictitle1">Authentication</h1>
<div id="body1531451523290"><div class="p" id="EN-US_TOPIC_0121671869__p26613555143846">Requests for calling an API can be authenticated using either of the following methods:<ul id="EN-US_TOPIC_0121671869__ul38195410143846"><li id="EN-US_TOPIC_0121671869__li8214375143846">Token authentication: Requests are authenticated using tokens.</li><li id="EN-US_TOPIC_0121671869__li61384639143846">AK/SK authentication: Requests are encrypted using AK/SK pairs. AK/SK authentication is recommended because it is more secure than token authentication.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0121671869__section2417768214391"><h4 class="sectiontitle">Token Authentication</h4><div class="note" id="EN-US_TOPIC_0121671869__note133321911123"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0121671869__p1254514271026">The validity period of a token is 24 hours. When using a token for authentication, cache it to prevent frequently calling the IAM API used to obtain a user token.</p>
</div></div>
<p id="EN-US_TOPIC_0121671869__p24084172174">A token specifies temporary permissions in a computer system. During API authentication using a token, the token is added to requests to get permissions for calling the API. You can obtain a token by calling the <a href="https://docs.otc.t-systems.com/en-us/api/iam/en-us_topic_0057845583.html" target="_blank" rel="noopener noreferrer">Obtaining User Token</a> API.</p>
<div class="p" id="EN-US_TOPIC_0121671869__p1478102521719">A cloud service can be deployed as either a project-level service or global service.<ul id="EN-US_TOPIC_0121671869__ul1142883320175"><li id="EN-US_TOPIC_0121671869__li14281733181719">For a project-level service, you need to obtain a project-level token. When you call the API, set <strong id="EN-US_TOPIC_0121671869__b16234131819310">auth.scope</strong> in the request body to <strong id="EN-US_TOPIC_0121671869__b11354326153117">project</strong>.</li><li id="EN-US_TOPIC_0121671869__li1942814333179">For a global service, you need to obtain a global token. When you call the API, set <strong id="EN-US_TOPIC_0121671869__b1690782318467">auth.scope</strong> in the request body to <strong id="EN-US_TOPIC_0121671869__b16907132334618">domain</strong>.</li></ul>
</div>
<p id="EN-US_TOPIC_0121671869__p18703477214">IMS is a project-level service. When you call the API, set <strong id="EN-US_TOPIC_0121671869__b1442622113014">auth.scope</strong> in the request body to <strong id="EN-US_TOPIC_0121671869__b9433321123019">project</strong>.</p>
<pre class="screen" id="EN-US_TOPIC_0121671869__screen1830175615316">{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"name": "<em id="EN-US_TOPIC_0121671869__i315217719194"><strong id="EN-US_TOPIC_0121671869__b14500116161919">username</strong></em>",
"password": "<strong id="EN-US_TOPIC_0121671869__b2559181251918"><em id="EN-US_TOPIC_0121671869__i12803128192">********</em></strong>",
"domain": {
"name": "<em id="EN-US_TOPIC_0121671869__i1560271681911"><strong id="EN-US_TOPIC_0121671869__b17173191614194">domainname</strong></em>"
}
}
}
},
<strong id="EN-US_TOPIC_0121671869__b28781733191612">"scope": {</strong>
<strong id="EN-US_TOPIC_0121671869__b18664134414161">"project": {</strong>
<strong id="EN-US_TOPIC_0121671869__b145484513165">"name": "<em id="EN-US_TOPIC_0121671869__i4548165119166">xxxxxxxx</em>"</strong>
<strong id="EN-US_TOPIC_0121671869__b5551165531613">}</strong>
<strong id="EN-US_TOPIC_0121671869__b18740155861611">}</strong>
}
}</pre>
<p id="EN-US_TOPIC_0121671869__p9691122114266">After a token is obtained, the <strong id="EN-US_TOPIC_0121671869__b147976273481">X-Auth-Token</strong> header field must be added to requests to specify the token when calling other APIs. For example, if the token is <span class="parmvalue" id="EN-US_TOPIC_0121671869__parmvalue36546471362"><b>ABCDEFJ....</b></span>, <span class="parmvalue" id="EN-US_TOPIC_0121671869__parmvalue10655144717611"><b>X-Auth-Token: ABCDEFJ....</b></span> can be added to a request as follows:</p>
<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0121671869__screen11189101154015"><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></pre></div></td><td class="code"><div><pre><span></span><span class="n">POST</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="c1">//{{endpoint}}/v3/auth/projects</span>
<span class="n">Content</span><span class="o">-</span><span class="n">Type</span><span class="p">:</span><span class="w"> </span><span class="n">application</span><span class="o">/</span><span class="n">json</span>
<span class="n">X</span><span class="o">-</span><span class="n">Auth</span><span class="o">-</span><span class="n">Token</span><span class="p">:</span><span class="w"> </span><span class="n">ABCDEFJ</span><span class="p">....</span>
</pre></div></td></tr></table></div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0121671869__section5887143815518"><h4 class="sectiontitle">AK/SK Authentication</h4><div class="note" id="EN-US_TOPIC_0121671869__note26801820183918"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0121671869__p12680102053918">AK/SK authentication supports API requests with a body not larger than 12 MB. For API requests with a larger body, token authentication is recommended.</p>
</div></div>
<p id="EN-US_TOPIC_0121671869__p171211559122516">In AK/SK authentication, AK/SK is used to sign requests and the signature is then added to the requests for authentication.</p>
<ul id="EN-US_TOPIC_0121671869__ul9783543561"><li id="EN-US_TOPIC_0121671869__li8787541560">AK: access key ID, which is a unique identifier used in conjunction with a secret access key to sign requests cryptographically.</li><li id="EN-US_TOPIC_0121671869__li47917548569">SK: secret access key, which is used in conjunction with an AK to sign requests cryptographically. It identifies a request sender and prevents the request from being modified.</li></ul>
<p id="EN-US_TOPIC_0121671869__p1866949103516">In AK/SK authentication, you can use an AK/SK to sign requests based on the signature algorithm or using the signing SDK. </p>
<div class="note" id="EN-US_TOPIC_0121671869__note1225618420315"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0121671869__p1325674263111">The signing SDK is only used for signing requests and is different from the SDKs provided by services.</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0121671868.html">Calling APIs</a></div>
</div>
</div>

View File

@ -1,53 +0,0 @@
<a name="EN-US_TOPIC_0121673684"></a><a name="EN-US_TOPIC_0121673684"></a>
<h1 class="topictitle1">Obtaining a Project ID</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0121673684__section1876711368114"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0121673684__p177063681115">A project ID is required for some URLs when an API is called. Therefore, you need to obtain a project ID in advance. Two methods are available:</p>
<ul id="EN-US_TOPIC_0121673684__ul2770123611111"><li id="EN-US_TOPIC_0121673684__li157701436141116"><a href="#EN-US_TOPIC_0121673684__section86806471133">Obtain the Project ID by Calling an API</a></li><li id="EN-US_TOPIC_0121673684__li07701836121118"><a href="#EN-US_TOPIC_0121673684__section32975495318">Obtain the Project ID from the Console</a></li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0121673684__section86806471133"><a name="EN-US_TOPIC_0121673684__section86806471133"></a><a name="section86806471133"></a><h4 class="sectiontitle">Obtain the Project ID by Calling an API</h4><p id="EN-US_TOPIC_0121673684__p31183326524">You can obtain the project ID by calling the IAM API used to query project information based on the specified criteria.</p>
<p id="EN-US_TOPIC_0121673684__p857314915139">The API used to obtain a project ID is GET https://{Endpoint}/v3/projects. {Endpoint} is the IAM endpoint and can be obtained from . For details about API authentication, see <a href="en-us_topic_0121671869.html">Authentication</a>.</p>
<p id="EN-US_TOPIC_0121673684__p3770181514218">The following is an example response. The value of <strong id="EN-US_TOPIC_0121673684__b842352706123544">id</strong> is the project ID.</p>
<pre class="screen" id="EN-US_TOPIC_0121673684__screen14199113161316">{
"projects": [
{
"domain_id": "65382450e8f64ac0870cd180d14e684b",
"is_domain": false,
"parent_id": "65382450e8f64ac0870cd180d14e684b",
"name": "project_name",
"description": "",
"links": {
"next": null,
"previous": null,
"self": "https://www.example.com/v3/projects/a4a5d4098fb4474fa22cd05f897d6b99"
},
"id": "a4a5d4098fb4474fa22cd05f897d6b99",
"enabled": true
}
],
"links": {
"next": null,
"previous": null,
"self": "https://www.example.com/v3/projects"
}
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0121673684__section32975495318"><a name="EN-US_TOPIC_0121673684__section32975495318"></a><a name="section32975495318"></a><h4 class="sectiontitle">Obtain a Project ID from the Console</h4><div class="p" id="EN-US_TOPIC_0121673684__p1356864351018">A project ID needs to be specified in the URIs of some APIs. Therefore, you need to obtain the project ID before calling APIs. The following procedure describes how to obtain a project ID:<ol id="EN-US_TOPIC_0121673684__ol7453556171010"><li id="EN-US_TOPIC_0121673684__li645315621018">Log in to the management console.</li><li id="EN-US_TOPIC_0121673684__li142001547118">Click the username and select <strong id="EN-US_TOPIC_0121673684__b10350181718117">My Credentials</strong> from the drop-down list.<p id="EN-US_TOPIC_0121673684__p13639183110119">On the <strong id="EN-US_TOPIC_0121673684__b19682129101113">My Credentials</strong> page, view project IDs in the project list.</p>
<div class="fignone" id="EN-US_TOPIC_0121673684__fig12841949131317"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="EN-US_TOPIC_0121673684__image1184449141315" src="en-us_image_0000001508295281.png" title="Click to enlarge" class="imgResize"></span></div>
<p id="EN-US_TOPIC_0121673684__p55531521415">In multi-project scenarios, expand the region, and obtain your sub-project ID from the <strong id="EN-US_TOPIC_0121673684__b314916613146">Project ID</strong> column.</p>
</li></ol>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0135481403.html">Common Parameters</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,8 @@
<div id="body1534124160086"></div> <div id="body1534124160086"></div>
<div> <div>
<ul class="ullinks"> <ul class="ullinks">
<li class="ulchildlink"><strong><a href="en-us_topic_0171654733.html">Introduction</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125866390.html">Image Management</a></strong><br> <li class="ulchildlink"><strong><a href="en-us_topic_0125866390.html">Image Management</a></strong><br>
</li> </li>
<li class="ulchildlink"><strong><a href="en-us_topic_0125866391.html">Image Tagging</a></strong><br> <li class="ulchildlink"><strong><a href="en-us_topic_0125866391.html">Image Tagging</a></strong><br>

View File

@ -91,7 +91,7 @@
<tr id="EN-US_TOPIC_0125866390__row1567271453812"><td class="cellrowborder" valign="top" width="15.048495150484948%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866390__p9460114953911">Registering an Image</p> <tr id="EN-US_TOPIC_0125866390__row1567271453812"><td class="cellrowborder" valign="top" width="15.048495150484948%" headers="mcps1.3.1.1.6.1.1 "><p id="EN-US_TOPIC_0125866390__p9460114953911">Registering an Image</p>
</td> </td>
<td class="cellrowborder" valign="top" width="28.357164283571638%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866390__p54601049153917">PUT /v1/cloudimages/{image_id}/upload</p> <td class="cellrowborder" valign="top" width="28.357164283571638%" headers="mcps1.3.1.1.6.1.2 "><p id="EN-US_TOPIC_0125866390__p54601049153917">PUT /v1/cloudimages/{image_id}/upload</p>
<div class="note" id="EN-US_TOPIC_0125866390__note666119145185"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0125866390__p26613144183">Before registering an image file, ensure that you have the Tenant Administrator permission for OBS.</p> <div class="note" id="EN-US_TOPIC_0125866390__note666119145185"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0125866390__ul495213816115"><li id="EN-US_TOPIC_0125866390__li38311358776">Before registering an image file, ensure that you have the Tenant Administrator permission for OBS.</li><li id="EN-US_TOPIC_0125866390__li19527817115">You have the permissions to use enterprise projects when you register an image only if you select the <strong id="EN-US_TOPIC_0125866390__b67931905446">default</strong> enterprise project.</li></ul>
</div></div> </div></div>
</td> </td>
<td class="cellrowborder" valign="top" width="24.697530246975298%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866390__p198633412132">ims:images:upload</p> <td class="cellrowborder" valign="top" width="24.697530246975298%" headers="mcps1.3.1.1.6.1.3 "><p id="EN-US_TOPIC_0125866390__p198633412132">ims:images:upload</p>

View File

@ -179,7 +179,7 @@
</td> </td>
<td class="cellrowborder" valign="top" width="40.4040404040404%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0133188204__p1830573213469">Specifies the URL of the external image file in the OBS bucket.</p> <td class="cellrowborder" valign="top" width="40.4040404040404%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0133188204__p1830573213469">Specifies the URL of the external image file in the OBS bucket.</p>
<p id="EN-US_TOPIC_0133188204__p73051322460">This parameter is mandatory if an external image file in the OBS bucket is used to create an image. The format is <em id="EN-US_TOPIC_0133188204__i84235269710445">OBS bucket name</em>:<em id="EN-US_TOPIC_0133188204__i84235269710449">Image file name</em>.</p> <p id="EN-US_TOPIC_0133188204__p73051322460">This parameter is mandatory if an external image file in the OBS bucket is used to create an image. The format is <em id="EN-US_TOPIC_0133188204__i84235269710445">OBS bucket name</em>:<em id="EN-US_TOPIC_0133188204__i84235269710449">Image file name</em>.</p>
<div class="note" id="EN-US_TOPIC_0133188204__note736211389571"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0133188204__p03621438175719">The storage class of the OBS bucket must be <strong id="EN-US_TOPIC_0133188204__b199721028">Standard</strong>.</p> <div class="note" id="EN-US_TOPIC_0133188204__note736211389571"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0133188204__p03621438175719">The storage class of the OBS bucket must be <strong id="EN-US_TOPIC_0133188204__b680911692">Standard</strong>.</p>
</div></div> </div></div>
</td> </td>
</tr> </tr>
@ -229,7 +229,7 @@
<td class="cellrowborder" valign="top" width="20.2020202020202%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0133188204__p154430186356">String</p> <td class="cellrowborder" valign="top" width="20.2020202020202%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="EN-US_TOPIC_0133188204__p154430186356">String</p>
</td> </td>
<td class="cellrowborder" valign="top" width="40.4040404040404%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0133188204__p13443141833517">Specifies the enterprise project to which the image belongs.</p> <td class="cellrowborder" valign="top" width="40.4040404040404%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="EN-US_TOPIC_0133188204__p13443141833517">Specifies the enterprise project to which the image belongs.</p>
<ul id="EN-US_TOPIC_0133188204__ul444316189359"><li id="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li06911382318">If the value is <strong id="EN-US_TOPIC_0133188204__b1109931370">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li186911342317">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0133188204__p18739132816434"><a name="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li186911342317"></a><a name="en-us_topic_0133188204_li186911342317"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0133188204__i5214636131415">Enterprise Management User Guide</em>.</p> <ul id="EN-US_TOPIC_0133188204__ul444316189359"><li id="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li06911382318">If the value is <strong id="EN-US_TOPIC_0133188204__b1390440531">0</strong> or left blank, the image belongs to the default enterprise project.</li><li id="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li186911342317">If the value is a UUID, the image belongs to the enterprise project corresponding to the UUID.<p id="EN-US_TOPIC_0133188204__p18739132816434"><a name="EN-US_TOPIC_0133188204__en-us_topic_0133188204_li186911342317"></a><a name="en-us_topic_0133188204_li186911342317"></a>For more information about enterprise projects and how to obtain enterprise project IDs, see <em id="EN-US_TOPIC_0133188204__i5214636131415">Enterprise Management User Guide</em>.</p>
</li></ul> </li></ul>
</td> </td>
</tr> </tr>

View File

@ -1,66 +0,0 @@
<a name="EN-US_TOPIC_0170155703"></a><a name="EN-US_TOPIC_0170155703"></a>
<h1 class="topictitle1">Response</h1>
<div id="body1557988880616"><div class="section" id="EN-US_TOPIC_0170155703__section968114282311"><h4 class="sectiontitle">Status Code</h4><p id="EN-US_TOPIC_0170155703__p4624111624411">After sending a request, you will receive a response, including a status code, response header, and response body.</p>
<p id="EN-US_TOPIC_0170155703__p124381044137">A status code is a group of digits, ranging from 1xx to 5xx. It indicates the status of a request. For more information, see <a href="en-us_topic_0121643825.html">Status Codes</a>.</p>
<p id="EN-US_TOPIC_0170155703__p2861496519">For example, if status code <span class="parmvalue" id="EN-US_TOPIC_0170155703__parmvalue343043992219"><b>201</b></span> is returned for calling the API used to , the request is successful.</p>
</div>
<div class="section" id="EN-US_TOPIC_0170155703__en-us_topic_0113746487_section61333484715"><h4 class="sectiontitle">Response Header</h4><p id="EN-US_TOPIC_0170155703__p384320471837">Similar to a request, a response also has a header, for example, <strong id="EN-US_TOPIC_0170155703__b1985552133610">Content-Type</strong>.</p>
<p id="EN-US_TOPIC_0170155703__p4430113619484"><a href="#EN-US_TOPIC_0170155703__fig4865141011511">Figure 1</a> shows the response header fields for the API used to . The <strong id="EN-US_TOPIC_0170155703__b15219862413">x-subject-token</strong> header field is the desired user token. This token can then be used to authenticate the calling of other APIs.</p>
<div class="fignone" id="EN-US_TOPIC_0170155703__fig4865141011511"><a name="EN-US_TOPIC_0170155703__fig4865141011511"></a><a name="fig4865141011511"></a><span class="figcap"><b>Figure 1 </b>Header fields of the response to the request for obtaining a user token</span><br><span><img id="EN-US_TOPIC_0170155703__image48651610135113" src="en-us_image_0170178416.png" title="Click to enlarge" class="imgResize"></span></div>
</div>
<div class="section" id="EN-US_TOPIC_0170155703__en-us_topic_0113746487_section2045571671419"><h4 class="sectiontitle">(Optional) Response Body</h4><p id="EN-US_TOPIC_0170155703__en-us_topic_0113746487_p64711881416">The body of a response is often returned in structured format as specified in the <strong id="EN-US_TOPIC_0170155703__b13357143052813">Content-Type</strong> header field. The response body transfers content except the response header.</p>
</div>
<p id="EN-US_TOPIC_0170155703__p157041652367">The following is part of the response body for the API used to .</p>
<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0170155703__screen65818201917"><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></pre></div></td><td class="code"><div><pre><span></span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;token&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;expires_at&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;2019-02-13T06:52:13.855000Z&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;methods&quot;</span><span class="p">:</span><span class="w"> </span><span class="o">[</span>
<span class="w"> </span><span class="s">&quot;password&quot;</span>
<span class="w"> </span><span class="o">]</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;catalog&quot;</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">&quot;endpoints&quot;</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">&quot;region_id&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;az-01&quot;</span><span class="p">,</span>
<span class="p">......</span>
</pre></div></td></tr></table></div>
</div>
<p id="EN-US_TOPIC_0170155703__p127537375412">If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.</p>
<div class="codecoloring" codetype="Java" id="EN-US_TOPIC_0170155703__screen102091730125513"><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></pre></div></td><td class="code"><div><pre><span></span><span class="p">{</span>
<span class="w"> </span><span class="s">&quot;error_msg&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;The format of message is error&quot;</span><span class="p">,</span>
<span class="w"> </span><span class="s">&quot;error_code&quot;</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;AS.0001&quot;</span>
<span class="p">}</span>
</pre></div></td></tr></table></div>
</div>
<p id="EN-US_TOPIC_0170155703__p1589911464018">In the response body, <strong id="EN-US_TOPIC_0170155703__b1022472112479">error_code</strong> is an error code, and <strong id="EN-US_TOPIC_0170155703__b18234321154714">error_msg</strong> provides information about the error.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0121671868.html">Calling APIs</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

@ -0,0 +1,26 @@
<a name="EN-US_TOPIC_0171654733"></a><a name="EN-US_TOPIC_0171654733"></a>
<h1 class="topictitle1">Introduction</h1>
<div id="body1558748911535"><p id="EN-US_TOPIC_0171654733__p686912134917">This section describes fine-grained permissions management for your IMS. If your account does not need individual IAM users, you may skip over this section.</p>
<p id="EN-US_TOPIC_0171654733__p1386992104912">By default, new IAM users do not have any permissions assigned. You need to add a user to one or more groups, and assign policies or roles to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on cloud services based on the permissions.</p>
<p id="EN-US_TOPIC_0171654733__p10750184114611">You can grant user permissions by using roles and policies.</p>
<ul id="EN-US_TOPIC_0171654733__ul961494817469"><li id="EN-US_TOPIC_0171654733__li561420484468">Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization.</li><li id="EN-US_TOPIC_0171654733__li136146484468">Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for API-level policies for authorization, meeting requirements for secure access control. </li></ul>
<div class="note" id="EN-US_TOPIC_0171654733__note2789122144911"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_p18444101611514">Policy-based authorization is useful if you want to allow or deny the access to an API.</p>
</div></div>
<p id="EN-US_TOPIC_0171654733__p1487018213499">An account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user queries images using an API, the user must have been granted permissions that allow the <strong id="EN-US_TOPIC_0171654733__b141103450135">ims:images:list</strong> action.</p>
<div class="section" id="EN-US_TOPIC_0171654733__section677212217497"><h4 class="sectiontitle">Supported Actions</h4><p id="EN-US_TOPIC_0171654733__p187062194916">IMS provides system-defined policies. You can also create custom policies for more specific access control. The following are related concepts:</p>
<ul id="EN-US_TOPIC_0171654733__ul1487018213498"><li id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_li488911541104">Permissions: Allow or deny certain operations.</li><li id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_li4594182813390">APIs: APIs that will be called for performing certain operations.</li><li id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_li4777127131117">Actions: Operations that will be allowed or denied.</li><li id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_li54530581402">Dependent actions: When assigning permissions for an action, you also need to assign permissions for the dependent actions.</li><li id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_li658182310110">IAM projects or enterprise projects: Applicable scope of custom policies. For example, if an action supports both IAM and enterprise projects, the policy that contains this action will take effect for user groups assigned in IAM and Enterprise Management. If an action supports only IAM projects, the policy will take effect only for user groups assigned in IAM. </li></ul>
<div class="note" id="EN-US_TOPIC_0171654733__note5391846194215"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0171654733__en-us_topic_0169929480_p10450331154216">√: supported; x: not supported</p>
</div></div>
<p id="EN-US_TOPIC_0171654733__p20870102118497">IMS supports the following actions that can be defined in custom policies:</p>
<ul id="EN-US_TOPIC_0171654733__ul3870122194911"><li id="EN-US_TOPIC_0171654733__li138704214491"><a href="en-us_topic_0125866390.html">Image Management</a>, including actions supported by IMS's image management APIs, such as the APIs for querying images, updating image information, creating images, registering images, and exporting images.</li><li id="EN-US_TOPIC_0171654733__li8870321134920"><a href="en-us_topic_0125866391.html">Image Tagging</a>, including actions supported by IMS's tag management APIs, such as the APIs for adding tags, deleting tags, and querying images.</li><li id="EN-US_TOPIC_0171654733__li8514104418533"><a href="en-us_topic_0125866392.html">Image Schema</a>, including actions supported by IMS's image schema management APIs, such as the APIs for querying an image schema, querying an image list schema, querying an image member schema, and query an image member list schema.</li><li id="EN-US_TOPIC_0171654733__li64818207546"><a href="en-us_topic_0125866393.html">Image Sharing</a>, including actions supported by IMS's shared image APIs, such as the APIs for adding an image member, updating the status of image members, querying image member details, and deleting an image member.</li><li id="EN-US_TOPIC_0171654733__li1570264825415"><a href="en-us_topic_0125866394.html">Image Replication</a>, including actions supported by IMS's image replication APIs, such as the API for replicating an image within a region.</li><li id="EN-US_TOPIC_0171654733__li275545916549"><a href="en-us_topic_0125866395.html">Image Quota</a>, including actions supported by IMS's image quota APIs, such as the API for querying image quotas.</li></ul>
<div class="note" id="EN-US_TOPIC_0171654733__note18915184255816"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0171654733__p17902186132310">Error messages returned for native OpenStack APIs are in XML format. JSON format of the fine-grained policy is not supported.</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0125866389.html">Permission Policies and Supported Actions</a></div>
</div>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1014 B