Skip to content

Commit b06746a

Browse files
authored
feat(instance): add support for GPU-3070-S (#2323)
1 parent 6ea4101 commit b06746a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-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_focal 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)
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)
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
@@ -1305,7 +1305,7 @@ scw instance server create [arg=value ...]
13051305
| Name | | Description |
13061306
|------|---|-------------|
13071307
| image | Required<br />Default: `ubuntu_focal` | Image ID or label of the server |
1308-
| type | 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` | Server commercial type |
1308+
| type | 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 |
13091309
| name | Default: `<generated>` | Server name |
13101310
| root-volume | | Local root volume of the server |
13111311
| additional-volumes.{index} | | Additional local and block volumes attached to your server |

internal/namespaces/instance/v1/custom_server_create.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ func serverCreateCommand() *core.Command {
8585
"PLAY2-PICO",
8686
"PLAY2-NANO",
8787
"PLAY2-MICRO",
88+
"GPU-3070-S",
8889
},
8990
ValidateFunc: func(argSpec *core.ArgSpec, value interface{}) error {
9091
// Allow all commercial types

0 commit comments

Comments
 (0)