| Package | Description |
|---|---|
| com.huaweicloud.sdk.vpcep.v1.model |
| Modifier and Type | Field and Description |
|---|---|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.CLOSE
Enum CLOSE for value: "close"
|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.OPEN
Enum OPEN for value: "open"
|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.PROXY_OPEN
Enum PROXY_OPEN for value: "proxy_open"
|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.TOA_OPEN
Enum TOA_OPEN for value: "toa_open"
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.fromValue(String value) |
ServiceList.TcpProxyEnum |
ServiceList.getTcpProxy()
用于控制是否将客户端的源IP、源端口、 marker_id等信息携带到服务端。信息携带支 持两种方式: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息 携带方式。 ● Proxy Protocol:表示将客户端相关信息插 入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置 才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议 “tcp_toa”。 ● proxy_open:表示开启代理协议 “proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa” 和“proxy_protocol”。 默认值为“close”。
|
static ServiceList.TcpProxyEnum |
ServiceList.TcpProxyEnum.valueOf(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceList.setTcpProxy(ServiceList.TcpProxyEnum tcpProxy) |
ServiceList |
ServiceList.withTcpProxy(ServiceList.TcpProxyEnum tcpProxy) |
Copyright © 2022. All rights reserved.