修改负载均衡监听器参数(ChangeLoadBalancerListener)
用户可以使用ChangeLoadBalancerListener修改负载均衡监听器参数。
例如:
ChangeLoadBalancerListener uuid=dc0ee73ed875423a81234fc091e3ce70参数(Parameters)
| 名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
|---|---|---|---|---|
| uuid | 资源的UUID,唯一标示该资源 | 3.4.0 | ||
| connectionIdleTimeout | 是 | 3.4.0 | ||
| maxConnection | 是 | 3.4.0 | ||
| balancerAlgorithm | 是 |
|
3.4.0 | |
| healthCheckTarget | 是 | 3.4.0 | ||
| healthyThreshold | 是 | 3.4.0 | ||
| unhealthyThreshold | 是 | 3.4.0 | ||
| healthCheckInterval | 是 | 3.4.0 | ||
| healthCheckProtocol | 负载均衡健康检查协议 | 是 |
|
3.9.0 |
| healthCheckMethod | 健康检查方法 | 是 |
|
3.9.0 |
| healthCheckURI | 健康检查的URI | 是 | 3.9.0 | |
| healthCheckHttpCode | 健康检查期望的成功返回码 | 是 | 3.9.0 | |
| aclStatus | 访问控制状态 | 是 |
|
3.9.0 |
| securityPolicyType | TLS安全策略 | 是 |
|
4.1.0 |
| nbprocess | 负载均衡进程数量 | 是 | 4.1.0 | |
| httpMode | 负载均衡HTTP模式 | 是 |
|
4.1.0 |
| sessionPersistence | 会话保持模式 | 是 |
|
4.6.0 |
| sessionIdleTimeout | 会话保持超时时间 | 是 | 4.6.0 | |
| cookieName | Cookie名称 | 是 | 4.6.0 | |
| userTags | 用户标签,请参见 创建用户标签(CreateUserTag) | 是 | 3.4.0 | |
| systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag) | 是 | 3.4.0 | |
| timeout | 是 | |||
| httpRedirectHttps | http重定向https | 是 |
|
4.7.21 |
| redirectPort | 重定向端口 | 是 | 4.7.21 | |
| statusCode | 重定向状态码 | 是 |
|
4.7.21 |
| httpVersions | 负载均衡器前端网络http协议版本 | 是 |
|
5.0.0 |
| tcpProxyProtocol | tcp proxy_protocol协议 | 是 |
|
5.0.0 |
| httpCompressAlgos | http压缩算法 | 是 |
|
5.0.0 |
Note:
- ZStack Cloud修改负载均衡监听器参数时支持设置后端server的权重,SystemTags增加balancerWeight选项。
- 选项格式为:
balancerWeight::{nicUuid}::{weight},其中weight为对应后端server的权重.范围:0~100的整数,默认为100。 - 例如:
balancerWeight::{"c44007641c9040c6b2587e19b1b3e2b0"}::{100}
- 选项格式为:
