» avi_network

This data source is used to to get avi_network objects.

» Example Usage

data "avi_network" "foo_network" {
    uuid = "network-f9cf6b3e-a411-436f-95e2-2982ba2b217b"
    name = "foo"
    cloud_ref = "/api/cloud/?tenant=admin&name=Default-Cloud"

» Argument Reference

  • name - (Optional) Search Network by name.
  • uuid - (Optional) Search Network by uuid.
  • cloud_ref - (Optional) Search Network by cloud_ref.

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • cloud_ref - It is a reference to an object of type cloud.
  • configured_subnets - List of list.
  • dhcp_enabled - Select the ip address management scheme for this network.
  • exclude_discovered_subnets - When selected, excludes all discovered subnets in this network from consideration for virtual service placement.
  • ip6_autocfg_enabled - Enable ipv6 auto configuration.
  • labels - Key/value labels which can be used for object access policy permission scoping.
  • name - Name of the object.
  • synced_from_se - Boolean flag to set synced_from_se.
  • tenant_ref - It is a reference to an object of type tenant.
  • uuid - Unique object identifier of the object.
  • vcenter_dvs - Boolean flag to set vcenter_dvs.
  • vrf_context_ref - It is a reference to an object of type vrfcontext.