Get an operation
Status values
| Status | Meaning |
|---|---|
pending | The operation is queued |
running | Work is in progress |
completed | Work finished successfully |
failed | Work reached a terminal failure |
Polling loop
error, fix the cause, and start a new supported action rather than assuming the old operation will recover.