Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 3.31 KB

stackit_beta_cdn_distribution_update.md

File metadata and controls

59 lines (46 loc) · 3.31 KB

stackit beta cdn distribution update

Update a CDN distribution

Synopsis

Update a CDN distribution by its ID, allowing replacement of its regions.

stackit beta cdn distribution update [flags]

Examples

  update a CDN distribution with ID "xxx" to not use optimizer
  $ stackit beta cdn distribution update xxx --optimizer=false

Options

      --blocked-countries strings                 Comma-separated list of ISO 3166-1 alpha-2 country codes to block (e.g., 'US,DE,FR')
      --blocked-ips strings                       Comma-separated list of IPv4 addresses to block (e.g., '10.0.0.8,127.0.0.1')
      --bucket[=true|false]                       Use Object Storage backend
      --bucket-credentials-access-key-id string   Access Key ID for Object Storage backend
      --bucket-password secret                    Bucket-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
      --bucket-region string                      Region for Object Storage backend
      --bucket-url string                         Bucket URL for Object Storage backend
      --default-cache-duration string             ISO8601 duration string for default cache duration (e.g., 'PT1H30M' for 1 hour and 30 minutes)
  -h, --help[=true|false]                         Help for "stackit beta cdn distribution update"
      --http[=true|false]                         Use HTTP backend
      --http-geofencing stringArray               Geofencing rules for HTTP backend in the format 'https://example.com US,DE'. URL and countries have to be quoted. Repeatable.
      --http-origin-request-headers strings       Origin request headers for HTTP backend in the format 'HeaderName: HeaderValue', repeatable. WARNING: do not store sensitive values in the headers!
      --http-origin-url string                    Origin URL for HTTP backend
      --loki[=true|false]                         Enable Loki log sink for the CDN distribution
      --loki-password secret                      Loki-Password. Use @<file> to read from a file (example: @./secret.txt), or - to read from stdin (hidden input on a terminal). Literal values are not supported.
      --loki-push-url string                      Push URL for log sink
      --loki-username string                      Username for log sink
      --monthly-limit-bytes int                   Monthly limit in bytes for the CDN distribution
      --optimizer[=true|false]                    Enable optimizer for the CDN distribution (paid feature).
      --regions strings                           Regions in which content should be cached, (multiple of: [EU, US, AF, SA, ASIA]) (default [])

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO