Skip to content

Commit 0d44d2d

Browse files
authored
chore(sqlserverflex): Deprecate fields, flags and commands (#1535)
STACKITCLI-436
1 parent 8b923b1 commit 0d44d2d

40 files changed

Lines changed: 2661 additions & 92 deletions

docs/stackit_beta_sqlserverflex.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ stackit beta sqlserverflex [flags]
3131

3232
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
3333
* [stackit beta sqlserverflex database](./stackit_beta_sqlserverflex_database.md) - Provides functionality for SQLServer Flex databases
34+
* [stackit beta sqlserverflex flavor](./stackit_beta_sqlserverflex_flavor.md) - Provides functionality for SQLServer Flex flavors
3435
* [stackit beta sqlserverflex instance](./stackit_beta_sqlserverflex_instance.md) - Provides functionality for SQLServer Flex instances
35-
* [stackit beta sqlserverflex options](./stackit_beta_sqlserverflex_options.md) - Lists SQL Server Flex options
3636
* [stackit beta sqlserverflex user](./stackit_beta_sqlserverflex_user.md) - Provides functionality for SQLServer Flex users
37+
* [stackit beta sqlserverflex version](./stackit_beta_sqlserverflex_version.md) - Provides functionality for SQLServer Flex versions
3738

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## stackit beta sqlserverflex flavor
2+
3+
Provides functionality for SQLServer Flex flavors
4+
5+
### Synopsis
6+
7+
Provides functionality for SQLServer Flex flavors.
8+
9+
```
10+
stackit beta sqlserverflex flavor [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta sqlserverflex flavor"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta sqlserverflex](./stackit_beta_sqlserverflex.md) - Provides functionality for SQLServer Flex
33+
* [stackit beta sqlserverflex flavor describe](./stackit_beta_sqlserverflex_flavor_describe.md) - Show details of a SQLServer Flex flavor
34+
* [stackit beta sqlserverflex flavor list](./stackit_beta_sqlserverflex_flavor_list.md) - Lists SQLServer Flex flavors
35+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## stackit beta sqlserverflex flavor describe
2+
3+
Show details of a SQLServer Flex flavor
4+
5+
### Synopsis
6+
7+
Show details of a SQLServer Flex flavor.
8+
9+
```
10+
stackit beta sqlserverflex flavor describe [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Show SQLServer Flex flavor details
17+
$ stackit beta sqlserverflex flavor describe xxx
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit beta sqlserverflex flavor describe"
24+
```
25+
26+
### Options inherited from parent commands
27+
28+
```
29+
-y, --assume-yes If set, skips all confirmation prompts
30+
--async If set, runs the command asynchronously
31+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
32+
-p, --project-id string Project ID
33+
--region string Target region for region-specific requests
34+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
35+
```
36+
37+
### SEE ALSO
38+
39+
* [stackit beta sqlserverflex flavor](./stackit_beta_sqlserverflex_flavor.md) - Provides functionality for SQLServer Flex flavors
40+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit beta sqlserverflex flavor list
2+
3+
Lists SQLServer Flex flavors
4+
5+
### Synopsis
6+
7+
Lists SQLServer Flex flavors.
8+
9+
```
10+
stackit beta sqlserverflex flavor list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List SQLServer Flex flavors
17+
$ stackit beta sqlserverflex flavor list
18+
19+
List up to 10 SQLServer Flex flavors
20+
$ stackit beta sqlserverflex flavor list --limit 10
21+
```
22+
23+
### Options
24+
25+
```
26+
-h, --help Help for "stackit beta sqlserverflex flavor list"
27+
--limit int Maximum number of entries to list
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
36+
-p, --project-id string Project ID
37+
--region string Target region for region-specific requests
38+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit beta sqlserverflex flavor](./stackit_beta_sqlserverflex_flavor.md) - Provides functionality for SQLServer Flex flavors
44+

docs/stackit_beta_sqlserverflex_instance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ stackit beta sqlserverflex instance [flags]
3131

3232
* [stackit beta sqlserverflex](./stackit_beta_sqlserverflex.md) - Provides functionality for SQLServer Flex
3333
* [stackit beta sqlserverflex instance create](./stackit_beta_sqlserverflex_instance_create.md) - Creates a SQLServer Flex instance
34+
* [stackit beta sqlserverflex instance db-collation](./stackit_beta_sqlserverflex_instance_db-collation.md) - Provides functionality for SQLServer Flex database collations
35+
* [stackit beta sqlserverflex instance db-compatibility](./stackit_beta_sqlserverflex_instance_db-compatibility.md) - Provides functionality for SQLServer Flex database compatibilities
3436
* [stackit beta sqlserverflex instance delete](./stackit_beta_sqlserverflex_instance_delete.md) - Deletes a SQLServer Flex instance
3537
* [stackit beta sqlserverflex instance describe](./stackit_beta_sqlserverflex_instance_describe.md) - Shows details of a SQLServer Flex instance
3638
* [stackit beta sqlserverflex instance list](./stackit_beta_sqlserverflex_instance_list.md) - Lists all SQLServer Flex instances
3739
* [stackit beta sqlserverflex instance update](./stackit_beta_sqlserverflex_instance_update.md) - Updates a SQLServer Flex instance
40+
* [stackit beta sqlserverflex instance user-role](./stackit_beta_sqlserverflex_instance_user-role.md) - Provides functionality for SQLServer Flex user roles
3841

docs/stackit_beta_sqlserverflex_instance_create.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,27 @@ stackit beta sqlserverflex instance create [flags]
1313
### Examples
1414

1515
```
16-
Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID. Other parameters are set to default values.
17-
The flavor ID can be retrieved by running "$ stackit beta sqlserverflex options --flavors"
18-
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx --backup-schedule "0 1-3 * * *" --retention-days 30 --storage-class premium-perf2-stackit --storage-size 10 --version 2022
16+
Create a SQLServer Flex instance with name "my-instance" and specify flavor by ID.
17+
The flavor ID can be retrieved by running "$ stackit beta sqlserverflex flavor list"
18+
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx --backup-schedule "0 2 * * *" --retention-days 30 --storage-class premium-perf2-stackit --storage-size 10 --version 2022 --acl 1.2.3.0/24
1919
20-
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
21-
$ stackit beta sqlserverflex instance create --name my-instance --cpu 1 --ram 4 --storage-size 20 --backup-schedule "0 1-3 * * *" --retention-days 30 --storage-class premium-perf2-stackit --storage-size 10 --version 2022 --acl 1.2.3.0/24
20+
Create a SQLServer Flex instance with name "my-instance", specify flavor by ID, set storage size to 20 GB, and restrict access to a specific range of IP addresses.
21+
$ stackit beta sqlserverflex instance create --name my-instance --flavor-id xxx --storage-size 20 --backup-schedule "0 2 * * *" --retention-days 30 --storage-class premium-perf2-stackit --version 2022 --acl 1.2.3.0/24
2222
```
2323

2424
### Options
2525

2626
```
2727
--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 [])
2828
--backup-schedule string Backup schedule
29-
--cpu int Number of CPUs
3029
--edition string Edition of the SQLServer instance
3130
--encryption-kek-key-id string The key identifier
3231
--encryption-kek-key-version string The key version
3332
--encryption-kek-keyring-id string The keyring identifier
3433
--encryption-service-account string The service account
35-
--flavor-id string ID of the flavor
34+
--flavor-id string ID of the flavor. This flag will be required after 2027-02-28.
3635
-h, --help Help for "stackit beta sqlserverflex instance create"
3736
-n, --name string Instance name
38-
--ram int Amount of RAM (in GB)
3937
--retention-days int32 The days for how long the backup files should be stored before being cleaned up
4038
--storage-class string Storage class
4139
--storage-size int Storage size (in GB)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit beta sqlserverflex instance db-collation
2+
3+
Provides functionality for SQLServer Flex database collations
4+
5+
### Synopsis
6+
7+
Provides functionality for SQLServer Flex database collations.
8+
9+
```
10+
stackit beta sqlserverflex instance db-collation [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta sqlserverflex instance db-collation"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta sqlserverflex instance](./stackit_beta_sqlserverflex_instance.md) - Provides functionality for SQLServer Flex instances
33+
* [stackit beta sqlserverflex instance db-collation list](./stackit_beta_sqlserverflex_instance_db-collation_list.md) - Lists supported SQLServer Flex database collations of an instance
34+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## stackit beta sqlserverflex instance db-collation list
2+
3+
Lists supported SQLServer Flex database collations of an instance
4+
5+
### Synopsis
6+
7+
Lists supported SQLServer Flex database collations of an instance.
8+
9+
```
10+
stackit beta sqlserverflex instance db-collation list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List SQLServer Flex database collations of instance with ID "xxx"
17+
$ stackit beta sqlserverflex instance db-collation list --instance-id xxx
18+
19+
List SQLServer Flex database collations of instance with ID "xxx" in JSON format
20+
$ stackit beta sqlserverflex instance db-collation list --instance-id xxx --output-format json
21+
22+
List up to 10 SQLServer Flex database collations of instance with ID "xxx"
23+
$ stackit beta sqlserverflex instance db-collation list --instance-id xxx --limit 10
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help Help for "stackit beta sqlserverflex instance db-collation list"
30+
--instance-id string Instance ID
31+
--limit int Maximum number of entries to list
32+
```
33+
34+
### Options inherited from parent commands
35+
36+
```
37+
-y, --assume-yes If set, skips all confirmation prompts
38+
--async If set, runs the command asynchronously
39+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
40+
-p, --project-id string Project ID
41+
--region string Target region for region-specific requests
42+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
43+
```
44+
45+
### SEE ALSO
46+
47+
* [stackit beta sqlserverflex instance db-collation](./stackit_beta_sqlserverflex_instance_db-collation.md) - Provides functionality for SQLServer Flex database collations
48+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## stackit beta sqlserverflex instance db-compatibility
2+
3+
Provides functionality for SQLServer Flex database compatibilities
4+
5+
### Synopsis
6+
7+
Provides functionality for SQLServer Flex database compatibilities.
8+
9+
```
10+
stackit beta sqlserverflex instance db-compatibility [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit beta sqlserverflex instance db-compatibility"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit beta sqlserverflex instance](./stackit_beta_sqlserverflex_instance.md) - Provides functionality for SQLServer Flex instances
33+
* [stackit beta sqlserverflex instance db-compatibility list](./stackit_beta_sqlserverflex_instance_db-compatibility_list.md) - Lists supported SQLServer Flex database compatibilities of an instance
34+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## stackit beta sqlserverflex instance db-compatibility list
2+
3+
Lists supported SQLServer Flex database compatibilities of an instance
4+
5+
### Synopsis
6+
7+
Lists supported SQLServer Flex database compatibilities of an instance.
8+
9+
```
10+
stackit beta sqlserverflex instance db-compatibility list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List SQLServer Flex database compatibilities of instance with ID "xxx"
17+
$ stackit beta sqlserverflex instance db-compatibility list --instance-id xxx
18+
19+
List SQLServer Flex database compatibilities of instance with ID "xxx" in JSON format
20+
$ stackit beta sqlserverflex instance db-compatibility list --instance-id xxx --output-format json
21+
22+
List up to 10 SQLServer Flex database compatibilities of instance with ID "xxx"
23+
$ stackit beta sqlserverflex instance db-compatibility list --instance-id xxx --limit 10
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help Help for "stackit beta sqlserverflex instance db-compatibility list"
30+
--instance-id string Instance ID
31+
--limit int Maximum number of entries to list
32+
```
33+
34+
### Options inherited from parent commands
35+
36+
```
37+
-y, --assume-yes If set, skips all confirmation prompts
38+
--async If set, runs the command asynchronously
39+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
40+
-p, --project-id string Project ID
41+
--region string Target region for region-specific requests
42+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
43+
```
44+
45+
### SEE ALSO
46+
47+
* [stackit beta sqlserverflex instance db-compatibility](./stackit_beta_sqlserverflex_instance_db-compatibility.md) - Provides functionality for SQLServer Flex database compatibilities
48+

0 commit comments

Comments
 (0)