tencentcloud-sdk-cdb 3.0.895 → 3.0.897

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2652c7b886316c62d3cbff455ad702d655ab5193
4
- data.tar.gz: 74f9f2c31ad51efbc3bbb22d387e77eb633898ce
3
+ metadata.gz: 6fb67578b23f25129bc07266596a469981da9fa5
4
+ data.tar.gz: 444cfe16a3f0023cebd54de3834830ea250c68f5
5
5
  SHA512:
6
- metadata.gz: f7a20955cf9969aa94aa701a15fec155f319fda36e36ee173f49b1e18320c88136662f684e30791381ed018b7f6d156e18b9f0480c4c9d0c216c6c108dc2e09b
7
- data.tar.gz: a0f3616bf85d78dcaf230e6cab795bb94eac36502645fa024aa809d52539b0ca14e6e925b5f4aaa3e72c2452e6cb401f686878bd94556cf7f701ba1dd9165301
6
+ metadata.gz: e7758dc1f8c59496c4229ed41461495027c36c9fd2cff9f8e488c35bff4da07c668b01594eb3f860536ff14171186e11b6e1260bb6bd7a5b8ca8e4c5cb172935
7
+ data.tar.gz: 2f43c9c4c2f14d3ce1052954b825676ecc0ad6d12c2a9a203d4d7d9190da5a6bed56885bbcc5e8b61ee9bb11491b73cd98c4622de6faf70c6fdead87b1c5baf1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.895
1
+ 3.0.897
@@ -2115,6 +2115,30 @@ module TencentCloud
2115
2115
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2116
2116
  end
2117
2117
 
2118
+ # 该接口(DescribeInstanceUpgradeCheckJob)查询实例版本升级校验任务。
2119
+
2120
+ # @param request: Request instance for DescribeInstanceUpgradeCheckJob.
2121
+ # @type request: :class:`Tencentcloud::cdb::V20170320::DescribeInstanceUpgradeCheckJobRequest`
2122
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeInstanceUpgradeCheckJobResponse`
2123
+ def DescribeInstanceUpgradeCheckJob(request)
2124
+ body = send_request('DescribeInstanceUpgradeCheckJob', request.serialize)
2125
+ response = JSON.parse(body)
2126
+ if response['Response'].key?('Error') == false
2127
+ model = DescribeInstanceUpgradeCheckJobResponse.new
2128
+ model.deserialize(response['Response'])
2129
+ model
2130
+ else
2131
+ code = response['Response']['Error']['Code']
2132
+ message = response['Response']['Error']['Message']
2133
+ reqid = response['Response']['RequestId']
2134
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2135
+ end
2136
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2137
+ raise e
2138
+ rescue StandardError => e
2139
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2140
+ end
2141
+
2118
2142
  # 本接口(DescribeInstanceUpgradeType)用于查询数据库实例升级类型。
2119
2143
 
2120
2144
  # @param request: Request instance for DescribeInstanceUpgradeType.
@@ -3917,6 +3941,30 @@ module TencentCloud
3917
3941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3918
3942
  end
3919
3943
 
3944
+ # 该接口(SubmitInstanceUpgradeCheckJob)提交实例版本升级校验任务。
3945
+
3946
+ # @param request: Request instance for SubmitInstanceUpgradeCheckJob.
3947
+ # @type request: :class:`Tencentcloud::cdb::V20170320::SubmitInstanceUpgradeCheckJobRequest`
3948
+ # @rtype: :class:`Tencentcloud::cdb::V20170320::SubmitInstanceUpgradeCheckJobResponse`
3949
+ def SubmitInstanceUpgradeCheckJob(request)
3950
+ body = send_request('SubmitInstanceUpgradeCheckJob', request.serialize)
3951
+ response = JSON.parse(body)
3952
+ if response['Response'].key?('Error') == false
3953
+ model = SubmitInstanceUpgradeCheckJobResponse.new
3954
+ model.deserialize(response['Response'])
3955
+ model
3956
+ else
3957
+ code = response['Response']['Error']['Code']
3958
+ message = response['Response']['Error']['Message']
3959
+ reqid = response['Response']['RequestId']
3960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3961
+ end
3962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3963
+ raise e
3964
+ rescue StandardError => e
3965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3966
+ end
3967
+
3920
3968
  # 数据库代理配置变更或则升级版本后手动发起立即切换
3921
3969
 
3922
3970
  # @param request: Request instance for SwitchCDBProxy.
@@ -7007,6 +7007,50 @@ module TencentCloud
7007
7007
  end
7008
7008
  end
7009
7009
 
7010
+ # DescribeInstanceUpgradeCheckJob请求参数结构体
7011
+ class DescribeInstanceUpgradeCheckJobRequest < TencentCloud::Common::AbstractModel
7012
+ # @param InstanceId: 实例ID
7013
+ # @type InstanceId: String
7014
+ # @param DstMysqlVersion: 目标数据库版本
7015
+ # @type DstMysqlVersion: String
7016
+
7017
+ attr_accessor :InstanceId, :DstMysqlVersion
7018
+
7019
+ def initialize(instanceid=nil, dstmysqlversion=nil)
7020
+ @InstanceId = instanceid
7021
+ @DstMysqlVersion = dstmysqlversion
7022
+ end
7023
+
7024
+ def deserialize(params)
7025
+ @InstanceId = params['InstanceId']
7026
+ @DstMysqlVersion = params['DstMysqlVersion']
7027
+ end
7028
+ end
7029
+
7030
+ # DescribeInstanceUpgradeCheckJob返回参数结构体
7031
+ class DescribeInstanceUpgradeCheckJobResponse < TencentCloud::Common::AbstractModel
7032
+ # @param ExistUpgradeCheckJob: 24小时内是否存在历史升级校验任务
7033
+ # @type ExistUpgradeCheckJob: Boolean
7034
+ # @param JobId: 任务id
7035
+ # @type JobId: Integer
7036
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7037
+ # @type RequestId: String
7038
+
7039
+ attr_accessor :ExistUpgradeCheckJob, :JobId, :RequestId
7040
+
7041
+ def initialize(existupgradecheckjob=nil, jobid=nil, requestid=nil)
7042
+ @ExistUpgradeCheckJob = existupgradecheckjob
7043
+ @JobId = jobid
7044
+ @RequestId = requestid
7045
+ end
7046
+
7047
+ def deserialize(params)
7048
+ @ExistUpgradeCheckJob = params['ExistUpgradeCheckJob']
7049
+ @JobId = params['JobId']
7050
+ @RequestId = params['RequestId']
7051
+ end
7052
+ end
7053
+
7010
7054
  # DescribeInstanceUpgradeType请求参数结构体
7011
7055
  class DescribeInstanceUpgradeTypeRequest < TencentCloud::Common::AbstractModel
7012
7056
  # @param InstanceId: 实例id
@@ -13341,6 +13385,46 @@ module TencentCloud
13341
13385
  end
13342
13386
  end
13343
13387
 
13388
+ # SubmitInstanceUpgradeCheckJob请求参数结构体
13389
+ class SubmitInstanceUpgradeCheckJobRequest < TencentCloud::Common::AbstractModel
13390
+ # @param InstanceId: 实例D
13391
+ # @type InstanceId: String
13392
+ # @param DstMysqlVersion: 目标数据库版本
13393
+ # @type DstMysqlVersion: String
13394
+
13395
+ attr_accessor :InstanceId, :DstMysqlVersion
13396
+
13397
+ def initialize(instanceid=nil, dstmysqlversion=nil)
13398
+ @InstanceId = instanceid
13399
+ @DstMysqlVersion = dstmysqlversion
13400
+ end
13401
+
13402
+ def deserialize(params)
13403
+ @InstanceId = params['InstanceId']
13404
+ @DstMysqlVersion = params['DstMysqlVersion']
13405
+ end
13406
+ end
13407
+
13408
+ # SubmitInstanceUpgradeCheckJob返回参数结构体
13409
+ class SubmitInstanceUpgradeCheckJobResponse < TencentCloud::Common::AbstractModel
13410
+ # @param JobId: 任务ID
13411
+ # @type JobId: Integer
13412
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13413
+ # @type RequestId: String
13414
+
13415
+ attr_accessor :JobId, :RequestId
13416
+
13417
+ def initialize(jobid=nil, requestid=nil)
13418
+ @JobId = jobid
13419
+ @RequestId = requestid
13420
+ end
13421
+
13422
+ def deserialize(params)
13423
+ @JobId = params['JobId']
13424
+ @RequestId = params['RequestId']
13425
+ end
13426
+ end
13427
+
13344
13428
  # SwitchCDBProxy请求参数结构体
13345
13429
  class SwitchCDBProxyRequest < TencentCloud::Common::AbstractModel
13346
13430
  # @param InstanceId: 实例ID
@@ -13801,17 +13885,20 @@ module TencentCloud
13801
13885
  # @type UpgradeSubversion: Integer
13802
13886
  # @param MaxDelayTime: 延迟阈值。取值范围1~10
13803
13887
  # @type MaxDelayTime: Integer
13888
+ # @param IgnoreErrKeyword: 5.7升级8.0是否忽略关键字错误,取值范围[0,1],1表示忽略,0表示不忽略
13889
+ # @type IgnoreErrKeyword: Integer
13804
13890
  # @param ParamList: 版本升级支持指定参数
13805
13891
  # @type ParamList: Array
13806
13892
 
13807
- attr_accessor :InstanceId, :EngineVersion, :WaitSwitch, :UpgradeSubversion, :MaxDelayTime, :ParamList
13893
+ attr_accessor :InstanceId, :EngineVersion, :WaitSwitch, :UpgradeSubversion, :MaxDelayTime, :IgnoreErrKeyword, :ParamList
13808
13894
 
13809
- def initialize(instanceid=nil, engineversion=nil, waitswitch=nil, upgradesubversion=nil, maxdelaytime=nil, paramlist=nil)
13895
+ def initialize(instanceid=nil, engineversion=nil, waitswitch=nil, upgradesubversion=nil, maxdelaytime=nil, ignoreerrkeyword=nil, paramlist=nil)
13810
13896
  @InstanceId = instanceid
13811
13897
  @EngineVersion = engineversion
13812
13898
  @WaitSwitch = waitswitch
13813
13899
  @UpgradeSubversion = upgradesubversion
13814
13900
  @MaxDelayTime = maxdelaytime
13901
+ @IgnoreErrKeyword = ignoreerrkeyword
13815
13902
  @ParamList = paramlist
13816
13903
  end
13817
13904
 
@@ -13821,6 +13908,7 @@ module TencentCloud
13821
13908
  @WaitSwitch = params['WaitSwitch']
13822
13909
  @UpgradeSubversion = params['UpgradeSubversion']
13823
13910
  @MaxDelayTime = params['MaxDelayTime']
13911
+ @IgnoreErrKeyword = params['IgnoreErrKeyword']
13824
13912
  unless params['ParamList'].nil?
13825
13913
  @ParamList = []
13826
13914
  params['ParamList'].each do |i|
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.895
4
+ version: 3.0.897
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common