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 Alibaba Cloud service. | ECS |
ResourceType | string | No | The resource type. | ACS::ECS::Instance |
Response elements
Element | Type | Description | Example |
object | |||
Data | string | The lifecycle events. | [{"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.