Skip to main content

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
APIWhen calledPurpose
DescribeTaskInfoEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region
--clusterstringACK cluster ID
--fieldsstringcomma-separated resource fields to include

list​

ecctl ack task list [flags]

List cluster tasks

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeClusterTasksEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstring✓ACK cluster ID
--regionstring✓Alibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--limitintegermaximum tasks to return (default: 100)
--pageintegerresults page to return (default: 1)

cancel​

ecctl ack task cancel <task-id> [flags]

Cancel a task

  • Kind: mutation · Risk: medium
  • Synchronous: waits for canceled (waiter canceled_after_cancel, timeout 10m); use --no-wait to skip.
APIWhen calledPurpose
CancelTaskEvery time the command runs.Perform the resource operation.
DescribeTaskInfoEvery time the command runs.Poll until the resource reaches the target state. (repeated)
DescribeTaskInfoEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region

pause​

ecctl ack task pause <task-id> [flags]

Pause a task

  • Kind: mutation · Risk: medium
  • Synchronous: waits for paused (waiter paused_after_pause, timeout 10m); use --no-wait to skip.
APIWhen calledPurpose
PauseTaskEvery time the command runs.Perform the resource operation.
DescribeTaskInfoEvery time the command runs.Poll until the resource reaches the target state. (repeated)
DescribeTaskInfoEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region

resume​

ecctl ack task resume <task-id> [flags]

Resume a task

  • Kind: mutation · Risk: medium
  • Synchronous: waits for running (waiter running_after_resume, timeout 10m); use --no-wait to skip.
APIWhen calledPurpose
ResumeTaskEvery time the command runs.Perform the resource operation.
DescribeTaskInfoEvery time the command runs.Poll until the resource reaches the target state. (repeated)
DescribeTaskInfoEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstring✓Alibaba Cloud region