polymorfa operation
polymorfa operation cancel
Request cancellation of a running campaign or production-enrollment operation. The operation moves to cancelling; follow it with operation wait.
Usage
polymorfa operation cancel OPERATION [flags]Arguments
OPERATIONrequiredOperation ID.
Flags
--idempotency-key <value>takes a valueUse this key to identify retries; one is generated when omitted.
--yesbooleanConfirm the external effect without prompting.
Also accepts the global flags.
polymorfa operation list
List asynchronous operations, newest first. Team owners see team and project operations; project owners see one project.
Usage
polymorfa operation list [flags]Examples
polymorfa operation list --status runningpolymorfa operation list --resource-type campaign --resource-id <campaign-id> --jsonFlags
--cursor <value>takes a valueContinue from this opaque cursor.
--kind <value>takes a valueFilter by operation kind, for example campaign.
--limit <value>takes a valueRequest this many resources per page.
Default25--max-items <value>takes a valueStop automatic pagination after this many resources.
--paginatebooleanRequest consecutive pages until --max-items resources are collected or no pages remain. Requires --max-items.
--resource-id <value>takes a valueFilter by resource ID. Requires --resource-type.
--resource-type <value>takes a valueFilter by resource type. Requires --resource-id.
--since <value>takes a valueInclude operations created at or after this RFC 3339 time.
--status <value>takes a valueFilter by status.
Allowed valuespendingrunningaction_requiredcancellingsucceededfailedcancelled--until <value>takes a valueInclude operations created before this RFC 3339 time.
Also accepts the global flags.
polymorfa operation view
View one asynchronous operation: status, sequence, progress, error, and whether it can be cancelled.
Usage
polymorfa operation view OPERATION [flags]Arguments
OPERATIONrequiredOperation ID.
Flags
Also accepts the global flags.
polymorfa operation wait
Wait until an operation succeeds, fails, or is cancelled. Exits 0 on success, 1 on failure or cancellation, and 8 when --timeout ends first.
Usage
polymorfa operation wait OPERATION [flags]Example
polymorfa operation wait <operation-id> --timeout 600Arguments
OPERATIONrequiredOperation ID.
Flags
--timeout <value>takes a valueStop waiting after this many seconds.
Default300
Also accepts the global flags.
polymorfa operation watch
Print each status change of an operation until it succeeds, fails, or is cancelled. With --json, prints one JSON document per change. Exits like operation wait.
Usage
polymorfa operation watch OPERATION [flags]Arguments
OPERATIONrequiredOperation ID.
Flags
--timeout <value>takes a valueStop waiting after this many seconds.
Default300
Also accepts the global flags.