tencentcloud-sdk-dcdb 3.0.541 → 3.0.543

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: 0f3dc2bf84037d94766ac4640b14ecf3d4dfb6ea
4
- data.tar.gz: aacd77ce8772762d815741c7ccdd9637c531df9f
3
+ metadata.gz: 4ad1f1ec242a3d5f42ac717778942c270d4ceb0d
4
+ data.tar.gz: fd9b0676ecdf3975b61f3da4ff51e73f17fea814
5
5
  SHA512:
6
- metadata.gz: 8e1e7bca5cb09fc2c6f33def8b7fec68c044df892b137c1821aee98f2ae16fbf9c011a80ae287f2fa75a4ec3887eba0f98847604f5868b38b1a1d2c964c8aae8
7
- data.tar.gz: eac0be7bb54ec4c040afc7e62fb61efd031736f300df4bd954ee6f583da7b9815be0e00288a72e6b1086b6d9ce8b22ea6a4f2041f62613916904a393bf561c89
6
+ metadata.gz: e21228c8122d8f7d4e13007418dcf052f239bfcd315cbfe6ac5dd94f4bd8ecd4c644fc6a2554bdd078526b4640818005d0836e184287e66d701e7991beaa5983
7
+ data.tar.gz: 643c10d9fd181972a7f51e87e6c96c65726389ad9674d14d3e0f520f42e4b0a21b7b515909b319588ea82d8ee6c14249daee3048a525fb821044c0d079be2270
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.541
1
+ 3.0.543
@@ -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.541
4
+ version: 3.0.543
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-03-30 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