ListOperations
Lists operations of asynchronous CK methods (e.g. dumps), newest first: the caller's own, or every caller's with --allOwners. Read only.
Examples
List my operations:
octo-cli -c ListOperations
List my failed dumps:
octo-cli -c ListOperations -m "System.Bot/TenantRepository.Dump-1" -s "Failed"
List the operations of every caller (tenant administrators):
octo-cli -c ListOperations -a
Options
| Short | Long | Required | Description |
|---|---|---|---|
-m | --methodId | no | Only operations of this method, e.g. 'System.Bot/TenantRepository.Dump-1' |
-s | --state | no | Only operations in this state: Accepted, Running, Succeeded or Failed |
-since | --since | no | Only operations accepted at or after this time (ISO 8601, UTC if no offset is given) |
-a | --allOwners | no | List the operations of every caller of the tenant (tenant administrators only) |
-sk | --skip | no | Number of operations to skip (default 0) |
-t | --take | no | Page size, 1 to 200 (default 50) |
-j | --json | no | Output the page as JSON |
Notes
The tenant is the tenant of the context. Operations are kept for a retention period after they ended (7 days by default).
--allOwners without administrator rights is refused with OPERATION_QUERY_REFUSED.
Standard output carries only the answer (text or -j JSON); banner and log lines go to standard error, so the output can be piped (e.g. to jq).