Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ ARGS:
[private-nics.{index}.mac-address] Private NIC MAC address
[private-nics.{index}.state] Private NIC state (available | syncing | syncing_error)
[private-nics.{index}.tags.{index}] Private NIC tags
[commercial-type] Set the commercial_type for this Instance.
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2)

DEPRECATED ARGS:
Expand Down
1 change: 1 addition & 0 deletions docs/commands/instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -2210,6 +2210,7 @@ scw instance server update <server-id ...> [arg=value ...]
| private-nics.{index}.mac-address | | Private NIC MAC address |
| private-nics.{index}.state | One of: `available`, `syncing`, `syncing_error` | Private NIC state |
| private-nics.{index}.tags.{index} | | Private NIC tags |
| commercial-type | | Set the commercial_type for this Instance. |
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config |


Expand Down
7 changes: 7 additions & 0 deletions internal/namespaces/instance/v1/instance_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,13 @@ func instanceServerUpdate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "commercial-type",
Short: `Set the commercial_type for this Instance.`,
Required: false,
Deprecated: false,
Positional: false,
},
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneFrPar3, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2),
},
Run: func(ctx context.Context, args interface{}) (i interface{}, e error) {
Expand Down