Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 2.89 KB

File metadata and controls

57 lines (44 loc) · 2.89 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                                    Use Object Storage backend
      --bucket-credentials-access-key-id string   Access Key ID for Object Storage backend
      --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                                      Help for "stackit beta cdn distribution update"
      --http                                      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                                      Enable Loki log sink for the CDN distribution
      --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                                 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             If set, skips all confirmation prompts
      --async                  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