forked from docs/doc-exports
386 lines
30 KiB
HTML
386 lines
30 KiB
HTML
<a name="ContinueRollbackStack"></a><a name="ContinueRollbackStack"></a>
|
|
|
|
<h1 class="topictitle1">Continuing to Roll Back a Stack</h1>
|
|
<div id="body8662426"><div class="section" id="ContinueRollbackStack__section16787396418"><h4 class="sectiontitle">Function</h4><p id="ContinueRollbackStack__p197893918410">ContinueRollbackStack</p>
|
|
<p id="ContinueRollbackStack__p1578183924119">This API continues to roll back an existing stack.</p>
|
|
<p id="ContinueRollbackStack__p6781639114114">If auto-rollback is enabled for a stack, the stack automatically rolls back when its deployment fails. However, the auto-rollback may fail. You can troubleshoot the issues based on the error message and then call ContinueRollbackStack to trigger the continuation of the rollback, which means retrying rollback.</p>
|
|
<ul id="ContinueRollbackStack__ul679113924117"><li id="ContinueRollbackStack__li16791739134117">If the stack is in the <em id="ContinueRollbackStack__i1979113916416">ROLLBACK_FAILED</em> state, indicating that it can be rolled back, 202 and deploymentId are returned. Otherwise, the stack cannot be rolled back and a response error code is returned.</li><li id="ContinueRollbackStack__li37943974112">The continuation of rollback may also fail. If it fails, you can obtain the corresponding logs by calling ListStackEvents and troubleshoot the issues. Once the issues are resolved, you can call ContinueRollbackStack again to trigger the rollback.</li></ul>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section079113910411"><h4 class="sectiontitle">Debugging</h4><p id="ContinueRollbackStack__p197963994118">You can debug this API through automatic authentication in <a href="https://console.huaweicloud.com/apiexplorer/#/openapi/AOS/doc?api=ContinueRollbackStack" target="_blank" rel="noopener noreferrer">API Explorer</a> or use the SDK sample code generated by API Explorer.</p>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section1791239154116"><h4 class="sectiontitle">URI</h4><p id="ContinueRollbackStack__p1679183984110">POST /v1/{project_id}/stacks/{stack_name}/rollbacks</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table1580183954118" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row1980139114120"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ContinueRollbackStack__p128093944111">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ContinueRollbackStack__p178053916418">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ContinueRollbackStack__p1181193944116">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ContinueRollbackStack__p281113912410">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row16804395410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ContinueRollbackStack__p12816391413">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ContinueRollbackStack__p1481103914115">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ContinueRollbackStack__p11811639104115">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ContinueRollbackStack__p198173904115">A project ID is obtained by calling an API or from the console.</p>
|
|
<p id="ContinueRollbackStack__p198143920411">Minimum: <strong id="ContinueRollbackStack__b148153984118">3</strong></p>
|
|
<p id="ContinueRollbackStack__p7811439194114">Maximum: <strong id="ContinueRollbackStack__b178143912418">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row58016394419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ContinueRollbackStack__p781739154110">stack_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ContinueRollbackStack__p188293904118">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ContinueRollbackStack__p4821539184118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ContinueRollbackStack__p118293944111">A stack name is unique within its domain (domain_id), region, and project (project_id). It is case-sensitive and starts with a letter. Only letters, digits, underscores (_), and hyphens (-) are allowed.</p>
|
|
<p id="ContinueRollbackStack__p128223954113">Minimum: <strong id="ContinueRollbackStack__b168219390410">1</strong></p>
|
|
<p id="ContinueRollbackStack__p18829391418">Maximum: <strong id="ContinueRollbackStack__b108273924114">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section982143913416"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__en-us_topic_0000001757158481_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row082139174119"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="ContinueRollbackStack__p1283539104118">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="ContinueRollbackStack__p9834392414">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="ContinueRollbackStack__p17831839154114">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="ContinueRollbackStack__p68314395415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row118343918417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="ContinueRollbackStack__p3842039104113">Client-Request-Id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="ContinueRollbackStack__p58493911416">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="ContinueRollbackStack__p1784739134120">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="ContinueRollbackStack__p384539144110">A unique request ID is specified by a user to locate a request. UUID is recommended.</p>
|
|
<p id="ContinueRollbackStack__p18418391413">Minimum: <strong id="ContinueRollbackStack__b784163911416">36</strong></p>
|
|
<p id="ContinueRollbackStack__p1584103912414">Maximum: <strong id="ContinueRollbackStack__b11851739124119">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__en-us_topic_0000001757158481_request_ContinueRollbackStackRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row785103934111"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="ContinueRollbackStack__p58683912418">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="ContinueRollbackStack__p2086239184117">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="ContinueRollbackStack__p1686153934116">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="ContinueRollbackStack__p986123912412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row98583944119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="ContinueRollbackStack__p086133912418">stack_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="ContinueRollbackStack__p158663964110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="ContinueRollbackStack__p1586113912411">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="ContinueRollbackStack__p586133911415">Unique stack ID.</p>
|
|
<p id="ContinueRollbackStack__p186203912414">It is a UUID generated by RFS when a stack is created.</p>
|
|
<p id="ContinueRollbackStack__p187103918416">Stack names are unique at one specific time, so you can create a stack named HelloWorld and another stack with the same name after deleting the first one.</p>
|
|
<p id="ContinueRollbackStack__p10871939194114">For parallel development, team members may want to ensure that they are operating the stack they created, not one with the same name created by other members after deleting the previous one.</p>
|
|
<p id="ContinueRollbackStack__p3871539204119">To avoid this mismatch, check the ID, since RFS ensures each stack has a unique ID that does not change with updates. If the stack_id value differs from the current stack ID, 400 is returned.</p>
|
|
<p id="ContinueRollbackStack__p1787183974116">Minimum: <strong id="ContinueRollbackStack__b487739174117">36</strong></p>
|
|
<p id="ContinueRollbackStack__p148703924113">Maximum: <strong id="ContinueRollbackStack__b1873392417">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section1587339144114"><h4 class="sectiontitle">Response Parameters</h4><p id="ContinueRollbackStack__p1287103904118"><strong id="ContinueRollbackStack__b4872393417">Status code: 202</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__en-us_topic_0000001757158481_response_ContinueRollbackStackResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row1387039174110"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ContinueRollbackStack__p16881839154117">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="ContinueRollbackStack__p1689133984112">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="ContinueRollbackStack__p089183919415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row58723914110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ContinueRollbackStack__p1490339164119">deployment_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ContinueRollbackStack__p19023912412">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ContinueRollbackStack__p090133910419">Unique ID of the deployment triggered by continuing rollback. The ID is generated by RFS and is usually a UUID.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p129063916413"><strong id="ContinueRollbackStack__b169053912417">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__en-us_topic_0000001757158481_response_CommonErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row1790183912415"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="ContinueRollbackStack__p1991173917417">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="ContinueRollbackStack__p491939144118">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="ContinueRollbackStack__p39115391412">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row59014395411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ContinueRollbackStack__p199153974119">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ContinueRollbackStack__p16911839184118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ContinueRollbackStack__p159133994112">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row090123964112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="ContinueRollbackStack__p1592123934118">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="ContinueRollbackStack__p10921039134120">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="ContinueRollbackStack__p79273954112">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p19213916414"><strong id="ContinueRollbackStack__b209213912417">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table19213924117" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row693139104118"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="ContinueRollbackStack__p179333915412">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="ContinueRollbackStack__p129593904113">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="ContinueRollbackStack__p795143912416">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row49315395418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="ContinueRollbackStack__p1395153912411">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="ContinueRollbackStack__p1095839174114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="ContinueRollbackStack__p14953392411">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row293239124110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="ContinueRollbackStack__p696939174118">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="ContinueRollbackStack__p119611396415">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="ContinueRollbackStack__p8961839174117">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p9961339104120"><strong id="ContinueRollbackStack__b109611394413">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table1996113917417" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row2971139114113"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="ContinueRollbackStack__p20983396417">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="ContinueRollbackStack__p398123944118">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="ContinueRollbackStack__p119813904114">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row997173904116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="ContinueRollbackStack__p798839154115">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="ContinueRollbackStack__p799939104116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="ContinueRollbackStack__p16100939194116">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row19733912411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="ContinueRollbackStack__p41001339194118">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="ContinueRollbackStack__p2010053910414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="ContinueRollbackStack__p1810003910412">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p91009399412"><strong id="ContinueRollbackStack__b51002394412">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table6100163934118" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row16100939164116"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.1"><p id="ContinueRollbackStack__p410114399414">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.2"><p id="ContinueRollbackStack__p61017390411">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.11.2.4.1.3"><p id="ContinueRollbackStack__p14101183934119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row1610114396414"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="ContinueRollbackStack__p2010114398412">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="ContinueRollbackStack__p1910112399419">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="ContinueRollbackStack__p1210213396415">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row131011839134119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="ContinueRollbackStack__p210216399415">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="ContinueRollbackStack__p1710283934111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="ContinueRollbackStack__p81021339184110">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p1810213944118"><strong id="ContinueRollbackStack__b410213994113">Status code: 409</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table16102539114111" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row410263994119"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.1"><p id="ContinueRollbackStack__p310383984111">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.2"><p id="ContinueRollbackStack__p17103173917419">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.13.2.4.1.3"><p id="ContinueRollbackStack__p161039396416">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row1210253910417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="ContinueRollbackStack__p1910323919415">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="ContinueRollbackStack__p31033392414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="ContinueRollbackStack__p1110333974116">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row3102153954112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="ContinueRollbackStack__p610313944116">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="ContinueRollbackStack__p121031839134114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="ContinueRollbackStack__p3103133919415">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p310303934118"><strong id="ContinueRollbackStack__b1103123954110">Status code: 429</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table11103183984116" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row20104163915419"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.1"><p id="ContinueRollbackStack__p191047396418">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.2"><p id="ContinueRollbackStack__p15104539104119">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.15.2.4.1.3"><p id="ContinueRollbackStack__p1310416396415">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row1810473934115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="ContinueRollbackStack__p111041939134119">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="ContinueRollbackStack__p1610412399414">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="ContinueRollbackStack__p20104539144111">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row1104113964110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="ContinueRollbackStack__p41052399414">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="ContinueRollbackStack__p9105123915418">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="ContinueRollbackStack__p1110593934117">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ContinueRollbackStack__p1108639144112"><strong id="ContinueRollbackStack__b2010813917413">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__table81084398412" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="ContinueRollbackStack__row191091939164116"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.17.2.4.1.1"><p id="ContinueRollbackStack__p31091939114118">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.17.2.4.1.2"><p id="ContinueRollbackStack__p111101839144112">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.17.2.4.1.3"><p id="ContinueRollbackStack__p16110239184120">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row15109143914115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.1 "><p id="ContinueRollbackStack__p21106398418">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.2 "><p id="ContinueRollbackStack__p5110183914111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.17.2.4.1.3 "><p id="ContinueRollbackStack__p181101639114110">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row1810913910417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.1 "><p id="ContinueRollbackStack__p9110163904117">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.2 "><p id="ContinueRollbackStack__p211183914111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.17.2.4.1.3 "><p id="ContinueRollbackStack__p11111639154112">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section20111939174112"><h4 class="sectiontitle">Example Requests</h4><ul id="ContinueRollbackStack__ul18111183910411"><li id="ContinueRollbackStack__li5111739184112">Continue to roll back a stack.<pre class="screen" id="ContinueRollbackStack__screen21117399416">POST https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/rollbacks</pre>
|
|
</li><li id="ContinueRollbackStack__li81121739114119">Continue to roll back a stack and check whether the provided stack ID matches the current stack.<pre class="screen" id="ContinueRollbackStack__screen1711210399415">POST https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/rollbacks
|
|
|
|
{
|
|
"stack_id" : "8592967b-18b0-421b-b6c1-079c9ded3931"
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section71121539124112"><h4 class="sectiontitle">Example Responses</h4><p id="ContinueRollbackStack__p10112133924110"><strong id="ContinueRollbackStack__b171124391415">Status code: 202</strong></p>
|
|
<p id="ContinueRollbackStack__p13112123914416">The request is accepted. The stack continues to roll back.</p>
|
|
<pre class="screen" id="ContinueRollbackStack__screen72171839144117">{
|
|
"deployment_id" : "8592967b-18b0-421b-b6c1-079c9ded3931"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ContinueRollbackStack__section1021883915411"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ContinueRollbackStack__en-us_topic_0000001757158481_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ContinueRollbackStack__row811318391417"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="ContinueRollbackStack__p42181239204114">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="ContinueRollbackStack__p8218739134114">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ContinueRollbackStack__row311353913411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p12218153914113">202</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p18218133994118">The request is accepted. The stack continues to roll back.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row1511393964112"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p1321883924120">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p7218239154116">Invalid request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row211315392419"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p1421843944119">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p12181839184114">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row1113203916412"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p1421813911412">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><ol id="ContinueRollbackStack__ol11218143944120"><li id="ContinueRollbackStack__li18218339174112">Invalid stack status.</li><li id="ContinueRollbackStack__li202181839204117">The user does not have the permission to call this API.</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row3113739184112"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p1621810393411">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p82181539154110">The stack does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row31131339154111"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p192182398416">409</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p8218143994116">Request conflict. Another request is being processed on the current stack.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row21131395411"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p0218123916412">429</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p121818392412">Too frequent requests.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ContinueRollbackStack__row811363974111"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ContinueRollbackStack__p12218143914115">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ContinueRollbackStack__p8218123914115">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="topic_300000000.html">Stacks</a></div>
|
|
</div>
|
|
</div>
|
|
|