|
| 1 | +## stackit beta logs instance create |
| 2 | + |
| 3 | +Creates a Logs instance |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates a Logs instance. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit beta logs instance create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create a Logs instance with name "my-instance" and retention time 10 days |
| 17 | + $ stackit beta logs instance create --display-name "my-instance" --retention-days 10 |
| 18 | +
|
| 19 | + Create a Logs instance with name "my-instance", retention time 10 days, and a description |
| 20 | + $ stackit beta logs instance create --display-name "my-instance" --retention-days 10 --description "Description of the instance" |
| 21 | +
|
| 22 | + Create a Logs instance with name "my-instance", retention time 10 days, and restrict access to a specific range of IP addresses. |
| 23 | + $ stackit beta logs instance create --display-name "my-instance" --retention-days 10 --acl 1.2.3.0/24 |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + --acl strings Access control list |
| 30 | + --description string Description |
| 31 | + --display-name string Display name |
| 32 | + -h, --help Help for "stackit beta logs instance create" |
| 33 | + --retention-days int The days for how long the logs should be stored before being cleaned up |
| 34 | +``` |
| 35 | + |
| 36 | +### Options inherited from parent commands |
| 37 | + |
| 38 | +``` |
| 39 | + -y, --assume-yes If set, skips all confirmation prompts |
| 40 | + --async If set, runs the command asynchronously |
| 41 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 42 | + -p, --project-id string Project ID |
| 43 | + --region string Target region for region-specific requests |
| 44 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 45 | +``` |
| 46 | + |
| 47 | +### SEE ALSO |
| 48 | + |
| 49 | +* [stackit beta logs instance](./stackit_beta_logs_instance.md) - Provides functionality for Logs instances |
| 50 | + |
0 commit comments