tencentcloud-sdk-dbs 3.0.1182 → 3.0.1189

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: d5457829884ae782bc657c84fba8f9709a57774e
4
- data.tar.gz: 697cbb1a9b6406f2ff61ea25cba7a1b7e84a42b8
3
+ metadata.gz: 82ee85cc99119e44d982d34697ccbea10f71fda7
4
+ data.tar.gz: 47dfe5ca263378a690dbe958266d7ab1168fe35a
5
5
  SHA512:
6
- metadata.gz: 3c0d55d527be56765583a786cc52c3ef612e93a3b3302b2eda2b99b505f543f1de0a0a40da85412a5fbe63b6cd90be8d46c93e0f3c89541e1de27e644490bf58
7
- data.tar.gz: 34f998b3bd7e24fedf6390ba9332e8d5fb0ca307fd5cc344f8afd36fe7dfb48975ff1b68a11e4d37e3d4c679234fc02029471248420725adf0f680bb5f912204
6
+ metadata.gz: ffc0f465ef0ae3fa0f32414cc281a00f15015c82be336d17c74e56fcc809c695b5d54cfdf5f21cca694932d3ed0a453ad96eef1896e3f2f79176b2f2993432d3
7
+ data.tar.gz: 541d8d82cef5a4306c6edca742032f1350b7cea1a050690c033d5822846bcb5cdb1bec06b78ec211fd3cbe24e0f83c20665d49c54c6619c9a1dfb1f7c66bc555
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1182
1
+ 3.0.1189
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 该接口用于创建备份计划。
57
+
58
+ # @param request: Request instance for CreateBackupPlan.
59
+ # @type request: :class:`Tencentcloud::dbs::V20211108::CreateBackupPlanRequest`
60
+ # @rtype: :class:`Tencentcloud::dbs::V20211108::CreateBackupPlanResponse`
61
+ def CreateBackupPlan(request)
62
+ body = send_request('CreateBackupPlan', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateBackupPlanResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 该接口用于创建连通性检测任务,请在创建备份计划前,通过该接口来检测你的源端实例是否连通性正常。
57
81
 
58
82
  # @param request: Request instance for CreateConnectTestJob.
@@ -101,6 +125,54 @@ module TencentCloud
101
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
126
  end
103
127
 
128
+ # 本接口(DescribeBackupPlans)用于查询备份计划列表。
129
+
130
+ # @param request: Request instance for DescribeBackupPlans.
131
+ # @type request: :class:`Tencentcloud::dbs::V20211108::DescribeBackupPlansRequest`
132
+ # @rtype: :class:`Tencentcloud::dbs::V20211108::DescribeBackupPlansResponse`
133
+ def DescribeBackupPlans(request)
134
+ body = send_request('DescribeBackupPlans', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeBackupPlansResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 该接口用于查询连通性检测任务的结果
153
+
154
+ # @param request: Request instance for DescribeConnectTestResult.
155
+ # @type request: :class:`Tencentcloud::dbs::V20211108::DescribeConnectTestResultRequest`
156
+ # @rtype: :class:`Tencentcloud::dbs::V20211108::DescribeConnectTestResultResponse`
157
+ def DescribeConnectTestResult(request)
158
+ body = send_request('DescribeConnectTestResult', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeConnectTestResultResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
104
176
  # 本接口(StartBackupCheckJob)用于创建备份计划预校验任务。
105
177
 
106
178
  # @param request: Request instance for StartBackupCheckJob.
@@ -225,6 +225,119 @@ module TencentCloud
225
225
  end
226
226
  end
227
227
 
228
+ # 备份计划信息
229
+ class BackupPlanInfo < TencentCloud::Common::AbstractModel
230
+ # @param Region: 地域信息。
231
+ # @type Region: String
232
+ # @param BackupPlanId: 备份计划 ID。
233
+ # @type BackupPlanId: String
234
+ # @param BackupPlanName: 备份计划名称。
235
+ # @type BackupPlanName: String
236
+ # @param Status: 备份计划状态。可能的取值为:
237
+ # "notStarted" - 未启动;
238
+ # "checking" - 校验中;
239
+ # "checkPass" - 校验通过;
240
+ # "checkNotPass" - 校验未通过;
241
+ # "running" - 运行中;
242
+ # "fullBacking" - 全量备份中;
243
+ # "isolating" - 隔离中;
244
+ # "isolated" - 已隔离;
245
+ # "offlining" - 下线中;
246
+ # "offlined" - 已下线;
247
+ # "paused" - 已暂停。
248
+ # @type Status: String
249
+ # @param DatabaseType: 数据库类型。
250
+ # @type DatabaseType: String
251
+ # @param AccessType: 访问类型。可能的取值为:
252
+ # "extranet" - 外网;
253
+ # "cvm" - cvm 自建实例;
254
+ # "dcg" - 专线接入;
255
+ # "vpncloud" - 云vpn接入;
256
+ # "cdb" - 腾讯云数据库实例;
257
+ # "ccn" - 云联网。
258
+ # @type AccessType: String
259
+ # @param SourceInfo: 源实例信息。
260
+ # @type SourceInfo: Array
261
+ # @param CreateTime: 创建时间。
262
+ # @type CreateTime: String
263
+ # @param ExpireTime: 到期时间。
264
+ # @type ExpireTime: String
265
+ # @param OfflineTime: 下线时间。
266
+ # @type OfflineTime: String
267
+ # @param InstanceClass: 实例规格类型。可能的取值为:["micro", "small", "medium", "large", "xlarge"]。
268
+ # @type InstanceClass: String
269
+ # @param BackupMethod: 备份方式。可能的取值为:
270
+ # "logical" - 逻辑备份;
271
+ # "physical" - 物理备份。
272
+ # @type BackupMethod: String
273
+ # @param Tags: 标签信息。
274
+ # 注意:此字段可能返回 null,表示取不到有效值。
275
+ # @type Tags: Array
276
+ # @param AutoRenewFlag: 自动续费标记。可能的取值为:
277
+ # 0 - 未开启自动续费;
278
+ # 1 - 已开启自动续费;
279
+ # 2 - 已关闭自动续费。
280
+ # @type AutoRenewFlag: Integer
281
+ # @param EnableIncrement: 是否开启增量备份标记。
282
+ # @type EnableIncrement: Boolean
283
+ # @param PayType: 付费类型。可能的取值为:
284
+ # "prePay" - 预付费类型;
285
+ # "postPay" - 后付费类型。
286
+ # @type PayType: String
287
+ # @param SetSourceInfo: 源端信息
288
+ # 注意:此字段可能返回 null,表示取不到有效值。
289
+ # @type SetSourceInfo: Array
290
+
291
+ attr_accessor :Region, :BackupPlanId, :BackupPlanName, :Status, :DatabaseType, :AccessType, :SourceInfo, :CreateTime, :ExpireTime, :OfflineTime, :InstanceClass, :BackupMethod, :Tags, :AutoRenewFlag, :EnableIncrement, :PayType, :SetSourceInfo
292
+
293
+ def initialize(region=nil, backupplanid=nil, backupplanname=nil, status=nil, databasetype=nil, accesstype=nil, sourceinfo=nil, createtime=nil, expiretime=nil, offlinetime=nil, instanceclass=nil, backupmethod=nil, tags=nil, autorenewflag=nil, enableincrement=nil, paytype=nil, setsourceinfo=nil)
294
+ @Region = region
295
+ @BackupPlanId = backupplanid
296
+ @BackupPlanName = backupplanname
297
+ @Status = status
298
+ @DatabaseType = databasetype
299
+ @AccessType = accesstype
300
+ @SourceInfo = sourceinfo
301
+ @CreateTime = createtime
302
+ @ExpireTime = expiretime
303
+ @OfflineTime = offlinetime
304
+ @InstanceClass = instanceclass
305
+ @BackupMethod = backupmethod
306
+ @Tags = tags
307
+ @AutoRenewFlag = autorenewflag
308
+ @EnableIncrement = enableincrement
309
+ @PayType = paytype
310
+ @SetSourceInfo = setsourceinfo
311
+ end
312
+
313
+ def deserialize(params)
314
+ @Region = params['Region']
315
+ @BackupPlanId = params['BackupPlanId']
316
+ @BackupPlanName = params['BackupPlanName']
317
+ @Status = params['Status']
318
+ @DatabaseType = params['DatabaseType']
319
+ @AccessType = params['AccessType']
320
+ @SourceInfo = params['SourceInfo']
321
+ @CreateTime = params['CreateTime']
322
+ @ExpireTime = params['ExpireTime']
323
+ @OfflineTime = params['OfflineTime']
324
+ @InstanceClass = params['InstanceClass']
325
+ @BackupMethod = params['BackupMethod']
326
+ unless params['Tags'].nil?
327
+ @Tags = []
328
+ params['Tags'].each do |i|
329
+ tag_tmp = Tag.new
330
+ tag_tmp.deserialize(i)
331
+ @Tags << tag_tmp
332
+ end
333
+ end
334
+ @AutoRenewFlag = params['AutoRenewFlag']
335
+ @EnableIncrement = params['EnableIncrement']
336
+ @PayType = params['PayType']
337
+ @SetSourceInfo = params['SetSourceInfo']
338
+ end
339
+ end
340
+
228
341
  # 备份策略
229
342
  class BackupStrategy < TencentCloud::Common::AbstractModel
230
343
  # @param BackupStartTime: 全量备份开始时间。周期性的全量备份将在当天该时间开始。
@@ -308,6 +421,8 @@ module TencentCloud
308
421
  # @type BackupPlanId: String
309
422
  # @param BackupPlanName: 备份计划名称。支持数字、英文大小写字母、中文以及特殊字符_-./()()[]+=::@,且长度不能超过60。
310
423
  # @type BackupPlanName: String
424
+ # @param UpperParallel: 全量备份并发数上限。
425
+ # @type UpperParallel: Integer
311
426
  # @param SourceEndPoint: 备份源实例信息。
312
427
  # @type SourceEndPoint: :class:`Tencentcloud::Dbs.v20211108.models.BackupEndpoint`
313
428
  # @param BackupObject: 备份对象信息。
@@ -317,11 +432,12 @@ module TencentCloud
317
432
  # @param PlainText: 加密信息。当需要使用SSE-KMS需要传入该值,你可以通过 KMS 的 GenerateDataKey 接口生成。
318
433
  # @type PlainText: String
319
434
 
320
- attr_accessor :BackupPlanId, :BackupPlanName, :SourceEndPoint, :BackupObject, :BackupStrategy, :PlainText
435
+ attr_accessor :BackupPlanId, :BackupPlanName, :UpperParallel, :SourceEndPoint, :BackupObject, :BackupStrategy, :PlainText
321
436
 
322
- def initialize(backupplanid=nil, backupplanname=nil, sourceendpoint=nil, backupobject=nil, backupstrategy=nil, plaintext=nil)
437
+ def initialize(backupplanid=nil, backupplanname=nil, upperparallel=nil, sourceendpoint=nil, backupobject=nil, backupstrategy=nil, plaintext=nil)
323
438
  @BackupPlanId = backupplanid
324
439
  @BackupPlanName = backupplanname
440
+ @UpperParallel = upperparallel
325
441
  @SourceEndPoint = sourceendpoint
326
442
  @BackupObject = backupobject
327
443
  @BackupStrategy = backupstrategy
@@ -331,6 +447,7 @@ module TencentCloud
331
447
  def deserialize(params)
332
448
  @BackupPlanId = params['BackupPlanId']
333
449
  @BackupPlanName = params['BackupPlanName']
450
+ @UpperParallel = params['UpperParallel']
334
451
  unless params['SourceEndPoint'].nil?
335
452
  @SourceEndPoint = BackupEndpoint.new
336
453
  @SourceEndPoint.deserialize(params['SourceEndPoint'])
@@ -363,6 +480,125 @@ module TencentCloud
363
480
  end
364
481
  end
365
482
 
483
+ # 连通性检测结果
484
+ class ConnectTestResult < TencentCloud::Common::AbstractModel
485
+ # @param TaskId: <p>任务 ID</p>
486
+ # @type TaskId: Integer
487
+ # @param Status: <p>任务状态</p>
488
+ # @type Status: String
489
+ # @param IsPass: <p>是否通过。0 表示未通过,1 表示通过。</p>
490
+ # @type IsPass: Integer
491
+ # @param Addr: <p>源端地址</p>
492
+ # @type Addr: String
493
+ # @param SNatIp: <p>源地址转换IP</p>
494
+ # 注意:此字段可能返回 null,表示取不到有效值。
495
+ # @type SNatIp: String
496
+ # @param TestItems: <p>检测结果集</p>
497
+ # @type TestItems: Array
498
+
499
+ attr_accessor :TaskId, :Status, :IsPass, :Addr, :SNatIp, :TestItems
500
+
501
+ def initialize(taskid=nil, status=nil, ispass=nil, addr=nil, snatip=nil, testitems=nil)
502
+ @TaskId = taskid
503
+ @Status = status
504
+ @IsPass = ispass
505
+ @Addr = addr
506
+ @SNatIp = snatip
507
+ @TestItems = testitems
508
+ end
509
+
510
+ def deserialize(params)
511
+ @TaskId = params['TaskId']
512
+ @Status = params['Status']
513
+ @IsPass = params['IsPass']
514
+ @Addr = params['Addr']
515
+ @SNatIp = params['SNatIp']
516
+ unless params['TestItems'].nil?
517
+ @TestItems = []
518
+ params['TestItems'].each do |i|
519
+ testitem_tmp = TestItem.new
520
+ testitem_tmp.deserialize(i)
521
+ @TestItems << testitem_tmp
522
+ end
523
+ end
524
+ end
525
+ end
526
+
527
+ # CreateBackupPlan请求参数结构体
528
+ class CreateBackupPlanRequest < TencentCloud::Common::AbstractModel
529
+ # @param DatabaseType: 源端数据库类型。当前支持值为: ["mysql","cynosdbmysql","percona","mariadb","tdsqlmysql"]。
530
+ # @type DatabaseType: String
531
+ # @param BackupMethod: 备份方式。当前仅支持"logical",即逻辑备份。
532
+ # @type BackupMethod: String
533
+ # @param InstanceClass: 规格。当前支持值为: ["micro","small","medium","large","xlarge"]。默认为"small"。
534
+ # @type InstanceClass: String
535
+ # @param Period: 购买时长,单位为月,默认值为1。
536
+ # @type Period: Integer
537
+ # @param PayType: 计费模式。当前仅支持"prepay",即包年包月。
538
+ # @type PayType: String
539
+ # @param Count: 购买数量。取值范围为[1, 10],默认值为1。
540
+ # @type Count: Integer
541
+ # @param AutoRenew: 自动续费标识。1 - 开启自动续费;0 - 不开启自动续费。
542
+ # @type AutoRenew: Integer
543
+ # @param Tags: 标签值。
544
+ # @type Tags: Array
545
+
546
+ attr_accessor :DatabaseType, :BackupMethod, :InstanceClass, :Period, :PayType, :Count, :AutoRenew, :Tags
547
+
548
+ def initialize(databasetype=nil, backupmethod=nil, instanceclass=nil, period=nil, paytype=nil, count=nil, autorenew=nil, tags=nil)
549
+ @DatabaseType = databasetype
550
+ @BackupMethod = backupmethod
551
+ @InstanceClass = instanceclass
552
+ @Period = period
553
+ @PayType = paytype
554
+ @Count = count
555
+ @AutoRenew = autorenew
556
+ @Tags = tags
557
+ end
558
+
559
+ def deserialize(params)
560
+ @DatabaseType = params['DatabaseType']
561
+ @BackupMethod = params['BackupMethod']
562
+ @InstanceClass = params['InstanceClass']
563
+ @Period = params['Period']
564
+ @PayType = params['PayType']
565
+ @Count = params['Count']
566
+ @AutoRenew = params['AutoRenew']
567
+ unless params['Tags'].nil?
568
+ @Tags = []
569
+ params['Tags'].each do |i|
570
+ tag_tmp = Tag.new
571
+ tag_tmp.deserialize(i)
572
+ @Tags << tag_tmp
573
+ end
574
+ end
575
+ end
576
+ end
577
+
578
+ # CreateBackupPlan返回参数结构体
579
+ class CreateBackupPlanResponse < TencentCloud::Common::AbstractModel
580
+ # @param OrderId: 订单参数。
581
+ # @type OrderId: String
582
+ # @param BackupPlanIds: 资源ID。
583
+ # @type BackupPlanIds: Array
584
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
585
+ # @type RequestId: String
586
+
587
+ attr_accessor :OrderId, :BackupPlanIds, :RequestId
588
+
589
+ def initialize(orderid=nil, backupplanids=nil, requestid=nil)
590
+ @OrderId = orderid
591
+ @BackupPlanIds = backupplanids
592
+ @RequestId = requestid
593
+ end
594
+
595
+ def deserialize(params)
596
+ @OrderId = params['OrderId']
597
+ @BackupPlanIds = params['BackupPlanIds']
598
+ @RequestId = params['RequestId']
599
+ end
600
+ end
601
+
366
602
  # CreateConnectTestJob请求参数结构体
367
603
  class CreateConnectTestJobRequest < TencentCloud::Common::AbstractModel
368
604
  # @param Endpoint: 备份源实例信息。
@@ -450,6 +686,135 @@ module TencentCloud
450
686
  end
451
687
  end
452
688
 
689
+ # DescribeBackupPlans请求参数结构体
690
+ class DescribeBackupPlansRequest < TencentCloud::Common::AbstractModel
691
+ # @param BackupPlanId: 过滤条件,备份计划 ID。
692
+ # @type BackupPlanId: String
693
+ # @param Status: 过滤条件,备份计划状态。
694
+ # @type Status: Array
695
+ # @param DatabaseType: 过滤条件,数据库类型。
696
+ # @type DatabaseType: Array
697
+ # @param AccessType: 过滤条件,接入访问类型。
698
+ # @type AccessType: Array
699
+ # @param BackupPlanName: 过滤条件,备份计划名称。
700
+ # @type BackupPlanName: String
701
+ # @param TagFilters: 过滤条件,标签键值。
702
+ # @type TagFilters: Array
703
+ # @param Limit: 分页参数。取值范围为(0, 100],默认值为20。
704
+ # @type Limit: Integer
705
+ # @param Offset: 分页参数。默认值为0。
706
+ # @type Offset: Integer
707
+
708
+ attr_accessor :BackupPlanId, :Status, :DatabaseType, :AccessType, :BackupPlanName, :TagFilters, :Limit, :Offset
709
+
710
+ def initialize(backupplanid=nil, status=nil, databasetype=nil, accesstype=nil, backupplanname=nil, tagfilters=nil, limit=nil, offset=nil)
711
+ @BackupPlanId = backupplanid
712
+ @Status = status
713
+ @DatabaseType = databasetype
714
+ @AccessType = accesstype
715
+ @BackupPlanName = backupplanname
716
+ @TagFilters = tagfilters
717
+ @Limit = limit
718
+ @Offset = offset
719
+ end
720
+
721
+ def deserialize(params)
722
+ @BackupPlanId = params['BackupPlanId']
723
+ @Status = params['Status']
724
+ @DatabaseType = params['DatabaseType']
725
+ @AccessType = params['AccessType']
726
+ @BackupPlanName = params['BackupPlanName']
727
+ unless params['TagFilters'].nil?
728
+ @TagFilters = []
729
+ params['TagFilters'].each do |i|
730
+ tagfilter_tmp = TagFilter.new
731
+ tagfilter_tmp.deserialize(i)
732
+ @TagFilters << tagfilter_tmp
733
+ end
734
+ end
735
+ @Limit = params['Limit']
736
+ @Offset = params['Offset']
737
+ end
738
+ end
739
+
740
+ # DescribeBackupPlans返回参数结构体
741
+ class DescribeBackupPlansResponse < TencentCloud::Common::AbstractModel
742
+ # @param TotalCount: 备份计划数量。
743
+ # @type TotalCount: Integer
744
+ # @param Items: 备份计划详情。
745
+ # @type Items: Array
746
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
747
+ # @type RequestId: String
748
+
749
+ attr_accessor :TotalCount, :Items, :RequestId
750
+
751
+ def initialize(totalcount=nil, items=nil, requestid=nil)
752
+ @TotalCount = totalcount
753
+ @Items = items
754
+ @RequestId = requestid
755
+ end
756
+
757
+ def deserialize(params)
758
+ @TotalCount = params['TotalCount']
759
+ unless params['Items'].nil?
760
+ @Items = []
761
+ params['Items'].each do |i|
762
+ backupplaninfo_tmp = BackupPlanInfo.new
763
+ backupplaninfo_tmp.deserialize(i)
764
+ @Items << backupplaninfo_tmp
765
+ end
766
+ end
767
+ @RequestId = params['RequestId']
768
+ end
769
+ end
770
+
771
+ # DescribeConnectTestResult请求参数结构体
772
+ class DescribeConnectTestResultRequest < TencentCloud::Common::AbstractModel
773
+ # @param TaskIds: <p>连通性检测任务 ID。</p>
774
+ # @type TaskIds: Array
775
+
776
+ attr_accessor :TaskIds
777
+
778
+ def initialize(taskids=nil)
779
+ @TaskIds = taskids
780
+ end
781
+
782
+ def deserialize(params)
783
+ @TaskIds = params['TaskIds']
784
+ end
785
+ end
786
+
787
+ # DescribeConnectTestResult返回参数结构体
788
+ class DescribeConnectTestResultResponse < TencentCloud::Common::AbstractModel
789
+ # @param TotalCount: <p>任务总数。</p>
790
+ # @type TotalCount: Integer
791
+ # @param Items: <p>检测结果详情。</p>
792
+ # @type Items: Array
793
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
794
+ # @type RequestId: String
795
+
796
+ attr_accessor :TotalCount, :Items, :RequestId
797
+
798
+ def initialize(totalcount=nil, items=nil, requestid=nil)
799
+ @TotalCount = totalcount
800
+ @Items = items
801
+ @RequestId = requestid
802
+ end
803
+
804
+ def deserialize(params)
805
+ @TotalCount = params['TotalCount']
806
+ unless params['Items'].nil?
807
+ @Items = []
808
+ params['Items'].each do |i|
809
+ connecttestresult_tmp = ConnectTestResult.new
810
+ connecttestresult_tmp.deserialize(i)
811
+ @Items << connecttestresult_tmp
812
+ end
813
+ end
814
+ @RequestId = params['RequestId']
815
+ end
816
+ end
817
+
453
818
  # StartBackupCheckJob请求参数结构体
454
819
  class StartBackupCheckJobRequest < TencentCloud::Common::AbstractModel
455
820
  # @param BackupPlanId: 备份计划 ID。
@@ -541,6 +906,70 @@ module TencentCloud
541
906
  end
542
907
  end
543
908
 
909
+ # 标签信息
910
+ class Tag < TencentCloud::Common::AbstractModel
911
+ # @param TagKey: 标签键。
912
+ # @type TagKey: String
913
+ # @param TagValue: 标签值。
914
+ # @type TagValue: String
915
+
916
+ attr_accessor :TagKey, :TagValue
917
+
918
+ def initialize(tagkey=nil, tagvalue=nil)
919
+ @TagKey = tagkey
920
+ @TagValue = tagvalue
921
+ end
922
+
923
+ def deserialize(params)
924
+ @TagKey = params['TagKey']
925
+ @TagValue = params['TagValue']
926
+ end
927
+ end
928
+
929
+ # 标签过滤条件
930
+ class TagFilter < TencentCloud::Common::AbstractModel
931
+ # @param TagKey: 标签键。
932
+ # @type TagKey: String
933
+ # @param TagValue: 标签值。
934
+ # @type TagValue: Array
935
+
936
+ attr_accessor :TagKey, :TagValue
937
+
938
+ def initialize(tagkey=nil, tagvalue=nil)
939
+ @TagKey = tagkey
940
+ @TagValue = tagvalue
941
+ end
942
+
943
+ def deserialize(params)
944
+ @TagKey = params['TagKey']
945
+ @TagValue = params['TagValue']
946
+ end
947
+ end
948
+
949
+ # 检测步骤详情
950
+ class TestItem < TencentCloud::Common::AbstractModel
951
+ # @param TestName: <p>检测步骤名称</p>
952
+ # @type TestName: String
953
+ # @param Code: <p>错误码</p>
954
+ # @type Code: Integer
955
+ # @param Message: <p>错误信息</p>
956
+ # @type Message: String
957
+
958
+ attr_accessor :TestName, :Code, :Message
959
+
960
+ def initialize(testname=nil, code=nil, message=nil)
961
+ @TestName = testname
962
+ @Code = code
963
+ @Message = message
964
+ end
965
+
966
+ def deserialize(params)
967
+ @TestName = params['TestName']
968
+ @Code = params['Code']
969
+ @Message = params['Message']
970
+ end
971
+ end
972
+
544
973
  end
545
974
  end
546
975
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1182
4
+ version: 3.0.1189
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-12-13 00:00:00.000000000 Z
11
+ date: 2025-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20211108/models.rb
37
36
  - lib/v20211108/client.rb
37
+ - lib/v20211108/models.rb
38
38
  - lib/tencentcloud-sdk-dbs.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby