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
-`image_uuid` (String) The UUID of the image used to create the VM instance.
49
-
-`l3_network_uuids` (List of String) A list of UUIDs for the L3 networks associated with the VM instance.
50
61
-`name` (String) The name of the VM instance.
51
62
52
63
### Optional
@@ -60,9 +71,11 @@ output "zstack_instance" {
60
71
-`gpu_devices` (Attributes List) A list of GPU devices assigned to the VM instance. (see [below for nested schema](#nestedatt--gpu_devices))
61
72
-`host_uuid` (String) The UUID of the host where the VM instance is running.
62
73
-`instance_offering_uuid` (String) The UUID of the instance offering used by the VM. Required if using instance offering uuid to create instances. Mutually exclusive with `cpu_num` and `memory_size`.
74
+
-`l3_network_uuids` (List of String) Deprecated. Use `network_interfaces` instead. A list of UUIDs for the L3 networks associated with the VM instance.
63
75
-`marketplace` (Boolean) Indicates whether the VM instance is a marketplace instance.
64
76
-`memory_size` (Number) The memory size allocated to the VM instance in megabytes (MB). When used together with `cpu_num`, the `instance_offering_uuid` is not required.
65
-
-`networks` (Attributes List) The network configurations associated with the VM instance. (see [below for nested schema](#nestedatt--networks))
77
+
-`network_interfaces` (Attributes List) Defines network interfaces attached to the VM. Each NIC corresponds to an L3 network, and optionally configures a static IP. (see [below for nested schema](#nestedatt--network_interfaces))
78
+
-`networks` (Attributes List) Deprecated. Use `network_interfaces` instead. The network configurations associated with the VM instance. (see [below for nested schema](#nestedatt--networks))
66
79
-`never_stop` (Boolean) Whether the VM instance should never stop automatically.
67
80
-`root_disk` (Attributes) The configuration for the root disk of the VM instance. (see [below for nested schema](#nestedatt--root_disk))
68
81
-`strategy` (String) The deployment strategy for the VM instance.
@@ -108,6 +121,19 @@ Optional:
108
121
-`uuid` (String) The UUID of the GPU device.
109
122
110
123
124
+
<aid="nestedatt--network_interfaces"></a>
125
+
### Nested Schema for `network_interfaces`
126
+
127
+
Required:
128
+
129
+
-`l3_network_uuid` (String) The UUID of the L3 network for this NIC.
130
+
131
+
Optional:
132
+
133
+
-`default_l3` (Boolean) Whether this NIC is the default route NIC.
134
+
-`static_ip` (String) Static IP address to assign. The format will be converted to system tag `staticIp::<l3_uuid>::<ip>`.
0 commit comments