NamespaceManagementLoadBalancersSetSpec
The LoadBalancers.SetSpec encapsulates configuration allowed for setting a new configuration for a load balancer.
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. A set operation only allows for addition of new IP ranges to the existing list of IP ranges.
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
The LoadBalancers.AviConfigSetSpec 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.SetSpec.provider is AVI.
The LoadBalancers.HAProxyConfigSetSpec 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.SetSpec.provider is HA_PROXY.
JSON Example
{
"address_ranges": [
{
"address": "string",
"count": 0
}
],
"provider": "HA_PROXY"
}