tencentcloud-sdk-dts 3.0.682 → 3.0.683

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 626dd4d572260b3a1a2c4fcdc296ae23f56c185b
4
- data.tar.gz: 1e9a2d5a59a038ca6df479e7c97253b8f42103ee
3
+ metadata.gz: c100ac3114b99c083ca1f5ee998847e235d78b14
4
+ data.tar.gz: 59b6182cd48b10470675e70341876b8893dc6f65
5
5
  SHA512:
6
- metadata.gz: 8f59e191c357efef28327193127e165a7b950280ddb381c7a9daace0ca73b4209b9b120aefe2bb538a8c557502c58f62fdc1cb3262947d92401fe9d91641748f
7
- data.tar.gz: b7f1e9217f4af805c723382094d4b53507d73375fb58b6ff9f9633ebd1802314fc07ca999e247594e4585e1a237bbba9ad57da94415721f482f81c3aa2cb61fe
6
+ metadata.gz: e63101df6f634bfc197ae6b5facdcf5f318b8376400e74be0439638683bec1de9659eec89a2ac31c9910182ac5d8b86e00fed307fee4280525c4f933bb9a2df0
7
+ data.tar.gz: c3d49025dde356ee27813a5766e30a570f9f171445111da151e8cc369c97cb314827b4a31ea85f4657a6d03d18a9e1ac7987b9126a920350dcb2281b84a8d897
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.682
1
+ 3.0.683
@@ -731,6 +731,30 @@ module TencentCloud
731
731
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
732
732
  end
733
733
 
734
+ # 修改任务运行时属性,此接口不同于配置类接口,不会进行状态机判断。
735
+
736
+ # @param request: Request instance for ModifyMigrateRuntimeAttribute.
737
+ # @type request: :class:`Tencentcloud::dts::V20211206::ModifyMigrateRuntimeAttributeRequest`
738
+ # @rtype: :class:`Tencentcloud::dts::V20211206::ModifyMigrateRuntimeAttributeResponse`
739
+ def ModifyMigrateRuntimeAttribute(request)
740
+ body = send_request('ModifyMigrateRuntimeAttribute', request.serialize)
741
+ response = JSON.parse(body)
742
+ if response['Response'].key?('Error') == false
743
+ model = ModifyMigrateRuntimeAttributeResponse.new
744
+ model.deserialize(response['Response'])
745
+ model
746
+ else
747
+ code = response['Response']['Error']['Code']
748
+ message = response['Response']['Error']['Message']
749
+ reqid = response['Response']['RequestId']
750
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
751
+ end
752
+ rescue TencentCloud::Common::TencentCloudSDKException => e
753
+ raise e
754
+ rescue StandardError => e
755
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
756
+ end
757
+
734
758
  # 配置迁移服务,配置成功后可通过`CreateMigrationCheckJob` 创建迁移校验任务接口发起校验任务,只有校验通过才能启动迁移任务。
735
759
 
736
760
  # @param request: Request instance for ModifyMigrationJob.
@@ -1124,7 +1124,7 @@ module TencentCloud
1124
1124
  # @param DatabaseType: 实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
1125
1125
  # 注意:此字段可能返回 null,表示取不到有效值。
1126
1126
  # @type DatabaseType: String
1127
- # @param NodeType: 节点类型,为空或者"simple":表示普通节点,"cluster": 集群节点
1127
+ # @param NodeType: 节点类型,为空或者"simple"表示普通节点、"cluster"表示集群节点;对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群)
1128
1128
  # 注意:此字段可能返回 null,表示取不到有效值。
1129
1129
  # @type NodeType: String
1130
1130
  # @param Info: 数据库信息
@@ -3537,6 +3537,49 @@ module TencentCloud
3537
3537
  end
3538
3538
  end
3539
3539
 
3540
+ # ModifyMigrateRuntimeAttribute请求参数结构体
3541
+ class ModifyMigrateRuntimeAttributeRequest < TencentCloud::Common::AbstractModel
3542
+ # @param JobId: 迁移任务id,如:dts-2rgv0f09
3543
+ # @type JobId: String
3544
+ # @param OtherOptions: 需要修改的属性,此结构设计为通用结构,用于屏蔽多个业务的定制属性。<br>例如对于Redis:<br>{<br> "Key": "DstWriteMode", //目标库写入模式<br> "Value": "normal" //clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作,默认为此值) <br>},<br>{<br/> "Key": "IsDstReadOnly", //是否在迁移时设置目标库只读<br/> "Value": "true" //true(设置只读)、false(不设置只读) <br/>}
3545
+ # @type OtherOptions: Array
3546
+
3547
+ attr_accessor :JobId, :OtherOptions
3548
+
3549
+ def initialize(jobid=nil, otheroptions=nil)
3550
+ @JobId = jobid
3551
+ @OtherOptions = otheroptions
3552
+ end
3553
+
3554
+ def deserialize(params)
3555
+ @JobId = params['JobId']
3556
+ unless params['OtherOptions'].nil?
3557
+ @OtherOptions = []
3558
+ params['OtherOptions'].each do |i|
3559
+ keyvaluepairoption_tmp = KeyValuePairOption.new
3560
+ keyvaluepairoption_tmp.deserialize(i)
3561
+ @OtherOptions << keyvaluepairoption_tmp
3562
+ end
3563
+ end
3564
+ end
3565
+ end
3566
+
3567
+ # ModifyMigrateRuntimeAttribute返回参数结构体
3568
+ class ModifyMigrateRuntimeAttributeResponse < TencentCloud::Common::AbstractModel
3569
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3570
+ # @type RequestId: String
3571
+
3572
+ attr_accessor :RequestId
3573
+
3574
+ def initialize(requestid=nil)
3575
+ @RequestId = requestid
3576
+ end
3577
+
3578
+ def deserialize(params)
3579
+ @RequestId = params['RequestId']
3580
+ end
3581
+ end
3582
+
3540
3583
  # ModifyMigrationJob请求参数结构体
3541
3584
  class ModifyMigrationJobRequest < TencentCloud::Common::AbstractModel
3542
3585
  # @param JobId: 任务id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dts
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.682
4
+ version: 3.0.683
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-23 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,10 +34,10 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-dts.rb
37
- - lib/v20180330/client.rb
38
37
  - lib/v20180330/models.rb
39
- - lib/v20211206/client.rb
38
+ - lib/v20180330/client.rb
40
39
  - lib/v20211206/models.rb
40
+ - lib/v20211206/client.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: