Skip to content

Commit 1363095

Browse files
authored
sdk: rolling update for 1.2.24-release (ucloud#87)
1 parent aff24c5 commit 1363095

File tree

50 files changed

+613
-108
lines changed

Some content is hidden

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

50 files changed

+613
-108
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.23-release
1+
1.2.24-release

examples/generic/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.2.23-release</version>
10+
<version>1.2.24-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-common</artifactId>
21-
<version>1.2.23-release</version>
21+
<version>1.2.24-release</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

examples/uhost/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.2.23-release</version>
10+
<version>1.2.24-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-uhost</artifactId>
21-
<version>1.2.23-release</version>
21+
<version>1.2.24-release</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>cn.ucloud</groupId>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.2.23-release</version>
10+
<version>1.2.24-release</version>
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313
<module>ucloud-sdk-java-cube</module>

ucloud-sdk-java-common/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.2.23-release</version>
10+
<version>1.2.24-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
1414
<artifactId>ucloud-sdk-java-common</artifactId>
15-
<version>1.2.23-release</version>
15+
<version>1.2.24-release</version>
1616

1717
<dependencies>
1818
<dependency>

ucloud-sdk-java-cube/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<parent>
77
<artifactId>ucloud-sdk-java</artifactId>
88
<groupId>cn.ucloud</groupId>
9-
<version>1.2.23-release</version>
9+
<version>1.2.24-release</version>
1010
</parent>
1111

1212
<modelVersion>4.0.0</modelVersion>
1313
<artifactId>ucloud-sdk-java-cube</artifactId>
14-
<version>1.2.23-release</version>
14+
<version>1.2.24-release</version>
1515

1616
<dependencies>
1717
<dependency>
1818
<groupId>cn.ucloud</groupId>
1919
<artifactId>ucloud-sdk-java-common</artifactId>
20-
<version>1.2.23-release</version>
20+
<version>1.2.24-release</version>
2121
</dependency>
2222

2323
<dependency>

ucloud-sdk-java-ipsecvpn/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<parent>
77
<artifactId>ucloud-sdk-java</artifactId>
88
<groupId>cn.ucloud</groupId>
9-
<version>1.2.23-release</version>
9+
<version>1.2.24-release</version>
1010
</parent>
1111

1212
<modelVersion>4.0.0</modelVersion>
1313
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
14-
<version>1.2.23-release</version>
14+
<version>1.2.24-release</version>
1515

1616
<dependencies>
1717
<dependency>
1818
<groupId>cn.ucloud</groupId>
1919
<artifactId>ucloud-sdk-java-common</artifactId>
20-
<version>1.2.23-release</version>
20+
<version>1.2.24-release</version>
2121
</dependency>
2222

2323
<dependency>

ucloud-sdk-java-pathx/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
<parent>
77
<artifactId>ucloud-sdk-java</artifactId>
88
<groupId>cn.ucloud</groupId>
9-
<version>1.2.23-release</version>
9+
<version>1.2.24-release</version>
1010
</parent>
1111

1212
<modelVersion>4.0.0</modelVersion>
1313
<artifactId>ucloud-sdk-java-pathx</artifactId>
14-
<version>1.2.23-release</version>
14+
<version>1.2.24-release</version>
1515

1616
<dependencies>
1717
<dependency>
1818
<groupId>cn.ucloud</groupId>
1919
<artifactId>ucloud-sdk-java-common</artifactId>
20-
<version>1.2.23-release</version>
20+
<version>1.2.24-release</version>
2121
</dependency>
2222

2323
<dependency>

ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/client/PathXClient.java

+30
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,14 @@
5353
import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
5454
import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
5555
import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
56+
import cn.ucloud.pathx.models.GetGlobalSSHTrafficRequest;
57+
import cn.ucloud.pathx.models.GetGlobalSSHTrafficResponse;
5658
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
5759
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
5860
import cn.ucloud.pathx.models.GetPathXMetricRequest;
5961
import cn.ucloud.pathx.models.GetPathXMetricResponse;
62+
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoRequest;
63+
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoResponse;
6064
import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
6165
import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
6266
import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
@@ -301,6 +305,19 @@ public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest requ
301305
return (GetGlobalSSHPriceResponse) this.invoke(request, GetGlobalSSHPriceResponse.class);
302306
}
303307

308+
/**
309+
* GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据
310+
*
311+
* @param request Request object
312+
* @throws UCloudException Exception
313+
*/
314+
public GetGlobalSSHTrafficResponse getGlobalSSHTraffic(GetGlobalSSHTrafficRequest request)
315+
throws UCloudException {
316+
request.setAction("GetGlobalSSHTraffic");
317+
return (GetGlobalSSHTrafficResponse)
318+
this.invoke(request, GetGlobalSSHTrafficResponse.class);
319+
}
320+
304321
/**
305322
* GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
306323
*
@@ -326,6 +343,19 @@ public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
326343
return (GetPathXMetricResponse) this.invoke(request, GetPathXMetricResponse.class);
327344
}
328345

346+
/**
347+
* ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息
348+
*
349+
* @param request Request object
350+
* @throws UCloudException Exception
351+
*/
352+
public ModifyGlobalSSHOriginInfoResponse modifyGlobalSSHOriginInfo(
353+
ModifyGlobalSSHOriginInfoRequest request) throws UCloudException {
354+
request.setAction("ModifyGlobalSSHOriginInfo");
355+
return (ModifyGlobalSSHOriginInfoResponse)
356+
this.invoke(request, ModifyGlobalSSHOriginInfoResponse.class);
357+
}
358+
329359
/**
330360
* ModifyGlobalSSHPort - 修改GlobalSSH端口
331361
*

ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/client/PathXClientInterface.java

+22
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@
5151
import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
5252
import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
5353
import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
54+
import cn.ucloud.pathx.models.GetGlobalSSHTrafficRequest;
55+
import cn.ucloud.pathx.models.GetGlobalSSHTrafficResponse;
5456
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
5557
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
5658
import cn.ucloud.pathx.models.GetPathXMetricRequest;
5759
import cn.ucloud.pathx.models.GetPathXMetricResponse;
60+
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoRequest;
61+
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoResponse;
5862
import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
5963
import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
6064
import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
@@ -235,6 +239,15 @@ public DescribeUPathTemplateResponse describeUPathTemplate(DescribeUPathTemplate
235239
public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request)
236240
throws UCloudException;
237241

242+
/**
243+
* GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据
244+
*
245+
* @param request Request object
246+
* @throws UCloudException Exception
247+
*/
248+
public GetGlobalSSHTrafficResponse getGlobalSSHTraffic(GetGlobalSSHTrafficRequest request)
249+
throws UCloudException;
250+
238251
/**
239252
* GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
240253
*
@@ -253,6 +266,15 @@ public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(
253266
public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
254267
throws UCloudException;
255268

269+
/**
270+
* ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息
271+
*
272+
* @param request Request object
273+
* @throws UCloudException Exception
274+
*/
275+
public ModifyGlobalSSHOriginInfoResponse modifyGlobalSSHOriginInfo(
276+
ModifyGlobalSSHOriginInfoRequest request) throws UCloudException;
277+
256278
/**
257279
* ModifyGlobalSSHPort - 修改GlobalSSH端口
258280
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/**
2+
* Copyright 2021 UCloud Technology Co., Ltd.
3+
*
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
package cn.ucloud.pathx.models;
15+
16+
17+
import cn.ucloud.common.annotation.NotEmpty;
18+
import cn.ucloud.common.annotation.UCloudParam;
19+
import cn.ucloud.common.request.Request;
20+
21+
public class GetGlobalSSHTrafficRequest extends Request {
22+
23+
/** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
24+
@NotEmpty
25+
@UCloudParam("ProjectId")
26+
private String projectId;
27+
28+
/** 资源ID,如uga-as5daw */
29+
@NotEmpty
30+
@UCloudParam("UGAId")
31+
private String ugaId;
32+
33+
/** 查询起始时间,如1525017600 */
34+
@NotEmpty
35+
@UCloudParam("BeginTime")
36+
private Integer beginTime;
37+
38+
/** 查询结束时间,如1525103999 */
39+
@NotEmpty
40+
@UCloudParam("EndTime")
41+
private Integer endTime;
42+
43+
public String getProjectId() {
44+
return projectId;
45+
}
46+
47+
public void setProjectId(String projectId) {
48+
this.projectId = projectId;
49+
}
50+
51+
public String getUGAId() {
52+
return ugaId;
53+
}
54+
55+
public void setUGAId(String ugaId) {
56+
this.ugaId = ugaId;
57+
}
58+
59+
public Integer getBeginTime() {
60+
return beginTime;
61+
}
62+
63+
public void setBeginTime(Integer beginTime) {
64+
this.beginTime = beginTime;
65+
}
66+
67+
public Integer getEndTime() {
68+
return endTime;
69+
}
70+
71+
public void setEndTime(Integer endTime) {
72+
this.endTime = endTime;
73+
}
74+
}

0 commit comments

Comments
 (0)