forked from docs/doc-exports
558 lines
43 KiB
HTML
558 lines
43 KiB
HTML
<a name="ListStackEvents"></a><a name="ListStackEvents"></a>
|
|
|
|
<h1 class="topictitle1">Listing Events of a Stack</h1>
|
|
<div id="body8662426"><div class="section" id="ListStackEvents__section19486111382112"><h4 class="sectiontitle">Function</h4><p id="ListStackEvents__p11486121372110">ListStackEvents</p>
|
|
<p id="ListStackEvents__p18486313112117">This API lists all deployment events of a stack.</p>
|
|
<ul id="ListStackEvents__ul2486213172112"><li id="ListStackEvents__li1948601311217">If deployment_id is assigned, deployment_id is used as a query criterion and the stack events corresponding to a specific deployment are returned. If no deployment_id is assigned, all of the stack events are returned.</li><li id="ListStackEvents__li548691310211">If the deployment corresponding to the given deployment_id does not exist, 404 is returned.</li><li id="ListStackEvents__li15486161319218">You can use filter to query stack events by specifying the event type (event_type), resource type (resource_type), and resource name (resource_name).</li><li id="ListStackEvents__li14487313162114">You can use field to set the attributes to be returned. The attribute event type (event_type) cannot be configured and it is returned by default. The available attributes are elapsed time (elapsed_seconds), event message (event_message), resource ID key (resource_id_key), resource ID value (resource_id_value), resource key (resource_key), resource type (resource_type), resource name (resource_name), and timestamp (timestamp).</li><li id="ListStackEvents__li144878138219">The returned events are arranged in descending order of time.</li></ul>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section154871813112118"><h4 class="sectiontitle">Debugging</h4><p id="ListStackEvents__p74871713162111">You can debug this API through automatic authentication in <a href="https://console.huaweicloud.com/apiexplorer/#/openapi/AOS/doc?api=ListStackEvents" target="_blank" rel="noopener noreferrer">API Explorer</a> or use the SDK sample code generated by API Explorer.</p>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section1348717131216"><h4 class="sectiontitle">URI</h4><p id="ListStackEvents__p154871613182111">GET /v1/{project_id}/stacks/{stack_name}/events</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table18488181372118" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="ListStackEvents__row1488141318211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="ListStackEvents__p114881613132110">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="ListStackEvents__p84881213182113">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="ListStackEvents__p1748911313219">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="ListStackEvents__p7489171372119">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row164887133215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStackEvents__p174891813152116">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStackEvents__p34897139211">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStackEvents__p10489313162117">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStackEvents__p1748991319213">A project ID is obtained by calling an API or from the console.</p>
|
|
<p id="ListStackEvents__p1948913138211">Minimum: <strong id="ListStackEvents__b1148913132213">3</strong></p>
|
|
<p id="ListStackEvents__p16489713162114">Maximum: <strong id="ListStackEvents__b13489213202118">64</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row1448811311217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="ListStackEvents__p1948991322117">stack_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="ListStackEvents__p15489813112117">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="ListStackEvents__p74902013102118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="ListStackEvents__p14490101332112">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="ListStackEvents__p1249071314215">Minimum: <strong id="ListStackEvents__b249011372113">1</strong></p>
|
|
<p id="ListStackEvents__p1490191316211">Maximum: <strong id="ListStackEvents__b64901134216">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table1249121317219" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="ListStackEvents__row1049031318211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="ListStackEvents__p174911213202113">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="ListStackEvents__p3491191312110">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="ListStackEvents__p949120136218">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="ListStackEvents__p1149141311218">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row10490131318218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStackEvents__p849116139211">stack_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStackEvents__p1249111318211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStackEvents__p154912131213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStackEvents__p1549131317217">Unique stack ID.</p>
|
|
<p id="ListStackEvents__p84912013162118">It is a UUID generated by RFS when a stack is created.</p>
|
|
<p id="ListStackEvents__p2491201392118">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="ListStackEvents__p1749114137218">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="ListStackEvents__p5492013172120">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="ListStackEvents__p174927131215">Minimum: <strong id="ListStackEvents__b17492191316212">36</strong></p>
|
|
<p id="ListStackEvents__p1249241392117">Maximum: <strong id="ListStackEvents__b149212139219">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row144908131219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStackEvents__p1949241382112">deployment_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStackEvents__p18492413152119">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStackEvents__p1492513152119">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStackEvents__p9492131315211">Unique deployment ID. It is a UUID generated by RFS when deployment or rollback is triggered.</p>
|
|
<p id="ListStackEvents__p0492181352114">Minimum: <strong id="ListStackEvents__b54921713122120">36</strong></p>
|
|
<p id="ListStackEvents__p649211382115">Maximum: <strong id="ListStackEvents__b749218137216">36</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row12490161392110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStackEvents__p6492013192114">filter</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStackEvents__p9492613182117">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStackEvents__p1249211312118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStackEvents__p34932013132120">Filter criteria.</p>
|
|
<ul id="ListStackEvents__ul104931213162110"><li id="ListStackEvents__li049371316210">The AND operator is defined using a comma (,).</li><li id="ListStackEvents__li13493121312115">The OR operator is defined using a vertical bar (|). The OR operator has a higher priority than the AND operator.</li><li id="ListStackEvents__li1849381332111">Parentheses are not supported.</li><li id="ListStackEvents__li1849315139211">Only equal signs (==) are supported as the filter operator.</li><li id="ListStackEvents__li18493141362118">Filter parameter names and values can contain only letters, digits, and underscores (_). Semicolons (;) are not allowed in filter criteria. If semicolons are used, the filter criteria will be ignored.</li><li id="ListStackEvents__li124931813102119">A filter parameter can be related to only one AND condition. Multiple OR conditions in an AND condition can be related to only one filter parameter.</li></ul>
|
|
<p id="ListStackEvents__p749321317216">Minimum: <strong id="ListStackEvents__b4493141318214">0</strong></p>
|
|
<p id="ListStackEvents__p1549371392114">Maximum: <strong id="ListStackEvents__b13493013192112">512</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row3490161342110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="ListStackEvents__p1949351318217">field</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="ListStackEvents__p1049311312110">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="ListStackEvents__p5494121317216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="ListStackEvents__p1349461362119">Specified attribute name.</p>
|
|
<ul id="ListStackEvents__ul1449410134215"><li id="ListStackEvents__li14941113152115">The attribute name can contain only letters, digits, and underscores (_).</li><li id="ListStackEvents__li549431352110">Multiple attribute names are separated by commas (,).</li></ul>
|
|
<p id="ListStackEvents__p84942136213">Minimum: <strong id="ListStackEvents__b349441312120">0</strong></p>
|
|
<p id="ListStackEvents__p84941113112113">Maximum: <strong id="ListStackEvents__b1449416132217">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section12494313132118"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__en-us_topic_0000001757158469_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="ListStackEvents__row249417133218"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="ListStackEvents__p7495131342117">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="ListStackEvents__p24951113142120">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="ListStackEvents__p3495171332119">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="ListStackEvents__p1249511317212">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row184941713102113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="ListStackEvents__p54957133212">Client-Request-Id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="ListStackEvents__p94951613102113">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="ListStackEvents__p174953138219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="ListStackEvents__p174951913112114">A unique request ID is specified by a user to locate a request. UUID is recommended.</p>
|
|
<p id="ListStackEvents__p16495111372111">Minimum: <strong id="ListStackEvents__b1849514136214">36</strong></p>
|
|
<p id="ListStackEvents__p19496181342110">Maximum: <strong id="ListStackEvents__b749641317219">128</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section1549661310218"><h4 class="sectiontitle">Response Parameters</h4><p id="ListStackEvents__p14960132217"><strong id="ListStackEvents__b9496413132111">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__en-us_topic_0000001757158469_response_ListStackEventsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row7496171319215"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="ListStackEvents__p1249671322118">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="ListStackEvents__p12496413142112">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="ListStackEvents__p849714134219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row14496161319213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="ListStackEvents__p104971513112117">stack_events</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="ListStackEvents__p249711135213">Array of <a href="#ListStackEvents__en-us_topic_0000001757158469_response_StackEvent">StackEvent</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="ListStackEvents__p19497141382118">List of stack events.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="ListStackEvents__en-us_topic_0000001757158469_response_StackEvent"></a><a name="en-us_topic_0000001757158469_response_StackEvent"></a><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__en-us_topic_0000001757158469_response_StackEvent" frame="border" border="1" rules="all"><caption><b>Table 5 </b>StackEvent</caption><thead align="left"><tr id="ListStackEvents__row1049791352120"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.1"><p id="ListStackEvents__p14498113132110">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.4.2.4.1.2"><p id="ListStackEvents__p349813134217">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.4.2.4.1.3"><p id="ListStackEvents__p11498613142112">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row154979139219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p19498181312117">resource_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p2049815139214">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p18498201342112">Resource type.</p>
|
|
<p id="ListStackEvents__p9498171342111">For example, in the following HCL template, the value of resource_type is opentelekomcloud_vpc_v1.</p>
|
|
<pre class="screen" id="ListStackEvents__screen349881320211">resource "opentelekomcloud_vpc_v1" "my_hello_world_vpc" {
|
|
name = "test_vpc"
|
|
}</pre>
|
|
<p id="ListStackEvents__p18498131372115">In a JSON template, the value of resource_type is opentelekomcloud_vpc_v1.</p>
|
|
<pre class="screen" id="ListStackEvents__screen8499171312119">{
|
|
"resource": {
|
|
"opentelekomcloud_vpc_v1": {
|
|
"my_hello_world_vpc": {
|
|
"name": "test_vpc"
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row1849751319215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p749919131219">resource_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p34991713122111">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p1449981342117">Resource name. The default value is the logical name of a resource.</p>
|
|
<p id="ListStackEvents__p349941318216">For example, in the following HCL template, the value of resource_name is my_hello_world_vpc.</p>
|
|
<pre class="screen" id="ListStackEvents__screen149991382110">resource "opentelekomcloud_vpc_v1" "my_hello_world_vpc" {
|
|
name = "test_vpc"
|
|
}</pre>
|
|
<p id="ListStackEvents__p549991311219">In a JSON template, the value of resource_name is my_hello_world_vpc.</p>
|
|
<pre class="screen" id="ListStackEvents__screen550071312112">{
|
|
"resource": {
|
|
"opentelekomcloud_vpc_v1": {
|
|
"my_hello_world_vpc": {
|
|
"name": "test_vpc"
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row1249781342116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p18500131352119">resource_id_key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p10500171332113">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p10500171310211">Name of resource ID. If a resource is not created, resource_id_key is not returned. The ID is defined by a provider. Different providers may comply with different naming rules. For details about the naming rules, contact provider developers or read provider's documentation.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row114971713172115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p950031392111">resource_id_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p12500141342114">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p1501191312212">Resource ID value. If a resource is not created, resource_id_value is not returned.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row1349751317214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p1650181319210">resource_key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p19501151311211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p115011413102119">Resource key. If count or for_each is used in a template, resource_key will be returned.</p>
|
|
<p id="ListStackEvents__p165017136215">If count is used in a template, resource_key is a number starting from 0.</p>
|
|
<p id="ListStackEvents__p1350121392120">For example, in the following HCL template, if the count is 2, two resources will be generated and the value of resource_key is 0 and 1.</p>
|
|
<pre class="screen" id="ListStackEvents__screen1550112130213">resource "opentelekomcloud_vpc_v1" "my_hello_world_vpc" {
|
|
count = 2
|
|
name = "test_vpc"
|
|
}</pre>
|
|
<p id="ListStackEvents__p350191362119">In a JSON template, the value of resource_key is 0 and 1.</p>
|
|
<pre class="screen" id="ListStackEvents__screen14501201372116">{
|
|
"resource": {
|
|
"opentelekomcloud_vpc_v1": {
|
|
"my_hello_world_vpc": {
|
|
"name": "test_vpc",
|
|
"count": 2
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
<p id="ListStackEvents__p165021313132118">If for_each is used in a template, resource_key is a user-defined string. In the following HCL template, the value of resource_key is vpc1 and vpc2.</p>
|
|
<pre class="screen" id="ListStackEvents__screen7502181317216">resource "opentelekomcloud_vpc_v1" "my_hello_world_vpc" {
|
|
for_each = {
|
|
"vpc1" = "test_vpc"
|
|
"vpc2" = "test_vpc"
|
|
}
|
|
name = each.value
|
|
}</pre>
|
|
<p id="ListStackEvents__p150210134210">In the following JSON template, the value of resource_key is vpc1 and vpc2.</p>
|
|
<pre class="screen" id="ListStackEvents__screen19503151302116">{
|
|
"resource": {
|
|
"opentelekomcloud_vpc_v1": {
|
|
"my_hello_world_vpc": {
|
|
"for_each": {
|
|
"vpc1": "test_vpc",
|
|
"vpc2": "test_vpc"
|
|
}
|
|
"name": "${each.value}"
|
|
}
|
|
}
|
|
}
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row194971135216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p1950421342115">time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p650411316215">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p4504151318213">Occurrence time of an event. The format complies with RFC 3339 (YYYY-MM-DDTHH:MM:SSZ), for example, 1970-01-01T00:00:00Z.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row1249717133211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p450441319214">event_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p16504131392118">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p4504121314218">Event types may include:</p>
|
|
<ul id="ListStackEvents__ul750521315210"><li id="ListStackEvents__li12505171362114">LOG: records status information, such as the current status and target status.</li><li id="ListStackEvents__li17505101392115">ERROR: records failure information.</li><li id="ListStackEvents__li0505141315212">DRIFT: records resource deviation information.<ul id="ListStackEvents__ul1350571312216"><li id="ListStackEvents__li5505131312110">SUMMARY: records summary of resource change results.</li><li id="ListStackEvents__li7505121312216">CREATION_IN_PROGRESS: The event is being created.</li><li id="ListStackEvents__li950510133217">CREATION_FAILED: Failed to create the event.</li><li id="ListStackEvents__li1750514138218">CREATION_COMPLETE: Event created.</li><li id="ListStackEvents__li75051136212">DELETION_IN_PROGRESS: The event is being deleted.</li><li id="ListStackEvents__li5505121319211">DELETION_FAILED: Delete event failed.</li><li id="ListStackEvents__li550561313218">DELETION_COMPLETE: Event deleted.</li><li id="ListStackEvents__li156081913102117">UPDATE_IN_PROGRESS: The event is being updated. The update is not a replacement. In the case of a replacement update, a replacement event is created and then the old event is deleted.</li><li id="ListStackEvents__li13608171316219">UPDATE_FAILED: Update event failed. The update is not a replacement. In the case of a replacement update, a replacement event is created and then the old event is deleted.</li><li id="ListStackEvents__li10608111312218">UPDATE_COMPLETE: Event updated. The update is not a replacement. In the case of a replacement update, a replacement event is created and then the old event is deleted.</li></ul>
|
|
</li></ul>
|
|
<p id="ListStackEvents__p11608161322119">Enumeration values:</p>
|
|
<ul id="ListStackEvents__ul106081313152110"><li id="ListStackEvents__li1608111316212"><strong id="ListStackEvents__b156081413112120">LOG</strong></li><li id="ListStackEvents__li106081813182117"><strong id="ListStackEvents__b1860816134217">ERROR</strong></li><li id="ListStackEvents__li186081813182112"><strong id="ListStackEvents__b1260871362114">DRIFT</strong></li><li id="ListStackEvents__li14608913102118"><strong id="ListStackEvents__b66085138215">SUMMARY</strong></li><li id="ListStackEvents__li1608191322115"><strong id="ListStackEvents__b360915137218">CREATION_IN_PROGRESS</strong></li><li id="ListStackEvents__li1460911372111"><strong id="ListStackEvents__b1609101342112">CREATION_FAILED</strong></li><li id="ListStackEvents__li14609141318214"><strong id="ListStackEvents__b16609313142114">CREATION_COMPLETE</strong></li><li id="ListStackEvents__li17609121318216"><strong id="ListStackEvents__b15609113142111">DELETION_IN_PROGRESS</strong></li><li id="ListStackEvents__li16091136217"><strong id="ListStackEvents__b10609113192111">DELETION_FAILED</strong></li><li id="ListStackEvents__li116091613112119"><strong id="ListStackEvents__b46091613162116">DELETION_COMPLETE</strong></li><li id="ListStackEvents__li560931322110"><strong id="ListStackEvents__b86091213202117">UPDATE_IN_PROGRESS</strong></li><li id="ListStackEvents__li8609113102111"><strong id="ListStackEvents__b12609101310213">UPDATE_FAILED</strong></li><li id="ListStackEvents__li36091132214"><strong id="ListStackEvents__b9609121311215">UPDATE_COMPLETE</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row18497113172112"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p17609121372115">event_message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p560916132212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p36091013142116">Details about a stack event.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row19497313162119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.1 "><p id="ListStackEvents__p760921317211">elapsed_seconds</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.4.2.4.1.2 "><p id="ListStackEvents__p760961315212">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.4.2.4.1.3 "><p id="ListStackEvents__p460918131213">Event execution duration (Unit: seconds)</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p14609161392110"><strong id="ListStackEvents__b561017135213">Status code: 400</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__en-us_topic_0000001757158469_response_CommonErrorResponse" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row10508913122114"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.1"><p id="ListStackEvents__p1761021302113">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.6.2.4.1.2"><p id="ListStackEvents__p361061382111">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.6.2.4.1.3"><p id="ListStackEvents__p186101213112111">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row1050861313211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStackEvents__p7610113172116">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStackEvents__p1610171310218">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStackEvents__p17610101362113">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row15081013112111"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.1 "><p id="ListStackEvents__p2061041314218">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.6.2.4.1.2 "><p id="ListStackEvents__p12610313152116">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.6.2.4.1.3 "><p id="ListStackEvents__p1061031311210">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p36101013192119"><strong id="ListStackEvents__b17610101319217">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table6509171362118" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row19509111352113"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.1"><p id="ListStackEvents__p66112136218">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.8.2.4.1.2"><p id="ListStackEvents__p6611913102116">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.8.2.4.1.3"><p id="ListStackEvents__p206116136218">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row950912136219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="ListStackEvents__p1461181311212">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="ListStackEvents__p166111113182112">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="ListStackEvents__p10611513122113">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row95091213192116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.1 "><p id="ListStackEvents__p7611913112111">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.8.2.4.1.2 "><p id="ListStackEvents__p861151316211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.8.2.4.1.3 "><p id="ListStackEvents__p6611111332116">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p18611151342110"><strong id="ListStackEvents__b1161113135211">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table16510313122113" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row9511171372111"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.1"><p id="ListStackEvents__p1361171322119">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.10.2.4.1.2"><p id="ListStackEvents__p10611513162118">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.10.2.4.1.3"><p id="ListStackEvents__p1861113139214">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row55114133212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="ListStackEvents__p15611121312120">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="ListStackEvents__p461181313213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="ListStackEvents__p1661121362114">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row19511121312213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.1 "><p id="ListStackEvents__p1661261313213">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.10.2.4.1.2 "><p id="ListStackEvents__p156121413102110">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.10.2.4.1.3 "><p id="ListStackEvents__p10612413142111">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p1161219131215"><strong id="ListStackEvents__b96124139215">Status code: 404</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table125142138213" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row95153135215"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.1"><p id="ListStackEvents__p36121513152119">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.12.2.4.1.2"><p id="ListStackEvents__p12612191302110">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.12.2.4.1.3"><p id="ListStackEvents__p12612101316211">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row1951517131210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="ListStackEvents__p86126131218">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="ListStackEvents__p36121613102119">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="ListStackEvents__p146125137215">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row16515151362120"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.1 "><p id="ListStackEvents__p8612413102120">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.12.2.4.1.2 "><p id="ListStackEvents__p96126137217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.12.2.4.1.3 "><p id="ListStackEvents__p15612151392116">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p5612613152111"><strong id="ListStackEvents__b16612181310213">Status code: 429</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table15516013152113" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row18516913182119"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.14.2.4.1.1"><p id="ListStackEvents__p17613131314214">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.98%" id="mcps1.3.5.14.2.4.1.2"><p id="ListStackEvents__p1361321316213">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60.019999999999996%" id="mcps1.3.5.14.2.4.1.3"><p id="ListStackEvents__p206131013122116">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row1451641342116"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="ListStackEvents__p561341392113">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.5.14.2.4.1.2 "><p id="ListStackEvents__p7613161319215">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.5.14.2.4.1.3 "><p id="ListStackEvents__p1861331362111">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row15516131372118"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.14.2.4.1.1 "><p id="ListStackEvents__p661341382119">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.98%" headers="mcps1.3.5.14.2.4.1.2 "><p id="ListStackEvents__p1561351319217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.019999999999996%" headers="mcps1.3.5.14.2.4.1.3 "><p id="ListStackEvents__p1761317132213">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="ListStackEvents__p1861321362110"><strong id="ListStackEvents__b1661321352114">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__table151716134218" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="ListStackEvents__row85171613162111"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.1"><p id="ListStackEvents__p961311318218">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.16.2.4.1.2"><p id="ListStackEvents__p19613131317213">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.16.2.4.1.3"><p id="ListStackEvents__p1613191352112">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row2051791372110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="ListStackEvents__p36131613182112">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="ListStackEvents__p76131813132117">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="ListStackEvents__p146134131217">Response code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row5517113102113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.1 "><p id="ListStackEvents__p1861410138219">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.16.2.4.1.2 "><p id="ListStackEvents__p4614161314213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.16.2.4.1.3 "><p id="ListStackEvents__p196148132216">Response message.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section5614513132116"><h4 class="sectiontitle">Example Requests</h4><ul id="ListStackEvents__ul96146132216"><li id="ListStackEvents__li1161451362111">Use filter to obtain stack events with the specified event_type and resource_name.<pre class="screen" id="ListStackEvents__screen176148137214">GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?filter=event_type==LOG,resource_name==my_hello_world_resource</pre>
|
|
</li><li id="ListStackEvents__li10614141382117">Use field to select the following returned attributes: resource_key, resource_name, and event_type. The event_type attribute is automatically selected even if you do not select it.<pre class="screen" id="ListStackEvents__screen20614131352114">GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?field=resource_key,resource_name</pre>
|
|
</li><li id="ListStackEvents__li6614513192110">Obtain stack events of a specified deployment using deployment_id.<pre class="screen" id="ListStackEvents__screen10614141392112">GET https://{endpoint}/v1/ba2b9930c977f71edaeaa3a5e96a8ff1/stacks/my_hello_world_stack/events?deployment_id=81edbb3e-00d9-42fd-94c8-59c7525d0f28</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section36146139216"><h4 class="sectiontitle">Example Responses</h4><p id="ListStackEvents__p061491319211"><strong id="ListStackEvents__b16141013102119">Status code: 200</strong></p>
|
|
<p id="ListStackEvents__p9614713152117">Stack events listed.</p>
|
|
<pre class="screen" id="ListStackEvents__screen7615181322118">{
|
|
"stack_events" : [ {
|
|
"event_message" : "Apply required resource success. ",
|
|
"event_type" : "LOG",
|
|
"time" : "2023-05-17T11:56:47Z"
|
|
}, {
|
|
"event_message" : "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
|
|
"event_type" : "SUMMARY",
|
|
"time" : "2023-05-17T11:56:45Z"
|
|
}, {
|
|
"resource_type" : "opentelekomcloud_vpc_v1",
|
|
"resource_name" : "vpc",
|
|
"elapsed_seconds" : 8,
|
|
"event_message" : "opentelekomcloud_vpc_v1.vpc: Creation complete after 8s [id=38d617da-9b7f-4550-9ff7-d0e271dd4735]",
|
|
"event_type" : "CREATION_COMPLETE",
|
|
"resource_id_key" : "id",
|
|
"resource_id_value" : "38d617da-9b7f-4550-9ff7-d0e271dd4735",
|
|
"time" : "2023-05-17T11:56:40Z"
|
|
}, {
|
|
"resource_type" : "opentelekomcloud_vpc_v1",
|
|
"resource_name" : "vpc",
|
|
"event_message" : "opentelekomcloud_vpc_v1.vpc: Creating...",
|
|
"event_type" : "CREATION_IN_PROGRESS",
|
|
"time" : "2023-05-17T11:56:32Z"
|
|
}, {
|
|
"event_message" : "Creating required resource now",
|
|
"event_type" : "LOG",
|
|
"time" : "2023-05-17T11:56:31Z"
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="ListStackEvents__section461511131213"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ListStackEvents__en-us_topic_0000001757158469_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="ListStackEvents__row45202013112111"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="ListStackEvents__p15616113102113">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="ListStackEvents__p2616913202111">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ListStackEvents__row55201413112110"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p176164135210">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p136161513192118">Stack events listed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row55204138212"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p5616161392114">400</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p1561631352117">Invalid request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row16520213162114"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p561611316216">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p176161136217">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row65209139214"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p5616161319213">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p961661352110">The user does not have the permission to call this API.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row6520101332119"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p961621316219">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p1761615135219">The stack or the specified deployment does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row105201813162115"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p11616013112112">429</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p761617130214">Too frequent requests.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ListStackEvents__row115202013132119"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="ListStackEvents__p2061681319219">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="ListStackEvents__p2616101319218">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>
|
|
|