DescribeResourceLifeCycleEvents
Queries the lifecycle events of a specified resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:DescribeResourceLifeCycleEvents |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceName |
string |
No |
The name of the cloud service. |
ECS |
| ResourceType |
string |
No |
The resource type. |
ACS::ECS::Instance |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The lifecycle event data. This field is returned as a JSON serialized string containing structured hierarchical data of lifecycle event categorization across each epoch of the lifecycle. You can use the standard JSON deserialization tool of the corresponding programming language to parse it into an array of objects. |
[{"children":[{"children":[{"label":"Create Events","labelEn":"Create Events","value":"Create,CreateInstance,RunInstances"},{"label":"Delete Events","labelEn":"Delete Events","value":"DeleteInstance,DeleteInstances,Release"}],"label":"ECS Instance","labelEn":"ECS Instance","value":"ACS::ECS::Instance"}],"label":"Elastic Compute Service","labelEn":"Elastic Compute Service","value":"Ecs"}] |
| RequestId |
string |
The request ID. |
B10969CF-C743-55F8-9710-F0711504**** |
Examples
Success response
JSON format
{
"Data": "[{\"children\":[{\"children\":[{\"label\":\"Create Events\",\"labelEn\":\"Create Events\",\"value\":\"Create,CreateInstance,RunInstances\"},{\"label\":\"Delete Events\",\"labelEn\":\"Delete Events\",\"value\":\"DeleteInstance,DeleteInstances,Release\"}],\"label\":\"ECS Instance\",\"labelEn\":\"ECS Instance\",\"value\":\"ACS::ECS::Instance\"}],\"label\":\"Elastic Compute Service\",\"labelEn\":\"Elastic Compute Service\",\"value\":\"Ecs\"}]",
"RequestId": "B10969CF-C743-55F8-9710-F0711504****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.