Skip to content

azion_create_rules engine

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

azion create rules-engine

Creates a rule in Rules Engine

Synopsis

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

azion create rules-engine [flags]

Examples

$ azion create rules-engine --application-id 1679423488 --phase "response" --in ./file.json

Options

      --application-id int   Unique identifier for an edge application
  -h, --help                 Displays more information about the azion create rules-engine subcommand
      --in string            Path to a JSON file containing the attributes of the rule that will be created; you can use - for reading from stdin
      --phase string         The phase is either 'request' or 'response'

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 create - Creates a new resource on the Azion Edge Platform
Auto generated by spf13/cobra on 24-Oct-2023