Skip to content

Commit e2ced2f

Browse files
authored
bump snapshot & re-generate services (#10)
1 parent 23c60bc commit e2ced2f

File tree

752 files changed

+9350
-4696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

752 files changed

+9350
-4696
lines changed

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClient.java

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ public IPSecVPNClient(Config config, Credential credential) {
5353
/**
5454
* CreateRemoteVPNGateway - 创建客户VPN网关
5555
*
56-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateRemoteVPNGateway
56+
* @param request Request object
57+
* @throws UCloudException Exception
5758
*/
5859
public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(
5960
CreateRemoteVPNGatewayRequest request) throws UCloudException {
@@ -65,7 +66,8 @@ public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(
6566
/**
6667
* CreateVPNGateway - 创建VPN网关
6768
*
68-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateVPNGateway
69+
* @param request Request object
70+
* @throws UCloudException Exception
6971
*/
7072
public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request)
7173
throws UCloudException {
@@ -76,7 +78,8 @@ public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request
7678
/**
7779
* CreateVPNTunnel - 创建VPN隧道
7880
*
79-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateVPNTunnel
81+
* @param request Request object
82+
* @throws UCloudException Exception
8083
*/
8184
public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request)
8285
throws UCloudException {
@@ -87,7 +90,8 @@ public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request)
8790
/**
8891
* DeleteRemoteVPNGateway - 删除客户VPN网关
8992
*
90-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteRemoteVPNGateway
93+
* @param request Request object
94+
* @throws UCloudException Exception
9195
*/
9296
public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(
9397
DeleteRemoteVPNGatewayRequest request) throws UCloudException {
@@ -99,7 +103,8 @@ public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(
99103
/**
100104
* DeleteVPNGateway - 删除VPN网关
101105
*
102-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteVPNGateway
106+
* @param request Request object
107+
* @throws UCloudException Exception
103108
*/
104109
public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request)
105110
throws UCloudException {
@@ -110,7 +115,8 @@ public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request
110115
/**
111116
* DeleteVPNTunnel - 删除VPN隧道
112117
*
113-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteVPNTunnel
118+
* @param request Request object
119+
* @throws UCloudException Exception
114120
*/
115121
public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request)
116122
throws UCloudException {
@@ -121,7 +127,8 @@ public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request)
121127
/**
122128
* DescribeRemoteVPNGateway - 获取客户VPN网关信息
123129
*
124-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeRemoteVPNGateway
130+
* @param request Request object
131+
* @throws UCloudException Exception
125132
*/
126133
public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(
127134
DescribeRemoteVPNGatewayRequest request) throws UCloudException {
@@ -133,7 +140,8 @@ public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(
133140
/**
134141
* DescribeVPNGateway - 获取VPN网关信息
135142
*
136-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeVPNGateway
143+
* @param request Request object
144+
* @throws UCloudException Exception
137145
*/
138146
public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request)
139147
throws UCloudException {
@@ -144,7 +152,8 @@ public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest r
144152
/**
145153
* DescribeVPNTunnel - 获取VPN隧道信息
146154
*
147-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeVPNTunnel
155+
* @param request Request object
156+
* @throws UCloudException Exception
148157
*/
149158
public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request)
150159
throws UCloudException {
@@ -155,7 +164,8 @@ public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest requ
155164
/**
156165
* GetVPNGatewayPrice - 获取VPN价格
157166
*
158-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/GetVPNGatewayPrice
167+
* @param request Request object
168+
* @throws UCloudException Exception
159169
*/
160170
public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request)
161171
throws UCloudException {
@@ -166,7 +176,8 @@ public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest r
166176
/**
167177
* GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格
168178
*
169-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/GetVPNGatewayUpgradePrice
179+
* @param request Request object
180+
* @throws UCloudException Exception
170181
*/
171182
public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(
172183
GetVPNGatewayUpgradePriceRequest request) throws UCloudException {
@@ -178,7 +189,8 @@ public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(
178189
/**
179190
* UpdateVPNGateway - 更改VPN网关规格
180191
*
181-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/UpdateVPNGateway
192+
* @param request Request object
193+
* @throws UCloudException Exception
182194
*/
183195
public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request)
184196
throws UCloudException {
@@ -189,7 +201,8 @@ public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request
189201
/**
190202
* UpdateVPNTunnelAttribute - 更新VPN隧道属性
191203
*
192-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/UpdateVPNTunnelAttribute
204+
* @param request Request object
205+
* @throws UCloudException Exception
193206
*/
194207
public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(
195208
UpdateVPNTunnelAttributeRequest request) throws UCloudException {

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClientInterface.java

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,103 +48,116 @@ public interface IPSecVPNClientInterface extends Client {
4848
/**
4949
* CreateRemoteVPNGateway - 创建客户VPN网关
5050
*
51-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateRemoteVPNGateway
51+
* @param request Request object
52+
* @throws UCloudException Exception
5253
*/
5354
public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(
5455
CreateRemoteVPNGatewayRequest request) throws UCloudException;
5556

5657
/**
5758
* CreateVPNGateway - 创建VPN网关
5859
*
59-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateVPNGateway
60+
* @param request Request object
61+
* @throws UCloudException Exception
6062
*/
6163
public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request)
6264
throws UCloudException;
6365

6466
/**
6567
* CreateVPNTunnel - 创建VPN隧道
6668
*
67-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/CreateVPNTunnel
69+
* @param request Request object
70+
* @throws UCloudException Exception
6871
*/
6972
public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request)
7073
throws UCloudException;
7174

7275
/**
7376
* DeleteRemoteVPNGateway - 删除客户VPN网关
7477
*
75-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteRemoteVPNGateway
78+
* @param request Request object
79+
* @throws UCloudException Exception
7680
*/
7781
public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(
7882
DeleteRemoteVPNGatewayRequest request) throws UCloudException;
7983

8084
/**
8185
* DeleteVPNGateway - 删除VPN网关
8286
*
83-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteVPNGateway
87+
* @param request Request object
88+
* @throws UCloudException Exception
8489
*/
8590
public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request)
8691
throws UCloudException;
8792

8893
/**
8994
* DeleteVPNTunnel - 删除VPN隧道
9095
*
91-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DeleteVPNTunnel
96+
* @param request Request object
97+
* @throws UCloudException Exception
9298
*/
9399
public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request)
94100
throws UCloudException;
95101

96102
/**
97103
* DescribeRemoteVPNGateway - 获取客户VPN网关信息
98104
*
99-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeRemoteVPNGateway
105+
* @param request Request object
106+
* @throws UCloudException Exception
100107
*/
101108
public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(
102109
DescribeRemoteVPNGatewayRequest request) throws UCloudException;
103110

104111
/**
105112
* DescribeVPNGateway - 获取VPN网关信息
106113
*
107-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeVPNGateway
114+
* @param request Request object
115+
* @throws UCloudException Exception
108116
*/
109117
public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request)
110118
throws UCloudException;
111119

112120
/**
113121
* DescribeVPNTunnel - 获取VPN隧道信息
114122
*
115-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/DescribeVPNTunnel
123+
* @param request Request object
124+
* @throws UCloudException Exception
116125
*/
117126
public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request)
118127
throws UCloudException;
119128

120129
/**
121130
* GetVPNGatewayPrice - 获取VPN价格
122131
*
123-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/GetVPNGatewayPrice
132+
* @param request Request object
133+
* @throws UCloudException Exception
124134
*/
125135
public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request)
126136
throws UCloudException;
127137

128138
/**
129139
* GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格
130140
*
131-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/GetVPNGatewayUpgradePrice
141+
* @param request Request object
142+
* @throws UCloudException Exception
132143
*/
133144
public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(
134145
GetVPNGatewayUpgradePriceRequest request) throws UCloudException;
135146

136147
/**
137148
* UpdateVPNGateway - 更改VPN网关规格
138149
*
139-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/UpdateVPNGateway
150+
* @param request Request object
151+
* @throws UCloudException Exception
140152
*/
141153
public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request)
142154
throws UCloudException;
143155

144156
/**
145157
* UpdateVPNTunnelAttribute - 更新VPN隧道属性
146158
*
147-
* <p>See also: https://docs.ucloud.cn/api/ipsecvpn-api/UpdateVPNTunnelAttribute
159+
* @param request Request object
160+
* @throws UCloudException Exception
148161
*/
149162
public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(
150163
UpdateVPNTunnelAttributeRequest request) throws UCloudException;

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.annotation.NotEmpty;
1817
import cn.ucloud.common.annotation.UCloudParam;
1918
import cn.ucloud.common.request.Request;

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.response.Response;
1817
import com.google.gson.annotations.SerializedName;
1918

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.annotation.NotEmpty;
1817
import cn.ucloud.common.annotation.UCloudParam;
1918
import cn.ucloud.common.request.Request;

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.response.Response;
1817
import com.google.gson.annotations.SerializedName;
1918

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelRequest.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ public class CreateVPNTunnelRequest extends Request {
5858
@UCloudParam("VPCId")
5959
private String vpcId;
6060

61+
/** ike版本,枚举值: "IKE V1","IKE V2",默认v1 */
62+
@NotEmpty
63+
@UCloudParam("IKEVersion")
64+
private String ikeVersion;
65+
6166
/** 指定VPN连接的本地子网的资源ID,最多可填写10个。 */
6267
@NotEmpty
6368
@UCloudParam("IPSecLocalSubnetIds")
@@ -68,11 +73,6 @@ public class CreateVPNTunnelRequest extends Request {
6873
@UCloudParam("IPSecRemoteSubnets")
6974
private List<String> ipSecRemoteSubnets;
7075

71-
/** ike版本,枚举值: "IKE V1","IKE V2",默认v1 */
72-
@NotEmpty
73-
@UCloudParam("IKEVersion")
74-
private String ikeVersion;
75-
7676
/** 业务组,默认为“Default” */
7777
@UCloudParam("Tag")
7878
private String tag;
@@ -117,7 +117,7 @@ public class CreateVPNTunnelRequest extends Request {
117117
@UCloudParam("IPSecEncryptionAlgorithm")
118118
private String ipSecEncryptionAlgorithm;
119119

120-
/** IPSec隧道中使用的认证算法,枚举值,"md5", "sha1","sha256"。默认值为“sha1” */
120+
/** IPSec隧道中使用的认证算法,枚举值,"md5", "sha1","sha2-256"。默认值为“sha1” */
121121
@UCloudParam("IPSecAuthenticationAlgorithm")
122122
private String ipSecAuthenticationAlgorithm;
123123

@@ -193,6 +193,14 @@ public void setVPCId(String vpcId) {
193193
this.vpcId = vpcId;
194194
}
195195

196+
public String getIKEVersion() {
197+
return ikeVersion;
198+
}
199+
200+
public void setIKEVersion(String ikeVersion) {
201+
this.ikeVersion = ikeVersion;
202+
}
203+
196204
public List<String> getIPSecLocalSubnetIds() {
197205
return ipSecLocalSubnetIds;
198206
}
@@ -209,14 +217,6 @@ public void setIPSecRemoteSubnets(List<String> ipSecRemoteSubnets) {
209217
this.ipSecRemoteSubnets = ipSecRemoteSubnets;
210218
}
211219

212-
public String getIKEVersion() {
213-
return ikeVersion;
214-
}
215-
216-
public void setIKEVersion(String ikeVersion) {
217-
this.ikeVersion = ikeVersion;
218-
}
219-
220220
public String getTag() {
221221
return tag;
222222
}

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.response.Response;
1817
import com.google.gson.annotations.SerializedName;
1918

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
1716
import cn.ucloud.common.annotation.NotEmpty;
1817
import cn.ucloud.common.annotation.UCloudParam;
1918
import cn.ucloud.common.request.Request;

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayResponse.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16-
17-
1816
import cn.ucloud.common.response.Response;
1917

2018
public class DeleteRemoteVPNGatewayResponse extends Response {}

0 commit comments

Comments
 (0)