NamespaceManagement_LoadBalancers_ConfigSpec

NamespaceManagement_LoadBalancers_ConfigSpec
NamespaceManagement_LoadBalancers_ConfigSpec

The LoadBalancers.ConfigSpec encapsulates load balancer configuration on vSphere Namespaces.

JSON Example
{
    "id": "string",
    "address_ranges": [
        {
            "address": "string",
            "count": 0
        }
    ],
    "provider": "string",
    "ha_proxy_config_create_spec": {
        "servers": [
            {
                "host": "string",
                "port": 0
            }
        ],
        "username": "string",
        "password": "string",
        "certificate_authority_chain": "string"
    },
    "avi_config_create_spec": {
        "server": "NamespaceManagement_LoadBalancers_Server Object",
        "username": "string",
        "password": "string",
        "certificate_authority_chain": "string"
    }
}
string
id
Required

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.

address_ranges
Required

List of address ranges that will be used to derive frontend IP addresses for L4 virtual servers. At least one range must be provided.

provider
Required

The LoadBalancers.Provider enumerates the kinds of load balancers supported by vSphere Namespaces.
HA_PROXY :
AVI :

ha_proxy_config_create_spec
Optional

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

avi_config_create_spec
Optional

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