Skip to content

Commit cbf7a9f

Browse files
committed
fix(cdn): generate distribution create docs
1 parent 9e049a0 commit cbf7a9f

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

docs/stackit_beta_cdn_distribution.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ stackit beta cdn distribution [flags]
3030
### SEE ALSO
3131

3232
* [stackit beta cdn](./stackit_beta_cdn.md) - Manage CDN resources
33+
* [stackit beta cdn distribution create](./stackit_beta_cdn_distribution_create.md) - Create a CDN distribution
3334
* [stackit beta cdn distribution list](./stackit_beta_cdn_distribution_list.md) - List CDN distributions
3435

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit beta cdn distribution create
2+
3+
Create a CDN distribution
4+
5+
### Synopsis
6+
7+
Create a CDN distribution for a given originUrl in multiple regions.
8+
9+
```
10+
stackit beta cdn distribution create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a distribution for regions EU and AF
17+
$ stackit beta cdn distribution create --regions=EU,AF --origin-url=https://example.com
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta cdn distribution create"
24+
--origin-url https The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, https is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234`
25+
--regions strings Regions in which content should be cached, multiple of: ["EU" "US" "AF" "SA" "ASIA"] (default [])
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
-y, --assume-yes If set, skips all confirmation prompts
32+
--async If set, runs the command asynchronously
33+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
34+
-p, --project-id string Project ID
35+
--region string Target region for region-specific requests
36+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
37+
```
38+
39+
### SEE ALSO
40+
41+
* [stackit beta cdn distribution](./stackit_beta_cdn_distribution.md) - Manage CDN distributions
42+

0 commit comments

Comments
 (0)