8080 ) ; //设置用户名和密码 config . setProxyUsername ( username ) ; config . setProxyPassword ( password ) ; 设置网络参数 BceClientConfiguration用于配置基本网络参数,示例代码如下: BceClientConfiguration config = new BceClientConfiguration
model //BCE公用model类 ├── services │ └─ route //Route服务相关类 │ ├─ model //Route内部model,如Request或Response │ └─ RouteClient.class //Route客户端入口类 │ └─ RouteClientConfiguration.class //针对Route特有的HttpClient的配置
string { "rule": { "remark": {remark}, "protocol": {protocol}, "portRange": {portRange}, "direction": {direction}, "sourceIp": {sourceIp} } } 请求头域
clientToken={clientToken} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string 请求头域 除公共头域外,无其它特殊头域。
clientToken={clientToken} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string 请求头域 除公共头域外,无其它特殊头域。
clientToken={clientToken} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string 请求头域 除公共头域外,无其它特殊头域。
action}&clientToken={clientToken} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string { "publicIpAddress":{publicIpAddress} } 请求头域 除公共头域外,无其它特殊头域。
action}&clientToken={clientToken} HTTP/1.1 Host: bcc.bd.baidubce.com Authorization: authorization string { "bandwidthInMbps":{bandwidthInMbps} } 请求头域 除公共头域外,无其它特殊头域。
bcc.bj.baidubce.com Authorization: authorization string { "sslVpnUsers": [ { "userName": {userName}, "password": {password}, "description": {description} } ] } 请求头域
clientToken={clientToken} HTTP/1.1 Host: bcc.bj.baidubce.com Authorization: authorization string { "ipSetIds":{ipSetIds} } 请求头域 除公共头域外,无其它特殊头域。