|
| 1 | +## stackit sqlserverflex instance create |
| 2 | + |
| 3 | +Creates an SQLServer Flex instance |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Creates an SQLServer Flex instance. |
| 8 | + |
| 9 | +``` |
| 10 | +stackit sqlserverflex instance create [flags] |
| 11 | +``` |
| 12 | + |
| 13 | +### Examples |
| 14 | + |
| 15 | +``` |
| 16 | + Create an SQLServer Flex instance with name "my-instance" and specify flavor by CPU and RAM. Other parameters are set to default values |
| 17 | + $ stackit sqlserverflex instance create --name my-instance --cpu 1 --ram 4 |
| 18 | +
|
| 19 | + Create an SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values |
| 20 | + $ stackit sqlserverflex instance create --name my-instance --flavor-id xxx |
| 21 | +
|
| 22 | + Create an SQLServer Flex instance with name "my-instance", specify flavor by CPU and RAM, set storage size to 20 GB, and restrict access to a specific range of IP addresses. Other parameters are set to default values |
| 23 | + $ stackit sqlserverflex instance create --name my-instance --cpu 1 --ram 4 --storage-size 20 --acl 1.2.3.0/24 |
| 24 | +``` |
| 25 | + |
| 26 | +### Options |
| 27 | + |
| 28 | +``` |
| 29 | + --acl strings The access control list (ACL). Must contain at least one valid subnet, for instance '0.0.0.0/0' for open access (discouraged), '1.2.3.0/24 for a public IP range of an organization, '1.2.3.4/32' for a single IP range, etc. (default []) |
| 30 | + --backup-schedule string Backup schedule |
| 31 | + --cpu int Number of CPUs |
| 32 | + --edition string Edition of the SQLServer instance |
| 33 | + --flavor-id string ID of the flavor |
| 34 | + -h, --help Help for "stackit sqlserverflex instance create" |
| 35 | + -n, --name string Instance name |
| 36 | + --ram int Amount of RAM (in GB) |
| 37 | + --retention-days int The days for how long the backup files should be stored before being cleaned up |
| 38 | + --storage-class string Storage class |
| 39 | + --storage-size int Storage size (in GB) |
| 40 | + --version string SQLServer version |
| 41 | +``` |
| 42 | + |
| 43 | +### Options inherited from parent commands |
| 44 | + |
| 45 | +``` |
| 46 | + -y, --assume-yes If set, skips all confirmation prompts |
| 47 | + --async If set, runs the command asynchronously |
| 48 | + -o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"] |
| 49 | + -p, --project-id string Project ID |
| 50 | + --verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info") |
| 51 | +``` |
| 52 | + |
| 53 | +### SEE ALSO |
| 54 | + |
| 55 | +* [stackit sqlserverflex instance](./stackit_sqlserverflex_instance.md) - Provides functionality for SQLServer Flex instances |
| 56 | + |
0 commit comments