Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/stackit_beta_cdn_distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ stackit beta cdn distribution [flags]
### SEE ALSO

* [stackit beta cdn](./stackit_beta_cdn.md) - Manage CDN resources
* [stackit beta cdn distribution create](./stackit_beta_cdn_distribution_create.md) - Create a CDN distribution
* [stackit beta cdn distribution delete](./stackit_beta_cdn_distribution_delete.md) - Delete a CDN distribution
* [stackit beta cdn distribution describe](./stackit_beta_cdn_distribution_describe.md) - Describe a CDN distribution
* [stackit beta cdn distribution list](./stackit_beta_cdn_distribution_list.md) - List CDN distributions
* [stackit beta cdn distribution update](./stackit_beta_cdn_distribution_update.md) - Update a CDN distribution

63 changes: 63 additions & 0 deletions docs/stackit_beta_cdn_distribution_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## stackit beta cdn distribution create

Create a CDN distribution

### Synopsis

Create a CDN distribution for a given originUrl in multiple regions.

```
stackit beta cdn distribution create [flags]
```

### Examples

```
Create a CDN distribution with an HTTP backend
$ stackit beta cdn create --http --http-origin-url https://example.com \
--regions AF,EU

Create a CDN distribution with an Object Storage backend
$ stackit beta cdn create --bucket --bucket-url https://bucket.example.com \
--bucket-credentials-access-key-id yyyy --bucket-region EU \
--regions AF,EU
```

### 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 create"
--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

* [stackit beta cdn distribution](./stackit_beta_cdn_distribution.md) - Manage CDN distributions

40 changes: 40 additions & 0 deletions docs/stackit_beta_cdn_distribution_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## stackit beta cdn distribution delete

Delete a CDN distribution

### Synopsis

Delete a CDN distribution by its ID.

```
stackit beta cdn distribution delete [flags]
```

### Examples

```
Delete a CDN distribution with ID "xxx"
$ stackit beta cdn distribution delete xxx
```

### Options

```
-h, --help Help for "stackit beta cdn distribution delete"
```

### 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

* [stackit beta cdn distribution](./stackit_beta_cdn_distribution.md) - Manage CDN distributions

44 changes: 44 additions & 0 deletions docs/stackit_beta_cdn_distribution_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
## stackit beta cdn distribution describe

Describe a CDN distribution

### Synopsis

Describe a CDN distribution by its ID.

```
stackit beta cdn distribution describe [flags]
```

### Examples

```
Get details of a CDN distribution with ID "xxx"
$ stackit beta cdn distribution describe xxx

Get details of a CDN, including WAF details, for ID "xxx"
$ stackit beta cdn distribution describe xxx --with-waf
```

### Options

```
-h, --help Help for "stackit beta cdn distribution describe"
--with-waf Include WAF details in the distribution description
```

### 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

* [stackit beta cdn distribution](./stackit_beta_cdn_distribution.md) - Manage CDN distributions

1 change: 1 addition & 0 deletions docs/stackit_beta_cdn_distribution_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ stackit beta cdn distribution list [flags]
### Options

```
-- int Limit the output to the first n elements
-h, --help Help for "stackit beta cdn distribution list"
--sort-by string Sort entries by a specific field, one of ["id" "createdAt" "updatedAt" "originUrl" "status" "originUrlRelated"] (default "createdAt")
```
Expand Down
57 changes: 57 additions & 0 deletions docs/stackit_beta_cdn_distribution_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## 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 "123e4567-e89b-12d3-a456-426614174000" to not use optimizer
$ stackit beta cdn update 123e4567-e89b-12d3-a456-426614174000 --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

* [stackit beta cdn distribution](./stackit_beta_cdn_distribution.md) - Manage CDN distributions

5 changes: 3 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/core v0.20.0
github.com/stackitcloud/stackit-sdk-go/services/alb v0.7.1
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.9.0
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.6.0
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.8.1
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.1
github.com/stackitcloud/stackit-sdk-go/services/git v0.9.1
github.com/stackitcloud/stackit-sdk-go/services/iaas v1.2.0
Expand All @@ -36,6 +36,7 @@ require (
github.com/stackitcloud/stackit-sdk-go/services/ske v1.4.0
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.3.2
github.com/zalando/go-keyring v0.2.6
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
golang.org/x/mod v0.30.0
golang.org/x/oauth2 v0.33.0
golang.org/x/term v0.37.0
Expand Down Expand Up @@ -258,7 +259,7 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.34.2 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 // indirect
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ github.com/stackitcloud/stackit-sdk-go/services/alb v0.7.1 h1:DaJkEN/6l+AJEQ3Dr+
github.com/stackitcloud/stackit-sdk-go/services/alb v0.7.1/go.mod h1:SzA+UsSNv4D9IvNT7hwYPewgAvUgj5WXIU2tZ0XaMBI=
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.9.0 h1:7ZKd3b+E/R4TEVShLTXxx5FrsuDuJBOyuVOuKTMa4mo=
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.9.0/go.mod h1:/FoXa6hF77Gv8brrvLBCKa5ie1Xy9xn39yfHwaln9Tw=
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.6.0 h1:Q+qIdejeMsYMkbtVoI9BpGlKGdSVFRBhH/zj44SP8TM=
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.6.0/go.mod h1:YGadfhuy8yoseczTxF7vN4t9ES2WxGQr0Pug14ii7y4=
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.8.1 h1:CiOlfCsCDwHP0kas7qyhfp5XtL2kVmn9e4wjtc3LO10=
github.com/stackitcloud/stackit-sdk-go/services/cdn v1.8.1/go.mod h1:PyZ6g9JsGZZyeISAF+5E7L1lAlMnmbl2YbPj5Teu8to=
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.1 h1:CnhAMLql0MNmAeq4roQKN8OpSKX4FSgTU6Eu6detB4I=
github.com/stackitcloud/stackit-sdk-go/services/dns v0.17.1/go.mod h1:7Bx85knfNSBxulPdJUFuBePXNee3cO+sOTYnUG6M+iQ=
github.com/stackitcloud/stackit-sdk-go/services/git v0.9.1 h1:RgWfaWDY8ZGZp5gEBe/A1r7s5NCRuLiYuHhscH6Ej9U=
Expand Down
Loading
Loading