Skip to content

Commit a5b4e5d

Browse files
authored
fix(instance): undocument routed-ip-enabled (#4221)
1 parent 887452b commit a5b4e5d

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ ARGS:
4949
[placement-group-id] The placement group ID in which the server has to be created
5050
[cloud-init] The cloud-init script to use (Support file loading with @/path/to/file)
5151
[boot-type=local] The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. (local | bootscript | rescue)
52-
[routed-ip-enabled] Enable routed IP support
5352
[admin-password-encryption-ssh-key-id] ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server.
5453
[project-id] Project ID to use. If none is passed the default project ID will be used
5554
[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 | pl-waw-3)

docs/commands/instance.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,6 @@ scw instance server create [arg=value ...]
17221722
| placement-group-id | | The placement group ID in which the server has to be created |
17231723
| cloud-init | | The cloud-init script to use |
17241724
| boot-type | Default: `local`<br />One of: `local`, `bootscript`, `rescue` | The boot type to use, if empty the local boot will be used. Will be overwritten to bootscript if bootscript-id is set. |
1725-
| routed-ip-enabled | | Enable routed IP support |
17261725
| admin-password-encryption-ssh-key-id | | ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server. |
17271726
| project-id | | Project ID to use. If none is passed the default project ID will be used |
17281727
| 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`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config |

internal/namespaces/instance/v1/custom_server_create.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ func serverCreateCommand() *core.Command {
128128
Default: core.DefaultValueSetter(instance.BootTypeLocal.String()),
129129
EnumValues: []string{instance.BootTypeLocal.String(), instance.BootTypeBootscript.String(), instance.BootTypeRescue.String()},
130130
},
131-
{
132-
Name: "routed-ip-enabled",
133-
Short: "Enable routed IP support",
134-
},
135131
{
136132
Name: "admin-password-encryption-ssh-key-id",
137133
Short: "ID of the IAM SSH Key used to encrypt generated admin password. Required when creating a windows server.",

0 commit comments

Comments
 (0)