doc-exports/docs/ecs/api-ref/en-us_topic_0142195139.html
Artem Goncharov 3196b64bfc
move doc sources to other location (#3)
move doc sources to other location

Reviewed-by: OpenTelekomCloud Bot <None>
2022-04-27 16:24:25 +00:00

169 lines
12 KiB
HTML

<a name="EN-US_TOPIC_0142195139"></a><a name="EN-US_TOPIC_0142195139"></a>
<h1 class="topictitle1">Responses (Batch Operation)</h1>
<div id="body1543044374939"><p id="EN-US_TOPIC_0142195139__p5131566259">The following responses are only for resetting the passwords for logging in to <span id="EN-US_TOPIC_0142195139__text114191123711">ECS</span>s in a batch and for modifying <span id="EN-US_TOPIC_0142195139__text1812015424222">ECS</span> specifications in a batch. For details about the responses of other batch operations, see <a href="en-us_topic_0022067714.html">Responses (Task)</a>.</p>
<ul id="EN-US_TOPIC_0142195139__ul1914908011151"><li id="EN-US_TOPIC_0142195139__li3812399911151">Normal responses
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0142195139__table757167711151" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0142195139__row5251903911151"><th align="left" class="cellrowborder" valign="top" width="19.3%" id="mcps1.3.2.1.1.1.4.1.1"><p id="EN-US_TOPIC_0142195139__p2618376611151">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.470000000000002%" id="mcps1.3.2.1.1.1.4.1.2"><p id="EN-US_TOPIC_0142195139__p4051029311151">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.23%" id="mcps1.3.2.1.1.1.4.1.3"><p id="EN-US_TOPIC_0142195139__p6010832511151">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0142195139__row3693617411151"><td class="cellrowborder" valign="top" width="19.3%" headers="mcps1.3.2.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0142195139__p20542115442814">response</p>
</td>
<td class="cellrowborder" valign="top" width="16.470000000000002%" headers="mcps1.3.2.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0142195139__p813044011151">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="64.23%" headers="mcps1.3.2.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0142195139__p5458589811151">Specifies the response returned after a request is successfully submitted. For details, see <a href="#EN-US_TOPIC_0142195139__table849372311389">Table 1</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0142195139__table849372311389"></a><a name="table849372311389"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0142195139__table849372311389" frame="border" border="1" rules="all"><caption><b>Table 1 </b><strong id="EN-US_TOPIC_0142195139__b8423527061138">response</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0142195139__row149352343810"><th align="left" class="cellrowborder" valign="top" width="19.23%" id="mcps1.3.2.1.2.2.4.1.1"><p id="EN-US_TOPIC_0142195139__p750932333817">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.42%" id="mcps1.3.2.1.2.2.4.1.2"><p id="EN-US_TOPIC_0142195139__p155091823113810">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.35%" id="mcps1.3.2.1.2.2.4.1.3"><p id="EN-US_TOPIC_0142195139__p65095237388">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0142195139__row650932316389"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.2.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p4509182353818">id</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.2.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p7509723193816">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.35%" headers="mcps1.3.2.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p12509823153812">Specifies the ID of the ECS on which the operation has been successfully performed.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="EN-US_TOPIC_0142195139__ul2151103611151"><li id="EN-US_TOPIC_0142195139__li5938160411151">Abnormal responses
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0142195139__table6467239411151" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0142195139__row2581079811151"><th align="left" class="cellrowborder" valign="top" width="19.18%" id="mcps1.3.3.1.1.1.4.1.1"><p id="EN-US_TOPIC_0142195139__p1029990211151">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.55%" id="mcps1.3.3.1.1.1.4.1.2"><p id="EN-US_TOPIC_0142195139__p2898571411151">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.27000000000001%" id="mcps1.3.3.1.1.1.4.1.3"><p id="EN-US_TOPIC_0142195139__p6614149111151">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0142195139__row5586052011151"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.3.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0142195139__p146911628184218">error</p>
</td>
<td class="cellrowborder" valign="top" width="16.55%" headers="mcps1.3.3.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0142195139__p1936686411151">Object</p>
</td>
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.3.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0142195139__p2558244011151">Specifies the error in a batch request. For details, see <a href="#EN-US_TOPIC_0142195139__table6409189311151">Table 2</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0142195139__row133513134412"><td class="cellrowborder" valign="top" width="19.18%" headers="mcps1.3.3.1.1.1.4.1.1 "><p id="EN-US_TOPIC_0142195139__p11335231184414">internalError</p>
</td>
<td class="cellrowborder" valign="top" width="16.55%" headers="mcps1.3.3.1.1.1.4.1.2 "><p id="EN-US_TOPIC_0142195139__p173351331164413">Array of objects</p>
</td>
<td class="cellrowborder" valign="top" width="64.27000000000001%" headers="mcps1.3.3.1.1.1.4.1.3 "><p id="EN-US_TOPIC_0142195139__p7335123118446">Specifies the error in each request among the requests submitted in a batch. For details, see <a href="#EN-US_TOPIC_0142195139__table1540134517514">Table 3</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0142195139__table6409189311151"></a><a name="table6409189311151"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0142195139__table6409189311151" frame="border" border="1" rules="all"><caption><b>Table 2 </b><strong id="EN-US_TOPIC_0142195139__b842352706193628">error</strong> field structure</caption><thead align="left"><tr id="EN-US_TOPIC_0142195139__row2324327311151"><th align="left" class="cellrowborder" valign="top" width="19.23%" id="mcps1.3.3.1.2.2.4.1.1"><p id="EN-US_TOPIC_0142195139__p365693111151">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.42%" id="mcps1.3.3.1.2.2.4.1.2"><p id="EN-US_TOPIC_0142195139__p2777597711151">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.35%" id="mcps1.3.3.1.2.2.4.1.3"><p id="EN-US_TOPIC_0142195139__p3526170111151">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0142195139__row3762550011151"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.3.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p2776668011151">message</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.3.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p3450864111151">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.35%" headers="mcps1.3.3.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p4373654211151">Describes a batch operation error.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0142195139__row5808456411151"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.3.1.2.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p722924311151">code</p>
</td>
<td class="cellrowborder" valign="top" width="16.42%" headers="mcps1.3.3.1.2.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p4869780211151">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.35%" headers="mcps1.3.3.1.2.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p5220791411151">Specifies the code for a batch operation error.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0142195139__table1540134517514"></a><a name="table1540134517514"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0142195139__table1540134517514" frame="border" border="1" rules="all"><caption><b>Table 3 </b><strong id="EN-US_TOPIC_0142195139__b5520134264312">internalEroCMM.0101r</strong> field description</caption><thead align="left"><tr id="EN-US_TOPIC_0142195139__row164084513512"><th align="left" class="cellrowborder" valign="top" width="19.23%" id="mcps1.3.3.1.3.2.4.1.1"><p id="EN-US_TOPIC_0142195139__p440104565114">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.6%" id="mcps1.3.3.1.3.2.4.1.2"><p id="EN-US_TOPIC_0142195139__p440104513519">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="64.17%" id="mcps1.3.3.1.3.2.4.1.3"><p id="EN-US_TOPIC_0142195139__p35584555110">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0142195139__row432344514579"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.3.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p6323194545719">id</p>
</td>
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.3.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p932314459576">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.17%" headers="mcps1.3.3.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p63238459570">Specifies the ID of the ECS on which a request failed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0142195139__row1455154516515"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.3.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p25544513512">error_message</p>
</td>
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.3.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p10559459511">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.17%" headers="mcps1.3.3.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p955174512511">Describes a single request failure.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0142195139__row165514450511"><td class="cellrowborder" valign="top" width="19.23%" headers="mcps1.3.3.1.3.2.4.1.1 "><p id="EN-US_TOPIC_0142195139__p491643915115">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="16.6%" headers="mcps1.3.3.1.3.2.4.1.2 "><p id="EN-US_TOPIC_0142195139__p165574575119">String</p>
</td>
<td class="cellrowborder" valign="top" width="64.17%" headers="mcps1.3.3.1.3.2.4.1.3 "><p id="EN-US_TOPIC_0142195139__p15551545135117">Specifies the code for a single request error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="EN-US_TOPIC_0142195139__ul2891536911151"><li id="EN-US_TOPIC_0142195139__li10918411151">Example response<p id="EN-US_TOPIC_0142195139__p98265911151"><a name="EN-US_TOPIC_0142195139__li10918411151"></a><a name="li10918411151"></a>Normal response</p>
<pre class="screen" id="EN-US_TOPIC_0142195139__screen3351794620424">{
"response": [
{
"id": "616fb98f-46ca-475e-917e-2563e5a8cd19"
},
{
"id": "516fb98f-46ca-475e-917e-2563e5a8cd12"
}
]
} </pre>
<p id="EN-US_TOPIC_0142195139__p1248652411151"></p>
<p id="EN-US_TOPIC_0142195139__p4526985211151">Abnormal response</p>
<pre class="screen" id="EN-US_TOPIC_0142195139__screen11438256204210">{
"error": {
"code": "Ecs.xxxx",
"message": "xxxxxxxxxxxxxxx"
},
"internalError": [
{
"id": "616fb98f-46ca-475e-917e-2563e5a8cd19",
"error_code": "ECS.XXXX",
"error_message": "xxxxxxxxxxxxxxx"
},
{
"id": "516fb98f-46ca-475e-917e-2563e5a8cd12",
"error_code": "ECS.XXXX",
"error_message": "xxxxxxxxxxxxxxx"
}
]
}</pre>
</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0142195138.html">Batch Task Request</a></div>
</div>
</div>