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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,7 @@ To retrieve more information by label please use: ```scw marketplace image get l
236
236
~> **Important:** When updating `placement_group_id` the `state` must be set to `stopped`, otherwise it will fail.
237
237
238
238
-`root_volume` - (Optional) Root [volume](https://www.scaleway.com/en/developers/api/instance/#path-volume-types-list-volume-types) attached to the server on creation.
239
+
-`name` - (Optional) Name of the root volume.
239
240
-`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.
240
241
-`size_in_gb` - (Required) Size of the root volume in gigabytes.
241
242
To find the right size use [this endpoint](https://www.scaleway.com/en/developers/api/instance/#path-instances-list-all-instances) and
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the Private Network should be attached.
52
+
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the Project the Private Network attachment is associated with.
53
+
-`lb_id` - (Required) The load-balancer ID to attach the private network to.
54
+
-`private_network_id` - (Required) The private network ID to attach.
55
+
-`ipam_ip_ids` - (Required) The IPAM ID of a pre-reserved IP address to assign to the Load Balancer on this Private Network.
56
+
57
+
## Attributes Reference
58
+
59
+
In addition to all arguments above, the following attributes are exported:
60
+
61
+
-`id` - The ID of the Private Network attachment, which is of the form `{zone}/{lb-id}/{private-network-id}` e.g. `fr-par-1/11111111-1111-1111-1111-111111111111/11111111-1111-1111-1111-111111111111`
62
+
-`status` - The status of the Private Network attachment.
63
+
-`created_at` - The date and time of the creation of the Private Network attachment (RFC 3339 format).
64
+
-`updated_at` - The date and time of the last update of the Private Network attachment (RFC 3339 format).
65
+
66
+
## Import
67
+
68
+
Private Network attachments can be imported using `{zone}/{lb-id}/{private-network-id}`, e.g.
0 commit comments