update

Partially modify a distribution's properties. This command uses a combination of GET and PUT to simulate a PATCH operation

Usage

ionosctl cdn distribution update [flags]

Aliases

For distribution command:

[ds]

For update command:

[u]

Description

Partially modify a distribution's properties. This command uses a combination of GET and PUT to simulate a PATCH operation

Options

  -u, --api-url string           Override default host URL (default "https://cdn.de-fra.ionos.com")
      --certificate-id string    The ID of the certificate
      --cols strings             Set of columns to be printed on output 
                                 Available columns: [Id Domain CertificateId State]
  -c, --config string            Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
  -i, --distribution-id string   The ID of the distribution you want to update (required)
      --domain string            The domain of the distribution
  -f, --force                    Force command to execute without user input
  -h, --help                     Print usage
  -l, --location string          Location of the resource to operate on. Can be one of: de/fra
      --no-headers               Don't print table headers when table output is used
  -o, --output string            Desired output format [text|json|api-json] (default "text")
  -q, --quiet                    Quiet output
      --routing-rules string     The routing rules of the distribution. JSON string or file path of routing rules
      --routing-rules-example    Print an example of routing rules
  -v, --verbose                  Print step-by-step process when running command

Examples

ionosctl cdn ds update --distribution-id

Last updated