doctl compute action wait

Go to Navigation

Usage

doctl compute action wait <action-id> [flags]

Aliases

w

Description

The command blocks the current thread, returning when an action completes.

For example, if you find an action when calling doctl compute action list that has a status of in-progress, you can note the action ID and call doctl compute action wait <action-id>, and doctl will appear to “hang” until the action has completed. This can be useful for scripting purposes.

Flags

OptionDescription
--formatColumns for output in a comma-separated list. Possible values: ID, Status, Type, StartedAt, CompletedAt, ResourceID, ResourceType, Region
--help, -hHelp for this command
--no-headerReturn raw data with no headers
Default: false
--poll-timeoutRe-poll time in seconds
Default: 5
CommandDescription
doctl compute actionDisplay commands for retrieving resource action history

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false