Skip to content

Commit 9a54a90

Browse files
authored
fix(instance): add ENT1-XS and ENT1-XXS to the CLI (#2730)
1 parent ead7b75 commit 9a54a90

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cmd/scw/testdata/test-all-usage-instance-server-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ EXAMPLES:
2424

2525
ARGS:
2626
image=ubuntu_jammy Image ID or label of the server
27-
type=DEV1-S Server commercial type (GP1-XS | GP1-S | GP1-M | GP1-L | GP1-XL | DEV1-S | DEV1-M | DEV1-L | DEV1-XL | RENDER-S | STARDUST1-S | ENT1-S | ENT1-M | ENT1-L | ENT1-XL | ENT1-2XL | PRO2-XXS | PRO2-XS | PRO2-S | PRO2-M | PRO2-L | PLAY2-PICO | PLAY2-NANO | PLAY2-MICRO | GPU-3070-S)
27+
type=DEV1-S Server commercial type (GP1-XS | GP1-S | GP1-M | GP1-L | GP1-XL | DEV1-S | DEV1-M | DEV1-L | DEV1-XL | RENDER-S | STARDUST1-S | ENT1-XXS | ENT1-XS | ENT1-S | ENT1-M | ENT1-L | ENT1-XL | ENT1-2XL | PRO2-XXS | PRO2-XS | PRO2-S | PRO2-M | PRO2-L | PLAY2-PICO | PLAY2-NANO | PLAY2-MICRO | GPU-3070-S)
2828
[name=<generated>] Server name
2929
[root-volume] Local root volume of the server
3030
[additional-volumes.{index}] Additional local and block volumes attached to your server

docs/commands/instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ scw instance server create [arg=value ...]
13611361
| Name | | Description |
13621362
|------|---|-------------|
13631363
| image | Required<br />Default: `ubuntu_jammy` | Image ID or label of the server |
1364-
| type | Required<br />Default: `DEV1-S`<br />One of: `GP1-XS`, `GP1-S`, `GP1-M`, `GP1-L`, `GP1-XL`, `DEV1-S`, `DEV1-M`, `DEV1-L`, `DEV1-XL`, `RENDER-S`, `STARDUST1-S`, `ENT1-S`, `ENT1-M`, `ENT1-L`, `ENT1-XL`, `ENT1-2XL`, `PRO2-XXS`, `PRO2-XS`, `PRO2-S`, `PRO2-M`, `PRO2-L`, `PLAY2-PICO`, `PLAY2-NANO`, `PLAY2-MICRO`, `GPU-3070-S` | Server commercial type |
1364+
| type | Required<br />Default: `DEV1-S`<br />One of: `GP1-XS`, `GP1-S`, `GP1-M`, `GP1-L`, `GP1-XL`, `DEV1-S`, `DEV1-M`, `DEV1-L`, `DEV1-XL`, `RENDER-S`, `STARDUST1-S`, `ENT1-XXS`, `ENT1-XS`, `ENT1-S`, `ENT1-M`, `ENT1-L`, `ENT1-XL`, `ENT1-2XL`, `PRO2-XXS`, `PRO2-XS`, `PRO2-S`, `PRO2-M`, `PRO2-L`, `PLAY2-PICO`, `PLAY2-NANO`, `PLAY2-MICRO`, `GPU-3070-S` | Server commercial type |
13651365
| name | Default: `<generated>` | Server name |
13661366
| root-volume | | Local root volume of the server |
13671367
| additional-volumes.{index} | | Additional local and block volumes attached to your server |

internal/namespaces/instance/v1/custom_server_create.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ func serverCreateCommand() *core.Command {
7373
"DEV1-XL",
7474
"RENDER-S",
7575
"STARDUST1-S",
76+
"ENT1-XXS",
77+
"ENT1-XS",
7678
"ENT1-S",
7779
"ENT1-M",
7880
"ENT1-L",

0 commit comments

Comments
 (0)