From 039a62fb12b5b4efde3cdc20796d902827806f74 Mon Sep 17 00:00:00 2001 From: ucloud-bot Date: Thu, 31 Jul 2025 03:46:07 +0000 Subject: [PATCH] sdk: rolling update for 1.2.45-release --- VERSION | 2 +- examples/generic/pom.xml | 4 +- examples/uhost/pom.xml | 4 +- pom.xml | 2 +- ucloud-sdk-java-cloudwatch/pom.xml | 6 +- .../cloudwatch/client/CloudWatchClient.java | 60 +++ .../client/CloudWatchClientInterface.java | 44 +++ .../models/CreateAlertStrategyRequest.java | 361 +++++++++++++++++ .../models/CreateAlertStrategyResponse.java | 49 +++ .../models/GetProductMetricsRequest.java | 2 +- .../models/ListAlertRecordRequest.java | 2 +- .../models/ListAlertRecordResponse.java | 84 +++- .../models/ListAlertStrategyRequest.java | 24 ++ .../models/ListAlertStrategyResponse.java | 36 +- .../ListAlertStrategyTemplateRequest.java | 87 ++++ .../ListAlertStrategyTemplateResponse.java | 281 +++++++++++++ .../models/QueryMetricDataSetRequest.java | 29 ++ .../models/UpdateAlertStrategyRequest.java | 374 ++++++++++++++++++ .../models/UpdateAlertStrategyResponse.java | 49 +++ .../UpdateAlertStrategyTemplateRequest.java | 208 ++++++++++ .../UpdateAlertStrategyTemplateResponse.java | 49 +++ ucloud-sdk-java-common/pom.xml | 4 +- ucloud-sdk-java-cube/pom.xml | 6 +- ucloud-sdk-java-ipsecvpn/pom.xml | 6 +- ucloud-sdk-java-label/pom.xml | 6 +- ucloud-sdk-java-nlb/pom.xml | 6 +- ucloud-sdk-java-pathx/pom.xml | 6 +- ucloud-sdk-java-sts/pom.xml | 6 +- ucloud-sdk-java-uaccount/pom.xml | 6 +- ucloud-sdk-java-uai_modelverse/pom.xml | 6 +- ucloud-sdk-java-ubill/pom.xml | 6 +- ucloud-sdk-java-ucdn/pom.xml | 6 +- ucloud-sdk-java-ucompshare/pom.xml | 6 +- ucloud-sdk-java-udb/pom.xml | 6 +- ucloud-sdk-java-udbproxy/pom.xml | 6 +- ucloud-sdk-java-udi/pom.xml | 6 +- ucloud-sdk-java-udisk/pom.xml | 6 +- ucloud-sdk-java-udns/pom.xml | 6 +- ucloud-sdk-java-udpn/pom.xml | 6 +- ucloud-sdk-java-uec/pom.xml | 6 +- ucloud-sdk-java-uewaf/pom.xml | 6 +- ucloud-sdk-java-ufile/pom.xml | 6 +- ucloud-sdk-java-ufs/pom.xml | 6 +- ucloud-sdk-java-uhost/pom.xml | 6 +- ucloud-sdk-java-uk8s/pom.xml | 6 +- ucloud-sdk-java-ulb/pom.xml | 6 +- ucloud-sdk-java-ulog/pom.xml | 6 +- ucloud-sdk-java-umem/pom.xml | 6 +- ucloud-sdk-java-umon/pom.xml | 6 +- ucloud-sdk-java-umongodb/pom.xml | 6 +- ucloud-sdk-java-unet/pom.xml | 6 +- ucloud-sdk-java-upgsql/pom.xml | 6 +- ucloud-sdk-java-uphone/pom.xml | 6 +- ucloud-sdk-java-uphost/pom.xml | 6 +- ucloud-sdk-java-uslk/pom.xml | 6 +- ucloud-sdk-java-usms/pom.xml | 6 +- ucloud-sdk-java-usnap/pom.xml | 6 +- ucloud-sdk-java-uvms/pom.xml | 6 +- ucloud-sdk-java-vpc/pom.xml | 6 +- 59 files changed, 1841 insertions(+), 142 deletions(-) create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyRequest.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyResponse.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateRequest.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateResponse.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyRequest.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyResponse.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateRequest.java create mode 100644 ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateResponse.java diff --git a/VERSION b/VERSION index 3a83548b..62f9b18a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.44-release +1.2.45-release diff --git a/examples/generic/pom.xml b/examples/generic/pom.xml index 642cee65..968bacf4 100644 --- a/examples/generic/pom.xml +++ b/examples/generic/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/examples/uhost/pom.xml b/examples/uhost/pom.xml index a28df1d7..b55de676 100644 --- a/examples/uhost/pom.xml +++ b/examples/uhost/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-uhost - 1.2.44-release + 1.2.45-release diff --git a/pom.xml b/pom.xml index 5122301f..e2d4b98f 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ cn.ucloud ucloud-sdk-java pom - 1.2.44-release + 1.2.45-release ucloud-sdk-java-common ucloud-sdk-java-cloudwatch diff --git a/ucloud-sdk-java-cloudwatch/pom.xml b/ucloud-sdk-java-cloudwatch/pom.xml index 04409f3a..8261adee 100644 --- a/ucloud-sdk-java-cloudwatch/pom.xml +++ b/ucloud-sdk-java-cloudwatch/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-cloudwatch - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClient.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClient.java index e63edc90..41a9051d 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClient.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClient.java @@ -15,6 +15,8 @@ import cn.ucloud.cloudwatch.models.BindAlertStrategyRequest; import cn.ucloud.cloudwatch.models.BindAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.CreateAlertStrategyRequest; +import cn.ucloud.cloudwatch.models.CreateAlertStrategyResponse; import cn.ucloud.cloudwatch.models.CreateAlertStrategyTemplateRequest; import cn.ucloud.cloudwatch.models.CreateAlertStrategyTemplateResponse; import cn.ucloud.cloudwatch.models.DeleteAlertStrategyTemplateRequest; @@ -25,6 +27,8 @@ import cn.ucloud.cloudwatch.models.ListAlertRecordResponse; import cn.ucloud.cloudwatch.models.ListAlertStrategyRequest; import cn.ucloud.cloudwatch.models.ListAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.ListAlertStrategyTemplateRequest; +import cn.ucloud.cloudwatch.models.ListAlertStrategyTemplateResponse; import cn.ucloud.cloudwatch.models.ListMonitorProductRequest; import cn.ucloud.cloudwatch.models.ListMonitorProductResponse; import cn.ucloud.cloudwatch.models.QueryMetricDataSetRequest; @@ -33,6 +37,10 @@ import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse; import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest; import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyTemplateRequest; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyTemplateResponse; import cn.ucloud.common.client.DefaultClient; import cn.ucloud.common.config.Config; import cn.ucloud.common.credential.Credential; @@ -56,6 +64,19 @@ public BindAlertStrategyResponse bindAlertStrategy(BindAlertStrategyRequest requ return (BindAlertStrategyResponse) this.invoke(request, BindAlertStrategyResponse.class); } + /** + * CreateAlertStrategy - 创建告警策略 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateAlertStrategyResponse createAlertStrategy(CreateAlertStrategyRequest request) + throws UCloudException { + request.setAction("CreateAlertStrategy"); + return (CreateAlertStrategyResponse) + this.invoke(request, CreateAlertStrategyResponse.class); + } + /** * CreateAlertStrategyTemplate - 新建条件模板 * @@ -118,6 +139,19 @@ public ListAlertStrategyResponse listAlertStrategy(ListAlertStrategyRequest requ return (ListAlertStrategyResponse) this.invoke(request, ListAlertStrategyResponse.class); } + /** + * ListAlertStrategyTemplate - 条件模板列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListAlertStrategyTemplateResponse listAlertStrategyTemplate( + ListAlertStrategyTemplateRequest request) throws UCloudException { + request.setAction("ListAlertStrategyTemplate"); + return (ListAlertStrategyTemplateResponse) + this.invoke(request, ListAlertStrategyTemplateResponse.class); + } + /** * ListMonitorProduct - 获取监控对象类型列表 * @@ -167,4 +201,30 @@ public UnBindAlertStrategyResponse unBindAlertStrategy(UnBindAlertStrategyReques return (UnBindAlertStrategyResponse) this.invoke(request, UnBindAlertStrategyResponse.class); } + + /** + * UpdateAlertStrategy - 更新告警策略 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateAlertStrategyResponse updateAlertStrategy(UpdateAlertStrategyRequest request) + throws UCloudException { + request.setAction("UpdateAlertStrategy"); + return (UpdateAlertStrategyResponse) + this.invoke(request, UpdateAlertStrategyResponse.class); + } + + /** + * UpdateAlertStrategyTemplate - 编辑条件模板 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateAlertStrategyTemplateResponse updateAlertStrategyTemplate( + UpdateAlertStrategyTemplateRequest request) throws UCloudException { + request.setAction("UpdateAlertStrategyTemplate"); + return (UpdateAlertStrategyTemplateResponse) + this.invoke(request, UpdateAlertStrategyTemplateResponse.class); + } } diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClientInterface.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClientInterface.java index 02b5845b..c794c450 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClientInterface.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/client/CloudWatchClientInterface.java @@ -15,6 +15,8 @@ import cn.ucloud.cloudwatch.models.BindAlertStrategyRequest; import cn.ucloud.cloudwatch.models.BindAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.CreateAlertStrategyRequest; +import cn.ucloud.cloudwatch.models.CreateAlertStrategyResponse; import cn.ucloud.cloudwatch.models.CreateAlertStrategyTemplateRequest; import cn.ucloud.cloudwatch.models.CreateAlertStrategyTemplateResponse; import cn.ucloud.cloudwatch.models.DeleteAlertStrategyTemplateRequest; @@ -25,6 +27,8 @@ import cn.ucloud.cloudwatch.models.ListAlertRecordResponse; import cn.ucloud.cloudwatch.models.ListAlertStrategyRequest; import cn.ucloud.cloudwatch.models.ListAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.ListAlertStrategyTemplateRequest; +import cn.ucloud.cloudwatch.models.ListAlertStrategyTemplateResponse; import cn.ucloud.cloudwatch.models.ListMonitorProductRequest; import cn.ucloud.cloudwatch.models.ListMonitorProductResponse; import cn.ucloud.cloudwatch.models.QueryMetricDataSetRequest; @@ -33,6 +37,10 @@ import cn.ucloud.cloudwatch.models.QueryMetricDataSummaryResponse; import cn.ucloud.cloudwatch.models.UnBindAlertStrategyRequest; import cn.ucloud.cloudwatch.models.UnBindAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyRequest; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyResponse; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyTemplateRequest; +import cn.ucloud.cloudwatch.models.UpdateAlertStrategyTemplateResponse; import cn.ucloud.common.client.Client; import cn.ucloud.common.exception.UCloudException; @@ -48,6 +56,15 @@ public interface CloudWatchClientInterface extends Client { public BindAlertStrategyResponse bindAlertStrategy(BindAlertStrategyRequest request) throws UCloudException; + /** + * CreateAlertStrategy - 创建告警策略 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateAlertStrategyResponse createAlertStrategy(CreateAlertStrategyRequest request) + throws UCloudException; + /** * CreateAlertStrategyTemplate - 新建条件模板 * @@ -93,6 +110,15 @@ public ListAlertRecordResponse listAlertRecord(ListAlertRecordRequest request) public ListAlertStrategyResponse listAlertStrategy(ListAlertStrategyRequest request) throws UCloudException; + /** + * ListAlertStrategyTemplate - 条件模板列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListAlertStrategyTemplateResponse listAlertStrategyTemplate( + ListAlertStrategyTemplateRequest request) throws UCloudException; + /** * ListMonitorProduct - 获取监控对象类型列表 * @@ -128,4 +154,22 @@ public QueryMetricDataSummaryResponse queryMetricDataSummary( */ public UnBindAlertStrategyResponse unBindAlertStrategy(UnBindAlertStrategyRequest request) throws UCloudException; + + /** + * UpdateAlertStrategy - 更新告警策略 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateAlertStrategyResponse updateAlertStrategy(UpdateAlertStrategyRequest request) + throws UCloudException; + + /** + * UpdateAlertStrategyTemplate - 编辑条件模板 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateAlertStrategyTemplateResponse updateAlertStrategyTemplate( + UpdateAlertStrategyTemplateRequest request) throws UCloudException; } diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyRequest.java new file mode 100644 index 00000000..854749e4 --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyRequest.java @@ -0,0 +1,361 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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; + +import java.util.List; + +public class CreateAlertStrategyRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** 告警策略名称。最大长度255个字符 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 产品类型。参考ListMonitorProduct获取监控对象类型列表 */ + @NotEmpty + @UCloudParam("ProductKey") + private String productKey; + + /** 绑定资源类型 1 资源组 2 资源 */ + @NotEmpty + @UCloudParam("ObjectType") + private Integer objectType; + + /** 条件设置方式 1. 手动配置 2.选择模版 */ + @NotEmpty + @UCloudParam("ConfigMode") + private Integer configMode; + + /** 绑定资源,对应绑定资源类型ObjectType=2 */ + @UCloudParam("Resources") + private List resources; + + /** 绑定资源组,对应绑定资源类型ObjectType=1 */ + @UCloudParam("ResourceGroupIDs") + private List resourceGroupIDs; + + /** */ + @UCloudParam("Tags") + private List tags; + + /** 模板id.对应TemplateId=2 */ + @UCloudParam("TemplateId") + private Integer templateId; + + /** */ + @UCloudParam("RuleSet") + private List ruleSet; + + /** 通知类型 通知组 group 通知人 user */ + @UCloudParam("NotifyType") + private String notifyType; + + /** 通知人id */ + @UCloudParam("NotifyUserIDs") + private List notifyUserIDs; + + /** 通知人组id */ + @UCloudParam("NotifyGroupIDs") + private List notifyGroupIDs; + + /** 通知渠道 短信sms 邮件email 回调webhook */ + @UCloudParam("NotifyChannelDs") + private List notifyChannelDs; + + /** 通知渠道回调webhook 回调语言 中文cn 英文en */ + @UCloudParam("CallbackLanguage") + private String callbackLanguage; + + /** 回调语言url */ + @UCloudParam("CallbackUrls") + private List callbackUrls; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getProductKey() { + return productKey; + } + + public void setProductKey(String productKey) { + this.productKey = productKey; + } + + public Integer getObjectType() { + return objectType; + } + + public void setObjectType(Integer objectType) { + this.objectType = objectType; + } + + public Integer getConfigMode() { + return configMode; + } + + public void setConfigMode(Integer configMode) { + this.configMode = configMode; + } + + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public List getResourceGroupIDs() { + return resourceGroupIDs; + } + + public void setResourceGroupIDs(List resourceGroupIDs) { + this.resourceGroupIDs = resourceGroupIDs; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public Integer getTemplateId() { + return templateId; + } + + public void setTemplateId(Integer templateId) { + this.templateId = templateId; + } + + public List getRuleSet() { + return ruleSet; + } + + public void setRuleSet(List ruleSet) { + this.ruleSet = ruleSet; + } + + public String getNotifyType() { + return notifyType; + } + + public void setNotifyType(String notifyType) { + this.notifyType = notifyType; + } + + public List getNotifyUserIDs() { + return notifyUserIDs; + } + + public void setNotifyUserIDs(List notifyUserIDs) { + this.notifyUserIDs = notifyUserIDs; + } + + public List getNotifyGroupIDs() { + return notifyGroupIDs; + } + + public void setNotifyGroupIDs(List notifyGroupIDs) { + this.notifyGroupIDs = notifyGroupIDs; + } + + public List getNotifyChannelDs() { + return notifyChannelDs; + } + + public void setNotifyChannelDs(List notifyChannelDs) { + this.notifyChannelDs = notifyChannelDs; + } + + public String getCallbackLanguage() { + return callbackLanguage; + } + + public void setCallbackLanguage(String callbackLanguage) { + this.callbackLanguage = callbackLanguage; + } + + public List getCallbackUrls() { + return callbackUrls; + } + + public void setCallbackUrls(List callbackUrls) { + this.callbackUrls = callbackUrls; + } + + public static class RuleSet extends Request { + + /** 规则指标ID。参考该类型产品下返回的指标列表GetProductMetrics */ + @UCloudParam("MetricID") + private Integer metricID; + + /** 阈值比较方式。 枚举值比较方式: 1->= 2-<= 3-> 4-< 5-== 6-!= */ + @UCloudParam("ThresholdCompare") + private Integer thresholdCompare; + + /** 触发阈值 */ + @UCloudParam("ThresholdValue") + private Integer thresholdValue; + + /** 触发次数 */ + @UCloudParam("TriggerCount") + private Integer triggerCount; + + /** 触发周期。枚举值:continuous连续 exponent 指数 single 不重复 */ + @UCloudParam("SendPeriodType") + private String sendPeriodType; + + /** 告警等级。枚举值:P0,P1,P2,P3 */ + @UCloudParam("Level") + private String level; + + /** 告警状态。枚举值:0-关闭 1-开启 */ + @UCloudParam("Status") + private Integer status; + + /** 沉默周期(告警周期选择为连续时必填) */ + @UCloudParam("SendInterval") + private Integer sendInterval; + + public Integer getMetricID() { + return metricID; + } + + public void setMetricID(Integer metricID) { + this.metricID = metricID; + } + + public Integer getThresholdCompare() { + return thresholdCompare; + } + + public void setThresholdCompare(Integer thresholdCompare) { + this.thresholdCompare = thresholdCompare; + } + + public Integer getThresholdValue() { + return thresholdValue; + } + + public void setThresholdValue(Integer thresholdValue) { + this.thresholdValue = thresholdValue; + } + + public Integer getTriggerCount() { + return triggerCount; + } + + public void setTriggerCount(Integer triggerCount) { + this.triggerCount = triggerCount; + } + + public String getSendPeriodType() { + return sendPeriodType; + } + + public void setSendPeriodType(String sendPeriodType) { + this.sendPeriodType = sendPeriodType; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getSendInterval() { + return sendInterval; + } + + public void setSendInterval(Integer sendInterval) { + this.sendInterval = sendInterval; + } + } + + public static class Tags extends Request { + + /** 数据点tag key */ + @UCloudParam("Key") + private String key; + + /** 数据点tag operator 包含= 不包含!= */ + @UCloudParam("Operator") + private String operator; + + /** 数据点tag value */ + @UCloudParam("Values") + private List values; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + public List getValues() { + return values; + } + + public void setValues(List values) { + this.values = values; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyResponse.java new file mode 100644 index 00000000..362e0e77 --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/CreateAlertStrategyResponse.java @@ -0,0 +1,49 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class CreateAlertStrategyResponse extends Response { + + /** 创建告警策略返回对象 */ + @SerializedName("Data") + private AlertStrategyId data; + + public AlertStrategyId getData() { + return data; + } + + public void setData(AlertStrategyId data) { + this.data = data; + } + + public static class AlertStrategyId extends Response { + + /** 告警策略id */ + @SerializedName("AlertStrategyID") + private Integer alertStrategyID; + + public Integer getAlertStrategyID() { + return alertStrategyID; + } + + public void setAlertStrategyID(Integer alertStrategyID) { + this.alertStrategyID = alertStrategyID; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/GetProductMetricsRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/GetProductMetricsRequest.java index dfe58fc2..29e01511 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/GetProductMetricsRequest.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/GetProductMetricsRequest.java @@ -20,7 +20,7 @@ public class GetProductMetricsRequest extends Request { - /** 云产品key 例如 UHOST-uhost */ + /** 云产品key 例如 uhost */ @NotEmpty @UCloudParam("ProductKey") private String productKey; diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordRequest.java index 95a78156..e4ebf154 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordRequest.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordRequest.java @@ -36,7 +36,7 @@ public class ListAlertRecordRequest extends Request { @UCloudParam("EndAt") private Integer endAt; - /** 模糊查询(支持资源id和告警内容模糊搜索) */ + /** 模糊查询(支持资源id模糊搜索) */ @UCloudParam("Fuzzy") private String fuzzy; diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordResponse.java index d9b2b76f..38f1a82b 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordResponse.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertRecordResponse.java @@ -47,6 +47,10 @@ public void setTotalCount(Integer totalCount) { public static class AlertRecord extends Response { + /** 可用区 */ + @SerializedName("Region") + private String region; + /** 告警记录RecordID */ @SerializedName("RecordID") private Integer recordID; @@ -79,6 +83,10 @@ public static class AlertRecord extends Response { @SerializedName("MetricName") private String metricName; + /** 指标单位名称 */ + @SerializedName("UnitName") + private String unitName; + /** 告警记录触发告警策略Id */ @SerializedName("StrategyID") private Integer strategyID; @@ -87,14 +95,26 @@ public static class AlertRecord extends Response { @SerializedName("RuleID") private Integer ruleID; + /** 告警点tag信息 */ + @SerializedName("Tag") + private List tag; + + /** 告警当前值 */ + @SerializedName("Value") + private Integer value; + + /** 比较符 */ + @SerializedName("ThresholdCompare") + private Integer thresholdCompare; + + /** 告警阈值 */ + @SerializedName("ThresholdValue") + private Integer thresholdValue; + /** 告警屏蔽规则id(如果配置了屏蔽规则,并且满足条件) */ @SerializedName("ShieldRuleID") private Integer shieldRuleID; - /** 告警内容 */ - @SerializedName("Content") - private String content; - /** 告警等级 */ @SerializedName("Level") private String level; @@ -111,6 +131,14 @@ public static class AlertRecord extends Response { @SerializedName("EndAt") private Integer endAt; + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + public Integer getRecordID() { return recordID; } @@ -175,6 +203,14 @@ public void setMetricName(String metricName) { this.metricName = metricName; } + public String getUnitName() { + return unitName; + } + + public void setUnitName(String unitName) { + this.unitName = unitName; + } + public Integer getStrategyID() { return strategyID; } @@ -191,20 +227,44 @@ public void setRuleID(Integer ruleID) { this.ruleID = ruleID; } - public Integer getShieldRuleID() { - return shieldRuleID; + public List getTag() { + return tag; } - public void setShieldRuleID(Integer shieldRuleID) { - this.shieldRuleID = shieldRuleID; + public void setTag(List tag) { + this.tag = tag; + } + + public Integer getValue() { + return value; + } + + public void setValue(Integer value) { + this.value = value; + } + + public Integer getThresholdCompare() { + return thresholdCompare; + } + + public void setThresholdCompare(Integer thresholdCompare) { + this.thresholdCompare = thresholdCompare; } - public String getContent() { - return content; + public Integer getThresholdValue() { + return thresholdValue; } - public void setContent(String content) { - this.content = content; + public void setThresholdValue(Integer thresholdValue) { + this.thresholdValue = thresholdValue; + } + + public Integer getShieldRuleID() { + return shieldRuleID; + } + + public void setShieldRuleID(Integer shieldRuleID) { + this.shieldRuleID = shieldRuleID; } public String getLevel() { diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyRequest.java index 3348b554..5d485768 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyRequest.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyRequest.java @@ -34,6 +34,10 @@ public class ListAlertStrategyRequest extends Request { @UCloudParam("Filter") private Filter filter; + /** 资源id集合,根据资源id返回绑定的告警策略列表 */ + @UCloudParam("Resources") + private List resources; + /** 查询返回数量,默认值300,最大值:300。 */ @UCloudParam("Limit") private Integer limit; @@ -66,6 +70,14 @@ public void setFilter(Filter filter) { this.filter = filter; } + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + public Integer getLimit() { return limit; } @@ -88,6 +100,10 @@ public static class Filter extends Request { @UCloudParam("ProductTypes") private List productTypes; + /** 告警策略id,根据策略id获取告警策略列表 */ + @UCloudParam("AlertStrategyIDs") + private List alertStrategyIDs; + /** 告警策略状态,根据告警策略状态精确搜索对应的告警策略 */ @UCloudParam("Status") private List status; @@ -100,6 +116,14 @@ public void setProductTypes(List productTypes) { this.productTypes = productTypes; } + public List getAlertStrategyIDs() { + return alertStrategyIDs; + } + + public void setAlertStrategyIDs(List alertStrategyIDs) { + this.alertStrategyIDs = alertStrategyIDs; + } + public List getStatus() { return status; } diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyResponse.java index 5c8156e0..cfce2b0e 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyResponse.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyResponse.java @@ -63,7 +63,7 @@ public static class AlertRule extends Response { @SerializedName("RuleID") private Integer ruleID; - /** 指标ID */ + /** 规则指标ID。参考该类型产品下返回的指标列表GetProductMetrics */ @SerializedName("MetricID") private Integer metricID; @@ -71,11 +71,11 @@ public static class AlertRule extends Response { @SerializedName("MetricName") private String metricName; - /** 阈值比较方式 */ + /** 阈值比较方式 枚举值比较方式: 1->= 2-<= 3-> 4-< 5-== 6-!= */ @SerializedName("ThresholdCompare") private Integer thresholdCompare; - /** 阈值 */ + /** 触发阈值 */ @SerializedName("ThresholdValue") private Double thresholdValue; @@ -83,7 +83,7 @@ public static class AlertRule extends Response { @SerializedName("TriggerCount") private Integer triggerCount; - /** 触发周期 */ + /** 触发周期。枚举值:continuous连续 exponent 指数 single 不重复 */ @SerializedName("SendPeriodType") private String sendPeriodType; @@ -91,14 +91,22 @@ public static class AlertRule extends Response { @SerializedName("SendInterval") private Integer sendInterval; - /** 告警等级 */ + /** 告警等级。枚举值:P0,P1,P2,P3 */ @SerializedName("Level") private String level; - /** 告警状态 */ + /** 告警状态。枚举值:0-关闭 1-开启 */ @SerializedName("Status") private Integer status; + /** 单位id */ + @SerializedName("UnitID") + private Integer unitID; + + /** 单位名称 */ + @SerializedName("UnitName") + private String unitName; + public Integer getRuleID() { return ruleID; } @@ -178,6 +186,22 @@ public Integer getStatus() { public void setStatus(Integer status) { this.status = status; } + + public Integer getUnitID() { + return unitID; + } + + public void setUnitID(Integer unitID) { + this.unitID = unitID; + } + + public String getUnitName() { + return unitName; + } + + public void setUnitName(String unitName) { + this.unitName = unitName; + } } public static class AlertStrategy extends Response { diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateRequest.java new file mode 100644 index 00000000..3235b2b4 --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateRequest.java @@ -0,0 +1,87 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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; + +import java.util.List; + +public class ListAlertStrategyTemplateRequest extends Request { + + /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口 */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** */ + @UCloudParam("Filter") + private Filter filter; + + /** 查询返回数量,默认值300,最大值:300。 */ + @UCloudParam("Limit") + private Integer limit; + + /** 数据偏移量 (默认0) */ + @UCloudParam("Offset") + private Integer offset; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Filter getFilter() { + return filter; + } + + public void setFilter(Filter filter) { + this.filter = filter; + } + + public Integer getLimit() { + return limit; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getOffset() { + return offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + } + + public static class Filter extends Request { + + /** 模板id集合,根据模板id获取告警条件模板列表 */ + @UCloudParam("TemplateIDs") + private List templateIDs; + + public List getTemplateIDs() { + return templateIDs; + } + + public void setTemplateIDs(List templateIDs) { + this.templateIDs = templateIDs; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateResponse.java new file mode 100644 index 00000000..d94e1c8e --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/ListAlertStrategyTemplateResponse.java @@ -0,0 +1,281 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListAlertStrategyTemplateResponse extends Response { + + /** 条件模板列表 */ + @SerializedName("Data") + private List data; + + /** 条件模板总条数 */ + @SerializedName("TotalCount") + private Integer totalCount; + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + + public Integer getTotalCount() { + return totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public static class AlertRule extends Response { + + /** 规则ID */ + @SerializedName("RuleID") + private Integer ruleID; + + /** 规则指标ID。参考该类型产品下返回的指标列表GetProductMetrics */ + @SerializedName("MetricID") + private Integer metricID; + + /** 指标名称 */ + @SerializedName("MetricName") + private String metricName; + + /** 阈值比较方式 枚举值比较方式: 1->= 2-<= 3-> 4-< 5-== 6-!= */ + @SerializedName("ThresholdCompare") + private Integer thresholdCompare; + + /** 触发阈值 */ + @SerializedName("ThresholdValue") + private Double thresholdValue; + + /** 触发次数 */ + @SerializedName("TriggerCount") + private Integer triggerCount; + + /** 触发周期。枚举值:continuous连续 exponent 指数 single 不重复 */ + @SerializedName("SendPeriodType") + private String sendPeriodType; + + /** 发送间隔 */ + @SerializedName("SendInterval") + private Integer sendInterval; + + /** 告警等级。枚举值:P0,P1,P2,P3 */ + @SerializedName("Level") + private String level; + + /** 告警状态。枚举值:0-关闭 1-开启 */ + @SerializedName("Status") + private Integer status; + + /** 单位id */ + @SerializedName("UnitID") + private Integer unitID; + + /** 单位名称 */ + @SerializedName("UnitName") + private String unitName; + + public Integer getRuleID() { + return ruleID; + } + + public void setRuleID(Integer ruleID) { + this.ruleID = ruleID; + } + + public Integer getMetricID() { + return metricID; + } + + public void setMetricID(Integer metricID) { + this.metricID = metricID; + } + + public String getMetricName() { + return metricName; + } + + public void setMetricName(String metricName) { + this.metricName = metricName; + } + + public Integer getThresholdCompare() { + return thresholdCompare; + } + + public void setThresholdCompare(Integer thresholdCompare) { + this.thresholdCompare = thresholdCompare; + } + + public Double getThresholdValue() { + return thresholdValue; + } + + public void setThresholdValue(Double thresholdValue) { + this.thresholdValue = thresholdValue; + } + + public Integer getTriggerCount() { + return triggerCount; + } + + public void setTriggerCount(Integer triggerCount) { + this.triggerCount = triggerCount; + } + + public String getSendPeriodType() { + return sendPeriodType; + } + + public void setSendPeriodType(String sendPeriodType) { + this.sendPeriodType = sendPeriodType; + } + + public Integer getSendInterval() { + return sendInterval; + } + + public void setSendInterval(Integer sendInterval) { + this.sendInterval = sendInterval; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getUnitID() { + return unitID; + } + + public void setUnitID(Integer unitID) { + this.unitID = unitID; + } + + public String getUnitName() { + return unitName; + } + + public void setUnitName(String unitName) { + this.unitName = unitName; + } + } + + public static class ListAlertTemplate extends Response { + + /** 公司id */ + @SerializedName("CompanyID") + private Integer companyID; + + /** 模板Id */ + @SerializedName("TemplateID") + private Integer templateID; + + /** 告警模板名称 */ + @SerializedName("Name") + private String name; + + /** 产品类型(数值型)。参考ListMonitorProduct获取监控对象类型列表 */ + @SerializedName("ProductType") + private Integer productType; + + /** 产品类型(字符型)。参考ListMonitorProduct获取监控对象类型列表 */ + @SerializedName("ProductKey") + private String productKey; + + /** 告警条件规则 */ + @SerializedName("RuleSet") + private List ruleSet; + + /** 条件模板备注 */ + @SerializedName("Remark") + private String remark; + + public Integer getCompanyID() { + return companyID; + } + + public void setCompanyID(Integer companyID) { + this.companyID = companyID; + } + + public Integer getTemplateID() { + return templateID; + } + + public void setTemplateID(Integer templateID) { + this.templateID = templateID; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getProductType() { + return productType; + } + + public void setProductType(Integer productType) { + this.productType = productType; + } + + public String getProductKey() { + return productKey; + } + + public void setProductKey(String productKey) { + this.productKey = productKey; + } + + public List getRuleSet() { + return ruleSet; + } + + public void setRuleSet(List ruleSet) { + this.ruleSet = ruleSet; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/QueryMetricDataSetRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/QueryMetricDataSetRequest.java index e6582a5c..84c987eb 100644 --- a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/QueryMetricDataSetRequest.java +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/QueryMetricDataSetRequest.java @@ -46,6 +46,19 @@ public class QueryMetricDataSetRequest extends Request { @UCloudParam("EndTime") private Integer endTime; + /** 计算方式,枚举值如下: raw:原始值, max:最大值, min:最小值, avg:平均值, sum:求和 */ + @NotEmpty + @UCloudParam("CalcMethod") + private String calcMethod; + + /** + * 周期即:数据查询时,后端上报数据点的频率,选择不同的自定义时间范围,对应的周期不同: 0<时间范围<=1h——周期:1分钟/5分钟 1h<时间范围<=3h——周期:1分钟/5分钟/1小时 + * 3h<时间范围<=24h——周期:5分钟/1小时 1天<时间范围<=30天——周期:1小时/6小时/24小时 需将周期转化为单位为秒的数值,传入参数 + */ + @NotEmpty + @UCloudParam("Period") + private Integer period; + /** */ @UCloudParam("MetricInfos") private List metricInfos; @@ -90,6 +103,22 @@ public void setEndTime(Integer endTime) { this.endTime = endTime; } + public String getCalcMethod() { + return calcMethod; + } + + public void setCalcMethod(String calcMethod) { + this.calcMethod = calcMethod; + } + + public Integer getPeriod() { + return period; + } + + public void setPeriod(Integer period) { + this.period = period; + } + public List getMetricInfos() { return metricInfos; } diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyRequest.java new file mode 100644 index 00000000..7d9aae1c --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyRequest.java @@ -0,0 +1,374 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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; + +import java.util.List; + +public class UpdateAlertStrategyRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** 告警策略id */ + @NotEmpty + @UCloudParam("AlertStrategyID") + private String alertStrategyID; + + /** 告警策略名称。最大长度255个字符 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 产品类型。参考ListMonitorProduct获取监控对象类型列表 */ + @NotEmpty + @UCloudParam("ProductKey") + private String productKey; + + /** 绑定资源类型 1 资源组 2 资源 */ + @NotEmpty + @UCloudParam("ObjectType") + private Integer objectType; + + /** 条件设置方式 1. 手动配置 2.选择模版 */ + @NotEmpty + @UCloudParam("ConfigMode") + private Integer configMode; + + /** 绑定资源,对应绑定资源类型ObjectType=2 */ + @UCloudParam("Resources") + private List resources; + + /** 绑定资源组,对应绑定资源类型ObjectType=1 */ + @UCloudParam("ResourceGroupIDs") + private List resourceGroupIDs; + + /** */ + @UCloudParam("Tags") + private List tags; + + /** 模板id.对应ConfigMode=2 */ + @UCloudParam("TemplateId") + private Integer templateId; + + /** */ + @UCloudParam("RuleSet") + private List ruleSet; + + /** 通知类型 通知组 group 通知人 user */ + @UCloudParam("NotifyType") + private String notifyType; + + /** 通知人id */ + @UCloudParam("NotifyUserIDs") + private List notifyUserIDs; + + /** 通知人组id */ + @UCloudParam("NotifyGroupIDs") + private List notifyGroupIDs; + + /** 通知渠道 短信sms 邮件email 回调webhook */ + @UCloudParam("NotifyChannelDs") + private List notifyChannelDs; + + /** 通知渠道回调webhook 回调语言 中文cn 英文en */ + @UCloudParam("CallbackLanguage") + private String callbackLanguage; + + /** 回调url */ + @UCloudParam("CallbackUrls") + private List callbackUrls; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getAlertStrategyID() { + return alertStrategyID; + } + + public void setAlertStrategyID(String alertStrategyID) { + this.alertStrategyID = alertStrategyID; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getProductKey() { + return productKey; + } + + public void setProductKey(String productKey) { + this.productKey = productKey; + } + + public Integer getObjectType() { + return objectType; + } + + public void setObjectType(Integer objectType) { + this.objectType = objectType; + } + + public Integer getConfigMode() { + return configMode; + } + + public void setConfigMode(Integer configMode) { + this.configMode = configMode; + } + + public List getResources() { + return resources; + } + + public void setResources(List resources) { + this.resources = resources; + } + + public List getResourceGroupIDs() { + return resourceGroupIDs; + } + + public void setResourceGroupIDs(List resourceGroupIDs) { + this.resourceGroupIDs = resourceGroupIDs; + } + + public List getTags() { + return tags; + } + + public void setTags(List tags) { + this.tags = tags; + } + + public Integer getTemplateId() { + return templateId; + } + + public void setTemplateId(Integer templateId) { + this.templateId = templateId; + } + + public List getRuleSet() { + return ruleSet; + } + + public void setRuleSet(List ruleSet) { + this.ruleSet = ruleSet; + } + + public String getNotifyType() { + return notifyType; + } + + public void setNotifyType(String notifyType) { + this.notifyType = notifyType; + } + + public List getNotifyUserIDs() { + return notifyUserIDs; + } + + public void setNotifyUserIDs(List notifyUserIDs) { + this.notifyUserIDs = notifyUserIDs; + } + + public List getNotifyGroupIDs() { + return notifyGroupIDs; + } + + public void setNotifyGroupIDs(List notifyGroupIDs) { + this.notifyGroupIDs = notifyGroupIDs; + } + + public List getNotifyChannelDs() { + return notifyChannelDs; + } + + public void setNotifyChannelDs(List notifyChannelDs) { + this.notifyChannelDs = notifyChannelDs; + } + + public String getCallbackLanguage() { + return callbackLanguage; + } + + public void setCallbackLanguage(String callbackLanguage) { + this.callbackLanguage = callbackLanguage; + } + + public List getCallbackUrls() { + return callbackUrls; + } + + public void setCallbackUrls(List callbackUrls) { + this.callbackUrls = callbackUrls; + } + + public static class RuleSet extends Request { + + /** 规则指标ID。参考该类型产品下返回的指标列表GetProductMetrics */ + @UCloudParam("MetricID") + private Integer metricID; + + /** 阈值比较方式。 枚举值比较方式: 1->= 2-<= 3-> 4-< 5-== 6-!= */ + @UCloudParam("ThresholdCompare") + private Integer thresholdCompare; + + /** 触发阈值 */ + @UCloudParam("ThresholdValue") + private Integer thresholdValue; + + /** 触发次数 */ + @UCloudParam("TriggerCount") + private Integer triggerCount; + + /** 触发周期。枚举值:continuous连续 exponent 指数 single 不重复 */ + @UCloudParam("SendPeriodType") + private String sendPeriodType; + + /** 告警等级。枚举值:P0,P1,P2,P3 */ + @UCloudParam("Level") + private String level; + + /** 告警状态。枚举值:0-关闭 1-开启 */ + @UCloudParam("Status") + private Integer status; + + /** 沉默周期(告警周期选择为连续时必填) */ + @UCloudParam("SendInterval") + private Integer sendInterval; + + public Integer getMetricID() { + return metricID; + } + + public void setMetricID(Integer metricID) { + this.metricID = metricID; + } + + public Integer getThresholdCompare() { + return thresholdCompare; + } + + public void setThresholdCompare(Integer thresholdCompare) { + this.thresholdCompare = thresholdCompare; + } + + public Integer getThresholdValue() { + return thresholdValue; + } + + public void setThresholdValue(Integer thresholdValue) { + this.thresholdValue = thresholdValue; + } + + public Integer getTriggerCount() { + return triggerCount; + } + + public void setTriggerCount(Integer triggerCount) { + this.triggerCount = triggerCount; + } + + public String getSendPeriodType() { + return sendPeriodType; + } + + public void setSendPeriodType(String sendPeriodType) { + this.sendPeriodType = sendPeriodType; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getSendInterval() { + return sendInterval; + } + + public void setSendInterval(Integer sendInterval) { + this.sendInterval = sendInterval; + } + } + + public static class Tags extends Request { + + /** 数据点tag key */ + @UCloudParam("Key") + private String key; + + /** 数据点tag operator 包含= 不包含!= */ + @UCloudParam("Operator") + private String operator; + + /** 数据点tag value */ + @UCloudParam("Values") + private List values; + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getOperator() { + return operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + public List getValues() { + return values; + } + + public void setValues(List values) { + this.values = values; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyResponse.java new file mode 100644 index 00000000..f92a5fee --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyResponse.java @@ -0,0 +1,49 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class UpdateAlertStrategyResponse extends Response { + + /** 更新告警策略返回对象 */ + @SerializedName("Data") + private AlertStrategyId data; + + public AlertStrategyId getData() { + return data; + } + + public void setData(AlertStrategyId data) { + this.data = data; + } + + public static class AlertStrategyId extends Response { + + /** 告警策略id */ + @SerializedName("AlertStrategyID") + private Integer alertStrategyID; + + public Integer getAlertStrategyID() { + return alertStrategyID; + } + + public void setAlertStrategyID(Integer alertStrategyID) { + this.alertStrategyID = alertStrategyID; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateRequest.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateRequest.java new file mode 100644 index 00000000..816a4c2e --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateRequest.java @@ -0,0 +1,208 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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; + +import java.util.List; + +public class UpdateAlertStrategyTemplateRequest extends Request { + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** 条件模板ID */ + @NotEmpty + @UCloudParam("TemplateID") + private Integer templateID; + + /** 告警模板名称。最大长度64个字符 */ + @NotEmpty + @UCloudParam("Name") + private String name; + + /** 产品类型。参考ListMonitorProduct获取监控对象类型列表 */ + @NotEmpty + @UCloudParam("ProductKey") + private String productKey; + + /** */ + @UCloudParam("RuleSet") + private List ruleSet; + + /** 备注 */ + @UCloudParam("Remark") + private String remark; + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getTemplateID() { + return templateID; + } + + public void setTemplateID(Integer templateID) { + this.templateID = templateID; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getProductKey() { + return productKey; + } + + public void setProductKey(String productKey) { + this.productKey = productKey; + } + + public List getRuleSet() { + return ruleSet; + } + + public void setRuleSet(List ruleSet) { + this.ruleSet = ruleSet; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public static class RuleSet extends Request { + + /** 规则指标ID。参考该类型产品下返回的指标列表GetProductMetrics */ + @NotEmpty + @UCloudParam("MetricID") + private Integer metricID; + + /** 阈值比较方式。 枚举值比较方式: 1->= 2-<= 3-> 4-< 5-== 6-!= */ + @NotEmpty + @UCloudParam("ThresholdCompare") + private Integer thresholdCompare; + + /** 触发阈值 */ + @NotEmpty + @UCloudParam("ThresholdValue") + private Integer thresholdValue; + + /** 触发次数 */ + @NotEmpty + @UCloudParam("TriggerCount") + private Integer triggerCount; + + /** 触发周期。枚举值:continuous连续 exponent 指数 single 不重复 */ + @NotEmpty + @UCloudParam("SendPeriodType") + private String sendPeriodType; + + /** 告警等级。枚举值:P0,P1,P2,P3 */ + @NotEmpty + @UCloudParam("Level") + private String level; + + /** 告警状态。枚举值:0-关闭 1-开启 */ + @NotEmpty + @UCloudParam("Status") + private Integer status; + + /** 沉默周期(告警周期选择为连续时必填) */ + @UCloudParam("SendInterval") + private Integer sendInterval; + + public Integer getMetricID() { + return metricID; + } + + public void setMetricID(Integer metricID) { + this.metricID = metricID; + } + + public Integer getThresholdCompare() { + return thresholdCompare; + } + + public void setThresholdCompare(Integer thresholdCompare) { + this.thresholdCompare = thresholdCompare; + } + + public Integer getThresholdValue() { + return thresholdValue; + } + + public void setThresholdValue(Integer thresholdValue) { + this.thresholdValue = thresholdValue; + } + + public Integer getTriggerCount() { + return triggerCount; + } + + public void setTriggerCount(Integer triggerCount) { + this.triggerCount = triggerCount; + } + + public String getSendPeriodType() { + return sendPeriodType; + } + + public void setSendPeriodType(String sendPeriodType) { + this.sendPeriodType = sendPeriodType; + } + + public String getLevel() { + return level; + } + + public void setLevel(String level) { + this.level = level; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getSendInterval() { + return sendInterval; + } + + public void setSendInterval(Integer sendInterval) { + this.sendInterval = sendInterval; + } + } +} diff --git a/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateResponse.java b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateResponse.java new file mode 100644 index 00000000..5426f550 --- /dev/null +++ b/ucloud-sdk-java-cloudwatch/src/main/java/cn/ucloud/cloudwatch/models/UpdateAlertStrategyTemplateResponse.java @@ -0,0 +1,49 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

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 + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

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.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class UpdateAlertStrategyTemplateResponse extends Response { + + /** 更新条件模板ID */ + @SerializedName("Data") + private AlertTemplate data; + + public AlertTemplate getData() { + return data; + } + + public void setData(AlertTemplate data) { + this.data = data; + } + + public static class AlertTemplate extends Response { + + /** 告警模板ID */ + @SerializedName("TemplateID") + private Integer templateID; + + public Integer getTemplateID() { + return templateID; + } + + public void setTemplateID(Integer templateID) { + this.templateID = templateID; + } + } +} diff --git a/ucloud-sdk-java-common/pom.xml b/ucloud-sdk-java-common/pom.xml index 2fa74db3..3ca79679 100644 --- a/ucloud-sdk-java-common/pom.xml +++ b/ucloud-sdk-java-common/pom.xml @@ -7,12 +7,12 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-cube/pom.xml b/ucloud-sdk-java-cube/pom.xml index 01cc0299..c7c4ebf4 100644 --- a/ucloud-sdk-java-cube/pom.xml +++ b/ucloud-sdk-java-cube/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-cube - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml index 430d9534..65f1bfcf 100644 --- a/ucloud-sdk-java-ipsecvpn/pom.xml +++ b/ucloud-sdk-java-ipsecvpn/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ipsecvpn - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-label/pom.xml b/ucloud-sdk-java-label/pom.xml index c8896d5b..9cb59414 100644 --- a/ucloud-sdk-java-label/pom.xml +++ b/ucloud-sdk-java-label/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-label - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-nlb/pom.xml b/ucloud-sdk-java-nlb/pom.xml index 000c106f..3e25dccd 100644 --- a/ucloud-sdk-java-nlb/pom.xml +++ b/ucloud-sdk-java-nlb/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-nlb - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml index 58a4e05c..7f2945f4 100644 --- a/ucloud-sdk-java-pathx/pom.xml +++ b/ucloud-sdk-java-pathx/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-pathx - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-sts/pom.xml b/ucloud-sdk-java-sts/pom.xml index a447ac67..03606fd7 100644 --- a/ucloud-sdk-java-sts/pom.xml +++ b/ucloud-sdk-java-sts/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-sts - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uaccount/pom.xml b/ucloud-sdk-java-uaccount/pom.xml index 25057a5b..8ce2c34e 100644 --- a/ucloud-sdk-java-uaccount/pom.xml +++ b/ucloud-sdk-java-uaccount/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uaccount - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uai_modelverse/pom.xml b/ucloud-sdk-java-uai_modelverse/pom.xml index ab44fb1b..5618c9fe 100644 --- a/ucloud-sdk-java-uai_modelverse/pom.xml +++ b/ucloud-sdk-java-uai_modelverse/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uai_modelverse - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ubill/pom.xml b/ucloud-sdk-java-ubill/pom.xml index ca880afa..d5f069f2 100644 --- a/ucloud-sdk-java-ubill/pom.xml +++ b/ucloud-sdk-java-ubill/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ubill - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ucdn/pom.xml b/ucloud-sdk-java-ucdn/pom.xml index b2b91857..131c1893 100644 --- a/ucloud-sdk-java-ucdn/pom.xml +++ b/ucloud-sdk-java-ucdn/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ucdn - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ucompshare/pom.xml b/ucloud-sdk-java-ucompshare/pom.xml index 20084180..9dc6075f 100644 --- a/ucloud-sdk-java-ucompshare/pom.xml +++ b/ucloud-sdk-java-ucompshare/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ucompshare - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udb/pom.xml b/ucloud-sdk-java-udb/pom.xml index 05a08dc8..b388fdcf 100644 --- a/ucloud-sdk-java-udb/pom.xml +++ b/ucloud-sdk-java-udb/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udb - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udbproxy/pom.xml b/ucloud-sdk-java-udbproxy/pom.xml index 63f8dc67..b85e994a 100644 --- a/ucloud-sdk-java-udbproxy/pom.xml +++ b/ucloud-sdk-java-udbproxy/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udbproxy - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udi/pom.xml b/ucloud-sdk-java-udi/pom.xml index ded47afd..443633fa 100644 --- a/ucloud-sdk-java-udi/pom.xml +++ b/ucloud-sdk-java-udi/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udi - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udisk/pom.xml b/ucloud-sdk-java-udisk/pom.xml index 9aa41238..e6ccfcf5 100644 --- a/ucloud-sdk-java-udisk/pom.xml +++ b/ucloud-sdk-java-udisk/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udisk - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udns/pom.xml b/ucloud-sdk-java-udns/pom.xml index 404a43c6..e1a6e9c9 100644 --- a/ucloud-sdk-java-udns/pom.xml +++ b/ucloud-sdk-java-udns/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udns - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml index 7d62ae16..e37c82f9 100644 --- a/ucloud-sdk-java-udpn/pom.xml +++ b/ucloud-sdk-java-udpn/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-udpn - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uec/pom.xml b/ucloud-sdk-java-uec/pom.xml index 6d24de7d..e7bb3f38 100644 --- a/ucloud-sdk-java-uec/pom.xml +++ b/ucloud-sdk-java-uec/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uec - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uewaf/pom.xml b/ucloud-sdk-java-uewaf/pom.xml index 58819550..6c99dd0c 100644 --- a/ucloud-sdk-java-uewaf/pom.xml +++ b/ucloud-sdk-java-uewaf/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uewaf - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ufile/pom.xml b/ucloud-sdk-java-ufile/pom.xml index 11bcf30c..2f65aec6 100644 --- a/ucloud-sdk-java-ufile/pom.xml +++ b/ucloud-sdk-java-ufile/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ufile - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ufs/pom.xml b/ucloud-sdk-java-ufs/pom.xml index 26356b7d..d67f70ad 100644 --- a/ucloud-sdk-java-ufs/pom.xml +++ b/ucloud-sdk-java-ufs/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ufs - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uhost/pom.xml b/ucloud-sdk-java-uhost/pom.xml index 2572e632..413c5da4 100644 --- a/ucloud-sdk-java-uhost/pom.xml +++ b/ucloud-sdk-java-uhost/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uhost - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uk8s/pom.xml b/ucloud-sdk-java-uk8s/pom.xml index 22fd1aaa..c0bdf40c 100644 --- a/ucloud-sdk-java-uk8s/pom.xml +++ b/ucloud-sdk-java-uk8s/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uk8s - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml index 0cf15b3c..712a7966 100644 --- a/ucloud-sdk-java-ulb/pom.xml +++ b/ucloud-sdk-java-ulb/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ulb - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-ulog/pom.xml b/ucloud-sdk-java-ulog/pom.xml index e8d023db..1b27af45 100644 --- a/ucloud-sdk-java-ulog/pom.xml +++ b/ucloud-sdk-java-ulog/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-ulog - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml index e4249194..c144d49b 100644 --- a/ucloud-sdk-java-umem/pom.xml +++ b/ucloud-sdk-java-umem/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-umem - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-umon/pom.xml b/ucloud-sdk-java-umon/pom.xml index fe187c6e..92b2ee29 100644 --- a/ucloud-sdk-java-umon/pom.xml +++ b/ucloud-sdk-java-umon/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-umon - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml index 90c27013..c4657e15 100644 --- a/ucloud-sdk-java-umongodb/pom.xml +++ b/ucloud-sdk-java-umongodb/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-umongodb - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml index 07943130..454c7c54 100644 --- a/ucloud-sdk-java-unet/pom.xml +++ b/ucloud-sdk-java-unet/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-unet - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml index 46bcace6..5dc063d1 100644 --- a/ucloud-sdk-java-upgsql/pom.xml +++ b/ucloud-sdk-java-upgsql/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-upgsql - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml index edd18ddb..1560b2b3 100644 --- a/ucloud-sdk-java-uphone/pom.xml +++ b/ucloud-sdk-java-uphone/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uphone - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml index 5c7b4841..9557812f 100644 --- a/ucloud-sdk-java-uphost/pom.xml +++ b/ucloud-sdk-java-uphost/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uphost - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml index 3826423e..f4a77e2b 100644 --- a/ucloud-sdk-java-uslk/pom.xml +++ b/ucloud-sdk-java-uslk/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uslk - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml index 6a666944..b23e59fa 100644 --- a/ucloud-sdk-java-usms/pom.xml +++ b/ucloud-sdk-java-usms/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-usms - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-usnap/pom.xml b/ucloud-sdk-java-usnap/pom.xml index b5a94a7f..2e116e63 100644 --- a/ucloud-sdk-java-usnap/pom.xml +++ b/ucloud-sdk-java-usnap/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-usnap - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml index b85ee1ae..02965648 100644 --- a/ucloud-sdk-java-uvms/pom.xml +++ b/ucloud-sdk-java-uvms/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-uvms - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml index 48517d10..2046f029 100644 --- a/ucloud-sdk-java-vpc/pom.xml +++ b/ucloud-sdk-java-vpc/pom.xml @@ -5,18 +5,18 @@ ucloud-sdk-java cn.ucloud - 1.2.44-release + 1.2.45-release 4.0.0 ucloud-sdk-java-vpc - 1.2.44-release + 1.2.45-release cn.ucloud ucloud-sdk-java-common - 1.2.44-release + 1.2.45-release