ChangeLoadBalancerListener
Changes a parameter of a load balancer listener. For
example,
ChangeLoadBalancerListener uuid=dc0ee73ed875423a81234fc091e3ce70Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The resource UUID. | 3.4.0 | ||
| connectionIdleTimeout | The connection timeout. | Yes | 4.6.0 | |
| maxConnection | The maximum number of concurrent connections. | Yes | 4.6.0 | |
| balancerAlgorithm | The load balancing algorithm. | Yes |
|
4.6.0 |
| healthCheckTarget | The health check port. | Yes | 4.6.0 | |
| healthyThreshold | The threshold of the healthy state. | Yes | 4.6.0 | |
| unhealthyThreshold | The threshold of the unhealthy state. | Yes | 4.6.0 | |
| healthCheckInterval | The health check interval. | Yes | 4.6.0 | |
| healthCheckProtocol | The health check protocol. | Yes |
|
3.9.0 |
| healthCheckMethod | The health check method. | Yes |
|
3.9.0 |
| healthCheckURI | The health check URI. | Yes | 3.9.0 | |
| healthCheckHttpCode | The expected response code of the health code. | Yes | 3.9.0 | |
| aclStatus | The access control status. | Yes |
|
3.9.0 |
| securityPolicyType | The transport layer security policy. | Yes |
|
4.1.0 |
| nbprocess | The number of SLB processes. | Yes | 4.1.0 | |
| httpMode | The HTTP Mode of SLB. | Yes |
|
4.1.0 |
| sessionPersistence | The session persistence mode. | Yes |
|
4.6.0 |
| sessionIdleTimeout | The session persistence time. | Yes | 4.6.0 | |
| cookieName | The Cookie name. | Yes | 4.6.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 4.6.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 4.6.0 | |
| timeout | Yes | |||
| httpRedirectHttps | The http redirects https. | Yes |
|
4.7.21 |
| redirectPort | The redirect port. | Yes | 4.7.21 | |
| statusCode | The redirect status code. | Yes |
|
4.7.21 |
| httpVersions | The Load Balancer frontend network HTTP protocol version. | Yes |
|
5.0.0 |
| tcpProxyProtocol | The TCP Proxy Protocol agreement. | Yes |
|
5.0.0 |
| httpCompressAlgos | The HTTP compression algorithm. | Yes |
|
5.0.0 |
Note:
- When you change a parameter of a load balancer listener in ZStack Cloud, you can set the weight of the backend
server by adding the balancerWeight option to
SystemTags.
- Format of the balancerWeight option:
balancerWeight::{nicUuid}::{weight}. Here, weight is the weight of the backend server. Weight range: 0-100, integer. Default value: 100. - Example:
balancerWeight::{"c44007641c9040c6b2587e19b1b3e2b0"}::{100}
- Format of the balancerWeight option:
