Skip to content

azion_update_rules engine

GitHub Action edited this page Oct 24, 2023 · 5 revisions

azion update rules-engine

Updates a rule in Rules Engine

Synopsis

Updates a rule in Rules Engine based on given attributes to be used in edge applications

azion update rules-engine [flags]

Examples

$ azion update rules-engine -h"
$ azion update rules-engine --rule-id 1234 --application-id 1673635839 --phase request --in ruleengine.json"
      

Options

  -a, --application-id int   Unique identifier for the edge application that implements these rules. The '--application-id' flag is required
  -h, --help                 Displays more information about the Rules Engine command
      --in string            Path to a JSON file containing the attributes of the rule that will be updated; you can use - for reading from stdin
  -p, --phase string         Rules Engine Phase <request|response>. The '--phase' flag is required
  -r, --rule-id int          Unique identifier for a rule in Rules Engine. The '--rule-id' flag is required

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
  -l, --log-level string   Displays log at a debug level (default "info")
  -s, --silent             Silences log completely; mostly used for automation purposes
  -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 24-Oct-2023