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
{{ message }}
This repository was archived by the owner on Jun 3, 2023. It is now read-only.
Query information on IP addresses reported by guest tools.
6
+
7
+
## Parameters
8
+
*[in] vm_uuid - UUID of the VM to query information about
9
+
*[in][optional] startup_delay - how many seconds should be passed after VM start before information could be queried. Useful when new VM was just created to wait until it boots and guest tools are started
10
+
*[out] ip array of arrays with ip addresses where first index corresponds to interface and second to address
11
+
*[out] ipv6 array of arrays with IPv6 addresses where first index corresponds to interface and second to address
12
+
13
+
## Example Usage
14
+
15
+
```hcl
16
+
data "xenserver_vm_networks" "interfaces" {
17
+
vm_uuid = "${vm_uuid}"
18
+
}
19
+
20
+
output "vm_main_ip" {
21
+
value = "${${element(data.xenserver_vm_networks.interfaces.ip[0],0)}}"
0 commit comments