tencentcloud-sdk-trocket 3.0.1085 → 3.0.1086

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: 5c930126dc2a8832a6db94ca7a73a7bd3409c4f1
4
- data.tar.gz: 83b1d66944e3bacace7c693832bcca37217908a7
3
+ metadata.gz: c340355f9aa485cbefdcb798fff48b458c026496
4
+ data.tar.gz: ec3ece722893e4b2da9c1c8c2dcc9f125ab0f5ae
5
5
  SHA512:
6
- metadata.gz: 189004717e30a69b51be4f15a566b4326da6bf9a35ee91849a3946e203f124e5a9087bc0db7aa88cecd2ef207a3a0994722bed2411855efe37d685927fb573f5
7
- data.tar.gz: 04dceca621633f8353906e3df349f98687de43b8705cd3b87a0533d090df56a19b756c451713bb2b463415b70e81bf12d0a2754634917f81dab08eb3419ee10c
6
+ metadata.gz: 1a295cebf142d6fbc0f51d1d2accf0fc617ab1990a9d16404c043970fc5ac0b533f9f8020ae8cf4f43242ac6142d52f5eedc2ebbb3c65bc6a7af1e7fb359b00c
7
+ data.tar.gz: 623d285a96d30db317df17ce2291f348d77a06c1197e54da7472e7e42e49732d9eee62aa3e5272ea1b651cb896889b4f78b1da90ef09b1d4f7b2a3c65c5bc0e3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1085
1
+ 3.0.1086
@@ -1166,6 +1166,36 @@ module TencentCloud
1166
1166
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1167
1167
  end
1168
1168
 
1169
+ # 用于查询平滑迁移任务列表
1170
+
1171
+ # 查询参数Filters, 支持的字段如下:
1172
+ # TaskStatus, 支持多选
1173
+ # ConnectionType,支持多选
1174
+ # InstanceId,精确搜索
1175
+ # TaskName,支持模糊搜索
1176
+
1177
+ # @param request: Request instance for DescribeSmoothMigrationTaskList.
1178
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeSmoothMigrationTaskListRequest`
1179
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeSmoothMigrationTaskListResponse`
1180
+ def DescribeSmoothMigrationTaskList(request)
1181
+ body = send_request('DescribeSmoothMigrationTaskList', request.serialize)
1182
+ response = JSON.parse(body)
1183
+ if response['Response'].key?('Error') == false
1184
+ model = DescribeSmoothMigrationTaskListResponse.new
1185
+ model.deserialize(response['Response'])
1186
+ model
1187
+ else
1188
+ code = response['Response']['Error']['Code']
1189
+ message = response['Response']['Error']['Message']
1190
+ reqid = response['Response']['RequestId']
1191
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1192
+ end
1193
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1194
+ raise e
1195
+ rescue StandardError => e
1196
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1197
+ end
1198
+
1169
1199
  # 平滑迁移过程获取源集群group列表接口
1170
1200
 
1171
1201
  # 查询过滤器,支持字段
@@ -3121,6 +3121,70 @@ module TencentCloud
3121
3121
  end
3122
3122
  end
3123
3123
 
3124
+ # DescribeSmoothMigrationTaskList请求参数结构体
3125
+ class DescribeSmoothMigrationTaskListRequest < TencentCloud::Common::AbstractModel
3126
+ # @param Offset: 查询起始位置
3127
+ # @type Offset: Integer
3128
+ # @param Limit: 查询结果限制数量
3129
+ # @type Limit: Integer
3130
+ # @param Filters: 查询条件列表
3131
+ # @type Filters: Array
3132
+
3133
+ attr_accessor :Offset, :Limit, :Filters
3134
+
3135
+ def initialize(offset=nil, limit=nil, filters=nil)
3136
+ @Offset = offset
3137
+ @Limit = limit
3138
+ @Filters = filters
3139
+ end
3140
+
3141
+ def deserialize(params)
3142
+ @Offset = params['Offset']
3143
+ @Limit = params['Limit']
3144
+ unless params['Filters'].nil?
3145
+ @Filters = []
3146
+ params['Filters'].each do |i|
3147
+ filter_tmp = Filter.new
3148
+ filter_tmp.deserialize(i)
3149
+ @Filters << filter_tmp
3150
+ end
3151
+ end
3152
+ end
3153
+ end
3154
+
3155
+ # DescribeSmoothMigrationTaskList返回参数结构体
3156
+ class DescribeSmoothMigrationTaskListResponse < TencentCloud::Common::AbstractModel
3157
+ # @param TotalCount: 查询总数
3158
+ # 注意:此字段可能返回 null,表示取不到有效值。
3159
+ # @type TotalCount: Integer
3160
+ # @param Data: 任务列表
3161
+ # 注意:此字段可能返回 null,表示取不到有效值。
3162
+ # @type Data: Array
3163
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3164
+ # @type RequestId: String
3165
+
3166
+ attr_accessor :TotalCount, :Data, :RequestId
3167
+
3168
+ def initialize(totalcount=nil, data=nil, requestid=nil)
3169
+ @TotalCount = totalcount
3170
+ @Data = data
3171
+ @RequestId = requestid
3172
+ end
3173
+
3174
+ def deserialize(params)
3175
+ @TotalCount = params['TotalCount']
3176
+ unless params['Data'].nil?
3177
+ @Data = []
3178
+ params['Data'].each do |i|
3179
+ smoothmigrationtaskitem_tmp = SmoothMigrationTaskItem.new
3180
+ smoothmigrationtaskitem_tmp.deserialize(i)
3181
+ @Data << smoothmigrationtaskitem_tmp
3182
+ end
3183
+ end
3184
+ @RequestId = params['RequestId']
3185
+ end
3186
+ end
3187
+
3124
3188
  # DescribeSourceClusterGroupList请求参数结构体
3125
3189
  class DescribeSourceClusterGroupListRequest < TencentCloud::Common::AbstractModel
3126
3190
  # @param TaskId: 任务ID
@@ -5453,6 +5517,63 @@ module TencentCloud
5453
5517
  end
5454
5518
  end
5455
5519
 
5520
+ # 平滑迁移任务
5521
+ class SmoothMigrationTaskItem < TencentCloud::Common::AbstractModel
5522
+ # @param TaskId: 任务ID
5523
+ # 注意:此字段可能返回 null,表示取不到有效值。
5524
+ # @type TaskId: String
5525
+ # @param TaskName: 任务名称
5526
+ # 注意:此字段可能返回 null,表示取不到有效值。
5527
+ # @type TaskName: String
5528
+ # @param SourceClusterName: 源集群名称
5529
+ # 注意:此字段可能返回 null,表示取不到有效值。
5530
+ # @type SourceClusterName: String
5531
+ # @param InstanceId: 目标集群实例ID
5532
+ # 注意:此字段可能返回 null,表示取不到有效值。
5533
+ # @type InstanceId: String
5534
+ # @param ConnectionType: 网络连接类型,
5535
+ # PUBLIC 公网
5536
+ # VPC 私有网络
5537
+ # OTHER 其他
5538
+ # 注意:此字段可能返回 null,表示取不到有效值。
5539
+ # @type ConnectionType: String
5540
+ # @param SourceNameServer: 源集群NameServer地址
5541
+ # 注意:此字段可能返回 null,表示取不到有效值。
5542
+ # @type SourceNameServer: String
5543
+ # @param TaskStatus: 任务状态 Configuration 迁移配置 SourceConnecting 连接源集群中 MetaDataImport 元数据导入 EndpointSetup 切换接入点 ServiceMigration 切流中 Completed 已完成 Cancelled 已取消
5544
+ # 注意:此字段可能返回 null,表示取不到有效值。
5545
+ # @type TaskStatus: String
5546
+ # @param InstanceVersion: 目标集群实例版本,
5547
+ # 4 表示4.x版本
5548
+ # 5 表示5.x版本
5549
+ # 注意:此字段可能返回 null,表示取不到有效值。
5550
+ # @type InstanceVersion: String
5551
+
5552
+ attr_accessor :TaskId, :TaskName, :SourceClusterName, :InstanceId, :ConnectionType, :SourceNameServer, :TaskStatus, :InstanceVersion
5553
+
5554
+ def initialize(taskid=nil, taskname=nil, sourceclustername=nil, instanceid=nil, connectiontype=nil, sourcenameserver=nil, taskstatus=nil, instanceversion=nil)
5555
+ @TaskId = taskid
5556
+ @TaskName = taskname
5557
+ @SourceClusterName = sourceclustername
5558
+ @InstanceId = instanceid
5559
+ @ConnectionType = connectiontype
5560
+ @SourceNameServer = sourcenameserver
5561
+ @TaskStatus = taskstatus
5562
+ @InstanceVersion = instanceversion
5563
+ end
5564
+
5565
+ def deserialize(params)
5566
+ @TaskId = params['TaskId']
5567
+ @TaskName = params['TaskName']
5568
+ @SourceClusterName = params['SourceClusterName']
5569
+ @InstanceId = params['InstanceId']
5570
+ @ConnectionType = params['ConnectionType']
5571
+ @SourceNameServer = params['SourceNameServer']
5572
+ @TaskStatus = params['TaskStatus']
5573
+ @InstanceVersion = params['InstanceVersion']
5574
+ end
5575
+ end
5576
+
5456
5577
  # 消费组配置信息
5457
5578
  class SourceClusterGroupConfig < TencentCloud::Common::AbstractModel
5458
5579
  # @param GroupName: 消费组名称
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.1085
4
+ version: 3.0.1086
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-19 00:00:00.000000000 Z
11
+ date: 2025-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common