Skip to content

azion_update_firewall rule

GitHub Action edited this page Jun 16, 2026 · 8 revisions

azion update firewall-rule

Updates a Firewall Rule

Synopsis

Updates a Firewall Rule based on given attributes

azion update firewall-rule [flags]

Examples

$ azion update firewall-rule --firewall-id 1234 --rule-id 4321 --file "update.json"

Options

      --file string       Path to a JSON file containing the attributes that will be updated; you can use - for reading from stdin
      --firewall-id int   Unique identifier of the Firewall
  -h, --help              Displays more information about the update firewall-rule command
      --rule-id int       Unique identifier of the Firewall Rule

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

  • azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion
Auto generated by spf13/cobra on 16-Jun-2026

Clone this wiki locally