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
feat(vpc): add support for private network, private nic (#649)
This adds the support of VPC resources, data sources, and instance private NIC dependency.
The private NIC resource id has an unusual format like: zone/server_uuid/private_nic_uuid
this is due to the implementation of the private NIC endpoint
.../v1/zone/servers/server_id/private-nics/private_nic_id
thus the SDK. So we have to store the server ID within the private NIC resource ID.
Additional helpers for parsing/building this new format of resource ID called NestedID have been added.
Signed-off-by: Amine Kherbouche <[email protected]>
-`name` - (Optional) The name of the private network. If not provided it will be randomly generated.
26
+
-`tags` - (Optional) The tags associated with the private network.
27
+
-`zone` - (Defaults to [provider](../index.md#zone)`zone`) The [zone](../guides/regions_and_zones.md#zones) in which the private network should be created.
28
+
-`project_id` - (Defaults to [provider](../index.md#project_id)`project_id`) The ID of the project the private network is associated with.
29
+
30
+
## Attributes Reference
31
+
32
+
In addition to all above arguments, the following attributes are exported:
33
+
34
+
-`id` - The ID of the private network.
35
+
-`organization_id` - (Defaults to [provider](../index.md#organization_id)`organization_id`) The ID of the organization the private network is associated with.
36
+
37
+
## Import
38
+
39
+
Private networks can be imported using the `{zone}/{id}`, e.g.
0 commit comments