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