kyvernon tasks
Tasks
kyvernon tasks <COMMAND>The tasks command of the kyvernon CLI with its subcommands and arguments.
kyvernon tasksTasks
kyvernon tasks <COMMAND>kyvernon tasks listList tasks
kyvernon tasks list [OPTIONS]| Argument | Description | Required |
|---|---|---|
--target | Only tasks on this target | |
--state | Comma-separated states | |
--user | Only tasks of this user | |
--chain | Only tasks of this chain | |
--since | Only tasks queued at or after this time (RFC 3339) | |
--until | Only tasks queued at or before this time (RFC 3339) | |
--recursive | With --target: also tasks on the objects below it | |
--operation | Comma-separated operations (VirtualMachine.powerOn) | |
--desc | Newest first | |
--limit | Maximum items | |
--after | Resume after this id (from next) |
API operation: GET /v1/tasks
kyvernon tasks getOne task
kyvernon tasks get <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Task id | yes |
API operation: GET /v1/tasks/{id}
kyvernon tasks waitWait until a task finishes
kyvernon tasks wait [OPTIONS] <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Task id | yes |
--timeout | Seconds default 60 |
API operation: GET /v1/tasks/{id}/wait
kyvernon tasks cancelCancel a task
kyvernon tasks cancel <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Task id | yes |
API operation: POST /v1/tasks/{id}/cancel
Version 0.1.