infoblox_network_view Resource
The infoblox_network_view
resource enables you to perform create and update operations on network views in a NIOS appliance. The resource represents the ‘networkview’ WAPI object in NIOS.
The following table describes the parameters you can define in the infoblox_network_view
resource block:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the desired name of the network view as shown in the NIOS appliance. The name has the same requirements as the corresponding parameter in WAPI. |
| Optional | Describes the network view. |
| Optional | Specifies the set of NIOS extensible attributes that will be attached to the network view. |
Note
Once the network view is created, you cannot change the name
parameter. You can modify or even remove the comment
and ext_attrs
parameters from the resource block.
Example of Network View Resource
//minimal set of parameters required to create a network view resource
resource "infoblox_network_view" "nv1" {
name = "network view 1"
}
resource "infoblox_network_view" "netview1234" {
name = "one_more_network_view"
comment = "example network view"
ext_attrs = jsonencode({
"Location" = "the North pole"
"Tenant ID" = "tf-plugin"
"Cloud API Owned" = "True"
"CMP Type"= "VMware"
"Site" = "Nevada
})
}