» vcd_lb_virtual_server
Provides a vCloud Director edge gateway load balancer virtual server data source. Adds an edge gateway internal or uplink interface as a virtual server. A virtual server has a public IP address and services all incoming client requests.
Note: To make load balancing work one must ensure that load balancing is enabled on edge gateway (edge gateway must be advanced). This depends on NSX version to work properly. Please refer to VMware Product Interoperability Matrices to check supported vCloud director and NSX for vSphere configurations.
Note: The vCloud Director API for NSX supports a subset of the operations and objects defined in the NSX vSphere API Guide. The API supports NSX 6.2, 6.3, and 6.4.
Supported in provider v2.4+
» Example Usage
data "vcd_lb_virtual_server" "my-vs" {
org = "my-org"
vdc = "my-org-vdc"
edge_gateway = "my-edge-gw"
name = "not-managed"
}
» Argument Reference
The following arguments are supported:
org
- (Optional) The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organisationsvdc
- (Optional) The name of VDC to use, optional if defined at provider leveledge_gateway
- (Required) The name of the edge gateway on which the virtual server is definedname
- (Required) Name for identifying the exact virtual server
» Attribute Reference
All the attributes defined in vcd_lb_virtual_server
resource are available.