Files
doc-exports/docs/rfs/api-ref/DeployStack.html
2025-07-24 16:58:05 +00:00

564 lines
46 KiB
HTML

<a name="DeployStack"></a><a name="DeployStack"></a>
<h1 class="topictitle1">Deploying a Stack</h1>
<div id="body8662426"><div class="section" id="DeployStack__section191021262426"><h4 class="sectiontitle">Function</h4><p id="DeployStack__p3103112644213">DeployStack</p>
<p id="DeployStack__p11031726134218">This API deploys a created stack.</p>
<ul id="DeployStack__ul19104132613424"><li id="DeployStack__li8104192644219">You can call this API to update the template and parameters and trigger a new deployment.</li><li id="DeployStack__li19105142624211">This API triggers deployment directly. If users want to confirm deployment details in advance, create an execution plan by calling CreateExecutionPlan and get the execution plan by calling GetExecutionPlan.</li><li id="DeployStack__li410542617427">Assign all the templates and vars and then call this API.</li><li id="DeployStack__li210652613424">If automatic rollback is enabled, the stack rolls back once its deployment fails. If automatic rollback is disabled, the stack stays in the current status when the deployment fails.</li></ul>
</div>
<div class="section" id="DeployStack__section101071826134217"><h4 class="sectiontitle">Debugging</h4><p id="DeployStack__p121081326114210">You can debug this API through automatic authentication in <a href="https://console.huaweicloud.com/apiexplorer/#/openapi/AOS/doc?api=DeployStack" target="_blank" rel="noopener noreferrer">API Explorer</a> or use the SDK sample code generated by API Explorer.</p>
</div>
<div class="section" id="DeployStack__section1810982617421"><h4 class="sectiontitle">URI</h4><p id="DeployStack__p611020266421">POST /v1/{project_id}/stacks/{stack_name}/deployments</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table811272694216" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="DeployStack__row121111426174217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="DeployStack__p41129264422">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="DeployStack__p611392634220">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="DeployStack__p15113526144216">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="DeployStack__p7114202674217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row91116267422"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="DeployStack__p911412614216">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="DeployStack__p101151126104210">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="DeployStack__p11161326104215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="DeployStack__p811692634219">A project ID is obtained by calling an API or from the console.</p>
<p id="DeployStack__p1711802615429">Minimum: <strong id="DeployStack__b1118326154214">3</strong></p>
<p id="DeployStack__p1811822619423">Maximum: <strong id="DeployStack__b10119172674212">64</strong></p>
</td>
</tr>
<tr id="DeployStack__row1611112644213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="DeployStack__p121191126144216">stack_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="DeployStack__p8120162612427">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="DeployStack__p16120192620420">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="DeployStack__p0121162644216">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="DeployStack__p912213262423">Minimum: <strong id="DeployStack__b1612272614427">1</strong></p>
<p id="DeployStack__p312272618423">Maximum: <strong id="DeployStack__b1512318265422">128</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="DeployStack__section131232026194220"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="DeployStack__row01250269428"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="DeployStack__p1312692624211">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="DeployStack__p61262026184219">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="DeployStack__p161278269425">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="DeployStack__p912822664217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row16125026104212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="DeployStack__p15128182654218">Client-Request-Id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="DeployStack__p1012942694218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="DeployStack__p201291526184215">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="DeployStack__p8130142615423">A unique request ID is specified by a user to locate a request. UUID is recommended.</p>
<p id="DeployStack__p6130182614218">Minimum: <strong id="DeployStack__b1213122624218">36</strong></p>
<p id="DeployStack__p1913172611421">Maximum: <strong id="DeployStack__b1613112664218">128</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_request_DeployStackRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="DeployStack__row9132132611420"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.1"><p id="DeployStack__p10133112664218">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.2"><p id="DeployStack__p913311263427">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.5.1.3"><p id="DeployStack__p1613422620424">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.3.2.5.1.4"><p id="DeployStack__p41351226164215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row713262674217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p141351026104211">template_body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p1136172612420">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p013617261420">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p813732612425">HCL template. It describes the target status of a resource. RFS compares the differences between the statuses of this template and the current remote resources.</p>
<p id="DeployStack__p9138626134217">Either template_body or template_uri must be specified but they both cannot be specified together.</p>
<p id="DeployStack__p10138726124215"><em id="DeployStack__i2013972617429">In the CreateStack API, template_body and template_uri are optional.</em></p>
<p id="DeployStack__p4139152613422"><strong id="DeployStack__b15139172618421">Note:</strong></p>
<ul id="DeployStack__ul2013972617427"><li id="DeployStack__li1714022664211">template_body cannot contain any sensitive information. RFS directly uses, logs, displays, and stores the corresponding template_body in plaintext. If the information is sensitive, you are advised to use vars_structure to change the information to a variable and set the encryption field to enable encrypted transmission.</li></ul>
<p id="DeployStack__p7140192654213">Minimum: <strong id="DeployStack__b81411826104214">0</strong></p>
<p id="DeployStack__p161411326124214">Maximum: <strong id="DeployStack__b314112262428">51200</strong></p>
</td>
</tr>
<tr id="DeployStack__row111321026154210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p11142626164218">template_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p914292674213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p1014342613421">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p1514415267428">OBS address of an HCL template. The template describes the target status of a resource. RFS compares the differences between the statuses of this template and the current remote resources.</p>
<p id="DeployStack__p1314413260422">The OBS address allows mutual access to regions of the same type. Regions are classified into universal regions and dedicated regions. A universal region provides universal cloud services for common tenants. A dedicated region provides specific services for specific tenants.</p>
<p id="DeployStack__p914516267426">The corresponding file must be a tf file or a zip package.</p>
<p id="DeployStack__p8145122674214">A pure .tf file must end with .tf or .tf.json and comply with the HCL syntax.</p>
<p id="DeployStack__p41469267428">Currently, only the .zip package is supported. The file name extension must be .zip. The decompressed file cannot contain the .tfvars file and must be encoded in UTF8 format (the .tf.json file cannot contain the BOM header). The .zip package supports a maximum of 100 subfiles.</p>
<p id="DeployStack__p81464263424">Either template_body or template_uri must be specified.</p>
<p id="DeployStack__p2147132664212"><em id="DeployStack__i4147132654213">In the CreateStack API, template_body and template_uri are optional.</em></p>
<p id="DeployStack__p15147162610422"><strong id="DeployStack__b141481626194218">Note</strong>:</p>
<ul id="DeployStack__ul514832604219"><li id="DeployStack__li0148726154212">The template file corresponds to template_uri cannot contain any sensitive information. RFS directly uses, logs, displays, and stores the content of the template file in plaintext. If the information is sensitive, you are advised to use vars_structure to change the information to a variable and set the encryption field to enable encrypted transmission.</li><li id="DeployStack__li13149142654213">If the template file corresponding to template_uri is of zip type, the length of the internal file or folder name must not exceed 255 bytes, the length of the deepest path must not exceed 2048 bytes, and the size of the zip package must not exceed 1MB.</li></ul>
<p id="DeployStack__p15149202674219">Minimum: <strong id="DeployStack__b10150926184220">0</strong></p>
<p id="DeployStack__p6150326124211">Maximum: <strong id="DeployStack__b13150102694215">2048</strong></p>
</td>
</tr>
<tr id="DeployStack__row8132112604218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p121511262424">vars_structure</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p12151192610428">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p61521426134211">Array of <a href="#DeployStack__en-us_topic_0000001757158477_request_VarsStructure">VarsStructure</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p515320264425">HCL variable structure. Transferring variables is supported by the HCL template. The same template can use different variables for different purposes.</p>
<ul id="DeployStack__ul16153192624210"><li id="DeployStack__li12153026154213">var_structure allows string variables.</li><li id="DeployStack__li21544266424">RFS supports vars_structure, vars_body, and vars_uri. If they declare the same variable, error code 400 will be reported.</li><li id="DeployStack__li1215562684220">vars_structure only supports string variables. To use variables of other types, you need to convert them in HCL reference. Alternatively, you can use vars_uri and vars_body, which support various types and complex structures supported by HCL.</li><li id="DeployStack__li6156132611420">If vars_structure is too large, you can use vars_uri.</li><li id="DeployStack__li1815714269427">Note: vars_structure cannot contain any sensitive information. RFS directly uses, logs, displays, and stores the corresponding vars in plaintext. If the information is sensitive, you are advised to set the encryption field.</li></ul>
<p id="DeployStack__p515712269425">Array Length: <strong id="DeployStack__b17158202612428">0 - 100</strong></p>
</td>
</tr>
<tr id="DeployStack__row1213232614429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p1315862674219">vars_body</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p2015972618429">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p9159122620428">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p20160192654210">Content of the HCL variable file. Transferring variables is supported by the HCL template. The same template can use different variables for different purposes.</p>
<ul id="DeployStack__ul201601626154219"><li id="DeployStack__li7161526184211">The vars_body uses the tfvars format of HCL. You can submit the content in the .tfvars file to the vars_body.</li><li id="DeployStack__li8161192619423">RFS supports vars_structure, vars_body, and vars_uri. If they declare the same variable, error code 400 will be reported.</li><li id="DeployStack__li1916262619422">If vars_body is too large, you can use vars_uri.</li><li id="DeployStack__li16162152620429">If the content in vars is simple strings, you can use var_structure.</li><li id="DeployStack__li1716372664215">vars_body cannot contain any sensitive information. RFS directly uses, logs, displays, and stores the corresponding vars in plaintext. If the information is sensitive, you are advised to use vars_structure and set the encryption field for transmission.</li></ul>
<p id="DeployStack__p71641269422">Minimum: <strong id="DeployStack__b7164152694212">0</strong></p>
<p id="DeployStack__p31641426104213">Maximum: <strong id="DeployStack__b141650261429">51200</strong></p>
</td>
</tr>
<tr id="DeployStack__row21328261426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p1316552613429">vars_uri</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p3166326114213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p15166162624218">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p1916718268427">OBS address of the HCL variable file. Transferring variables is supported by the HCL template. The same template can use different variables for different purposes.</p>
<p id="DeployStack__p12167162654219">The OBS address allows mutual access to regions of the same type. Regions are classified into universal regions and dedicated regions. A universal region provides universal cloud services for common tenants. A dedicated region provides specific services for specific tenants.</p>
<ul id="DeployStack__ul716816266428"><li id="DeployStack__li71681126194214">RFS supports vars_structure, vars_body, and vars_uri. If they declare the same variable, error code 400 will be reported.</li><li id="DeployStack__li11169426154217">The content in vars_uri uses the tfvars format of HCL. You can save the content in .tfvars to a file, upload the file to OBS, and transfer the pre-signed URL of OBS to vars_uri.</li><li id="DeployStack__li417017267429">vars_uri cannot contain any sensitive information. RFS directly uses, logs, displays, and stores the corresponding vars in plaintext. If the information is sensitive, you are advised to use vars_structure and set the encryption field for transmission.</li></ul>
<p id="DeployStack__p13171226194219">Minimum: <strong id="DeployStack__b31711226114213">0</strong></p>
<p id="DeployStack__p1317113262429">Maximum: <strong id="DeployStack__b917211262427">2048</strong></p>
</td>
</tr>
<tr id="DeployStack__row1913252613421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.1 "><p id="DeployStack__p15172152674217">stack_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.2 "><p id="DeployStack__p7173526204218">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.5.1.3 "><p id="DeployStack__p171730268428">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.3.2.5.1.4 "><p id="DeployStack__p117472610424">Unique stack ID.</p>
<p id="DeployStack__p217562614421">It is a UUID generated by RFS when a stack is created.</p>
<p id="DeployStack__p18175182613425">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="DeployStack__p917652644218">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="DeployStack__p917620260426">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="DeployStack__p8177112654210">Minimum: <strong id="DeployStack__b517742611426">36</strong></p>
<p id="DeployStack__p141788261426">Maximum: <strong id="DeployStack__b117812654212">36</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="DeployStack__en-us_topic_0000001757158477_request_VarsStructure"></a><a name="en-us_topic_0000001757158477_request_VarsStructure"></a><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_request_VarsStructure" frame="border" border="1" rules="all"><caption><b>Table 4 </b>VarsStructure</caption><thead align="left"><tr id="DeployStack__row4178526124214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.1"><p id="DeployStack__p1317972644215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.2"><p id="DeployStack__p318019263428">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.5.1.3"><p id="DeployStack__p14181102617421">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.4.2.5.1.4"><p id="DeployStack__p13181426114217">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row2178132610426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="DeployStack__p1918282664219">var_key</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="DeployStack__p6182192610420">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="DeployStack__p318312262423">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="DeployStack__p818312266425">Variable name.</p>
<p id="DeployStack__p218442614217">Minimum: <strong id="DeployStack__b1618417264423">1</strong></p>
<p id="DeployStack__p6185172612420">Maximum: <strong id="DeployStack__b1418552694210">32</strong></p>
</td>
</tr>
<tr id="DeployStack__row4178192654215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="DeployStack__p171857264422">var_value</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="DeployStack__p4186626154220">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="DeployStack__p11878263423">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="DeployStack__p18188926174218">Variable value.</p>
<p id="DeployStack__p13188142612423">Variables must be in the form of a string. If a parameter is a number, it must also be in the form of a string, for example, '10'.</p>
<p id="DeployStack__p1718922611421">For different types or complex structures, you can use vars_uri or vars_body.</p>
<p id="DeployStack__p101891726124210">Minimum: <strong id="DeployStack__b18190112614422">0</strong></p>
<p id="DeployStack__p17190172644215">Maximum: <strong id="DeployStack__b111911626124210">2048</strong></p>
</td>
</tr>
<tr id="DeployStack__row8178192610421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.1 "><p id="DeployStack__p121911326194215">encryption</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.2 "><p id="DeployStack__p191921426114213">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.5.1.3 "><p id="DeployStack__p11922026134218"><a href="#DeployStack__en-us_topic_0000001757158477_request_EncryptionStructure">EncryptionStructure</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.4.2.5.1.4 "><p id="DeployStack__p1019372604217">If a transferred var_value has been encrypted, you can declare this variable to require RFS to decrypt the var_value before using it. Currently, only KMS encryption and decryption are supported.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="DeployStack__en-us_topic_0000001757158477_request_EncryptionStructure"></a><a name="en-us_topic_0000001757158477_request_EncryptionStructure"></a><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_request_EncryptionStructure" frame="border" border="1" rules="all"><caption><b>Table 5 </b>EncryptionStructure</caption><thead align="left"><tr id="DeployStack__row1019462634210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.1"><p id="DeployStack__p7196122613420">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.2"><p id="DeployStack__p111971926124214">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.5.1.3"><p id="DeployStack__p4197192684216">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.5.2.5.1.4"><p id="DeployStack__p419812617423">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row1519412634210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.1 "><p id="DeployStack__p1219892684213">kms</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.2 "><p id="DeployStack__p8199192694218">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.5.1.3 "><p id="DeployStack__p1620042618425"><a href="#DeployStack__en-us_topic_0000001757158477_request_KmsStructure">KmsStructure</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.5.2.5.1.4 "><p id="DeployStack__p1020118265422">If an assigned var_value is encrypted by KMS, related encryption information can be transferred. RFS will help you decrypt the var_value by KMS.</p>
<p id="DeployStack__p1920292604220"><strong id="DeployStack__b1220316266425">Note:</strong></p>
<ul id="DeployStack__ul1520352694211"><li id="DeployStack__li02038269429">The agency you specify for RFS should have the operation permissions on the specified key ID.</li><li id="DeployStack__li1785411205813">KMS provides a quota for free trial every month. If the quota is exceeded, you will be billed for KMS. The fee is not billed by RFS.</li><li id="DeployStack__li13204826114211">KMS encryption only indicates that RFS uses ciphertext for storage and transmission. However, RFS still uses plaintext in stack-events. If you want RFS to use ciphertext in logs, you can declare sensitive in templates. For more information about sensitive, refer to https://learn.hashicorp.com/tutorials/terraform/sensitive-variables.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="DeployStack__en-us_topic_0000001757158477_request_KmsStructure"></a><a name="en-us_topic_0000001757158477_request_KmsStructure"></a><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_request_KmsStructure" frame="border" border="1" rules="all"><caption><b>Table 6 </b>KmsStructure</caption><thead align="left"><tr id="DeployStack__row320617267427"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.1"><p id="DeployStack__p19207162614426">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.2"><p id="DeployStack__p920882614219">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.5.1.3"><p id="DeployStack__p5208202604218">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.6.2.5.1.4"><p id="DeployStack__p1420982619424">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row920616263426"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="DeployStack__p1820912644212">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="DeployStack__p112101026144219">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="DeployStack__p821010268420">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="DeployStack__p1221113265424">KMS key ID is used by RFS during decryption. Generally, the key ID is that used for encryption.</p>
<p id="DeployStack__p122120262427">Minimum: <strong id="DeployStack__b192121926204211">36</strong></p>
<p id="DeployStack__p12212126194220">Maximum: <strong id="DeployStack__b42121626184218">36</strong></p>
</td>
</tr>
<tr id="DeployStack__row10206182684217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.1 "><p id="DeployStack__p1621392694217">cipher_text</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.2 "><p id="DeployStack__p18213226184213">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.5.1.3 "><p id="DeployStack__p521422619429">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.6.2.5.1.4 "><p id="DeployStack__p5215926154217">Ciphertext of data encryption key.</p>
<p id="DeployStack__p2215142684220">Minimum: <strong id="DeployStack__b12161526164217">2</strong></p>
<p id="DeployStack__p1521614264420">Maximum: <strong id="DeployStack__b132161226194216">2048</strong></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="DeployStack__section7217172615422"><h4 class="sectiontitle">Response Parameters</h4><p id="DeployStack__p16218172684220"><strong id="DeployStack__b621812654219">Status code: 202</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_response_DeployStackResponseBody" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row1821982611424"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="DeployStack__p02201426164216">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="DeployStack__p142201526164219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="DeployStack__p1522192612423">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row10219112624220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="DeployStack__p1922242617428">deployment_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="DeployStack__p422220264427">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="DeployStack__p17223126144217">Deployment ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p6224182654212"><strong id="DeployStack__b22245264429">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_response_CommonErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row622413264425"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.1"><p id="DeployStack__p1822642684216">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.5.2.4.1.2"><p id="DeployStack__p14226102684212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.5.2.4.1.3"><p id="DeployStack__p102273265424">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row122243262428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="DeployStack__p1822762674213">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="DeployStack__p102281626174216">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="DeployStack__p152291726124213">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row822592620427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.1 "><p id="DeployStack__p8230172644211">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.5.2.4.1.2 "><p id="DeployStack__p123112262421">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.5.2.4.1.3 "><p id="DeployStack__p9231152614425">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p1433692614422"><strong id="DeployStack__b13336122616427">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table1123516260423" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row323582612428"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.1"><p id="DeployStack__p33371826104215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.7.2.4.1.2"><p id="DeployStack__p0337226104211">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.7.2.4.1.3"><p id="DeployStack__p1633722614215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row923582612422"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="DeployStack__p6337182694212">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="DeployStack__p633810264424">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="DeployStack__p18338126124216">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row1323616269425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.1 "><p id="DeployStack__p53391226164217">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.7.2.4.1.2 "><p id="DeployStack__p15340626144218">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.7.2.4.1.3 "><p id="DeployStack__p13401826144211">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p8341102644214"><strong id="DeployStack__b934118262426">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table10242182674218" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row18242526164220"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.1"><p id="DeployStack__p2342132654215">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.9.2.4.1.2"><p id="DeployStack__p113421326114219">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.9.2.4.1.3"><p id="DeployStack__p1934242684214">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row162421326124214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="DeployStack__p3343326124212">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="DeployStack__p1934372617421">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="DeployStack__p1034320269421">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row524215262429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.1 "><p id="DeployStack__p18344132612425">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.9.2.4.1.2 "><p id="DeployStack__p6344526174217">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.9.2.4.1.3 "><p id="DeployStack__p193443268429">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p1434592610422"><strong id="DeployStack__b93451264427">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table924872612429" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row3248162618424"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.1"><p id="DeployStack__p434612262427">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.11.2.4.1.2"><p id="DeployStack__p13466262427">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.11.2.4.1.3"><p id="DeployStack__p113465262421">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row72489266429"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="DeployStack__p7347112644215">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="DeployStack__p634732618422">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="DeployStack__p33471267427">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row1624842617427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.1 "><p id="DeployStack__p16348112613427">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.11.2.4.1.2 "><p id="DeployStack__p2348132674219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.11.2.4.1.3 "><p id="DeployStack__p9348826104210">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p1634919262422"><strong id="DeployStack__b53496265422">Status code: 409</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table1525452616426" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row16254152616422"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.1"><p id="DeployStack__p1235017261420">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.13.2.4.1.2"><p id="DeployStack__p18350926194212">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.13.2.4.1.3"><p id="DeployStack__p335016269424">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row12254162613423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="DeployStack__p19350192674210">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="DeployStack__p12351152618428">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="DeployStack__p4351626114216">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row19254192612427"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.1 "><p id="DeployStack__p11352172613427">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.13.2.4.1.2 "><p id="DeployStack__p935212260422">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.13.2.4.1.3 "><p id="DeployStack__p143521326204218">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p1835322644216"><strong id="DeployStack__b13531226184214">Status code: 429</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table1126042634213" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row1326011265429"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.1"><p id="DeployStack__p935472615423">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.15.2.4.1.2"><p id="DeployStack__p1035402684214">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.15.2.4.1.3"><p id="DeployStack__p16354426134211">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row926032617423"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="DeployStack__p12354192684213">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="DeployStack__p73541226114214">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="DeployStack__p335516262424">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row13260226174217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.1 "><p id="DeployStack__p3356226114214">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.15.2.4.1.2 "><p id="DeployStack__p1335642644219">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.15.2.4.1.3 "><p id="DeployStack__p9356132618423">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="DeployStack__p18357102617423"><strong id="DeployStack__b10358152617423">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__table326722620429" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="DeployStack__row112677265426"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.17.2.4.1.1"><p id="DeployStack__p18358202610425">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.17.2.4.1.2"><p id="DeployStack__p163586265427">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.17.2.4.1.3"><p id="DeployStack__p14359026174212">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row326712604212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.1 "><p id="DeployStack__p123591260426">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.2 "><p id="DeployStack__p3359152610429">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.17.2.4.1.3 "><p id="DeployStack__p11359626194217">Response code.</p>
</td>
</tr>
<tr id="DeployStack__row126718268425"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.1 "><p id="DeployStack__p143601926154213">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.17.2.4.1.2 "><p id="DeployStack__p19361526194220">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.17.2.4.1.3 "><p id="DeployStack__p12361152614214">Response message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="DeployStack__section8362112613425"><h4 class="sectiontitle">Example Requests</h4><p id="DeployStack__p1036262610422">Transfer template and variable information using OBS signed URL.</p>
<pre class="screen" id="DeployStack__screen33626263425">POST https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/deployments
{
"template_uri" : "https://my_hello_world_bucket.{region}.otc.t-systems.com/my-hello-world-template.tf",
"vars_uri" : "https://my_hello_world_bucket.{region}.otc.t-systems.com/my-hello-world-vars.tfvars",
"stack_id" : "1b15e005-bdbb-4bd7-8f9a-a09b6774b4b3"
}</pre>
</div>
<div class="section" id="DeployStack__section336411267420"><h4 class="sectiontitle">Example Responses</h4><p id="DeployStack__p1436472619423"><strong id="DeployStack__b1136472614212">Status code: 202</strong></p>
<p id="DeployStack__p53641265429">The request is accepted and processed asynchronously.</p>
<pre class="screen" id="DeployStack__screen1936516265428">{
"deployment_id" : "3fef5d3e-27b6-44e8-9769-1d7262bd9430"
}</pre>
</div>
<div class="section" id="DeployStack__section13366122617425"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="DeployStack__en-us_topic_0000001757158477_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="DeployStack__row22791326104216"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="DeployStack__p1036642619422">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="DeployStack__p10366826114215">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="DeployStack__row2279182618423"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p16367202694220">202</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p5367112684214">The request is accepted and processed asynchronously.</p>
</td>
</tr>
<tr id="DeployStack__row10279112624210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p936712615427">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p8367826154214">Invalid request.</p>
</td>
</tr>
<tr id="DeployStack__row122791826164211"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p436872644211">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p1336872614216">Authentication failed.</p>
</td>
</tr>
<tr id="DeployStack__row327920261426"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p14368826144217">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><ol id="DeployStack__ol83681126134220"><li id="DeployStack__li1336872617426">Invalid stack status.</li><li id="DeployStack__li436992634216">The user does not have the permission to call this API.</li></ol>
</td>
</tr>
<tr id="DeployStack__row1627912268425"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p43691626104211">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p8369142617428">The stack does not exist.</p>
</td>
</tr>
<tr id="DeployStack__row9279226164210"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p10370926134218">409</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p237012260426">Request conflict. Another request is being processed on the current stack.</p>
</td>
</tr>
<tr id="DeployStack__row92794264424"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p16370152624215">429</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p1370182624219">Too frequent requests.</p>
</td>
</tr>
<tr id="DeployStack__row14279172610427"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="DeployStack__p173711426134220">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="DeployStack__p13371226174213">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>