Skip to content

Commit da9ef49

Browse files
authored
sdk: rolling update for 1.2.107-release (#200)
1 parent 0fb7447 commit da9ef49

63 files changed

Lines changed: 1146 additions & 164 deletions

File tree

Some content is hidden

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

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.106-release
1+
1.2.107-release

‎examples/generic/pom.xml‎

Lines changed: 2 additions & 2 deletions
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.106-release</version>
10+
<version>1.2.107-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>cn.ucloud</groupId>
2121
<artifactId>ucloud-sdk-java-common</artifactId>
22-
<version>1.2.106-release</version>
22+
<version>1.2.107-release</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

‎examples/uhost/pom.xml‎

Lines changed: 2 additions & 2 deletions
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.106-release</version>
10+
<version>1.2.107-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>cn.ucloud</groupId>
2121
<artifactId>ucloud-sdk-java-uhost</artifactId>
22-
<version>1.2.106-release</version>
22+
<version>1.2.107-release</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
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.106-release</version>
10+
<version>1.2.107-release</version>
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313
<module>ucloud-sdk-java-cloudwatch</module>

‎ucloud-sdk-java-cloudwatch/pom.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.2.106-release</version>
8+
<version>1.2.107-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-cloudwatch</artifactId>
1313
<name>ucloud-sdk-java</name>
14-
<version>1.2.106-release</version>
14+
<version>1.2.107-release</version>
1515

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

2323
<dependency>

‎ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClient.java‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import cn.ucloud.cloudwatch.models.EnableAlertStrategyResponse;
2626
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodRequest;
2727
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodResponse;
28+
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsRequest;
29+
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsResponse;
2830
import cn.ucloud.cloudwatch.models.GetProductMetricsRequest;
2931
import cn.ucloud.cloudwatch.models.GetProductMetricsResponse;
3032
import cn.ucloud.cloudwatch.models.ListAlertRecordRequest;
@@ -41,6 +43,8 @@
4143
import cn.ucloud.cloudwatch.models.QueryMetricDataSetResponse;
4244
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryRequest;
4345
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse;
46+
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataRequest;
47+
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataResponse;
4448
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest;
4549
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse;
4650
import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest;
@@ -135,6 +139,19 @@ public GetMetricDataAggregationMethodResponse getMetricDataAggregationMethod(
135139
this.invoke(request, GetMetricDataAggregationMethodResponse.class);
136140
}
137141

142+
/**
143+
* GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表
144+
*
145+
* @param request Request object
146+
* @throws UCloudException Exception
147+
*/
148+
public GetProductHighPrecisionMetricsResponse getProductHighPrecisionMetrics(
149+
GetProductHighPrecisionMetricsRequest request) throws UCloudException {
150+
request.setAction("GetProductHighPrecisionMetrics");
151+
return (GetProductHighPrecisionMetricsResponse)
152+
this.invoke(request, GetProductHighPrecisionMetricsResponse.class);
153+
}
154+
138155
/**
139156
* GetProductMetrics - 获取云产品关联的指标列表
140157
*
@@ -234,6 +251,19 @@ public QueryMetricDataSummaryResponse queryMetricDataSummary(
234251
this.invoke(request, QueryMetricDataSummaryResponse.class);
235252
}
236253

254+
/**
255+
* QueryMetricDenseData - 获取高精度指标样本数据
256+
*
257+
* @param request Request object
258+
* @throws UCloudException Exception
259+
*/
260+
public QueryMetricDenseDataResponse queryMetricDenseData(QueryMetricDenseDataRequest request)
261+
throws UCloudException {
262+
request.setAction("QueryMetricDenseData");
263+
return (QueryMetricDenseDataResponse)
264+
this.invoke(request, QueryMetricDenseDataResponse.class);
265+
}
266+
237267
/**
238268
* UnBindAlertStrategy - 解绑告警策略
239269
*

‎ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClientInterface.java‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import cn.ucloud.cloudwatch.models.EnableAlertStrategyResponse;
2626
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodRequest;
2727
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodResponse;
28+
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsRequest;
29+
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsResponse;
2830
import cn.ucloud.cloudwatch.models.GetProductMetricsRequest;
2931
import cn.ucloud.cloudwatch.models.GetProductMetricsResponse;
3032
import cn.ucloud.cloudwatch.models.ListAlertRecordRequest;
@@ -41,6 +43,8 @@
4143
import cn.ucloud.cloudwatch.models.QueryMetricDataSetResponse;
4244
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryRequest;
4345
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse;
46+
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataRequest;
47+
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataResponse;
4448
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest;
4549
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse;
4650
import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest;
@@ -107,6 +111,15 @@ public EnableAlertStrategyResponse enableAlertStrategy(EnableAlertStrategyReques
107111
public GetMetricDataAggregationMethodResponse getMetricDataAggregationMethod(
108112
GetMetricDataAggregationMethodRequest request) throws UCloudException;
109113

114+
/**
115+
* GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表
116+
*
117+
* @param request Request object
118+
* @throws UCloudException Exception
119+
*/
120+
public GetProductHighPrecisionMetricsResponse getProductHighPrecisionMetrics(
121+
GetProductHighPrecisionMetricsRequest request) throws UCloudException;
122+
110123
/**
111124
* GetProductMetrics - 获取云产品关联的指标列表
112125
*
@@ -179,6 +192,15 @@ public QueryMetricDataSetResponse queryMetricDataSet(QueryMetricDataSetRequest r
179192
public QueryMetricDataSummaryResponse queryMetricDataSummary(
180193
QueryMetricDataSummaryRequest request) throws UCloudException;
181194

195+
/**
196+
* QueryMetricDenseData - 获取高精度指标样本数据
197+
*
198+
* @param request Request object
199+
* @throws UCloudException Exception
200+
*/
201+
public QueryMetricDenseDataResponse queryMetricDenseData(QueryMetricDenseDataRequest request)
202+
throws UCloudException;
203+
182204
/**
183205
* UnBindAlertStrategy - 解绑告警策略
184206
*
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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.cloudwatch.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 GetProductHighPrecisionMetricsRequest extends Request {
22+
23+
/** 产品唯一标识,参见 [产品概览](https://docs.ucloud.cn/cloudwatch/metric/intro) */
24+
@NotEmpty
25+
@UCloudParam("ProductKey")
26+
private String productKey;
27+
28+
public String getProductKey() {
29+
return productKey;
30+
}
31+
32+
public void setProductKey(String productKey) {
33+
this.productKey = productKey;
34+
}
35+
}

0 commit comments

Comments
 (0)