Search
Varnish Controller

vcli asnroutes update

Update one or more ASN routes

Synopsis

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

vcli asnroutes update [ASNRoute-id,... | -f] [flags]

Options

      --asn string              ASN (<ASN>[:<tag_id>])
      --asn-csv string          ASN via CSV
      --asn-to-tag string       ASN (<ASN>[:<tag_id>]) (DEPRECATED - use 'asn')
      --asn-to-tag-csv string   ASN via CSV (DEPRECATED - use 'asn-csv')
  -f, --filter stringToString   Filter based on attributes, '*' act as wildcard (default [])
  -h, --help                    help for update
  -n, --name string             Name
      --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