tencentcloud-sdk-cdb 3.0.868 → 3.0.870
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170320/client.rb +1 -1
- data/lib/v20170320/models.rb +37 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0da1454eaaaba6eec3c1255820f9ac982195e28
|
4
|
+
data.tar.gz: fa960de363018a213fff3fdfef81ae1edc07fded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb0f82f39f7b3519cb4c795a432762226429f87a53b04bb5b79668d84a45a6607255e00f411a6020511f1ef238946aab74f167aa377139d50a4ea34723931475
|
7
|
+
data.tar.gz: 9d35b654e998e6e326908dd0b987fac5b8fa0616f22294b2dfae8f2a6576a4cb533db383e692f1fc1a63e7f55b461e253b78d1afde526b7273812ddaf029bdc8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.870
|
data/lib/v20170320/client.rb
CHANGED
@@ -4061,7 +4061,7 @@ module TencentCloud
|
|
4061
4061
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4062
4062
|
end
|
4063
4063
|
|
4064
|
-
# 本接口(UpgradeDBInstanceEngineVersion)
|
4064
|
+
# 本接口(UpgradeDBInstanceEngineVersion)用于升级云数据库实例版本,实例类型支持主实例、灾备实例和只读实例等。
|
4065
4065
|
|
4066
4066
|
# @param request: Request instance for UpgradeDBInstanceEngineVersion.
|
4067
4067
|
# @type request: :class:`Tencentcloud::cdb::V20170320::UpgradeDBInstanceEngineVersionRequest`
|
data/lib/v20170320/models.rb
CHANGED
@@ -3126,7 +3126,8 @@ module TencentCloud
|
|
3126
3126
|
# @type ParamTemplateType: String
|
3127
3127
|
# @param AlarmPolicyIdList: 告警策略名数组,例如:["policy-uyoee9wg"],AlarmPolicyList不为空时该参数无效。
|
3128
3128
|
# @type AlarmPolicyIdList: Array
|
3129
|
-
# @param DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回RequestId
|
3129
|
+
# @param DryRun: 是否只预检此次请求。true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制等。如果检查不通过,则返回对应错误码;如果检查通过,则返回 RequestId。false:发送正常请求,通过检查后直接创建实例。
|
3130
|
+
# 默认为 false。
|
3130
3131
|
# @type DryRun: Boolean
|
3131
3132
|
# @param EngineType: 实例引擎类型,默认为"InnoDB",支持值包括:"InnoDB","RocksDB"。
|
3132
3133
|
# @type EngineType: String
|
@@ -13712,15 +13713,18 @@ module TencentCloud
|
|
13712
13713
|
# @type UpgradeSubversion: Integer
|
13713
13714
|
# @param MaxDelayTime: 延迟阈值。取值范围1~10
|
13714
13715
|
# @type MaxDelayTime: Integer
|
13716
|
+
# @param ParamList: 版本升级支持指定参数
|
13717
|
+
# @type ParamList: Array
|
13715
13718
|
|
13716
|
-
attr_accessor :InstanceId, :EngineVersion, :WaitSwitch, :UpgradeSubversion, :MaxDelayTime
|
13719
|
+
attr_accessor :InstanceId, :EngineVersion, :WaitSwitch, :UpgradeSubversion, :MaxDelayTime, :ParamList
|
13717
13720
|
|
13718
|
-
def initialize(instanceid=nil, engineversion=nil, waitswitch=nil, upgradesubversion=nil, maxdelaytime=nil)
|
13721
|
+
def initialize(instanceid=nil, engineversion=nil, waitswitch=nil, upgradesubversion=nil, maxdelaytime=nil, paramlist=nil)
|
13719
13722
|
@InstanceId = instanceid
|
13720
13723
|
@EngineVersion = engineversion
|
13721
13724
|
@WaitSwitch = waitswitch
|
13722
13725
|
@UpgradeSubversion = upgradesubversion
|
13723
13726
|
@MaxDelayTime = maxdelaytime
|
13727
|
+
@ParamList = paramlist
|
13724
13728
|
end
|
13725
13729
|
|
13726
13730
|
def deserialize(params)
|
@@ -13729,6 +13733,14 @@ module TencentCloud
|
|
13729
13733
|
@WaitSwitch = params['WaitSwitch']
|
13730
13734
|
@UpgradeSubversion = params['UpgradeSubversion']
|
13731
13735
|
@MaxDelayTime = params['MaxDelayTime']
|
13736
|
+
unless params['ParamList'].nil?
|
13737
|
+
@ParamList = []
|
13738
|
+
params['ParamList'].each do |i|
|
13739
|
+
upgradeengineversionparams_tmp = UpgradeEngineVersionParams.new
|
13740
|
+
upgradeengineversionparams_tmp.deserialize(i)
|
13741
|
+
@ParamList << upgradeengineversionparams_tmp
|
13742
|
+
end
|
13743
|
+
end
|
13732
13744
|
end
|
13733
13745
|
end
|
13734
13746
|
|
@@ -13859,6 +13871,28 @@ module TencentCloud
|
|
13859
13871
|
end
|
13860
13872
|
end
|
13861
13873
|
|
13874
|
+
# 5.7升级8.0指定参数的结构
|
13875
|
+
class UpgradeEngineVersionParams < TencentCloud::Common::AbstractModel
|
13876
|
+
# @param Name: 参数名称
|
13877
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13878
|
+
# @type Name: String
|
13879
|
+
# @param Value: 参数值
|
13880
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13881
|
+
# @type Value: String
|
13882
|
+
|
13883
|
+
attr_accessor :Name, :Value
|
13884
|
+
|
13885
|
+
def initialize(name=nil, value=nil)
|
13886
|
+
@Name = name
|
13887
|
+
@Value = value
|
13888
|
+
end
|
13889
|
+
|
13890
|
+
def deserialize(params)
|
13891
|
+
@Name = params['Name']
|
13892
|
+
@Value = params['Value']
|
13893
|
+
end
|
13894
|
+
end
|
13895
|
+
|
13862
13896
|
# 文件上传描述
|
13863
13897
|
class UploadInfo < TencentCloud::Common::AbstractModel
|
13864
13898
|
# @param AllSliceNum: 文件所有分片数
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.870
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|