Skip to content

Commit bdf3004

Browse files
authored
chore(sqlserverflex): show how to get flavors in create instance example (#679)
1 parent 7a56938 commit bdf3004

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/stackit_beta_sqlserverflex_instance_create.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ stackit beta sqlserverflex instance create [flags]
1616
Create a SQLServer Flex instance with name "my-instance" and specify flavor by CPU and RAM. Other parameters are set to default values
1717
$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4
1818
19-
Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values
19+
Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values.
20+
The flavor ID can be retrieved by running "$ stackit beta sqlserverflex options --flavors"
2021
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx
2122
2223
Create a 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

internal/cmd/beta/sqlserverflex/instance/create/create.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
7676
`Create a SQLServer Flex instance with name "my-instance" and specify flavor by CPU and RAM. Other parameters are set to default values`,
7777
`$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4`),
7878
examples.NewExample(
79-
`Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values`,
79+
`Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values.
80+
The flavor ID can be retrieved by running "$ stackit beta sqlserverflex options --flavors"`,
8081
`$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx`),
8182
examples.NewExample(
8283
`Create a 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`,

0 commit comments

Comments
 (0)