vcenter namespace management load balancers: set spec
The
set_spec
encapsulates configuration allowed for setting a new configuration for a load balancer. Warning: This structure is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.Representation:
{
"ha_proxy_config_set_spec" : {
"password" : "secret string",
"servers" : [
{
"port" : 1,
"host" : "string"
},
{
"port" : 1,
"host" : "string"
}
],
"certificate_authority_chain" : "string",
"username" : "string"
},
"address_ranges" : [
{
"address" : "string",
"count" : 1
},
{
"address" : "string",
"count" : 1
}
],
"provider" : "HA_PROXY"
}
"ha_proxy_config_set_spec" : {
"password" : "secret string",
"servers" : [
{
"port" : 1,
"host" : "string"
},
{
"port" : 1,
"host" : "string"
}
],
"certificate_authority_chain" : "string",
"username" : "string"
},
"address_ranges" : [
{
"address" : "string",
"count" : 1
},
{
"address" : "string",
"count" : 1
}
],
"provider" : "HA_PROXY"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
address_ranges | IP_range[] | List of address ranges that will be used to derive frontend IP addresses for L4 virtual servers. 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. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
address_ranges[].address | string | The starting address of the range. This attribute was added in vSphere API 7.0.1.0. |
address_ranges[].count | long | The number of IP addresses in the range. This attribute was added in vSphere API 7.0.1.0. |
provider | string | The provider selects a provider from the list of available providers to be used with vSphere Namespaces. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. The provider enumerates the kinds of load balancers supported by vSphere Namespaces. This enumeration was added in vSphere API 7.0.1.0. Value is one of:HA_PROXY: This constant was added in vSphere API 7.0.1.0. |
ha_proxy_config_set_spec.servers | server[] | Servers is a list of the addresses for the data plane API servers used to configure HAProxy. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
ha_proxy_config_set_spec.servers[].host | string | Load balancer hostname or IPv4 address. This attribute was added in vSphere API 7.0.1.0. |
ha_proxy_config_set_spec.servers[].port | long | Load balancer port. This attribute was added in vSphere API 7.0.1.0. |
ha_proxy_config_set_spec.username | string | An administrator user name for accessing the HAProxy Data Plane API server. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
ha_proxy_config_set_spec.password | secret | The password for the administrator user. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
ha_proxy_config_set_spec.certificate_authority_chain | string | CertificateAuthorityChain contains PEM-encoded CA chain which is used to verify x509 certificates received from the server. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Optional | ||
ha_proxy_config_set_spec | HA_proxy_config_set_spec | The HA_proxy_config_set_spec 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. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when provider has value HA_PROXY. This field is optional and it is only relevant when the value of provider is HA_PROXY. |