Search
Varnish Controller

vcli externalroutes update

Update one or more external routes

Synopsis

Update an existing external route. Use flags to specify what should be updated.

vcli externalroutes update [externalRoute-id,... | -f] [flags]

Options

      --base-url string                 Base URL for external routing
      --cname string                    CNAME for DNS responses (override A/AAAA responses)
  -f, --filter stringToString           Filter based on attributes, '*' act as wildcard (default [])
      --health-headers stringToString   Health check headers (default [])
      --health-interval string          Interval for checking health (default "3s")
      --health-method string            Health check method (default "GET")
      --health-path string              Health check path (default "/")
      --health-status int               Expected health check status (default 200)
      --health-threshold int            Health check threshold of window size (before becoming healthy) (default 3)
      --health-timeout string           Timeout for health checks (default "3s")
      --health-window-size int          Health check window size (sliding window) (default 7)
  -h, --help                            help for update
      --ipv4 string                     IPv4 address
      --ipv6 string                     IPv6 address
  -n, --name string                     Name
      --start-healthy                   Assume health probes to be healthy on start
      --template string                 Template for custom location URL in HTTP routing (variables {{.BaseURL}}, {{.Host}}, {{.Path}})
      --verify-tls                      Verify TLS for health probes (default true)
  -w, --weight int                      Weight, arbitrary positive value where highest value have highest priority
  -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