forked from docs/doc-exports
Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
576 lines
46 KiB
HTML
576 lines
46 KiB
HTML
<a name="EN-US_TOPIC_0022473688"></a><a name="EN-US_TOPIC_0022473688"></a>
|
|
|
|
<h1 class="topictitle1">Querying the Status of an Asynchronous Job</h1>
|
|
<div id="body1449025499002"><div class="section" id="EN-US_TOPIC_0022473688__section6534076917543"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0022473688__p5811096517543">This is an extension API. It is used to query for the execution status of an asynchronous job, for example, querying for the execution status of an image exporting job.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section5323664117543"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0022473688__p5107674017543">GET /v1/{project_id}/jobs/{job_id}</p>
|
|
<div class="p" id="EN-US_TOPIC_0022473688__p16336635112616"><a href="#EN-US_TOPIC_0022473688__table4357530317543">Table 1</a> lists the parameters in the URI.
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table4357530317543"></a><a name="table4357530317543"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table4357530317543" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row4437355317543"><th align="left" class="cellrowborder" valign="top" width="21.43%" id="mcps1.3.2.3.2.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p3748803717543"><strong id="EN-US_TOPIC_0022473688__b24725868162658">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="29.349999999999998%" id="mcps1.3.2.3.2.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p1663218617543">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="49.220000000000006%" id="mcps1.3.2.3.2.2.4.1.3"><p id="EN-US_TOPIC_0022473688__p502984817543">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row476451817543"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p5038164417543">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.349999999999998%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p5438136317543">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.220000000000006%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p4281427417543">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row4978415317543"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p598456817543">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.349999999999998%" headers="mcps1.3.2.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p1498798817543">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="49.220000000000006%" headers="mcps1.3.2.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p606747617543">Specifies the asynchronous job ID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section5460728517543"><h4 class="sectiontitle">Request</h4><p id="EN-US_TOPIC_0022473688__p1888811378401">Request parameters</p>
|
|
<p id="EN-US_TOPIC_0022473688__p194382062717">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section194145754617"><h4 class="sectiontitle">Example Request</h4><p id="EN-US_TOPIC_0022473688__p9881954133918">Querying the status of an asynchronous job</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0022473688__screen22176212477">GET /v1/ac234de25c6741d2b1273da49eea1b9e/jobs/ff8080814dbd65d7014dbe0d84db0013</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section5889951917543"><h4 class="sectiontitle">Response</h4><ul id="EN-US_TOPIC_0022473688__ul5308951911520"><li id="EN-US_TOPIC_0022473688__li804362911520">Response parameters<div class="note" id="EN-US_TOPIC_0022473688__note193941001110"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0022473688__p1193913105117">The response parameters vary depending on the value of <strong id="EN-US_TOPIC_0022473688__b874719291532">job_type</strong>. For details, see <a href="#EN-US_TOPIC_0022473688__section1652181591718">Example Response</a>.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table528379811520" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0022473688__row1392930311520"><th align="left" class="cellrowborder" valign="top" width="19.470000000000002%" id="mcps1.3.5.2.1.2.1.4.1.1"><p id="EN-US_TOPIC_0022473688__p5453179311520">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.56%" id="mcps1.3.5.2.1.2.1.4.1.2"><p id="EN-US_TOPIC_0022473688__p574394205922">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.97%" id="mcps1.3.5.2.1.2.1.4.1.3"><p id="EN-US_TOPIC_0022473688__p5499914011520">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row2574533511520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p499736211520">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p46525967205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p213318211520">Specifies the job status. The value can be:</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul20396680017"><li id="EN-US_TOPIC_0022473688__li143961388019"><strong id="EN-US_TOPIC_0022473688__b39049298151716">SUCCESS</strong>: The job is successfully executed.</li><li id="EN-US_TOPIC_0022473688__li20396289013"><strong id="EN-US_TOPIC_0022473688__b55570798151716">FAIL</strong>: The job failed to be executed.</li><li id="EN-US_TOPIC_0022473688__li103962820013"><strong id="EN-US_TOPIC_0022473688__b3103968151716">RUNNING</strong>: The job is in progress.</li><li id="EN-US_TOPIC_0022473688__li14396388013"><strong id="EN-US_TOPIC_0022473688__b39990109151716">INIT</strong>: The job is being initialized.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row6606192511520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p4941574211520">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p10506968205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p4325217111520">Specifies the job ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row5372522511520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p5677596811520">job_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p45758078205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.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__b146911127367">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__b1414323915719">imsVolumeCreateImageJob</strong>: Creating a system disk image from a data disk</li><li id="EN-US_TOPIC_0022473688__li8670102671810"><strong id="EN-US_TOPIC_0022473688__b203525144165">imsVolumesToSysDataImagesJob</strong>: Creating a data disk image from a data disk</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__b45941533192719">imsCreateWholeImageByInstanceJob</strong>: Creating a full-ECS image from an ECS</li><li id="EN-US_TOPIC_0022473688__li188951149102817"><strong id="EN-US_TOPIC_0022473688__b19051538192718">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 an 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>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row5062073411520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p663876511520">begin_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p15416808205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p86908111520">Specifies the start time of the job. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row782172911520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p2958027411520">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p40801918205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p4719198811520">Specifies the end time of the job. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row2207471011520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p4322112411520">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p16621098205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p1125016611520">Specifies the error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row3414263711520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p1409017611520">fail_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p4131665205922">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p45364511520">Specifies the failure cause.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row408280811520"><td class="cellrowborder" valign="top" width="19.470000000000002%" headers="mcps1.3.5.2.1.2.1.4.1.1 "><p id="EN-US_TOPIC_0022473688__p6227201211520">entities</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.56%" headers="mcps1.3.5.2.1.2.1.4.1.2 "><p id="EN-US_TOPIC_0022473688__p66229469205922">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.97%" headers="mcps1.3.5.2.1.2.1.4.1.3 "><p id="EN-US_TOPIC_0022473688__p287496515">Specifies the custom attributes of the job.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p7619211219">If the job status is normal, the image ID will be returned. If the status is abnormal, an error code and details will be returned.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p1086820511520">For details, see <a href="#EN-US_TOPIC_0022473688__table791935535712">Table 2</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</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.5.2.1.3.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p208253244593"><strong id="EN-US_TOPIC_0022473688__b1231446227">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.67216721672167%" id="mcps1.3.5.2.1.3.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p118251624185918">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54.80548054805481%" id="mcps1.3.5.2.1.3.2.4.1.3"><p id="EN-US_TOPIC_0022473688__p198257249595">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row7919185585717"><td class="cellrowborder" valign="top" width="23.522352235223522%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p2091995520577">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.67216721672167%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p1091918553576">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.80548054805481%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p491975575711">Specifies the image ID.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p39908671316">This parameter is returned only when the value of <strong id="EN-US_TOPIC_0022473688__b181591038123620">job_type</strong> is one of the following:</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul8202101241318"><li id="EN-US_TOPIC_0022473688__li16202812181318">imsCreateImageByInstance</li><li id="EN-US_TOPIC_0022473688__li3202151201313">imsImportImageJob</li><li id="EN-US_TOPIC_0022473688__li112031112141318">imsVolumeCreateImageJob</li><li id="EN-US_TOPIC_0022473688__li420351211311">imsImportDataImageJob</li><li id="EN-US_TOPIC_0022473688__li112031512181318">imsCreateWholeImageByInstanceJob</li><li id="EN-US_TOPIC_0022473688__li6203181251316">imsCreateWholeImageByBackupJob</li><li id="EN-US_TOPIC_0022473688__li142033125134">imsNativeImportImageJob</li><li id="EN-US_TOPIC_0022473688__li220371214138">imsNativeExportImageJob</li><li id="EN-US_TOPIC_0022473688__li192034125135">imsCopyImageInRegionJob</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row6541819191913"><td class="cellrowborder" valign="top" width="23.522352235223522%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p0541519171911">image_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.67216721672167%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p16795115062019">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.80548054805481%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p15541161910196">Specifies the image name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row32991914142016"><td class="cellrowborder" valign="top" width="23.522352235223522%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p1030061410208">results</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.67216721672167%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p14300141414200">Array of result objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.80548054805481%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p830091422016">Specifies job execution results. For details, see <a href="#EN-US_TOPIC_0022473688__table12914173422713">Table 3</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row9523124814614"><td class="cellrowborder" valign="top" width="23.522352235223522%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p9486656144612">sub_jobs_result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.67216721672167%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p1972123323915">Array of objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.80548054805481%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p1748615615468">Specifies sub-job execution results. For details, see <a href="#EN-US_TOPIC_0022473688__table1966074735019">Table 4</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row19524184817468"><td class="cellrowborder" valign="top" width="23.522352235223522%" headers="mcps1.3.5.2.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p5486195694618">sub_jobs_list</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.67216721672167%" headers="mcps1.3.5.2.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p948619563465">Array of string</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54.80548054805481%" headers="mcps1.3.5.2.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p18486135624612">Specifies the sub-job IDs.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0022473688__table12914173422713"></a><a name="table12914173422713"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table12914173422713" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Data structure description of the results field</caption><thead align="left"><tr id="EN-US_TOPIC_0022473688__row091423402719"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.4.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p89141134152714">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.4.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p49141934182718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.5.2.1.4.2.4.1.3"><p id="EN-US_TOPIC_0022473688__p291410343270">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row1914123472713"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p1391463492718">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p1091413432717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p19914123417271">Specifies the image ID.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p1484716528137">This parameter is returned only when the value of <strong id="EN-US_TOPIC_0022473688__b0629348133817">job_type</strong> is one of the following:</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul5589181711142"><li id="EN-US_TOPIC_0022473688__li1658910173142">imsAddImageMembersJob</li><li id="EN-US_TOPIC_0022473688__li35897178149">imsUpdateImageMembersJob</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row15914193419273"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p7914133442718">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p13914834102713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p091483410273">Specifies the project ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row7914103411276"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p19914734122719">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p10914173420273">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.5.2.1.4.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p172601359552">Specifies the job status.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p172603353556">The value can be:</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul157319215620"><li id="EN-US_TOPIC_0022473688__li2737215612"><strong id="EN-US_TOPIC_0022473688__b1681061900">SUCCESS</strong>: The job is successfully executed.</li><li id="EN-US_TOPIC_0022473688__li0745218567"><strong id="EN-US_TOPIC_0022473688__b199385830782427">FAIL</strong>: The job failed to be executed.</li><li id="EN-US_TOPIC_0022473688__li674172125614"><strong id="EN-US_TOPIC_0022473688__b99503038782427">RUNNING</strong>: The job is in progress.</li><li id="EN-US_TOPIC_0022473688__li1741427565"><strong id="EN-US_TOPIC_0022473688__b1370831892">INIT</strong>: The job is being initialized.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</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 sub_jobs_result 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.5.2.1.5.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p48161954115114"><strong id="EN-US_TOPIC_0022473688__b1700709320">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.71247124712471%" id="mcps1.3.5.2.1.5.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p148161154105112">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.985798579857985%" id="mcps1.3.5.2.1.5.2.4.1.3"><p id="EN-US_TOPIC_0022473688__p1581695405113">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row66623476508"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p351917011512">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p115191302517">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.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__b185868545">SUCCESS</strong>: The sub-job is successfully executed.</li><li id="EN-US_TOPIC_0022473688__li19794152015214"><strong id="EN-US_TOPIC_0022473688__b1781768371">FAIL</strong>: The sub-job failed to be executed.</li><li id="EN-US_TOPIC_0022473688__li164591145125217"><strong id="EN-US_TOPIC_0022473688__b2071048394">RUNNING</strong>: The sub-job is in progress.</li><li id="EN-US_TOPIC_0022473688__li2794192005210"><strong id="EN-US_TOPIC_0022473688__b2063808448">INIT</strong>: The sub-job is being initialized.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row1066294715012"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p125191206515">job_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p1151910095112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p205197013512">Specifies a sub-job ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row10662154715017"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p3519802516">job_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p65201907519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p16051148155814">Specifies the sub-job type.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p66055489585">The value can be:</p>
|
|
<p id="EN-US_TOPIC_0022473688__p1939110733016"><strong id="EN-US_TOPIC_0022473688__b542015112713">imsGoofysImportImageJob</strong>: importing an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p18391117123013"><strong id="EN-US_TOPIC_0022473688__b32191033102816">imsGoofysImportImageWithoutconfigJob</strong>: importing an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p339107173012"><strong id="EN-US_TOPIC_0022473688__b4289191172912">imsGoofysUploadImageJob</strong>: importing an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p9391178301"><strong id="EN-US_TOPIC_0022473688__b141131329122919">imsGoofysExportImageJob</strong>: exporting an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p83912072308"><strong id="EN-US_TOPIC_0022473688__b94191476295">imsImportBigFileImageJob</strong>: importing an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p18391197173017"><strong id="EN-US_TOPIC_0022473688__b7528111017306">imsQuickExportImageJob</strong>: fast export of an image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p2391197153016"><strong id="EN-US_TOPIC_0022473688__b6769728133317">imsImportIsoFileImageJob</strong>: creating an ISO image</p>
|
|
<p id="EN-US_TOPIC_0022473688__p1939117193011"><strong id="EN-US_TOPIC_0022473688__b1358785013309">imsImportDataImageJob</strong>: creating a data disk image</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row766216471505"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p13520209516">begin_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p175208010519">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p752011055120">Specifies the start time of the sub-job. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row10662947165011"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p1652080165111">end_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p115201302513">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p252016025119">Specifies the end time of the sub-job. The value is in UTC format. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row26621547195019"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p11161192205110">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p14161122115118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p151611522105116">Specifies the error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row518138165115"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p1016112212516">fail_reason</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p9161122155110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p16161152210518">Specifies the failure cause.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row218112855115"><td class="cellrowborder" valign="top" width="17.301730173017297%" headers="mcps1.3.5.2.1.5.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p10161182216516">entities</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.71247124712471%" headers="mcps1.3.5.2.1.5.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p9161822145116">Object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.985798579857985%" headers="mcps1.3.5.2.1.5.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p43467016532">Specifies the custom attributes of the sub-job. For details, see <a href="#EN-US_TOPIC_0022473688__table294510331539">Table 5</a>.</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul74268145312"><li id="EN-US_TOPIC_0022473688__li1642482532">If a sub-job is properly executed, an image ID is returned. </li><li id="EN-US_TOPIC_0022473688__li14220814539">If an exception occurs on the sub-job, an error code and associated information are returned.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</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 sub_jobs_result.entities 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.5.2.1.6.2.4.1.1"><p id="EN-US_TOPIC_0022473688__p19390121465414"><strong id="EN-US_TOPIC_0022473688__b556563469">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25.75%" id="mcps1.3.5.2.1.6.2.4.1.2"><p id="EN-US_TOPIC_0022473688__p3390121405416">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="56.56%" id="mcps1.3.5.2.1.6.2.4.1.3"><p id="EN-US_TOPIC_0022473688__p1839051435417">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row9950633185310"><td class="cellrowborder" valign="top" width="17.69%" headers="mcps1.3.5.2.1.6.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p187295812533">image_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.75%" headers="mcps1.3.5.2.1.6.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p78724585534">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.5.2.1.6.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p9872258135315">Specifies the image ID.</p>
|
|
<p id="EN-US_TOPIC_0022473688__p1162125351415">This parameter is returned only when the value of <strong id="EN-US_TOPIC_0022473688__b065233713395">job_type</strong> is one of the following:</p>
|
|
<ul id="EN-US_TOPIC_0022473688__ul435323111514"><li id="EN-US_TOPIC_0022473688__li2353143117156">imsImportOvaImageJob</li><li id="EN-US_TOPIC_0022473688__li935373119154">imsVolumesToSysDataImagesJob</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row8951183385316"><td class="cellrowborder" valign="top" width="17.69%" headers="mcps1.3.5.2.1.6.2.4.1.1 "><p id="EN-US_TOPIC_0022473688__p2087335820532">image_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25.75%" headers="mcps1.3.5.2.1.6.2.4.1.2 "><p id="EN-US_TOPIC_0022473688__p48731258195315">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="56.56%" headers="mcps1.3.5.2.1.6.2.4.1.3 "><p id="EN-US_TOPIC_0022473688__p087365815310">Specifies the image name.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section1652181591718"><a name="EN-US_TOPIC_0022473688__section1652181591718"></a><a name="section1652181591718"></a><h4 class="sectiontitle">Example Response</h4><ul id="EN-US_TOPIC_0022473688__ul121178842512"><li id="EN-US_TOPIC_0022473688__li121171882519">If the <strong id="EN-US_TOPIC_0022473688__b14739687432">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b16899112744313">imsCreateImageByInstance</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen138618611267">{
|
|
"job_id": "9a175ac792fa12d20193002100dd2762",
|
|
"job_type": "imsCreateImageByInstance",
|
|
"begin_time": "2024-11-06T06:19:43.195Z",
|
|
"end_time": "2024-11-06T06:23:25.158Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "3f7185de-b59a-4bb8-aa1d-7a513528b0e9"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li16169101022514">If the <strong id="EN-US_TOPIC_0022473688__b11797125511434">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b1179725512433">imsImportImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen111193325269">{
|
|
"job_id": "9a175ac892fa1342019300224f22218e",
|
|
"job_type": "imsImportImageJob",
|
|
"begin_time": "2024-11-06T06:21:08.769Z",
|
|
"end_time": "2024-11-06T06:27:03.742Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "431df7fd-a898-4dc0-86b1-22cfefb8a517"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li161121345162514">If the <strong id="EN-US_TOPIC_0022473688__b153835231449">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b1038302384411">imsImportOvaImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen18926127162917">{
|
|
"job_id": "9a175ac892fa13420193006a49173317",
|
|
"job_type": "imsImportOvaImageJob",
|
|
"begin_time": "2024-11-06T07:39:45.814Z",
|
|
"end_time": "2024-11-06T07:49:45.814Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"sub_jobs_result": [
|
|
{
|
|
"job_id": "9a175ac892fa13420193006c29e133f0",
|
|
"job_type": "imsImportImageJob",
|
|
"begin_time": "2024-11-06T07:41:48.896Z",
|
|
"end_time": "2024-11-06T07:49:45.814Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "fc496c19-40c2-4220-8b1a-eba9d53fca7b"
|
|
}
|
|
}
|
|
],
|
|
"sub_jobs_list": [
|
|
"9a175ac892fa13420193006c29e133f0"
|
|
]
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li6968556122718">If the <strong id="EN-US_TOPIC_0022473688__b115215384511">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b101424804511">imsVolumeCreateImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen15731819172917">{
|
|
"job_id": "9a175ac692fa125401930037d9e329aa",
|
|
"job_type": "imsVolumeCreateImageJob",
|
|
"begin_time": "2024-11-06T06:44:40.545Z",
|
|
"end_time": "2024-11-06T06:47:40.545Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "21b04ab5-e817-40ee-8d56-7ccdb8820335"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li242212137298">If the <strong id="EN-US_TOPIC_0022473688__b2017275934517">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b1117255984512">imsImportDataImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen368016353019">{
|
|
"job_id": "9a175ac692fa125401930027b9c026b3",
|
|
"job_type": "imsImportDataImageJob",
|
|
"begin_time": "2024-11-06T06:27:03.742Z",
|
|
"end_time": "2024-11-06T06:37:03.742Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "aa5306f7-bc95-4fa3-aa40-dd38fbdf2031"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li81111417306">If the <strong id="EN-US_TOPIC_0022473688__b11335344614">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b8331739461">imsCreateWholeImageByInstanceJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen6510111013115">{
|
|
"job_id": "9a175ac792fa12d201930028cddb29c6",
|
|
"job_type": "imsCreateWholeImageByInstanceJob",
|
|
"begin_time": "2024-11-06T06:28:14.425Z",
|
|
"end_time": "2024-11-06T06:37:03.742Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "17b7bdeb-2e72-43a0-a202-d36ce344e902"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li9285170312">If the <strong id="EN-US_TOPIC_0022473688__b335911236464">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b73591423104610">imsCreateWholeImageByBackupJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen1615205863115">{
|
|
"job_id": "9a175ac892fa13420193002961972392",
|
|
"job_type": "imsCreateWholeImageByBackupJob",
|
|
"begin_time": "2024-11-06T06:28:52.245Z",
|
|
"end_time": "2024-11-06T06:28:58.399Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "ea0d5dce-ddb2-4f6f-83e3-55da065347fd"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li149459534315">If the <strong id="EN-US_TOPIC_0022473688__b465984818460">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b2075175304619">imsNativeImportImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen13941153015332">{
|
|
"job_id": "9a175ac692fa12540193005389023059",
|
|
"job_type": "imsNativeImportImageJob",
|
|
"begin_time": "2024-11-06T07:14:54.848Z",
|
|
"end_time": "2024-11-06T07:19:54.848Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_id": "af8ea1dc-02f2-4019-8fa9-c9952a0077ce"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li206243260338">If the <strong id="EN-US_TOPIC_0022473688__b18470165813466">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b154711858124620">imsNativeExportImageJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen1250518554347">{
|
|
"job_id": "9a175ac892fa134201930039db1a27b1",
|
|
"job_type": "imsNativeExportImageJob",
|
|
"begin_time": "2024-11-06T06:46:51.929Z",
|
|
"end_time": "2024-11-06T06:49:53.657Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_id": "1ab4df10-fe18-48b7-91c9-53695fcd9df5"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li992811073413">If the <strong id="EN-US_TOPIC_0022473688__b119001302479">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b6900306474">imsAddImageMembersJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen192131726355">{
|
|
"job_id": "9a175ac692fa12540193002a6d4b2720",
|
|
"job_type": "imsAddImageMembersJob",
|
|
"begin_time": "2024-11-06T06:30:00.778Z",
|
|
"end_time": "2024-11-06T06:30:03.179Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"results": [
|
|
{
|
|
"image_id": "30e55148-deb9-4923-adb9-91618de16ba0",
|
|
"status": "success"
|
|
}
|
|
]
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li663041573413">If the <strong id="EN-US_TOPIC_0022473688__b10881516114719">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b888171619472">imsDelImageMembersJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen1148652193512">{
|
|
"job_id": "9a175ac792fa12d20193002da96f2ac2",
|
|
"job_type": "imsDelImageMembersJob",
|
|
"begin_time": "2024-11-06T06:33:32.781Z",
|
|
"end_time": "2024-11-06T06:33:34.181Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"results": []
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li122085181342">If the <strong id="EN-US_TOPIC_0022473688__b1779510257472">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b167961525154713">imsUpdateImageMembersJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen1565945203511">{
|
|
"job_id": "9a175ac692fa12540193005c340f321c",
|
|
"job_type": "imsUpdateImageMembersJob",
|
|
"begin_time": "2024-11-06T07:24:22.925Z",
|
|
"end_time": "2024-11-06T07:24:23.773Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"results": [
|
|
{
|
|
"image_id": "6596628c-42d4-4ff1-8660-8ea5ae61f243",
|
|
"status": "success"
|
|
}
|
|
]
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li963192913342">If the <strong id="EN-US_TOPIC_0022473688__b1175310437470">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b1375324364717">imsCopyImageInRegionJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen1149193618363">{
|
|
"job_id": "9a175ac892fa13420193001c2e62205a",
|
|
"job_type": "imsCopyImageInRegionJob",
|
|
"begin_time": "2024-11-06T06:14:27.168Z",
|
|
"end_time": "2024-11-06T06:16:38.446Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "30e55148-deb9-4923-adb9-91618de16ba0"
|
|
}
|
|
}</pre>
|
|
</li><li id="EN-US_TOPIC_0022473688__li6194150103715">If the <strong id="EN-US_TOPIC_0022473688__b10821645483">job_type</strong> is <strong id="EN-US_TOPIC_0022473688__b1183441488">imsVolumesToSysDataImagesJob</strong>, the response example is as follows:<pre class="screen" id="EN-US_TOPIC_0022473688__screen10745172914374">{
|
|
"job_id": "9a175ac792fa12d201930031febf2bdd",
|
|
"job_type": "imsVolumesToSysDataImagesJob",
|
|
"begin_time": "2024-11-06T06:38:16.765Z",
|
|
"end_time": "2024-11-06T06:48:16.765Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"sub_jobs_result": [
|
|
{
|
|
"job_id": "9a175ac792fa12d20193003205b22be1",
|
|
"job_type": "imsCopyVolumeToImageJob",
|
|
"begin_time": "2024-11-06T06:38:18.545Z",
|
|
"end_time": "2024-11-06T06:48:16.765Z",
|
|
"status": "SUCCESS",
|
|
"error_code": null,
|
|
"fail_reason": null,
|
|
"entities": {
|
|
"image_name": "test",
|
|
"image_id": "bfb2de92-e7b9-4820-9522-416d8f2c812a"
|
|
}
|
|
}
|
|
],
|
|
"sub_jobs_list": [
|
|
"9a175ac792fa12d20193003205b22be1"
|
|
]
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0022473688__section3678893217543"><h4 class="sectiontitle">Returned Values</h4><ul id="EN-US_TOPIC_0022473688__ul2711350917543"><li id="EN-US_TOPIC_0022473688__li4269498917543">Normal<p id="EN-US_TOPIC_0022473688__p4871058617543"><a name="EN-US_TOPIC_0022473688__li4269498917543"></a><a name="li4269498917543"></a>200</p>
|
|
</li><li id="EN-US_TOPIC_0022473688__li3574209117543">Abnormal
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0022473688__table395981717657" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0022473688__row1597872817657"><th align="left" class="cellrowborder" valign="top" width="46.54%" id="mcps1.3.7.2.2.1.1.3.1.1"><p id="EN-US_TOPIC_0022473688__p1920862517657">Returned Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="53.459999999999994%" id="mcps1.3.7.2.2.1.1.3.1.2"><p id="EN-US_TOPIC_0022473688__p1239479817657">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0022473688__row6445460017657"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0022473688__p5344010217657">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0022473688__p3368100917657">Request error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row3469362617657"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0022473688__p5872033917657">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0022473688__p5872698817657">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row5878084417657"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0022473688__p6362789617657">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0022473688__p5358597717657">You do not have the rights to perform the operation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row1251175317657"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0022473688__p681909217657">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0022473688__p1547559217657">Internal service error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0022473688__row506260017657"><td class="cellrowborder" valign="top" width="46.54%" headers="mcps1.3.7.2.2.1.1.3.1.1 "><p id="EN-US_TOPIC_0022473688__p741745117657">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="53.459999999999994%" headers="mcps1.3.7.2.2.1.1.3.1.2 "><p id="EN-US_TOPIC_0022473688__p6394266717657">The service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001311190309.html">Image Jobs</a></div>
|
|
</div>
|
|
</div>
|
|
|