NamespaceManagementLoadBalancersConfigSpec
The LoadBalancers.ConfigSpec encapsulates load balancer configuration on vSphere Namespaces.
Properties
List of address ranges that will be used to derive frontend IP addresses for L4 virtual servers. This field is ignored in case of AVI load balancer provider. In case of HA_PROXY load balancer provider, at least one range must be provided.
The LoadBalancers.AviConfigCreateSpec is a conditional configuration made available upon selecting the AVI load balancer provider. It is used to configure the load balancer at run time. This field is optional and it is only relevant when the value of LoadBalancers.ConfigSpec.provider is AVI.
The LoadBalancers.HAProxyConfigCreateSpec is a conditional configuration made available upon selecting the HA_PROXY load balancer provider. It is used to configure the load balancer at run time. This field is optional and it is only relevant when the value of LoadBalancers.ConfigSpec.provider is HA_PROXY.
An identifier that identifies a load balancer and can be used to query or configure load balancer properties via these resources. The identifier has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z and 0-9) string, with a maximum length of 63 characters and with the ‘-’ character allowed anywhere except the first or last character. This name is unique across all Namespaces in this vCenter server. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig.
The LoadBalancers.Provider enumerates the kinds of load balancers supported by vSphere Namespaces.
HA_PROXY : HAProxy load balancer
AVI : NSX Advanced Load Balancer
Possible values are: HA_PROXY , AVI
JSON Example
{
"address_ranges": [
{
"address": "string",
"count": 0
}
],
"id": "string",
"provider": "HA_PROXY"
}