Reference For: developers, administrators

kyvernon tasks

The tasks command of the kyvernon CLI with its subcommands and arguments.

kyvernon tasks

Tasks

Usage
kyvernon tasks <COMMAND>

Subcommands: list, get, wait, cancel

kyvernon tasks list

List tasks

Usage
kyvernon tasks list [OPTIONS]
ArgumentDescriptionRequired
--targetOnly tasks on this target
--stateComma-separated states
--userOnly tasks of this user
--chainOnly tasks of this chain
--sinceOnly tasks queued at or after this time (RFC 3339)
--untilOnly tasks queued at or before this time (RFC 3339)
--recursiveWith --target: also tasks on the objects below it
--operationComma-separated operations (VirtualMachine.powerOn)
--descNewest first
--limitMaximum items
--afterResume after this id (from next)

API operation: GET /v1/tasks

kyvernon tasks get

One task

Usage
kyvernon tasks get <ID>
ArgumentDescriptionRequired
<ID>Task idyes

API operation: GET /v1/tasks/{id}

kyvernon tasks wait

Wait until a task finishes

Usage
kyvernon tasks wait [OPTIONS] <ID>
ArgumentDescriptionRequired
<ID>Task idyes
--timeoutSeconds
default 60

API operation: GET /v1/tasks/{id}/wait

kyvernon tasks cancel

Cancel a task

Usage
kyvernon tasks cancel <ID>
ArgumentDescriptionRequired
<ID>Task idyes

API operation: POST /v1/tasks/{id}/cancel

Version 0.1.