tencentcloud-sdk-trocket 3.0.1074 → 3.0.1085

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: 48a5755779cb105fdccd6c6f71b36ce5da1a2ee1
4
- data.tar.gz: 85ecc4ea2ae93b6ca018721711fe69815e01d20e
3
+ metadata.gz: 5c930126dc2a8832a6db94ca7a73a7bd3409c4f1
4
+ data.tar.gz: 83b1d66944e3bacace7c693832bcca37217908a7
5
5
  SHA512:
6
- metadata.gz: 4889c646dcd9b5335b3414d3679e2dbc9c7acb2aa2ed7d077ff5ccae3cb8e124197324dd7e6e1031fa1eea5030d841bd08595c74c781595c7b9eb21be992875e
7
- data.tar.gz: a340cd5073c0e379efbb2e8b6f8f74613e61093d37944803c9e4accd669550c19c7e46b006e9e556ff9d0769af8b420db13c901ab42ac3f1af8c95f36bfe3532
6
+ metadata.gz: 189004717e30a69b51be4f15a566b4326da6bf9a35ee91849a3946e203f124e5a9087bc0db7aa88cecd2ef207a3a0994722bed2411855efe37d685927fb573f5
7
+ data.tar.gz: 04dceca621633f8353906e3df349f98687de43b8705cd3b87a0533d090df56a19b756c451713bb2b463415b70e81bf12d0a2754634917f81dab08eb3419ee10c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1085
@@ -1087,6 +1087,34 @@ module TencentCloud
1087
1087
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1088
1088
  end
1089
1089
 
1090
+ # 获取数据迁移任务列表,Filter参数使用说明如下:
1091
+
1092
+ # TaskId,根据任务ID精确查找
1093
+ # InstanceId,根据实例ID精确查找
1094
+ # Type,根据任务类型精确查找
1095
+
1096
+ # @param request: Request instance for DescribeMigrationTaskList.
1097
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMigrationTaskListRequest`
1098
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMigrationTaskListResponse`
1099
+ def DescribeMigrationTaskList(request)
1100
+ body = send_request('DescribeMigrationTaskList', request.serialize)
1101
+ response = JSON.parse(body)
1102
+ if response['Response'].key?('Error') == false
1103
+ model = DescribeMigrationTaskListResponse.new
1104
+ model.deserialize(response['Response'])
1105
+ model
1106
+ else
1107
+ code = response['Response']['Error']['Code']
1108
+ message = response['Response']['Error']['Message']
1109
+ reqid = response['Response']['RequestId']
1110
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1111
+ end
1112
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1113
+ raise e
1114
+ rescue StandardError => e
1115
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1116
+ end
1117
+
1090
1118
  # 查询产品售卖规格,针对 RocketMQ 5.x 集群。
1091
1119
 
1092
1120
  # @param request: Request instance for DescribeProductSKUs.
@@ -2953,6 +2953,69 @@ module TencentCloud
2953
2953
  end
2954
2954
  end
2955
2955
 
2956
+ # DescribeMigrationTaskList请求参数结构体
2957
+ class DescribeMigrationTaskListRequest < TencentCloud::Common::AbstractModel
2958
+ # @param Filters: 查询条件列表
2959
+ # @type Filters: Array
2960
+ # @param Offset: 查询起始位置
2961
+ # @type Offset: Integer
2962
+ # @param Limit: 查询结果限制数量
2963
+ # @type Limit: Integer
2964
+
2965
+ attr_accessor :Filters, :Offset, :Limit
2966
+
2967
+ def initialize(filters=nil, offset=nil, limit=nil)
2968
+ @Filters = filters
2969
+ @Offset = offset
2970
+ @Limit = limit
2971
+ end
2972
+
2973
+ def deserialize(params)
2974
+ unless params['Filters'].nil?
2975
+ @Filters = []
2976
+ params['Filters'].each do |i|
2977
+ filter_tmp = Filter.new
2978
+ filter_tmp.deserialize(i)
2979
+ @Filters << filter_tmp
2980
+ end
2981
+ end
2982
+ @Offset = params['Offset']
2983
+ @Limit = params['Limit']
2984
+ end
2985
+ end
2986
+
2987
+ # DescribeMigrationTaskList返回参数结构体
2988
+ class DescribeMigrationTaskListResponse < TencentCloud::Common::AbstractModel
2989
+ # @param TotalCount: 查询总数
2990
+ # @type TotalCount: Integer
2991
+ # @param Tasks: 迁移任务列表
2992
+ # 注意:此字段可能返回 null,表示取不到有效值。
2993
+ # @type Tasks: Array
2994
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2995
+ # @type RequestId: String
2996
+
2997
+ attr_accessor :TotalCount, :Tasks, :RequestId
2998
+
2999
+ def initialize(totalcount=nil, tasks=nil, requestid=nil)
3000
+ @TotalCount = totalcount
3001
+ @Tasks = tasks
3002
+ @RequestId = requestid
3003
+ end
3004
+
3005
+ def deserialize(params)
3006
+ @TotalCount = params['TotalCount']
3007
+ unless params['Tasks'].nil?
3008
+ @Tasks = []
3009
+ params['Tasks'].each do |i|
3010
+ migrationtaskitem_tmp = MigrationTaskItem.new
3011
+ migrationtaskitem_tmp.deserialize(i)
3012
+ @Tasks << migrationtaskitem_tmp
3013
+ end
3014
+ end
3015
+ @RequestId = params['RequestId']
3016
+ end
3017
+ end
3018
+
2956
3019
  # DescribeProductSKUs请求参数结构体
2957
3020
  class DescribeProductSKUsRequest < TencentCloud::Common::AbstractModel
2958
3021
 
@@ -4406,7 +4469,12 @@ module TencentCloud
4406
4469
  class MigratingTopic < TencentCloud::Common::AbstractModel
4407
4470
  # @param TopicName: 主题名称
4408
4471
  # @type TopicName: String
4409
- # @param MigrationStatus: 迁移状态 S_RW_D_NA 源集群读写 S_RW_D_R 源集群读写目标集群读 S_RW_D_RW 源集群读写目标集群读写 S_R_D_RW 源集群读目标集群读写 S_NA_D_RW 目标集群读写
4472
+ # @param MigrationStatus: 迁移状态
4473
+ # S_RW_D_NA 源集群读写,
4474
+ # S_RW_D_R 源集群读写目标集群读,
4475
+ # S_RW_D_RW 源集群读写目标集群读写,
4476
+ # S_R_D_RW 源集群读目标集群读写,
4477
+ # S_NA_D_RW 目标集群读写
4410
4478
  # @type MigrationStatus: String
4411
4479
  # @param HealthCheckPassed: 是否完成健康检查
4412
4480
  # @type HealthCheckPassed: Boolean
@@ -4453,6 +4521,47 @@ module TencentCloud
4453
4521
  end
4454
4522
  end
4455
4523
 
4524
+ # 迁移任务信息
4525
+ class MigrationTaskItem < TencentCloud::Common::AbstractModel
4526
+ # @param TaskId: 任务ID
4527
+ # @type TaskId: String
4528
+ # @param InstanceId: 实例ID
4529
+ # @type InstanceId: String
4530
+ # @param Type: 0 - 未指定(存量)
4531
+ # 1 - 元数据导入
4532
+ # @type Type: Integer
4533
+ # @param TopicNum: 主题总数
4534
+ # @type TopicNum: Integer
4535
+ # @param GroupNum: 消费组总数
4536
+ # @type GroupNum: Integer
4537
+ # @param Status: 任务状态: 0,迁移中 1,迁移成功 2,迁移完成,只有部分数据完成迁移
4538
+ # @type Status: Integer
4539
+ # @param CreateTime: 创建时间
4540
+ # @type CreateTime: Integer
4541
+
4542
+ attr_accessor :TaskId, :InstanceId, :Type, :TopicNum, :GroupNum, :Status, :CreateTime
4543
+
4544
+ def initialize(taskid=nil, instanceid=nil, type=nil, topicnum=nil, groupnum=nil, status=nil, createtime=nil)
4545
+ @TaskId = taskid
4546
+ @InstanceId = instanceid
4547
+ @Type = type
4548
+ @TopicNum = topicnum
4549
+ @GroupNum = groupnum
4550
+ @Status = status
4551
+ @CreateTime = createtime
4552
+ end
4553
+
4554
+ def deserialize(params)
4555
+ @TaskId = params['TaskId']
4556
+ @InstanceId = params['InstanceId']
4557
+ @Type = params['Type']
4558
+ @TopicNum = params['TopicNum']
4559
+ @GroupNum = params['GroupNum']
4560
+ @Status = params['Status']
4561
+ @CreateTime = params['CreateTime']
4562
+ end
4563
+ end
4564
+
4456
4565
  # ModifyConsumerGroup请求参数结构体
4457
4566
  class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
4458
4567
  # @param InstanceId: 集群ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1074
4
+ version: 3.0.1085
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common