| Package | Description |
|---|---|
| com.huaweicloud.sdk.vpcep.v1.model |
| Modifier and Type | Field and Description |
|---|---|
static UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.CLOSE
Enum CLOSE for value: "close"
|
static UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.OPEN
Enum OPEN for value: "open"
|
static UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.PROXY_OPEN
Enum PROXY_OPEN for value: "proxy_open"
|
static UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.TOA_OPEN
Enum TOA_OPEN for value: "toa_open"
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.fromValue(String value) |
UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.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 UpdateEndpointServiceResponse.TcpProxyEnum |
UpdateEndpointServiceResponse.TcpProxyEnum.valueOf(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
UpdateEndpointServiceResponse.setTcpProxy(UpdateEndpointServiceResponse.TcpProxyEnum tcpProxy) |
UpdateEndpointServiceResponse |
UpdateEndpointServiceResponse.withTcpProxy(UpdateEndpointServiceResponse.TcpProxyEnum tcpProxy) |
Copyright © 2022. All rights reserved.