NamespaceManagementLoadBalancersSetSpec

The LoadBalancers.SetSpec encapsulates configuration allowed for setting a new configuration for a load balancer.


Properties

address_ranges Required

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.


provider Required

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_PROXYAVI


avi_config_set_spec Optional

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.


ha_proxy_config_set_spec Optional

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"
}
Parameter To

Set Load Balancers

Feedback

Was this page helpful?