Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.106-release
1.2.107-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.106-release</version>
<version>1.2.107-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.2.106-release</version>
<version>1.2.107-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.106-release</version>
<version>1.2.107-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -19,7 +19,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-uhost</artifactId>
<version>1.2.106-release</version>
<version>1.2.107-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.106-release</version>
<version>1.2.107-release</version>
<modules>
<module>ucloud-sdk-java-common</module>
<module>ucloud-sdk-java-cloudwatch</module>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cloudwatch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.2.106-release</version>
<version>1.2.107-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cloudwatch</artifactId>
<name>ucloud-sdk-java</name>
<version>1.2.106-release</version>
<version>1.2.107-release</version>

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

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import cn.ucloud.cloudwatch.models.EnableAlertStrategyResponse;
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodRequest;
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodResponse;
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsRequest;
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsResponse;
import cn.ucloud.cloudwatch.models.GetProductMetricsRequest;
import cn.ucloud.cloudwatch.models.GetProductMetricsResponse;
import cn.ucloud.cloudwatch.models.ListAlertRecordRequest;
Expand All @@ -41,6 +43,8 @@
import cn.ucloud.cloudwatch.models.QueryMetricDataSetResponse;
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryRequest;
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse;
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataRequest;
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataResponse;
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest;
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse;
import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest;
Expand Down Expand Up @@ -135,6 +139,19 @@ public GetMetricDataAggregationMethodResponse getMetricDataAggregationMethod(
this.invoke(request, GetMetricDataAggregationMethodResponse.class);
}

/**
* GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表
*
* @param request Request object
* @throws UCloudException Exception
*/
public GetProductHighPrecisionMetricsResponse getProductHighPrecisionMetrics(
GetProductHighPrecisionMetricsRequest request) throws UCloudException {
request.setAction("GetProductHighPrecisionMetrics");
return (GetProductHighPrecisionMetricsResponse)
this.invoke(request, GetProductHighPrecisionMetricsResponse.class);
}

/**
* GetProductMetrics - 获取云产品关联的指标列表
*
Expand Down Expand Up @@ -234,6 +251,19 @@ public QueryMetricDataSummaryResponse queryMetricDataSummary(
this.invoke(request, QueryMetricDataSummaryResponse.class);
}

/**
* QueryMetricDenseData - 获取高精度指标样本数据
*
* @param request Request object
* @throws UCloudException Exception
*/
public QueryMetricDenseDataResponse queryMetricDenseData(QueryMetricDenseDataRequest request)
throws UCloudException {
request.setAction("QueryMetricDenseData");
return (QueryMetricDenseDataResponse)
this.invoke(request, QueryMetricDenseDataResponse.class);
}

/**
* UnBindAlertStrategy - 解绑告警策略
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import cn.ucloud.cloudwatch.models.EnableAlertStrategyResponse;
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodRequest;
import cn.ucloud.cloudwatch.models.GetMetricDataAggregationMethodResponse;
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsRequest;
import cn.ucloud.cloudwatch.models.GetProductHighPrecisionMetricsResponse;
import cn.ucloud.cloudwatch.models.GetProductMetricsRequest;
import cn.ucloud.cloudwatch.models.GetProductMetricsResponse;
import cn.ucloud.cloudwatch.models.ListAlertRecordRequest;
Expand All @@ -41,6 +43,8 @@
import cn.ucloud.cloudwatch.models.QueryMetricDataSetResponse;
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryRequest;
import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse;
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataRequest;
import cn.ucloud.cloudwatch.models.QueryMetricDenseDataResponse;
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest;
import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse;
import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest;
Expand Down Expand Up @@ -107,6 +111,15 @@ public EnableAlertStrategyResponse enableAlertStrategy(EnableAlertStrategyReques
public GetMetricDataAggregationMethodResponse getMetricDataAggregationMethod(
GetMetricDataAggregationMethodRequest request) throws UCloudException;

/**
* GetProductHighPrecisionMetrics - 获取云产品关联的高精度指标列表
*
* @param request Request object
* @throws UCloudException Exception
*/
public GetProductHighPrecisionMetricsResponse getProductHighPrecisionMetrics(
GetProductHighPrecisionMetricsRequest request) throws UCloudException;

/**
* GetProductMetrics - 获取云产品关联的指标列表
*
Expand Down Expand Up @@ -179,6 +192,15 @@ public QueryMetricDataSetResponse queryMetricDataSet(QueryMetricDataSetRequest r
public QueryMetricDataSummaryResponse queryMetricDataSummary(
QueryMetricDataSummaryRequest request) throws UCloudException;

/**
* QueryMetricDenseData - 获取高精度指标样本数据
*
* @param request Request object
* @throws UCloudException Exception
*/
public QueryMetricDenseDataResponse queryMetricDenseData(QueryMetricDenseDataRequest request)
throws UCloudException;

/**
* UnBindAlertStrategy - 解绑告警策略
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* 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.cloudwatch.models;


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

public class GetProductHighPrecisionMetricsRequest extends Request {

/** 产品唯一标识,参见 [产品概览](https://docs.ucloud.cn/cloudwatch/metric/intro) */
@NotEmpty
@UCloudParam("ProductKey")
private String productKey;

public String getProductKey() {
return productKey;
}

public void setProductKey(String productKey) {
this.productKey = productKey;
}
}
Loading
Loading