NamespaceManagement_LoadBalancers_SetSpec

NamespaceManagement_LoadBalancers_SetSpec
NamespaceManagement_LoadBalancers_SetSpec

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

JSON Example
{
    "address_ranges": [
        {
            "address": "string",
            "count": 0
        }
    ],
    "provider": "string",
    "ha_proxy_config_set_spec": {
        "servers": [
            {
                "host": "string",
                "port": 0
            }
        ],
        "username": "string",
        "password": "string",
        "certificate_authority_chain": "string"
    },
    "avi_config_set_spec": {
        "server": "NamespaceManagement_LoadBalancers_Server Object",
        "username": "string",
        "password": "string",
        "certificate_authority_chain": "string"
    }
}
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

ha_proxy_config_set_spec
Optional

LoadBalancers.HAProxyConfigSetSpec captures the configuration data required for Supervisor Service Type:LoadBalancer to have an external load balancer be created via HA Proxy.

avi_config_set_spec
Optional

LoadBalancers.AviConfigSetSpec captures the configuration data required for integration with the Avi Software Load Balancer.