Skip to content

Commit

Permalink
sdk: rolling update for 1.2.24-release (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored May 17, 2024
1 parent aff24c5 commit 1363095
Show file tree
Hide file tree
Showing 50 changed files with 613 additions and 108 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.23-release
1.2.24-release
4 changes: 2 additions & 2 deletions examples/generic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions examples/uhost/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-uhost</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java</artifactId>
<packaging>pom</packaging>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
<modules>
<module>ucloud-sdk-java-common</module>
<module>ucloud-sdk-java-cube</module>
Expand Down
4 changes: 2 additions & 2 deletions ucloud-sdk-java-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cube/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cube</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ipsecvpn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-pathx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-pathx</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.23-release</version>
<version>1.2.24-release</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@
import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
import cn.ucloud.pathx.models.GetGlobalSSHTrafficRequest;
import cn.ucloud.pathx.models.GetGlobalSSHTrafficResponse;
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
import cn.ucloud.pathx.models.GetPathXMetricRequest;
import cn.ucloud.pathx.models.GetPathXMetricResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoRequest;
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
Expand Down Expand Up @@ -301,6 +305,19 @@ public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest requ
return (GetGlobalSSHPriceResponse) this.invoke(request, GetGlobalSSHPriceResponse.class);
}

/**
* GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据
*
* @param request Request object
* @throws UCloudException Exception
*/
public GetGlobalSSHTrafficResponse getGlobalSSHTraffic(GetGlobalSSHTrafficRequest request)
throws UCloudException {
request.setAction("GetGlobalSSHTraffic");
return (GetGlobalSSHTrafficResponse)
this.invoke(request, GetGlobalSSHTrafficResponse.class);
}

/**
* GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
*
Expand All @@ -326,6 +343,19 @@ public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
return (GetPathXMetricResponse) this.invoke(request, GetPathXMetricResponse.class);
}

/**
* ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息
*
* @param request Request object
* @throws UCloudException Exception
*/
public ModifyGlobalSSHOriginInfoResponse modifyGlobalSSHOriginInfo(
ModifyGlobalSSHOriginInfoRequest request) throws UCloudException {
request.setAction("ModifyGlobalSSHOriginInfo");
return (ModifyGlobalSSHOriginInfoResponse)
this.invoke(request, ModifyGlobalSSHOriginInfoResponse.class);
}

/**
* ModifyGlobalSSHPort - 修改GlobalSSH端口
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@
import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
import cn.ucloud.pathx.models.GetGlobalSSHTrafficRequest;
import cn.ucloud.pathx.models.GetGlobalSSHTrafficResponse;
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
import cn.ucloud.pathx.models.GetPathXMetricRequest;
import cn.ucloud.pathx.models.GetPathXMetricResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoRequest;
import cn.ucloud.pathx.models.ModifyGlobalSSHOriginInfoResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
Expand Down Expand Up @@ -235,6 +239,15 @@ public DescribeUPathTemplateResponse describeUPathTemplate(DescribeUPathTemplate
public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request)
throws UCloudException;

/**
* GetGlobalSSHTraffic - 获取GlobalSSH流量统计数据
*
* @param request Request object
* @throws UCloudException Exception
*/
public GetGlobalSSHTrafficResponse getGlobalSSHTraffic(GetGlobalSSHTrafficRequest request)
throws UCloudException;

/**
* GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
*
Expand All @@ -253,6 +266,15 @@ public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(
public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
throws UCloudException;

/**
* ModifyGlobalSSHOriginInfo - 修改GlobalSSH 源站信息
*
* @param request Request object
* @throws UCloudException Exception
*/
public ModifyGlobalSSHOriginInfoResponse modifyGlobalSSHOriginInfo(
ModifyGlobalSSHOriginInfoRequest request) throws UCloudException;

/**
* ModifyGlobalSSHPort - 修改GlobalSSH端口
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* Copyright 2021 UCloud Technology Co., Ltd.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.ucloud.pathx.models;


import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;

public class GetGlobalSSHTrafficRequest extends Request {

/** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;

/** 资源ID,如uga-as5daw */
@NotEmpty
@UCloudParam("UGAId")
private String ugaId;

/** 查询起始时间,如1525017600 */
@NotEmpty
@UCloudParam("BeginTime")
private Integer beginTime;

/** 查询结束时间,如1525103999 */
@NotEmpty
@UCloudParam("EndTime")
private Integer endTime;

public String getProjectId() {
return projectId;
}

public void setProjectId(String projectId) {
this.projectId = projectId;
}

public String getUGAId() {
return ugaId;
}

public void setUGAId(String ugaId) {
this.ugaId = ugaId;
}

public Integer getBeginTime() {
return beginTime;
}

public void setBeginTime(Integer beginTime) {
this.beginTime = beginTime;
}

public Integer getEndTime() {
return endTime;
}

public void setEndTime(Integer endTime) {
this.endTime = endTime;
}
}
Loading

0 comments on commit 1363095

Please sign in to comment.