Skip to content

azion_create_firewall

GitHub Action edited this page Feb 11, 2026 · 2 revisions

azion create firewall

Creates a Firewall

Synopsis

Creates a Firewall to protect your applications from threats and attacks

azion create firewall [flags]

Examples

$ azion create firewall --name "My Firewall" --active true --functions-enabled true
$ azion create firewall --name "WAF Firewall" --waf-enabled true --network-protection true
$ azion create firewall --file "create.json"

Options

      --active string               Whether the Firewall is active or not
      --debug-rules string          Allows you to check whether rules created using Rules Engine for Firewall have been successfully executed in your firewall
      --file string                 Path to a JSON file containing the attributes of the Firewall being created; you can use - for reading from stdin
      --functions-enabled string    Whether the Firewall has Functions module enabled or not
  -h, --help                        Displays more information about the create firewall command
      --name string                 Firewall's name
      --network-protection string   Whether the Firewall has Network Layer Protection module enabled or not
      --waf-enabled string          Whether the Firewall has Web Application Firewall (WAF) module enabled or not

Options inherited from parent commands

  -c, --config string      Sets the Azion configuration folder for the current command only, without changing persistent settings.
  -d, --debug              Displays log at a debug level
      --format string      Changes the output format passing the json value to the flag
  -l, --log-level string   Set the logging level, "debug", "info", or "error". (default "info")
      --no-color           Changes the output format passing the json value to the flag
      --out string         Exports the output to the given <file_path/file_name.ext>
  -s, --silent             Silences log completely; mostly used for automation purposes
      --timeout int        Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
  -t, --token string       Saves a given Personal Token locally to authorize CLI commands
  -y, --yes                Answers all yes/no interactions automatically with yes

SEE ALSO

Auto generated by spf13/cobra on 11-Feb-2026

Clone this wiki locally