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: docs/resources/instance_server.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -137,8 +137,8 @@ The following arguments are supported:
137
137
You find all the available types on the [pricing page](https://www.scaleway.com/en/pricing/).
138
138
Updates to this field will recreate a new resource.
139
139
140
-
-`image` - (Required) The UUID or the label of the base image used by the server. You can use [this endpoint](https://api-marketplace.scaleway.com/images?page=1&per_page=100)
141
-
to find either the right `label` or the right local image `ID` for a given `type`.
140
+
-`image` - (Optional) The UUID or the label of the base image used by the server. You can use [this endpoint](https://api-marketplace.scaleway.com/images?page=1&per_page=100)
141
+
to find either the right `label` or the right local image `ID` for a given `type`. Optional when creating an instance with an existing root volume.
142
142
143
143
You can check the available labels with our [CLI](https://www.scaleway.com/en/docs/compute/instances/api-cli/creating-managing-instances-with-cliv2/). ```scw marketplace image list```
144
144
@@ -156,7 +156,7 @@ To retrieve more information by label please use: ```scw marketplace image get l
156
156
~> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
157
157
158
158
-`root_volume` - (Optional) Root [volume](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39) attached to the server on creation.
159
-
-`volume_id` - (Optional) The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID
159
+
-`volume_id` - (Optional) The volume ID of the root volume of the server, allows you to create server with an existing volume. If empty, will be computed to a created volume ID.
160
160
-`size_in_gb` - (Required) Size of the root volume in gigabytes.
161
161
To find the right size use [this endpoint](https://api.scaleway.com/instance/v1/zones/fr-par-1/products/servers) and
162
162
check the `volumes_constraint.{min|max}_size` (in bytes) for your `commercial_type`.
0 commit comments