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-image-create-usage.golden
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,23 @@ EXAMPLES:
10
10
scw instance server image create name=foobar snapshot-id=11111111-1111-1111-1111-111111111111 arch=x86_64
11
11
12
12
ARGS:
13
-
[name=<generated>] Name of the image
14
-
snapshot-id UUID of the snapshot that will be used as root volume in the image
15
-
arch Architecture of the image (x86_64 | arm | arm64)
16
-
[additional-snapshots.{index}.id] UUID of the snapshot to add
17
-
[additional-snapshots.{index}.name] Name of the additional snapshot
18
-
[additional-snapshots.{index}.size] Size of the additional snapshot
19
-
[additional-snapshots.{index}.volume-type] Underlying volume type of the additional snapshot (l_ssd | b_ssd | unified | scratch | sbs_volume)
20
-
[additional-snapshots.{index}.project-id] Project ID that own the additional snapshot
21
-
[project-id] Project ID to use. If none is passed the default project ID will be used
22
-
[tags.{index}] Tags of the image
23
-
[public] True to create a public image
24
-
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
25
-
[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)
13
+
[name=<generated>] Name of the image
14
+
snapshot-id UUID of the snapshot that will be used as root volume in the image
15
+
arch Architecture of the image (x86_64 | arm | arm64)
16
+
[additional-volumes.{index}.id] UUID of the snapshot to add
17
+
[additional-volumes.{index}.name] Name of the additional snapshot
18
+
[additional-volumes.{index}.size] Size of the additional snapshot
19
+
[additional-volumes.{index}.volume-type] Underlying volume type of the additional snapshot (l_ssd | b_ssd | unified | scratch | sbs_volume)
20
+
[additional-volumes.{index}.project-id] Project ID that own the additional snapshot
21
+
[project-id] Project ID to use. If none is passed the default project ID will be used
22
+
[tags.{index}] Tags of the image
23
+
[public] True to create a public image
24
+
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
25
+
[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)
26
26
27
27
DEPRECATED ARGS:
28
-
[default-bootscript] Default bootscript of the image
29
-
[additional-snapshots.{index}.organization-id] Organization ID that own the additional snapshot
28
+
[default-bootscript] Default bootscript of the image
29
+
[additional-volumes.{index}.organization-id] Organization ID that own the additional snapshot
| snapshot-id | Required | UUID of the snapshot that will be used as root volume in the image |
130
130
| arch | Required<br />One of: `x86_64`, `arm`, `arm64`| Architecture of the image |
131
131
|~~default-bootscript~~| Deprecated | Default bootscript of the image |
132
-
| additional-snapshots.{index}.id || UUID of the snapshot to add |
133
-
| additional-snapshots.{index}.name || Name of the additional snapshot |
134
-
| additional-snapshots.{index}.size || Size of the additional snapshot |
135
-
| additional-snapshots.{index}.volume-type | One of: `l_ssd`, `b_ssd`, `unified`, `scratch`, `sbs_volume`| Underlying volume type of the additional snapshot |
136
-
| additional-snapshots.{index}.project-id || Project ID that own the additional snapshot |
137
-
|~~additional-snapshots.{index}.organization-id~~| Deprecated | Organization ID that own the additional snapshot |
132
+
| additional-volumes.{index}.id || UUID of the snapshot to add |
133
+
| additional-volumes.{index}.name || Name of the additional snapshot |
134
+
| additional-volumes.{index}.size || Size of the additional snapshot |
135
+
| additional-volumes.{index}.volume-type | One of: `l_ssd`, `b_ssd`, `unified`, `scratch`, `sbs_volume`| Underlying volume type of the additional snapshot |
136
+
| additional-volumes.{index}.project-id || Project ID that own the additional snapshot |
137
+
|~~additional-volumes.{index}.organization-id~~| Deprecated | Organization ID that own the additional snapshot |
138
138
| project-id || Project ID to use. If none is passed the default project ID will be used |
0 commit comments