waldur-cli openstack image wait
Poll openstack images until a --jmespath condition against it stops evaluating to false/null, or error on timeout. Client-side polling -- Waldur's API has no server-side watch/push mechanism.
Usage
| waldur-cli openstack image wait <UUID> --jmespath EXPR [OPTIONS]
|
| Flag |
Type |
Description |
<UUID> |
positional, required |
uuid of the resource. |
--jmespath EXPR |
string, required |
Condition to poll for, evaluated against the fetched object on every poll. |
--timeout N |
integer |
Seconds to wait for the condition before giving up (default 600). |
--interval N |
integer |
Seconds between polls (default 3). |
Examples
| waldur-cli openstack image wait <uuid> --jmespath "name=='OK'"
|
Global options
Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.