-
Notifications
You must be signed in to change notification settings - Fork 29
azion_update_rules engine
GitHub Action edited this page Oct 24, 2023
·
5 revisions
Updates a rule in Rules Engine
Updates a rule in Rules Engine based on given attributes to be used in edge applications
azion update rules-engine [flags]
$ azion update rules-engine -h"
$ azion update rules-engine --rule-id 1234 --application-id 1673635839 --phase request --in ruleengine.json"
-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
-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
- azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion