doctl compute firewall get

Go to Navigation

Usage

doctl compute firewall get <id> [flags]

Aliases

g

Description

Use this command to get information about an existing cloud firewall, including:

- The firewall's ID
- The firewall's name
- The status of the firewall. This can be `waiting`, `succeeded`, or `failed`.
- The firewall's creation date, in ISO8601 combined date and time format.
- Any pending changes to the firewall. These can be `droplet_id`, `removing`, and `status`.
  When empty, all changes have been successfully applied.
- The inbound rules for the firewall.
- The outbound rules for the firewall.
- The IDs of Droplets assigned to the firewall.
- The tags assigned to the firewall.

Flags

OptionDescription
--formatColumns for output in a comma-separated list. Possible values: ID, Name, Status, Created, InboundRules, OutboundRules, DropletIDs, Tags, PendingChanges
--help, -hHelp for this command
--no-headerReturn raw data with no headers
Default: false
CommandDescription
doctl compute firewallDisplay commands to manage cloud firewalls

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