» avi_network

The Network resource allows the creation and management of Avi Network

» Example Usage

resource "avi_network" "foo" {
    name = "terraform-example-foo"
    tenant_ref = "/api/tenant/?name=admin"

» Argument Reference

The following arguments are supported:

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

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 40 mins) Used when creating the AMI
  • update - (Defaults to 40 mins) Used when updating the AMI
  • delete - (Defaults to 90 mins) Used when deregistering the AMI

» Attributes Reference

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

  • uuid - Unique object identifier of the object.