diff --git a/VERSION b/VERSION index 3c42806c..c50e2ec5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.3-release +1.2.4-release diff --git a/examples/generic/pom.xml b/examples/generic/pom.xml index 5015deb4..972ec217 100644 --- a/examples/generic/pom.xml +++ b/examples/generic/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.3-release + 1.2.4-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/examples/uhost/pom.xml b/examples/uhost/pom.xml index 02979b51..9bcfef04 100644 --- a/examples/uhost/pom.xml +++ b/examples/uhost/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.3-release + 1.2.4-release 4.0.0 @@ -18,7 +18,7 @@ cn.ucloud ucloud-sdk-java-uhost - 1.2.3-release + 1.2.4-release diff --git a/pom.xml b/pom.xml index 4bd0d01e..93de50ee 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ cn.ucloud ucloud-sdk-java pom - 1.2.3-release + 1.2.4-release ucloud-sdk-java-common ucloud-sdk-java-ipsecvpn diff --git a/ucloud-sdk-java-common/pom.xml b/ucloud-sdk-java-common/pom.xml index 211111c0..6a8f1065 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml index 82043bd4..624cd3a7 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ipsecvpn - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml index f2136615..41c5ea4d 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-pathx - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uaccount/pom.xml b/ucloud-sdk-java-uaccount/pom.xml index 7c3937a9..fcbb8d61 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uaccount - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ubill/pom.xml b/ucloud-sdk-java-ubill/pom.xml index 2c37d561..c6673625 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ubill - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ucdn/pom.xml b/ucloud-sdk-java-ucdn/pom.xml index ba9bf8d0..be02b1c5 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ucdn - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogUrlStatisticsRequest.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogUrlStatisticsRequest.java index 20a8c309..aa263006 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogUrlStatisticsRequest.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetNewUcdnLogUrlStatisticsRequest.java @@ -36,11 +36,11 @@ public class GetNewUcdnLogUrlStatisticsRequest extends Request { @UCloudParam("Areacode") private String areacode; - /** 查询带宽的起始时间,格式:时间戳。BeginTime和EndTime必须同时赋值 */ + /** 查询带宽的起始时间,格式:时间戳 */ @UCloudParam("BeginTime") private Integer beginTime; - /** 查询统计日志的结束时间,格式:时间戳,最多可拉取30天 */ + /** 查询统计日志的结束时间,格式:时间戳,只能支持查询1天。可不填 */ @UCloudParam("EndTime") private Integer endTime; diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomain95BandwidthV2Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomain95BandwidthV2Request.java index 0b07ddba..827cd178 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomain95BandwidthV2Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomain95BandwidthV2Request.java @@ -46,6 +46,10 @@ public class GetUcdnDomain95BandwidthV2Request extends Request { @UCloudParam("Areacode") private String areacode; + /** 是否是动态加速 默认是false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -85,4 +89,12 @@ public String getAreacode() { public void setAreacode(String areacode) { this.areacode = areacode; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainBandwidthV2Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainBandwidthV2Request.java index d99d4df1..1e5dee52 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainBandwidthV2Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainBandwidthV2Request.java @@ -31,7 +31,7 @@ public class GetUcdnDomainBandwidthV2Request extends Request { @UCloudParam("Type") private Integer type; - /** 域名id,创建域名时生成的id。默认全部域名 */ + /** 域名id,创建域名时生成的id。默认全部域名;例(DomainId.0=ucdn-xxxxxx;DomainId.1=ucdn-xxxxxx) */ @UCloudParam("DomainId") private List domainId; @@ -50,7 +50,7 @@ public class GetUcdnDomainBandwidthV2Request extends Request { @UCloudParam("EndTime") private Integer endTime; - /** 协议,http、https 不传则查所有协议的带宽 */ + /** 协议,http、https、websocket 不传则查所有协议的带宽,可以查多个协议,用逗号分隔 */ @UCloudParam("Protocol") private String protocol; @@ -58,6 +58,10 @@ public class GetUcdnDomainBandwidthV2Request extends Request { @UCloudParam("Primeval") private Integer primeval; + /** 是否全站加速,默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -121,4 +125,12 @@ public Integer getPrimeval() { public void setPrimeval(Integer primeval) { this.primeval = primeval; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigRequest.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigRequest.java index b2d6c98a..6721c800 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigRequest.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigRequest.java @@ -43,6 +43,14 @@ public class GetUcdnDomainConfigRequest extends Request { @UCloudParam("ChannelType") private String channelType; + /** 域名 */ + @UCloudParam("Domain") + private List domain; + + /** 是否是动态加速 默认是false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -82,4 +90,20 @@ public String getChannelType() { public void setChannelType(String channelType) { this.channelType = channelType; } + + public List getDomain() { + return domain; + } + + public void setDomain(List domain) { + this.domain = domain; + } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java index 4224eed7..bdb1f0a9 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainConfigResponse.java @@ -287,8 +287,9 @@ public static class DomainConfigInfo extends Response { private String cdnType; /** - * 创建的加速域名的当前的状态。check代表审核中,checkSuccess代表审核通过,checkFail代表审核失败,enable代表加速中,disable代表停止加速,delete代表删除加速 - * enableing代表正在开启加速,disableing代表正在停止加速中,deleteing代表删除中 + * 创建的加速域名的当前的状态。 check代表审核中; checkSuccess代表审核通过; checkFail代表审核失败; enable代表加速中; + * disable代表停止加速; delete代表删除加速; enableing代表正在开启加速; disableing代表正在停止加速中; deleteing代表删除中; + * deploying代表部署中 */ @SerializedName("Status") private String status; diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHitRateRequest.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHitRateRequest.java index 676d9fd6..7bfd771d 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHitRateRequest.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHitRateRequest.java @@ -56,6 +56,10 @@ public class GetUcdnDomainHitRateRequest extends Request { @UCloudParam("HitType") private Integer hitType; + /** 是否全站加速,默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -111,4 +115,12 @@ public Integer getHitType() { public void setHitType(Integer hitType) { this.hitType = hitType; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHttpCodeV2Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHttpCodeV2Request.java index 3aed0bc8..a353fe37 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHttpCodeV2Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainHttpCodeV2Request.java @@ -56,6 +56,10 @@ public class GetUcdnDomainHttpCodeV2Request extends Request { @UCloudParam("Layer") private String layer; + /** 是否全站加速 默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -111,4 +115,12 @@ public String getLayer() { public void setLayer(String layer) { this.layer = layer; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainOriginRequestNumRequest.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainOriginRequestNumRequest.java index 918e7ed3..3ac888eb 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainOriginRequestNumRequest.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainOriginRequestNumRequest.java @@ -51,6 +51,10 @@ public class GetUcdnDomainOriginRequestNumRequest extends Request { @UCloudParam("Areacode") private String areacode; + /** 是否全站加速 默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -98,4 +102,12 @@ public String getAreacode() { public void setAreacode(String areacode) { this.areacode = areacode; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainRequestNumV3Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainRequestNumV3Request.java index 79042e5d..0fc747ae 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainRequestNumV3Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnDomainRequestNumV3Request.java @@ -51,10 +51,14 @@ public class GetUcdnDomainRequestNumV3Request extends Request { @UCloudParam("Areacode") private String areacode; - /** 协议,http、https 不传则查所有协议的带宽 */ + /** 协议,http、https、quic 不传则查所有协议的带宽 可同时查询多个协议用逗号隔开 */ @UCloudParam("Protocol") private String protocol; + /** 是否全站加速,默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -110,4 +114,12 @@ public String getProtocol() { public void setProtocol(String protocol) { this.protocol = protocol; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnPassBandwidthV2Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnPassBandwidthV2Request.java index a58b7341..321acfea 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnPassBandwidthV2Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnPassBandwidthV2Request.java @@ -52,6 +52,10 @@ public class GetUcdnPassBandwidthV2Request extends Request { @UCloudParam("EndTime") private Integer endTime; + /** 是否全站加速 默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -99,4 +103,12 @@ public Integer getEndTime() { public void setEndTime(Integer endTime) { this.endTime = endTime; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnTrafficV2Request.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnTrafficV2Request.java index 0d90d1ac..dca89b8a 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnTrafficV2Request.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/GetUcdnTrafficV2Request.java @@ -19,10 +19,17 @@ public class GetUcdnTrafficV2Request extends Request { - /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ @UCloudParam("ProjectId") private String projectId; + /** 是否dcdn域名 */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -30,4 +37,12 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainStatusRequest.java b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainStatusRequest.java index fc167c15..e63dfbe0 100644 --- a/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainStatusRequest.java +++ b/ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/UpdateUcdnDomainStatusRequest.java @@ -37,6 +37,10 @@ public class UpdateUcdnDomainStatusRequest extends Request { @UCloudParam("Status") private String status; + /** 是否全站加速,默认false */ + @UCloudParam("IsDcdn") + private Boolean isDcdn; + public String getProjectId() { return projectId; } @@ -60,4 +64,12 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } + + public Boolean getIsDcdn() { + return isDcdn; + } + + public void setIsDcdn(Boolean isDcdn) { + this.isDcdn = isDcdn; + } } diff --git a/ucloud-sdk-java-udb/pom.xml b/ucloud-sdk-java-udb/pom.xml index dd21a7f2..2be67b14 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-udb - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupRequest.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupRequest.java index d462069f..4c70ac43 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupRequest.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupRequest.java @@ -20,16 +20,19 @@ public class DescribeUDBBackupRequest extends Request { - /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; - /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @UCloudParam("Zone") private String zone; - /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ @UCloudParam("ProjectId") private String projectId; @@ -59,6 +62,10 @@ public class DescribeUDBBackupRequest extends Request { @UCloudParam("EndTime") private Integer endTime; + /** 如果未指定GroupId,则可选是否选取特定DB类型的配置(sql, nosql, postgresql, sqlserver) */ + @UCloudParam("ClassType") + private String classType; + public String getRegion() { return region; } @@ -130,4 +137,12 @@ public Integer getEndTime() { public void setEndTime(Integer endTime) { this.endTime = endTime; } + + public String getClassType() { + return classType; + } + + public void setClassType(String classType) { + this.classType = classType; + } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupResponse.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupResponse.java index 84ee3275..d3f6005a 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupResponse.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBBackupResponse.java @@ -47,6 +47,10 @@ public void setTotalCount(Integer totalCount) { public static class UDBBackupSet extends Response { + /** 备份所在可用区 */ + @SerializedName("Zone") + private String zone; + /** 备份id */ @SerializedName("BackupId") private Integer backupId; @@ -71,6 +75,10 @@ public static class UDBBackupSet extends Response { @SerializedName("State") private String state; + /** 备份错误信息 */ + @SerializedName("ErrorInfo") + private String errorInfo; + /** dbid */ @SerializedName("DBId") private String dbId; @@ -79,10 +87,6 @@ public static class UDBBackupSet extends Response { @SerializedName("DBName") private String dbName; - /** 备份所在可用区 */ - @SerializedName("Zone") - private String zone; - /** 跨机房高可用备库所在可用区 */ @SerializedName("BackupZone") private String backupZone; @@ -91,6 +95,18 @@ public static class UDBBackupSet extends Response { @SerializedName("BackupEndTime") private Integer backupEndTime; + /** 备份文件的MD5值,备份完成后显示,备份中或备份失败时为空,目前只支持Mysql NVMe机型与Mongo */ + @SerializedName("MD5") + private String md5; + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + public Integer getBackupId() { return backupId; } @@ -139,6 +155,14 @@ public void setState(String state) { this.state = state; } + public String getErrorInfo() { + return errorInfo; + } + + public void setErrorInfo(String errorInfo) { + this.errorInfo = errorInfo; + } + public String getDBId() { return dbId; } @@ -155,14 +179,6 @@ public void setDBName(String dbName) { this.dbName = dbName; } - public String getZone() { - return zone; - } - - public void setZone(String zone) { - this.zone = zone; - } - public String getBackupZone() { return backupZone; } @@ -178,5 +194,13 @@ public Integer getBackupEndTime() { public void setBackupEndTime(Integer backupEndTime) { this.backupEndTime = backupEndTime; } + + public String getMD5() { + return md5; + } + + public void setMD5(String md5) { + this.md5 = md5; + } } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLRequest.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLRequest.java index 24fe120c..340d3273 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLRequest.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLRequest.java @@ -20,16 +20,19 @@ public class DescribeUDBInstanceBackupURLRequest extends Request { - /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; - /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @UCloudParam("Zone") private String zone; - /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ @UCloudParam("ProjectId") private String projectId; @@ -43,6 +46,10 @@ public class DescribeUDBInstanceBackupURLRequest extends Request { @UCloudParam("BackupId") private Integer backupId; + /** DB响应中URL的过期时间,该值最小默认4小时,最大7天。不填默认为四小时。(单位/秒) */ + @UCloudParam("ValidTime") + private Integer validTime; + public String getRegion() { return region; } @@ -82,4 +89,12 @@ public Integer getBackupId() { public void setBackupId(Integer backupId) { this.backupId = backupId; } + + public Integer getValidTime() { + return validTime; + } + + public void setValidTime(Integer validTime) { + this.validTime = validTime; + } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLResponse.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLResponse.java index 5b7ceb64..7480dd82 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLResponse.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceBackupURLResponse.java @@ -28,6 +28,10 @@ public class DescribeUDBInstanceBackupURLResponse extends Response { @SerializedName("InnerBackupPath") private String innerBackupPath; + /** 备份文件的md5值 */ + @SerializedName("MD5") + private String md5; + public String getBackupPath() { return backupPath; } @@ -43,4 +47,12 @@ public String getInnerBackupPath() { public void setInnerBackupPath(String innerBackupPath) { this.innerBackupPath = innerBackupPath; } + + public String getMD5() { + return md5; + } + + public void setMD5(String md5) { + this.md5 = md5; + } } diff --git a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java index 93ebfb44..a2d6d7a6 100644 --- a/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java +++ b/ucloud-sdk-java-udb/src/main/java/cn/ucloud/udb/models/DescribeUDBInstanceResponse.java @@ -101,7 +101,7 @@ public static class UDBInstanceSet extends Response { @SerializedName("InstanceType") private String instanceType; - /** UDB数据库机型ID */ + /** UDB数据库机型ID (已弃用) */ @SerializedName("InstanceTypeId") private Integer instanceTypeId; @@ -550,6 +550,10 @@ public static class UDBSlaveInstanceSet extends Response { @SerializedName("Zone") private String zone; + /** 延时从库时长 */ + @SerializedName("ReplicationDelaySeconds") + private Integer replicationDelaySeconds; + /** DB实例id */ @SerializedName("DBId") private String dbId; @@ -715,6 +719,14 @@ public void setZone(String zone) { this.zone = zone; } + public Integer getReplicationDelaySeconds() { + return replicationDelaySeconds; + } + + public void setReplicationDelaySeconds(Integer replicationDelaySeconds) { + this.replicationDelaySeconds = replicationDelaySeconds; + } + public String getDBId() { return dbId; } diff --git a/ucloud-sdk-java-udbproxy/pom.xml b/ucloud-sdk-java-udbproxy/pom.xml index 0fa5f27e..e2a61885 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-udbproxy - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-udbproxy/src/main/java/cn/ucloud/udbproxy/models/ListUDBProxyClientResponse.java b/ucloud-sdk-java-udbproxy/src/main/java/cn/ucloud/udbproxy/models/ListUDBProxyClientResponse.java index a991b75a..7bd182c2 100644 --- a/ucloud-sdk-java-udbproxy/src/main/java/cn/ucloud/udbproxy/models/ListUDBProxyClientResponse.java +++ b/ucloud-sdk-java-udbproxy/src/main/java/cn/ucloud/udbproxy/models/ListUDBProxyClientResponse.java @@ -45,38 +45,11 @@ public void setNodeClientInfos(List nodeClientInfos) { this.nodeClientInfos = nodeClientInfos; } - public static class ClientInfo extends Response { - - /** 客户端连接IP */ - @SerializedName("IP") - private String ip; - - /** 客户端连接IP数 */ - @SerializedName("Count") - private Integer count; - - public String getIP() { - return ip; - } - - public void setIP(String ip) { - this.ip = ip; - } - - public Integer getCount() { - return count; - } - - public void setCount(Integer count) { - this.count = count; - } - } - public static class NodeClientInfo extends Response { /** 客户端IP连接信息 */ @SerializedName("Records") - private List records; + private List records; /** 代理节点ID */ @SerializedName("ID") @@ -86,11 +59,11 @@ public static class NodeClientInfo extends Response { @SerializedName("IP") private String ip; - public List getRecords() { + public List getRecords() { return records; } - public void setRecords(List records) { + public void setRecords(List records) { this.records = records; } @@ -110,4 +83,139 @@ public void setIP(String ip) { this.ip = ip; } } + + public static class ProxyProcesslist extends Response { + + /** 当前连接DB进程ID */ + @SerializedName("ID") + private Integer id; + + /** 启动这个线程的用户 */ + @SerializedName("User") + private String user; + + /** 代理连接DB地址 */ + @SerializedName("Host") + private String host; + + /** 当前执行的命令是在哪一个数据库上。如果没有指定数据库,则该值为 NULL */ + @SerializedName("DB") + private String db; + + /** 显示当前连接的执行的命令 */ + @SerializedName("Command") + private String command; + + /** 表示该线程处于当前状态的时间 */ + @SerializedName("Time") + private Integer time; + + /** 线程的状态,和 Command 对应 */ + @SerializedName("State") + private String state; + + /** 一般记录的是线程执行的语句 */ + @SerializedName("Info") + private String info; + + /** 代理连接DB地址 */ + @SerializedName("ClientHost") + private String clientHost; + + /** 数据库资源ID */ + @SerializedName("DBID") + private String dbid; + + /** 数据库角色(主库/从库) */ + @SerializedName("Role") + private String role; + + public Integer getID() { + return id; + } + + public void setID(Integer id) { + this.id = id; + } + + public String getUser() { + return user; + } + + public void setUser(String user) { + this.user = user; + } + + public String getHost() { + return host; + } + + public void setHost(String host) { + this.host = host; + } + + public String getDB() { + return db; + } + + public void setDB(String db) { + this.db = db; + } + + public String getCommand() { + return command; + } + + public void setCommand(String command) { + this.command = command; + } + + public Integer getTime() { + return time; + } + + public void setTime(Integer time) { + this.time = time; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getInfo() { + return info; + } + + public void setInfo(String info) { + this.info = info; + } + + public String getClientHost() { + return clientHost; + } + + public void setClientHost(String clientHost) { + this.clientHost = clientHost; + } + + public String getDBID() { + return dbid; + } + + public void setDBID(String dbid) { + this.dbid = dbid; + } + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + } } diff --git a/ucloud-sdk-java-udisk/pom.xml b/ucloud-sdk-java-udisk/pom.xml index 56be085a..b0bf58a7 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-udisk - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-udisk/src/main/java/cn/ucloud/udisk/models/DescribeUDiskSnapshotResponse.java b/ucloud-sdk-java-udisk/src/main/java/cn/ucloud/udisk/models/DescribeUDiskSnapshotResponse.java index 64271837..b16d3538 100644 --- a/ucloud-sdk-java-udisk/src/main/java/cn/ucloud/udisk/models/DescribeUDiskSnapshotResponse.java +++ b/ucloud-sdk-java-udisk/src/main/java/cn/ucloud/udisk/models/DescribeUDiskSnapshotResponse.java @@ -103,23 +103,23 @@ public static class UDiskSnapshotSet extends Response { @SerializedName("UHostId") private String uHostId; - /** 是否是加密盘快照,是:"Yes", 否:"No" */ + /** 【已废弃】是否是加密盘快照,是:"Yes", 否:"No" */ @SerializedName("UKmsMode") private String uKmsMode; - /** 该快照的cmk id */ + /** 【已废弃】该快照的cmk id */ @SerializedName("CmkId") private String cmkId; - /** 该快照的密文密钥 */ + /** 【已废弃】该快照的密文密钥 */ @SerializedName("DataKey") private String dataKey; - /** 该快照cmk的状态, Enabled(正常),Disabled(失效),Deleted(删除),NoCmkId(非加密盘) */ + /** 【已废弃】该快照cmk的状态, Enabled(正常),Disabled(失效),Deleted(删除),NoCmkId(非加密盘) */ @SerializedName("CmkIdStatus") private String cmkIdStatus; - /** cmk id 别名 */ + /** 【已废弃】cmk id 别名 */ @SerializedName("CmkIdAlias") private String cmkIdAlias; diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml index 84aab1b3..a5da33c5 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-udpn - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uec/pom.xml b/ucloud-sdk-java-uec/pom.xml index 76121778..8c505614 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uec - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ufile/pom.xml b/ucloud-sdk-java-ufile/pom.xml index ee27992d..5e829070 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ufile - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java b/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java index 5137200a..1284af36 100644 --- a/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java +++ b/ucloud-sdk-java-ufile/src/main/java/cn/ucloud/ufile/models/GetUFileDailyReportResponse.java @@ -35,39 +35,39 @@ public void setDataSet(List dataSet) { public static class UFileDailyReportItem extends Response { - /** 标准存储量;单位byte */ + /** 标准存储量;单位GB */ @SerializedName("Storage") private Double storage; - /** 低频存储量;单位byte */ + /** 低频存储量;单位GB */ @SerializedName("IaStorage") private Double iaStorage; - /** 冷存(归档)存储量;单位byte */ + /** 冷存(归档)存储量;单位GB */ @SerializedName("AcStorage") private Double acStorage; - /** 低频数据取回量;单位byte */ + /** 低频数据取回量;单位GB */ @SerializedName("IaGetSize") private Double iaGetSize; - /** 冷存激活量,即归档数据取回量;单位byte */ + /** 冷存激活量,即归档数据取回量;单位GB */ @SerializedName("AcRestore") private Double acRestore; - /** 忙时流量;单位byte;海外无此字段 */ + /** 忙时流量;单位GB;海外无此字段 */ @SerializedName("BusyFlow") private Double busyFlow; - /** 闲时流量;单位byte;海外无此字段 */ + /** 闲时流量;单位GB;海外无此字段 */ @SerializedName("IdleFlow") private Double idleFlow; - /** cdn回源流量;单位byte */ + /** cdn回源流量;单位GB */ @SerializedName("CdnFlow") private Double cdnFlow; - /** 下载流量:单位byte;国内无此字段 */ + /** 下载流量:单位GB;国内无此字段 */ @SerializedName("Flow") private Double flow; @@ -197,19 +197,19 @@ public void setDaily(List daily) { public static class UFileTotalReportItem extends Response { - /** 下载流量:单位byte;国内无此字段 */ + /** 下载流量:单位GB;国内无此字段 */ @SerializedName("Flow") private Double flow; - /** 闲时流量;单位byte;海外无此字段 */ + /** 闲时流量;单位GB;海外无此字段 */ @SerializedName("IdleFlow") private Double idleFlow; - /** 忙时流量;单位byte;海外无此字段 */ + /** 忙时流量;单位GB;海外无此字段 */ @SerializedName("BusyFlow") private Double busyFlow; - /** cdn回源流量;单位byte */ + /** cdn回源流量;单位GB */ @SerializedName("CdnFlow") private Double cdnFlow; diff --git a/ucloud-sdk-java-ufs/pom.xml b/ucloud-sdk-java-ufs/pom.xml index de359a41..4748dc89 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ufs - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uhost/pom.xml b/ucloud-sdk-java-uhost/pom.xml index e397ad48..56d053ce 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uhost - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uk8s/pom.xml b/ucloud-sdk-java-uk8s/pom.xml index 28903844..b6e87b20 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uk8s - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml index 17f88a99..22795236 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-ulb - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/UpdateULBAttributeRequest.java b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/UpdateULBAttributeRequest.java index 86818f81..4c1c9fdc 100644 --- a/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/UpdateULBAttributeRequest.java +++ b/ucloud-sdk-java-ulb/src/main/java/cn/ucloud/ulb/models/UpdateULBAttributeRequest.java @@ -20,12 +20,15 @@ public class UpdateULBAttributeRequest extends Request { - /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; - /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ @NotEmpty @UCloudParam("ProjectId") private String projectId; @@ -35,18 +38,38 @@ public class UpdateULBAttributeRequest extends Request { @UCloudParam("ULBId") private String ulbId; - /** 名字 */ + /** 名字,不传则默认不修改 */ @UCloudParam("Name") private String name; - /** 业务 */ + /** 业务,不传则默认不修改 */ @UCloudParam("Tag") private String tag; - /** 备注 */ + /** 备注,不传则默认不修改 */ @UCloudParam("Remark") private String remark; + /** 日志开关,1代表开启日志,0代表关闭日志,传1时必须同时传BucketName,TokenName与TokenId二选一 */ + @UCloudParam("EnableLog") + private Integer enableLog; + + /** 设置用于存储ulb日志的bucket */ + @UCloudParam("BucketName") + private String bucketName; + + /** 用于指定上传到bucket所需的token,与TokenId选填其一即可 */ + @UCloudParam("TokenName") + private String tokenName; + + /** 用于指定上传到bucket所需的token,与TokenName选填其一即可 */ + @UCloudParam("TokenId") + private String tokenId; + + /** 是否开启WAF。枚举类型:Yes,No,默认值为No */ + @UCloudParam("IsWAFOn") + private String isWAFOn; + public String getRegion() { return region; } @@ -94,4 +117,44 @@ public String getRemark() { public void setRemark(String remark) { this.remark = remark; } + + public Integer getEnableLog() { + return enableLog; + } + + public void setEnableLog(Integer enableLog) { + this.enableLog = enableLog; + } + + public String getBucketName() { + return bucketName; + } + + public void setBucketName(String bucketName) { + this.bucketName = bucketName; + } + + public String getTokenName() { + return tokenName; + } + + public void setTokenName(String tokenName) { + this.tokenName = tokenName; + } + + public String getTokenId() { + return tokenId; + } + + public void setTokenId(String tokenId) { + this.tokenId = tokenId; + } + + public String getIsWAFOn() { + return isWAFOn; + } + + public void setIsWAFOn(String isWAFOn) { + this.isWAFOn = isWAFOn; + } } diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml index 4a23042d..6ba23b91 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-umem - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-umem/src/main/java/cn/ucloud/umem/models/CreateURedisGroupRequest.java b/ucloud-sdk-java-umem/src/main/java/cn/ucloud/umem/models/CreateURedisGroupRequest.java index 8fc54190..4153a400 100644 --- a/ucloud-sdk-java-umem/src/main/java/cn/ucloud/umem/models/CreateURedisGroupRequest.java +++ b/ucloud-sdk-java-umem/src/main/java/cn/ucloud/umem/models/CreateURedisGroupRequest.java @@ -20,17 +20,20 @@ public class CreateURedisGroupRequest extends Request { - /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Region") private String region; - /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ @NotEmpty @UCloudParam("Zone") private String zone; - /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ @UCloudParam("ProjectId") private String projectId; @@ -57,14 +60,13 @@ public class CreateURedisGroupRequest extends Request { private Integer backupTime; /** - * 配置ID,目前支持 - * 3.0版本配置ID:"03f58ca9-b64d-4bdd-abc7-c6b9a46fd801",3.2版本配置ID:"3e45ac48-f8a2-a9q2-261d-l342dab130gf", - * 4.0版本配置ID:"6c9298a3-9d7f-428c-b1d0-e87ab3b8a1ea",默认版本3.0,从备份创建为必传项 + * 配置ID,目前支持 4.0版本配置ID:"6c9298a3-9d7f-428c-b1d0-e87ab3b8a1ea", + * 5.0版本配置ID:"3cdeeb90-dcbf-46e8-95cd-a05d8860a22c",6.0版本配置ID:"1d990520-aac8-4e0f-9384-f58611e8eb28",7.0版本配置ID:"48dcf534-db41-11ec-a1a6-52670028d520",默认版本4.0,从备份创建为必传项 */ @UCloudParam("ConfigId") private String configId; - /** Redis版本信息(详见DescribeURedisVersion返回结果),默认版本3.0 */ + /** Redis版本信息(详见DescribeURedisVersion返回结果),默认版本4.0 */ @UCloudParam("Version") private String version; @@ -108,6 +110,10 @@ public class CreateURedisGroupRequest extends Request { @UCloudParam("VPCId") private String vpcId; + /** 是否创建高性能Redis, 默认为false, 或者不填, 创建高性能为true */ + @UCloudParam("HighPerformance") + private Boolean highPerformance; + /** 代金券ID */ @UCloudParam("CouponId") private String couponId; @@ -272,6 +278,14 @@ public void setVPCId(String vpcId) { this.vpcId = vpcId; } + public Boolean getHighPerformance() { + return highPerformance; + } + + public void setHighPerformance(Boolean highPerformance) { + this.highPerformance = highPerformance; + } + public String getCouponId() { return couponId; } diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml index f0f30bf7..d2dd21c5 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-umongodb - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml index 9b16707f..6abb2fbc 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-unet - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml index cfad2948..8b89bc03 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-upgsql - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClient.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClient.java index 83295c0c..912cf648 100644 --- a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClient.java +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClient.java @@ -17,6 +17,8 @@ import cn.ucloud.common.config.Config; import cn.ucloud.common.credential.Credential; import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.upgsql.models.BackupUPgSQLLogRequest; +import cn.ucloud.upgsql.models.BackupUPgSQLLogResponse; import cn.ucloud.upgsql.models.CreateUPgSQLInstanceRequest; import cn.ucloud.upgsql.models.CreateUPgSQLInstanceResponse; import cn.ucloud.upgsql.models.CreateUPgSQLParamTemplateRequest; @@ -33,6 +35,8 @@ import cn.ucloud.upgsql.models.GetUPgSQLBackupStrategyResponse; import cn.ucloud.upgsql.models.GetUPgSQLBackupURLRequest; import cn.ucloud.upgsql.models.GetUPgSQLBackupURLResponse; +import cn.ucloud.upgsql.models.GetUPgSQLInstanceLogRequest; +import cn.ucloud.upgsql.models.GetUPgSQLInstanceLogResponse; import cn.ucloud.upgsql.models.GetUPgSQLInstancePriceRequest; import cn.ucloud.upgsql.models.GetUPgSQLInstancePriceResponse; import cn.ucloud.upgsql.models.GetUPgSQLInstanceRequest; @@ -45,6 +49,8 @@ import cn.ucloud.upgsql.models.ListUPgSQLBackupResponse; import cn.ucloud.upgsql.models.ListUPgSQLInstanceRequest; import cn.ucloud.upgsql.models.ListUPgSQLInstanceResponse; +import cn.ucloud.upgsql.models.ListUPgSQLLogRequest; +import cn.ucloud.upgsql.models.ListUPgSQLLogResponse; import cn.ucloud.upgsql.models.ListUPgSQLMachineTypeRequest; import cn.ucloud.upgsql.models.ListUPgSQLMachineTypeResponse; import cn.ucloud.upgsql.models.ListUPgSQLVersionRequest; @@ -74,6 +80,18 @@ public UPgSQLClient(Config config, Credential credential) { super(config, credential); } + /** + * BackupUPgSQLLog - 备份日志包 + * + * @param request Request object + * @throws UCloudException Exception + */ + public BackupUPgSQLLogResponse backupUPgSQLLog(BackupUPgSQLLogRequest request) + throws UCloudException { + request.setAction("BackupUPgSQLLog"); + return (BackupUPgSQLLogResponse) this.invoke(request, BackupUPgSQLLogResponse.class); + } + /** * CreateUPgSQLInstance - 创建PG云数据库 * @@ -189,6 +207,19 @@ public GetUPgSQLInstanceResponse getUPgSQLInstance(GetUPgSQLInstanceRequest requ return (GetUPgSQLInstanceResponse) this.invoke(request, GetUPgSQLInstanceResponse.class); } + /** + * GetUPgSQLInstanceLog - 查询日志 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUPgSQLInstanceLogResponse getUPgSQLInstanceLog(GetUPgSQLInstanceLogRequest request) + throws UCloudException { + request.setAction("GetUPgSQLInstanceLog"); + return (GetUPgSQLInstanceLogResponse) + this.invoke(request, GetUPgSQLInstanceLogResponse.class); + } + /** * GetUPgSQLInstancePrice - 获取创建PG云数据库价格 * @@ -252,6 +283,18 @@ public ListUPgSQLInstanceResponse listUPgSQLInstance(ListUPgSQLInstanceRequest r return (ListUPgSQLInstanceResponse) this.invoke(request, ListUPgSQLInstanceResponse.class); } + /** + * ListUPgSQLLog - 获取数据库日志 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUPgSQLLogResponse listUPgSQLLog(ListUPgSQLLogRequest request) + throws UCloudException { + request.setAction("ListUPgSQLLog"); + return (ListUPgSQLLogResponse) this.invoke(request, ListUPgSQLLogResponse.class); + } + /** * ListUPgSQLMachineType - 获取UPgSQL支持机器类型列表 * diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClientInterface.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClientInterface.java index ebf2b2df..6d6b2800 100644 --- a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClientInterface.java +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/client/UPgSQLClientInterface.java @@ -15,6 +15,8 @@ import cn.ucloud.common.client.Client; import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.upgsql.models.BackupUPgSQLLogRequest; +import cn.ucloud.upgsql.models.BackupUPgSQLLogResponse; import cn.ucloud.upgsql.models.CreateUPgSQLInstanceRequest; import cn.ucloud.upgsql.models.CreateUPgSQLInstanceResponse; import cn.ucloud.upgsql.models.CreateUPgSQLParamTemplateRequest; @@ -31,6 +33,8 @@ import cn.ucloud.upgsql.models.GetUPgSQLBackupStrategyResponse; import cn.ucloud.upgsql.models.GetUPgSQLBackupURLRequest; import cn.ucloud.upgsql.models.GetUPgSQLBackupURLResponse; +import cn.ucloud.upgsql.models.GetUPgSQLInstanceLogRequest; +import cn.ucloud.upgsql.models.GetUPgSQLInstanceLogResponse; import cn.ucloud.upgsql.models.GetUPgSQLInstancePriceRequest; import cn.ucloud.upgsql.models.GetUPgSQLInstancePriceResponse; import cn.ucloud.upgsql.models.GetUPgSQLInstanceRequest; @@ -43,6 +47,8 @@ import cn.ucloud.upgsql.models.ListUPgSQLBackupResponse; import cn.ucloud.upgsql.models.ListUPgSQLInstanceRequest; import cn.ucloud.upgsql.models.ListUPgSQLInstanceResponse; +import cn.ucloud.upgsql.models.ListUPgSQLLogRequest; +import cn.ucloud.upgsql.models.ListUPgSQLLogResponse; import cn.ucloud.upgsql.models.ListUPgSQLMachineTypeRequest; import cn.ucloud.upgsql.models.ListUPgSQLMachineTypeResponse; import cn.ucloud.upgsql.models.ListUPgSQLVersionRequest; @@ -69,6 +75,15 @@ /** This client is used to call actions of **UPgSQL** service */ public interface UPgSQLClientInterface extends Client { + /** + * BackupUPgSQLLog - 备份日志包 + * + * @param request Request object + * @throws UCloudException Exception + */ + public BackupUPgSQLLogResponse backupUPgSQLLog(BackupUPgSQLLogRequest request) + throws UCloudException; + /** * CreateUPgSQLInstance - 创建PG云数据库 * @@ -150,6 +165,15 @@ public GetUPgSQLBackupURLResponse getUPgSQLBackupURL(GetUPgSQLBackupURLRequest r public GetUPgSQLInstanceResponse getUPgSQLInstance(GetUPgSQLInstanceRequest request) throws UCloudException; + /** + * GetUPgSQLInstanceLog - 查询日志 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetUPgSQLInstanceLogResponse getUPgSQLInstanceLog(GetUPgSQLInstanceLogRequest request) + throws UCloudException; + /** * GetUPgSQLInstancePrice - 获取创建PG云数据库价格 * @@ -195,6 +219,14 @@ public ListUPgSQLBackupResponse listUPgSQLBackup(ListUPgSQLBackupRequest request public ListUPgSQLInstanceResponse listUPgSQLInstance(ListUPgSQLInstanceRequest request) throws UCloudException; + /** + * ListUPgSQLLog - 获取数据库日志 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListUPgSQLLogResponse listUPgSQLLog(ListUPgSQLLogRequest request) throws UCloudException; + /** * ListUPgSQLMachineType - 获取UPgSQL支持机器类型列表 * diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogRequest.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogRequest.java new file mode 100644 index 00000000..53186c52 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogRequest.java @@ -0,0 +1,138 @@ +/** + * 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.upgsql.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class BackupUPgSQLLogRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 备份导出文件名称 */ + @NotEmpty + @UCloudParam("BackupName") + private String backupName; + + /** 备份查询结果文件名称 */ + @NotEmpty + @UCloudParam("BackupFile") + private String backupFile; + + /** 资源ID */ + @NotEmpty + @UCloudParam("InstanceID") + private String instanceID; + + /** 日志类型:slow(慢日志),error(错误日志) */ + @UCloudParam("LogType") + private String logType; + + /** 日志开始时间 */ + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 日志结束时间 */ + @UCloudParam("EndTime") + private Integer endTime; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getBackupName() { + return backupName; + } + + public void setBackupName(String backupName) { + this.backupName = backupName; + } + + public String getBackupFile() { + return backupFile; + } + + public void setBackupFile(String backupFile) { + this.backupFile = backupFile; + } + + public String getInstanceID() { + return instanceID; + } + + public void setInstanceID(String instanceID) { + this.instanceID = instanceID; + } + + public String getLogType() { + return logType; + } + + public void setLogType(String logType) { + this.logType = logType; + } + + 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; + } +} diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogResponse.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogResponse.java new file mode 100644 index 00000000..af853359 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/BackupUPgSQLLogResponse.java @@ -0,0 +1,20 @@ +/** + * 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.upgsql.models; + + + +import cn.ucloud.common.response.Response; + +public class BackupUPgSQLLogResponse extends Response {} diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogRequest.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogRequest.java new file mode 100644 index 00000000..a8241984 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogRequest.java @@ -0,0 +1,141 @@ +/** + * 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.upgsql.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetUPgSQLInstanceLogRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 可用区 */ + @NotEmpty + @UCloudParam("ZoneID") + private Integer zoneID; + + /** 实例ClusterID */ + @NotEmpty + @UCloudParam("DBId") + private String dbId; + + /** 日志类型 */ + @NotEmpty + @UCloudParam("LogType") + private String logType; + + /** */ + @NotEmpty + @UCloudParam("CompanyID") + private Integer companyID; + + /** */ + @NotEmpty + @UCloudParam("AccountID") + private Integer accountID; + + /** 起始时间,需使用时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 结束时间,需使用时间戳,结束时间需大于起始时间 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public Integer getZoneID() { + return zoneID; + } + + public void setZoneID(Integer zoneID) { + this.zoneID = zoneID; + } + + public String getDBId() { + return dbId; + } + + public void setDBId(String dbId) { + this.dbId = dbId; + } + + public String getLogType() { + return logType; + } + + public void setLogType(String logType) { + this.logType = logType; + } + + public Integer getCompanyID() { + return companyID; + } + + public void setCompanyID(Integer companyID) { + this.companyID = companyID; + } + + public Integer getAccountID() { + return accountID; + } + + public void setAccountID(Integer accountID) { + this.accountID = accountID; + } + + 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; + } +} diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogResponse.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogResponse.java new file mode 100644 index 00000000..27427f79 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/GetUPgSQLInstanceLogResponse.java @@ -0,0 +1,34 @@ +/** + * 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.upgsql.models; + + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +public class GetUPgSQLInstanceLogResponse extends Response { + + /** 返回的日志信息 */ + @SerializedName("Log") + private String log; + + public String getLog() { + return log; + } + + public void setLog(String log) { + this.log = log; + } +} diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogRequest.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogRequest.java new file mode 100644 index 00000000..07a3cf71 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogRequest.java @@ -0,0 +1,102 @@ +/** + * 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.upgsql.models; + + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class ListUPgSQLLogRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 查询的日志开始的时间戳 */ + @NotEmpty + @UCloudParam("BeginTime") + private Integer beginTime; + + /** 查询日志的结束时间戳 */ + @NotEmpty + @UCloudParam("EndTime") + private Integer endTime; + + /** 资源ID */ + @NotEmpty + @UCloudParam("InstanceID") + private String instanceID; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + 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; + } + + public String getInstanceID() { + return instanceID; + } + + public void setInstanceID(String instanceID) { + this.instanceID = instanceID; + } +} diff --git a/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogResponse.java b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogResponse.java new file mode 100644 index 00000000..0e58db50 --- /dev/null +++ b/ucloud-sdk-java-upgsql/src/main/java/cn/ucloud/upgsql/models/ListUPgSQLLogResponse.java @@ -0,0 +1,86 @@ +/** + * 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.upgsql.models; + +import cn.ucloud.common.response.Response; + +import com.google.gson.annotations.SerializedName; + +import java.util.List; + +public class ListUPgSQLLogResponse extends Response { + + /** 数据库日志信息列表 */ + @SerializedName("DataSet") + private List dataSet; + + public List getDataSet() { + return dataSet; + } + + public void setDataSet(List dataSet) { + this.dataSet = dataSet; + } + + public static class LogSet extends Response { + + /** */ + @SerializedName("BeginTime") + private Integer beginTime; + + /** */ + @SerializedName("EndTime") + private Integer endTime; + + /** */ + @SerializedName("Name") + private String name; + + /** */ + @SerializedName("Size") + private Integer size; + + 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; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getSize() { + return size; + } + + public void setSize(Integer size) { + this.size = size; + } + } +} diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml index 46428861..705a1fbf 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uphone - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml index db78f3e1..76c32961 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uphost - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java index f6d08ec2..2879ab1e 100644 --- a/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java +++ b/ucloud-sdk-java-uphost/src/main/java/cn/ucloud/uphost/models/DescribePHostResponse.java @@ -387,6 +387,14 @@ public static class PHostSet extends Response { @SerializedName("PhostClass") private String phostClass; + /** 裸金属机型字段。枚举值:Normal=>正常、ImageMaking=>镜像制作中。 */ + @SerializedName("BootDiskState") + private String bootDiskState; + + /** RDMA集群id,仅云盘裸金属返回该值;其他类型物理云主机返回""。当物理机的此值与RSSD云盘的RdmaClusterId相同时,RSSD可以挂载到这台物理机。 */ + @SerializedName("RdmaClusterId") + private String rdmaClusterId; + public String getZone() { return zone; } @@ -586,5 +594,21 @@ public String getPhostClass() { public void setPhostClass(String phostClass) { this.phostClass = phostClass; } + + public String getBootDiskState() { + return bootDiskState; + } + + public void setBootDiskState(String bootDiskState) { + this.bootDiskState = bootDiskState; + } + + public String getRdmaClusterId() { + return rdmaClusterId; + } + + public void setRdmaClusterId(String rdmaClusterId) { + this.rdmaClusterId = rdmaClusterId; + } } } diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml index 533f24b8..2f0b262a 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uslk - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml index 61ad351c..e41794f4 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-usms - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml index 676e8f7a..3f2e8e64 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-uvms - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml index a9bae951..91640984 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.3-release + 1.2.4-release 4.0.0 ucloud-sdk-java-vpc - 1.2.3-release + 1.2.4-release cn.ucloud ucloud-sdk-java-common - 1.2.3-release + 1.2.4-release