tencentcloud-sdk-dcdb 3.0.542 → 3.0.544

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: e1652f2ef464a66e1cb1d16da70e6609045c40f3
4
- data.tar.gz: 5d52c8afaff9d30b8be86b860971e7f332b0415e
3
+ metadata.gz: 9a0b46d978944b9a422bede5c0222556d3e18cba
4
+ data.tar.gz: be0d34f59445b50a31bac654946435c61c2f5a8e
5
5
  SHA512:
6
- metadata.gz: 92727bc304894dd478af884f6e10163bb7b41057d750a71bd8de8accc2c686d84165fb2d153f45214b8796eb002a88327235c14908cf95a048da8c2c12af4a7a
7
- data.tar.gz: ddfdd74f7e9f271bed454b64024625abdd340f3ef28119cb5be129eed827689bb7593cb5fdee8c0d429316ea2ca33a28820508bf123ea75d7f8535e0768d6c0d
6
+ metadata.gz: 12d968419e1d0312de3b6c849f549e65ba79cee960a2d38eeac20543a37c5d7cb5b58839fc96538756bec2e69426a817f628f59e8325dc364732856275f23598
7
+ data.tar.gz: 18ce21bcda82cab335fad2dca1942202288c87ed5b5ff550167d240358ed26928b29e2062106adc11e9e3bf49b6260abf6e167a93cab7ada29e26db1bdf12c2a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.542
1
+ 3.0.544
@@ -319,6 +319,30 @@ module TencentCloud
319
319
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
320
  end
321
321
 
322
+ # 本接口(DescribeBackupFiles)用于查看备份文件列表。
323
+
324
+ # @param request: Request instance for DescribeBackupFiles.
325
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeBackupFilesRequest`
326
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeBackupFilesResponse`
327
+ def DescribeBackupFiles(request)
328
+ body = send_request('DescribeBackupFiles', request.serialize)
329
+ response = JSON.parse(body)
330
+ if response['Response'].key?('Error') == false
331
+ model = DescribeBackupFilesResponse.new
332
+ model.deserialize(response['Response'])
333
+ model
334
+ else
335
+ code = response['Response']['Error']['Code']
336
+ message = response['Response']['Error']['Message']
337
+ reqid = response['Response']['RequestId']
338
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
339
+ end
340
+ rescue TencentCloud::Common::TencentCloudSDKException => e
341
+ raise e
342
+ rescue StandardError => e
343
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
344
+ end
345
+
322
346
  # 本接口(DescribeDBLogFiles)用于获取数据库的各种日志列表,包括冷备、binlog、errlog和slowlog。
323
347
 
324
348
  # @param request: Request instance for DescribeDBLogFiles.
@@ -1572,6 +1572,85 @@ module TencentCloud
1572
1572
  end
1573
1573
  end
1574
1574
 
1575
+ # DescribeBackupFiles请求参数结构体
1576
+ class DescribeBackupFilesRequest < TencentCloud::Common::AbstractModel
1577
+ # @param InstanceId: 按实例ID查询
1578
+ # @type InstanceId: String
1579
+ # @param ShardId: 按分片ID查询
1580
+ # @type ShardId: String
1581
+ # @param BackupType: 备份类型,Data:数据备份,Binlog:Binlog备份,Errlog:错误日志,Slowlog:慢日志
1582
+ # @type BackupType: String
1583
+ # @param StartTime: 按开始时间查询
1584
+ # @type StartTime: String
1585
+ # @param EndTime: 按结束时间查询
1586
+ # @type EndTime: String
1587
+ # @param Limit: 分页参数
1588
+ # @type Limit: Integer
1589
+ # @param Offset: 分页参数
1590
+ # @type Offset: Integer
1591
+ # @param OrderBy: 排序参数,可选值:Time,Size
1592
+ # @type OrderBy: String
1593
+ # @param OrderType: 排序参数,可选值:DESC,ASC
1594
+ # @type OrderType: String
1595
+
1596
+ attr_accessor :InstanceId, :ShardId, :BackupType, :StartTime, :EndTime, :Limit, :Offset, :OrderBy, :OrderType
1597
+
1598
+ def initialize(instanceid=nil, shardid=nil, backuptype=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, orderby=nil, ordertype=nil)
1599
+ @InstanceId = instanceid
1600
+ @ShardId = shardid
1601
+ @BackupType = backuptype
1602
+ @StartTime = starttime
1603
+ @EndTime = endtime
1604
+ @Limit = limit
1605
+ @Offset = offset
1606
+ @OrderBy = orderby
1607
+ @OrderType = ordertype
1608
+ end
1609
+
1610
+ def deserialize(params)
1611
+ @InstanceId = params['InstanceId']
1612
+ @ShardId = params['ShardId']
1613
+ @BackupType = params['BackupType']
1614
+ @StartTime = params['StartTime']
1615
+ @EndTime = params['EndTime']
1616
+ @Limit = params['Limit']
1617
+ @Offset = params['Offset']
1618
+ @OrderBy = params['OrderBy']
1619
+ @OrderType = params['OrderType']
1620
+ end
1621
+ end
1622
+
1623
+ # DescribeBackupFiles返回参数结构体
1624
+ class DescribeBackupFilesResponse < TencentCloud::Common::AbstractModel
1625
+ # @param Files: 备份文件列表
1626
+ # @type Files: Array
1627
+ # @param TotalCount: 总条目数
1628
+ # @type TotalCount: Integer
1629
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1630
+ # @type RequestId: String
1631
+
1632
+ attr_accessor :Files, :TotalCount, :RequestId
1633
+
1634
+ def initialize(files=nil, totalcount=nil, requestid=nil)
1635
+ @Files = files
1636
+ @TotalCount = totalcount
1637
+ @RequestId = requestid
1638
+ end
1639
+
1640
+ def deserialize(params)
1641
+ unless params['Files'].nil?
1642
+ @Files = []
1643
+ params['Files'].each do |i|
1644
+ instancebackupfileitem_tmp = InstanceBackupFileItem.new
1645
+ instancebackupfileitem_tmp.deserialize(i)
1646
+ @Files << instancebackupfileitem_tmp
1647
+ end
1648
+ end
1649
+ @TotalCount = params['TotalCount']
1650
+ @RequestId = params['RequestId']
1651
+ end
1652
+ end
1653
+
1575
1654
  # DescribeDBLogFiles请求参数结构体
1576
1655
  class DescribeDBLogFilesRequest < TencentCloud::Common::AbstractModel
1577
1656
  # @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
@@ -3585,6 +3664,62 @@ module TencentCloud
3585
3664
  end
3586
3665
  end
3587
3666
 
3667
+ # 实例备份文件信息
3668
+ class InstanceBackupFileItem < TencentCloud::Common::AbstractModel
3669
+ # @param InstanceId: 实例ID
3670
+ # @type InstanceId: String
3671
+ # @param InstanceName: 实例名称
3672
+ # @type InstanceName: String
3673
+ # @param InstanceStatus: 实例状态
3674
+ # @type InstanceStatus: Integer
3675
+ # @param ShardId: 分片ID
3676
+ # @type ShardId: String
3677
+ # @param FilePath: 文件路径
3678
+ # @type FilePath: String
3679
+ # @param FileName: 文件名
3680
+ # @type FileName: String
3681
+ # @param FileSize: 文件大小
3682
+ # @type FileSize: Integer
3683
+ # @param BackupType: 备份类型,Data:数据备份,Binlog:Binlog备份,Errlog:错误日志,Slowlog:慢日志
3684
+ # @type BackupType: String
3685
+ # @param ManualBackup: 手动备份,0:否,1:是
3686
+ # @type ManualBackup: Integer
3687
+ # @param StartTime: 备份开始时间
3688
+ # @type StartTime: String
3689
+ # @param EndTime: 备份结束时间
3690
+ # @type EndTime: String
3691
+
3692
+ attr_accessor :InstanceId, :InstanceName, :InstanceStatus, :ShardId, :FilePath, :FileName, :FileSize, :BackupType, :ManualBackup, :StartTime, :EndTime
3693
+
3694
+ def initialize(instanceid=nil, instancename=nil, instancestatus=nil, shardid=nil, filepath=nil, filename=nil, filesize=nil, backuptype=nil, manualbackup=nil, starttime=nil, endtime=nil)
3695
+ @InstanceId = instanceid
3696
+ @InstanceName = instancename
3697
+ @InstanceStatus = instancestatus
3698
+ @ShardId = shardid
3699
+ @FilePath = filepath
3700
+ @FileName = filename
3701
+ @FileSize = filesize
3702
+ @BackupType = backuptype
3703
+ @ManualBackup = manualbackup
3704
+ @StartTime = starttime
3705
+ @EndTime = endtime
3706
+ end
3707
+
3708
+ def deserialize(params)
3709
+ @InstanceId = params['InstanceId']
3710
+ @InstanceName = params['InstanceName']
3711
+ @InstanceStatus = params['InstanceStatus']
3712
+ @ShardId = params['ShardId']
3713
+ @FilePath = params['FilePath']
3714
+ @FileName = params['FileName']
3715
+ @FileSize = params['FileSize']
3716
+ @BackupType = params['BackupType']
3717
+ @ManualBackup = params['ManualBackup']
3718
+ @StartTime = params['StartTime']
3719
+ @EndTime = params['EndTime']
3720
+ end
3721
+ end
3722
+
3588
3723
  # IsolateDedicatedDBInstance请求参数结构体
3589
3724
  class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
3590
3725
  # @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dcdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.542
4
+ version: 3.0.544
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-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common