forked from docs/doc-exports
426 lines
30 KiB
HTML
426 lines
30 KiB
HTML
<a name="ListStackOutputs"></a><a name="ListStackOutputs"></a>
|
|
|
|
<h1 class="topictitle1">Listing Stack Outputs</h1>
|
|
<div id="body8662426"><div class="section" id="ListStackOutputs__section1790923843918"><h4 class="sectiontitle">Function</h4><p id="ListStackOutputs__p1690923803913">ListStackOutputs</p>
|
|
<p id="ListStackOutputs__p5909133811391">This API lists all outputs of a stack.</p>
|
|
<p id="ListStackOutputs__p7910638123919">The stack output is the return information generated after the deployment of the output statement block defined in the template is complete. After the deployment is complete, you can call this API to obtain the specific output information.</p>
|
|
<p id="ListStackOutputs__p1091093843919">If the stack is in a non-final state (ending with IN_PROGRESS), this API returns empty value. The non-final states may include:</p>
|
|
<ul id="ListStackOutputs__ul391015388390"><li id="ListStackOutputs__li179105381395">DEPLOYMENT_IN_PROGRESS</li><li id="ListStackOutputs__li119101938143919">DELETION_IN_PROGRESS</li><li id="ListStackOutputs__li179101838123911">ROLLBACK_IN_PROGRESS</li></ul>
|
|
<p id="ListStackOutputs__p1191013385393">Output is defined in the HCL syntax. The returned information is similar to the return value programmatically. For details, refer to the HCL documentation.</p>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section18911238203918"><h4 class="sectiontitle">Debugging</h4><p id="ListStackOutputs__p119111438193911">You can debug this API through automatic authentication in <a href="https://console.huaweicloud.com/apiexplorer/#/openapi/AOS/doc?api=ListStackOutputs" target="_blank" rel="noopener noreferrer">API Explorer</a> or use the SDK sample code generated by API Explorer.</p>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section2911163823917"><h4 class="sectiontitle">URI</h4><p id="ListStackOutputs__p99111384392">GET /v1/{project_id}/stacks/{stack_name}/outputs</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table491233813393" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ListStackOutputs__row7912173818397"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ListStackOutputs__p29121138203919">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ListStackOutputs__p10913338173916">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ListStackOutputs__p169131738143916">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ListStackOutputs__p169133384391">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row13912038163917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStackOutputs__p13913163812395">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStackOutputs__p591313853920">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStackOutputs__p4913123818398">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStackOutputs__p1891363823910">A project ID is obtained by calling an API or from the console.</p>
|
|
<p id="ListStackOutputs__p11914238193910">Minimum: <strong id="ListStackOutputs__b2914123853911">3</strong></p>
|
|
<p id="ListStackOutputs__p129143387398">Maximum: <strong id="ListStackOutputs__b1791473815391">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row6912123873919"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStackOutputs__p169141381392">stack_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStackOutputs__p139141938183912">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStackOutputs__p19141238173919">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStackOutputs__p1391410389396">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="ListStackOutputs__p11914173820390">Minimum: <strong id="ListStackOutputs__b19914838153915">1</strong></p>
|
|
<p id="ListStackOutputs__p191416386393">Maximum: <strong id="ListStackOutputs__b7915123811397">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table89151938123913" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="ListStackOutputs__row2915113853920"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="ListStackOutputs__p491553823917">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="ListStackOutputs__p6915238133910">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="ListStackOutputs__p1091512386393">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="ListStackOutputs__p11915113812393">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row19915133812393"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStackOutputs__p159161138143914">stack_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStackOutputs__p3916163820399">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStackOutputs__p19916238193919">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStackOutputs__p1916103812399">Unique stack ID.</p>
|
|
<p id="ListStackOutputs__p59161538183912">It is a UUID generated by RFS when a stack is created.</p>
|
|
<p id="ListStackOutputs__p10916338103915">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="ListStackOutputs__p991683853916">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="ListStackOutputs__p13916123813918">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="ListStackOutputs__p79161438143916">Minimum: <strong id="ListStackOutputs__b1291673819392">36</strong></p>
|
|
<p id="ListStackOutputs__p12916133813918">Maximum: <strong id="ListStackOutputs__b591663820396">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section209161538123916"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__en-us_topic_0000001757038285_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="ListStackOutputs__row8917193883918"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="ListStackOutputs__p49177387397">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="ListStackOutputs__p17917163813393">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="ListStackOutputs__p19917123833920">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="ListStackOutputs__p1891753815392">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row169173380398"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="ListStackOutputs__p149170389395">Client-Request-Id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="ListStackOutputs__p791723811399">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="ListStackOutputs__p59171938153915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="ListStackOutputs__p39181838173918">A unique request ID is specified by a user to locate a request. UUID is recommended.</p>
|
|
<p id="ListStackOutputs__p1918638123911">Minimum: <strong id="ListStackOutputs__b16918133816391">36</strong></p>
|
|
<p id="ListStackOutputs__p15918173817394">Maximum: <strong id="ListStackOutputs__b391833893911">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section99181438153917"><h4 class="sectiontitle">Response Parameters</h4><p id="ListStackOutputs__p891816383394"><strong id="ListStackOutputs__b691943833910">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__en-us_topic_0000001757038285_response_ListStackOutputsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row20919113818393"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ListStackOutputs__p109201238193912">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="ListStackOutputs__p15920203812396">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="ListStackOutputs__p892063819398">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row18919153818393"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListStackOutputs__p1792063814390">outputs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListStackOutputs__p139208389392">Array of <a href="#ListStackOutputs__en-us_topic_0000001757038285_response_StackOutput">StackOutput</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListStackOutputs__p12920133811396">Stack output list.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListStackOutputs__en-us_topic_0000001757038285_response_StackOutput"></a><a name="en-us_topic_0000001757038285_response_StackOutput"></a><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__en-us_topic_0000001757038285_response_StackOutput" frame="border" border="1" rules="all"><caption><b>Table 5 </b>StackOutput</caption><thead align="left"><tr id="ListStackOutputs__row199211738193914"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="ListStackOutputs__p14921163823918">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="ListStackOutputs__p11921838203917">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="ListStackOutputs__p159224389395">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row179211638103913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackOutputs__p79221385393">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackOutputs__p1792215382395">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackOutputs__p189223382398">Name of a stack output, defined in a template.</p>
|
|
<p id="ListStackOutputs__p1922173815398">For example, in the following HCL template, the value of name is vpc_id.</p>
|
|
<pre class="screen" id="ListStackOutputs__screen1092283818391">output "vpc_id" {
|
|
value = opentelekomcloud_vpc_v1.my_hello_world_vpc.id
|
|
}</pre>
|
|
<p id="ListStackOutputs__p392316382395">In a JSON template, the value of name is vpc_id.</p>
|
|
<pre class="screen" id="ListStackOutputs__screen20923238143910">{
|
|
"output": {
|
|
"vpc_id": [
|
|
{
|
|
"value": "${opentelekomcloud_vpc_v1.my_hello_world_vpc.id}"
|
|
}
|
|
]
|
|
}
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row79219387393"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackOutputs__p792353893917">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackOutputs__p189231738103916">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackOutputs__p1792393811391">Description of a stack output, defined in a template.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row1792153893912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackOutputs__p992453803919">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackOutputs__p192416381399">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackOutputs__p1592493813917">Output type of a stack.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row14921638133911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackOutputs__p492463863913">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackOutputs__p1392416381395">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackOutputs__p1992417385399">Output value of a stack.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row79211838103912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackOutputs__p1592416388398">sensitive</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackOutputs__p692433893917">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackOutputs__p49241338143912">Whether a stack output is sensitive. This is defined in a template.</p>
|
|
<p id="ListStackOutputs__p17845152124515">If an output is defined as sensitive in a template, the actual value and type of the output will not be returned in the reponse body.</p>
|
|
<p id="ListStackOutputs__p1349103244613">Instead, it will be returned.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p1924113813397"><strong id="ListStackOutputs__b6924163823910">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__en-us_topic_0000001757038285_response_CommonErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row7924338183910"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="ListStackOutputs__p19925193812397">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p id="ListStackOutputs__p69251538183910">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p id="ListStackOutputs__p17925123810395">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row1192419380397"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStackOutputs__p4925738163911">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStackOutputs__p11925438183918">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStackOutputs__p14925123873919">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row5924538163910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStackOutputs__p99255385391">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStackOutputs__p1592563811391">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStackOutputs__p1925133843919">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p9926103883918"><strong id="ListStackOutputs__b169261438183914">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table1692663810392" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row29261338173913"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.1"><p id="ListStackOutputs__p179268383394">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.2"><p id="ListStackOutputs__p11926038203914">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.8.2.4.1.3"><p id="ListStackOutputs__p092614386396">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row2926538153914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="ListStackOutputs__p792693814399">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="ListStackOutputs__p592603817390">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="ListStackOutputs__p2092610388391">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row29261938193914"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="ListStackOutputs__p1792613843918">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="ListStackOutputs__p192783818393">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="ListStackOutputs__p49271238143913">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p8927173893912"><strong id="ListStackOutputs__b092733815394">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table11927123820394" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row1792715381399"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.1"><p id="ListStackOutputs__p1592793863913">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.2"><p id="ListStackOutputs__p79272388391">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.10.2.4.1.3"><p id="ListStackOutputs__p1592715383392">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row79271838143913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="ListStackOutputs__p2092716380395">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="ListStackOutputs__p89281138183915">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="ListStackOutputs__p14928113873918">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row1792743803917"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="ListStackOutputs__p119281538103920">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="ListStackOutputs__p18928103818398">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="ListStackOutputs__p392893811392">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p16928153816390"><strong id="ListStackOutputs__b1928133803917">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table49281438153912" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row592843815398"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.1"><p id="ListStackOutputs__p109291383398">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.2"><p id="ListStackOutputs__p592933813911">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.12.2.4.1.3"><p id="ListStackOutputs__p4929123814391">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row6929123853913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="ListStackOutputs__p49291838113917">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="ListStackOutputs__p16929338193913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="ListStackOutputs__p292919382393">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row13929173812397"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="ListStackOutputs__p169293386398">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="ListStackOutputs__p1493043812395">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="ListStackOutputs__p99303382397">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p39301738113911"><strong id="ListStackOutputs__b793011381395">Status code: 429</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table1593003823910" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row1393012386398"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.14.2.4.1.1"><p id="ListStackOutputs__p1393023818393">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.14.2.4.1.2"><p id="ListStackOutputs__p16931193853914">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.14.2.4.1.3"><p id="ListStackOutputs__p179311438143919">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row18930153823910"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="ListStackOutputs__p10931203819396">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.2 "><p id="ListStackOutputs__p1593193818390">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.14.2.4.1.3 "><p id="ListStackOutputs__p129318381394">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row14930193810399"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="ListStackOutputs__p593173843914">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.2 "><p id="ListStackOutputs__p19311638123913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.14.2.4.1.3 "><p id="ListStackOutputs__p39311638153911">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackOutputs__p1593111382391"><strong id="ListStackOutputs__b193117386392">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__table89315381394" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="ListStackOutputs__row8931133893913"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.1"><p id="ListStackOutputs__p4932173817390">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.2"><p id="ListStackOutputs__p6932143873919">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.16.2.4.1.3"><p id="ListStackOutputs__p4932153803914">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row16932238153911"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="ListStackOutputs__p1593203883919">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="ListStackOutputs__p2932638173912">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="ListStackOutputs__p235039153915">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row12932153823916"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="ListStackOutputs__p1536123973913">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="ListStackOutputs__p153673973913">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="ListStackOutputs__p23623943920">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section43623923917"><h4 class="sectiontitle">Example Requests</h4><ul id="ListStackOutputs__ul33612397396"><li id="ListStackOutputs__li636153914399">List the stack outputs.<pre class="screen" id="ListStackOutputs__screen1636339133913">GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/outputs</pre>
|
|
</li><li id="ListStackOutputs__li16361739183910">List the stack outputs and check whether the stack ID matches the current stack.<pre class="screen" id="ListStackOutputs__screen11361639113914">GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/outputs?stack_id=ea6a4f0e-ee8a-494e-b12a-8be4a1e65af2</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section11365397395"><h4 class="sectiontitle">Example Responses</h4><p id="ListStackOutputs__p23610395391"><strong id="ListStackOutputs__b15361139113918">Status code: 200</strong></p>
|
|
<p id="ListStackOutputs__p736153918392">The stack outputs listed.</p>
|
|
<pre class="screen" id="ListStackOutputs__screen203673918395">{
|
|
"outputs" : [ {
|
|
"name" : "my_first_vpc",
|
|
"sensitive" : true,
|
|
"type" : "<sensitive>",
|
|
"value" : "<sensitive>",
|
|
"description" : "type and value is invisible when sensitive is true."
|
|
}, {
|
|
"name" : "my_second_vpc",
|
|
"type" : "string",
|
|
"value" : "\"opentelekomcloud_vpc_v1.my_second_vpc\"",
|
|
"description" : "type and value is real when sensitive not set or is false."
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ListStackOutputs__section1636339183911"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackOutputs__en-us_topic_0000001757038285_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListStackOutputs__row2935103833914"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="ListStackOutputs__p036173918392">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="ListStackOutputs__p93693903912">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackOutputs__row093573813919"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p036173919392">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p1936183915391">The stack outputs listed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row1593518389394"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p83615393392">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p23693983913">Invalid request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row193517388394"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p13663920399">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p136143911391">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row29351838203918"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p63663913391">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p203619392392">The user does not have the permission to call this API.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row79351938163912"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p23615392398">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p1236439113915">The stack does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row99357382396"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p163619392395">429</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p1536839123916">Too frequent requests.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackOutputs__row8935203820390"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackOutputs__p123623914399">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackOutputs__p63753913913">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>
|
|
|