ListTaskStep
Queries the step identifiers, step categories, and interaction methods for application adaptation or image creation tasks.
Operation description
Returns application adaptation steps when Type is set to ADAPTOR, and image creation steps when Type is set to IMAGE.
This operation returns step definitions, not the actual progress of a specific task. Read the step definitions first, and then display the task progress based on the current step and step status returned by GetTask. The step sets vary across different task types. Do not use the step index as the completion percentage.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ListTaskStep |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
Yes |
The task type to which the step belongs. Valid values:
|
IMAGE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response to the API call. |
||
| Data |
array<object> |
The list of step definitions for the selected task type. |
|
|
object |
|||
| Index |
integer |
The numeric index of the step definition, which is used to identify the step and its sequence. Do not use this value as the completion percentage. |
10 |
| Name |
string |
The name identifier of the step, which is used to match the step records returned by GetTask. Steps when Type is set to IMAGE:
Steps when Type is set to ADAPTOR:
|
CREATE_BUILDER_ENV |
| Category |
string |
The Chinese name of the phase to which the step belongs, such as build environment preparation or test validation. |
制作环境准备 |
| Action |
string |
The interaction method of the step. Valid values:
|
connection |
| CategoryEn |
string |
The English name of the phase to which the step belongs. This field is returned for image creation steps, but may not be returned for application adaptation steps. |
Builder Environment Preparation |
| Count |
integer |
The total number of records returned in the list. |
1 |
| RequestId |
string |
The unique identifier of the request. You can provide this value for troubleshooting. |
01A1A962-5503-107B-AC8F-EBA85DF905AC |
Examples
Success response
JSON format
{
"Data": [
{
"Index": 10,
"Name": "CREATE_BUILDER_ENV",
"Category": "制作环境准备",
"Action": "connection",
"CategoryEn": "Builder Environment Preparation"
}
],
"Count": 1,
"RequestId": "01A1A962-5503-107B-AC8F-EBA85DF905AC"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalError | Internal error. | An internal error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.