» vcd_network_isolated

Provides a vCloud Director Org VDC isolated Network data source. This can be used to reference internal networks for vApps to connect. This network is not attached to external networks or routers.

Supported in provider v2.5+

» Example Usage

data "vcd_network_isolated" "net" {
  org = "my-org" # Optional
  vdc = "my-vdc" # Optional

  name    = "my-net"
}

output "gateway" {
  value = data.vcd_network_isolated.net.gateway
}

output "dns1" {
  value = data.vcd_network_isolated.net.dns1
}

output "dhcp_start_address" {
  value = tolist(data.vcd_network_isolated.net.dhcp_pool)[0].start_address
}

output "dhcp_end_address" {
  value = tolist(data.vcd_network_isolated.net.dhcp_pool)[0].end_address
}

output "static_ip_start_address" {
  value = tolist(data.vcd_network_isolated.net.static_ip_pool)[0].start_address
}

output "static_ip_end_address" {
  value = tolist(data.vcd_network_isolated.net.static_ip_pool)[0].end_address
}

» Argument Reference

The following arguments are supported:

  • org - (Optional) The name of organization to use, optional if defined at provider level
  • vdc - (Optional) The name of VDC to use, optional if defined at provider level
  • name - (Required) A unique name for the network

» Attribute reference

All attributes defined in isolated network resource are supported.