Search
Varnish Controller

vcli regexproutes update

Update one or more regexp routes

Synopsis

Update existing regular expression routes. Use flags to specify what should be updated.

vcli regexproutes update [RegExpRoute-id,... | -f] [flags]

Options

  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for update
  -n, --name string             Name
      --regexp string           Header and a regular expression (<Header>:"<RegExp>"[:<tag_id>])
      --regexp-csv string       Regular expressions via CSV
      --reject                  Use with Reject routing rule and reject matches.
      --subdecision string      Which subdecision should be used(healthy, leastutilized, random, weight(~)). Default: healthy.
  -y, --yes                     Perform operation without confirmation

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO


®Varnish Software, Wallingatan 12, 111 60 Stockholm, Organization nr. 556805-6203