ack task
Query and control ACK asynchronous tasks
Run ecctl ack task <action> -h for usage, or ecctl schema ack.task.<action> --full for the complete, agent-readable spec of every parameter and behavior.
get
ecctl ack task get <task-id> [flags]
Get task details
- Kind:
read· Risk: low
| API | When called | Purpose |
|---|---|---|
DescribeTaskInfo | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
--cluster | string | ACK cluster ID | |
--fields | string | comma-separated resource fields to include |
list
ecctl ack task list [flags]
List cluster tasks
- Kind:
read· Risk: low
| API | When called | Purpose |
|---|---|---|
DescribeClusterTasks | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--cluster | string | ✓ | ACK cluster ID |
--region | string | ✓ | Alibaba Cloud region |
--fields | string | comma-separated resource fields to include | |
--filter | key_value | filter expression key=value | |
--limit | integer | maximum tasks to return (default: 100) | |
--page | integer | results page to return (default: 1) |
cancel
ecctl ack task cancel <task-id> [flags]
Cancel a task
- Kind:
mutation· Risk: medium - Synchronous: waits for
canceled(waitercanceled_after_cancel, timeout10m); use--no-waitto skip.
| API | When called | Purpose |
|---|---|---|
CancelTask | Every time the command runs. | Perform the resource operation. |
DescribeTaskInfo | Every time the command runs. | Poll until the resource reaches the target state. (repeated) |
DescribeTaskInfo | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
pause
ecctl ack task pause <task-id> [flags]
Pause a task
- Kind:
mutation· Risk: medium - Synchronous: waits for
paused(waiterpaused_after_pause, timeout10m); use--no-waitto skip.
| API | When called | Purpose |
|---|---|---|
PauseTask | Every time the command runs. | Perform the resource operation. |
DescribeTaskInfo | Every time the command runs. | Poll until the resource reaches the target state. (repeated) |
DescribeTaskInfo | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
resume
ecctl ack task resume <task-id> [flags]
Resume a task
- Kind:
mutation· Risk: medium - Synchronous: waits for
running(waiterrunning_after_resume, timeout10m); use--no-waitto skip.
| API | When called | Purpose |
|---|---|---|
ResumeTask | Every time the command runs. | Perform the resource operation. |
DescribeTaskInfo | Every time the command runs. | Poll until the resource reaches the target state. (repeated) |
DescribeTaskInfo | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |