You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-instance-server-update-usage.golden
+21-33Lines changed: 21 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -25,39 +25,27 @@ EXAMPLES:
25
25
scw instance server server update 11111111-1111-1111-1111-111111111111 placement-group-id=11111111-1111-1111-1111-111111111111
26
26
27
27
ARGS:
28
-
server-id UUID of the Instance
29
-
[name] Name of the Instance
30
-
[ip] IP that should be attached to the server (use ip=none to detach)
31
-
[cloud-init] The cloud-init script to use (Support file loading with @/path/to/file)
32
-
[boot-type] (local | bootscript | rescue)
33
-
[tags.{index}] Tags of the Instance
34
-
[volumes.{key}.boot=false] Force the Instance to boot on this volume
35
-
[volumes.{key}.base-snapshot] ID of the snapshot on which this volume will be based
36
-
[volumes.{key}.project] Project ID of the volume
37
-
[volumes.{key}.organization] Organization ID of the volume
38
-
[dynamic-ip-required]
39
-
[routed-ip-enabled] True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False)
40
-
[public-ips.{index}.id] Unique ID of the IP address
41
-
[public-ips.{index}.address] Instance's public IP-Address
42
-
[public-ips.{index}.gateway] Gateway's IP address
43
-
[public-ips.{index}.netmask] CIDR netmask
44
-
[public-ips.{index}.family] IP address family (inet or inet6) (inet | inet6)
45
-
[public-ips.{index}.dynamic] True if the IP address is dynamic
46
-
[public-ips.{index}.provisioning-mode] Information about this address provisioning mode (manual | dhcp | slaac)
47
-
[public-ips.{index}.tags.{index}] Tags associated with the IP
48
-
[enable-ipv6]
49
-
[protected]
50
-
[security-group-id]
51
-
[volume-ids.{index}] Will update ALL volume IDs at once, including the root volume of the server (use volume-ids=none to detach all volumes)
52
-
[placement-group-id] Placement group ID if Instance must be part of a placement group
53
-
[private-nics.{index}.id] Private NIC unique ID
54
-
[private-nics.{index}.server-id] Instance to which the private NIC is attached
55
-
[private-nics.{index}.private-network-id] Private Network the private NIC is attached to
56
-
[private-nics.{index}.mac-address] Private NIC MAC address
57
-
[private-nics.{index}.state] Private NIC state (available | syncing | syncing_error)
58
-
[private-nics.{index}.tags.{index}] Private NIC tags
59
-
[commercial-type] Set the commercial_type for this Instance.
60
-
[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)
28
+
server-id UUID of the Instance
29
+
[name] Name of the Instance
30
+
[ip] IP that should be attached to the server (use ip=none to detach)
31
+
[cloud-init] The cloud-init script to use (Support file loading with @/path/to/file)
32
+
[boot-type] (local | bootscript | rescue)
33
+
[tags.{index}] Tags of the Instance
34
+
[volumes.{key}.boot=false] Force the Instance to boot on this volume
35
+
[volumes.{key}.base-snapshot] ID of the snapshot on which this volume will be based
36
+
[volumes.{key}.project] Project ID of the volume
37
+
[volumes.{key}.organization] Organization ID of the volume
38
+
[dynamic-ip-required]
39
+
[routed-ip-enabled] True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False)
40
+
[public-ips.{index}] A list of reserved IP IDs to attach to the Instance
41
+
[enable-ipv6]
42
+
[protected]
43
+
[security-group-id]
44
+
[volume-ids.{index}] Will update ALL volume IDs at once, including the root volume of the server (use volume-ids=none to detach all volumes)
45
+
[placement-group-id] Placement group ID if Instance must be part of a placement group
46
+
[private-nics.{index}] Instance private NICs
47
+
[commercial-type] Set the commercial_type for this Instance.
48
+
[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)
| routed-ip-enabled || True to configure the instance so it uses the new routed IP mode (once this is set to True you cannot set it back to False) |
2266
-
| public-ips.{index}.id || Unique ID of the IP address |
2267
-
| public-ips.{index}.address || Instance's public IP-Address |
2268
-
| public-ips.{index}.gateway || Gateway's IP address |
2269
-
| public-ips.{index}.netmask || CIDR netmask |
2270
-
| public-ips.{index}.family | One of: `inet`, `inet6`| IP address family (inet or inet6) |
2271
-
| public-ips.{index}.dynamic || True if the IP address is dynamic |
2272
-
| public-ips.{index}.provisioning-mode | One of: `manual`, `dhcp`, `slaac`| Information about this address provisioning mode |
2273
-
| public-ips.{index}.tags.{index} || Tags associated with the IP |
2266
+
| public-ips.{index} || A list of reserved IP IDs to attach to the Instance |
2274
2267
| enable-ipv6 |||
2275
2268
| protected |||
2276
2269
| security-group-id |||
2277
2270
| volume-ids.{index} || Will update ALL volume IDs at once, including the root volume of the server (use volume-ids=none to detach all volumes) |
2278
2271
| placement-group-id || Placement group ID if Instance must be part of a placement group |
2279
-
| private-nics.{index}.id || Private NIC unique ID |
2280
-
| private-nics.{index}.server-id || Instance to which the private NIC is attached |
2281
-
| private-nics.{index}.private-network-id || Private Network the private NIC is attached to |
2282
-
| private-nics.{index}.mac-address || Private NIC MAC address |
2283
-
| private-nics.{index}.state | One of: `available`, `syncing`, `syncing_error`| Private NIC state |
2284
-
| private-nics.{index}.tags.{index} || Private NIC tags |
2272
+
| private-nics.{index} || Instance private NICs |
2285
2273
| commercial-type || Set the commercial_type for this Instance. |
2286
2274
| 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 |
0 commit comments