Retrieves the Cloud Assistant command invocation ID within a task execution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListTaskExecutionInvocations |
get |
*All Resource
|
|
None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| Status |
string |
No |
The execution status. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, Skipped. |
Running |
| TaskExecutionId |
string |
No |
The task execution ID. |
exec-a10749813b3xxxxx.t0001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F |
| TaskExecutionInvocations |
array<object> |
The task list. |
|
|
object |
The task. |
||
| InvocationTaskExecutionId |
string |
The Cloud Assistant command task execution ID. |
exec-xxxx.t0001 |
| InvocationTaskName |
string |
The Cloud Assistant command task name. |
TaskName |
| Status |
string |
The execution status. Valid values: Running, Started, Success, Failed, Waiting, Cancelled, Pending, Skipped. |
Running |
| InvocationId |
string |
The Cloud Assistant command invocation ID. |
t-hz0jdfwd9f**** |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F",
"TaskExecutionInvocations": [
{
"InvocationTaskExecutionId": "exec-xxxx.t0001",
"InvocationTaskName": "TaskName",
"Status": "Running",
"InvocationId": "t-hz0jdfwd9f****",
"RegionId": "cn-hangzhou"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.