You can call this operation to query high-risk tasks in the execution of a template.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListExecutionRiskyTasks

The operation that you want to perform. Set the value to ListExecutionRiskyTasks.

TemplateName String Yes myTemplate

The name of the template.

RegionId String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String C04B668D-D2DD-4B40-B6E9-0E3C4F53D5B5

The ID of the request.


The information about high-risk tasks.

API String DeleteInstance

The name of the operation that the high-risk task calls.

Service String ECS

The cloud service where the high-risk task runs.

Task ["parenttask1"]

The name of the high-risk task.

Template ["deleteInstanceTask1"]

The template that contains the high-risk task.


Sample requests

http(s):// Action=ListExecutionRiskyTasks
&<Common request parameters>

Sample success responses

XML format

            <Template>root template name</Template>
            <Template>root template name</Template>

JSON format

				"root template name"
				"root template name"

Error codes

For a list of error codes, visit the API Error Center.