tencentcloud-sdk-mariadb 3.0.532 → 3.0.533
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +24 -0
- data/lib/v20170312/models.rb +132 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec7f2e35b7fab8eaa3412796a1e84497fdad8126
|
4
|
+
data.tar.gz: 8eed9f1bf0f7f49e72fa18c93fede744c10b94e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14358482705b59e5534152a619b157b9d0c973ac20c03161bc532d38c0a31dee8128cbf940c43ef0fa3783c0b4feb2fb154ca93d2d1c6210a9540951ebc35159
|
7
|
+
data.tar.gz: 1d64f3a8a16d4037bc29f782dc9d0a96386cf8832ea33e12fec703de5c1e30621956f6cea3e114e0a5ce8bf53d70a3c00aacfc075d8b97fdf4c808d41a426bdd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.533
|
data/lib/v20170312/client.rb
CHANGED
@@ -367,6 +367,30 @@ module TencentCloud
|
|
367
367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
368
368
|
end
|
369
369
|
|
370
|
+
# 本接口(DescribeBackupFiles)用于查看备份文件列表。
|
371
|
+
|
372
|
+
# @param request: Request instance for DescribeBackupFiles.
|
373
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeBackupFilesRequest`
|
374
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeBackupFilesResponse`
|
375
|
+
def DescribeBackupFiles(request)
|
376
|
+
body = send_request('DescribeBackupFiles', request.serialize)
|
377
|
+
response = JSON.parse(body)
|
378
|
+
if response['Response'].key?('Error') == false
|
379
|
+
model = DescribeBackupFilesResponse.new
|
380
|
+
model.deserialize(response['Response'])
|
381
|
+
model
|
382
|
+
else
|
383
|
+
code = response['Response']['Error']['Code']
|
384
|
+
message = response['Response']['Error']['Message']
|
385
|
+
reqid = response['Response']['RequestId']
|
386
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
387
|
+
end
|
388
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
389
|
+
raise e
|
390
|
+
rescue StandardError => e
|
391
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
|
+
end
|
393
|
+
|
370
394
|
# 本接口(DescribeBackupTime)用于获取云数据库的备份时间。后台系统将根据此配置定期进行实例备份。
|
371
395
|
|
372
396
|
# @param request: Request instance for DescribeBackupTime.
|
data/lib/v20170312/models.rb
CHANGED
@@ -1674,6 +1674,81 @@ module TencentCloud
|
|
1674
1674
|
end
|
1675
1675
|
end
|
1676
1676
|
|
1677
|
+
# DescribeBackupFiles请求参数结构体
|
1678
|
+
class DescribeBackupFilesRequest < TencentCloud::Common::AbstractModel
|
1679
|
+
# @param InstanceId: 按实例ID查询
|
1680
|
+
# @type InstanceId: String
|
1681
|
+
# @param BackupType: 备份类型,Data:数据备份,Binlog:Binlog备份,Errlog:错误日志,Slowlog:慢日志
|
1682
|
+
# @type BackupType: String
|
1683
|
+
# @param StartTime: 按开始时间查询
|
1684
|
+
# @type StartTime: String
|
1685
|
+
# @param EndTime: 按结束时间查询
|
1686
|
+
# @type EndTime: String
|
1687
|
+
# @param Limit: 分页参数
|
1688
|
+
# @type Limit: Integer
|
1689
|
+
# @param Offset: 分页参数
|
1690
|
+
# @type Offset: Integer
|
1691
|
+
# @param OrderBy: 排序参数,可选值:Time,Size
|
1692
|
+
# @type OrderBy: String
|
1693
|
+
# @param OrderType: 排序参数, 可选值:DESC,ASC
|
1694
|
+
# @type OrderType: String
|
1695
|
+
|
1696
|
+
attr_accessor :InstanceId, :BackupType, :StartTime, :EndTime, :Limit, :Offset, :OrderBy, :OrderType
|
1697
|
+
|
1698
|
+
def initialize(instanceid=nil, backuptype=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, orderby=nil, ordertype=nil)
|
1699
|
+
@InstanceId = instanceid
|
1700
|
+
@BackupType = backuptype
|
1701
|
+
@StartTime = starttime
|
1702
|
+
@EndTime = endtime
|
1703
|
+
@Limit = limit
|
1704
|
+
@Offset = offset
|
1705
|
+
@OrderBy = orderby
|
1706
|
+
@OrderType = ordertype
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
def deserialize(params)
|
1710
|
+
@InstanceId = params['InstanceId']
|
1711
|
+
@BackupType = params['BackupType']
|
1712
|
+
@StartTime = params['StartTime']
|
1713
|
+
@EndTime = params['EndTime']
|
1714
|
+
@Limit = params['Limit']
|
1715
|
+
@Offset = params['Offset']
|
1716
|
+
@OrderBy = params['OrderBy']
|
1717
|
+
@OrderType = params['OrderType']
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# DescribeBackupFiles返回参数结构体
|
1722
|
+
class DescribeBackupFilesResponse < TencentCloud::Common::AbstractModel
|
1723
|
+
# @param Files: 备份文件列表
|
1724
|
+
# @type Files: Array
|
1725
|
+
# @param TotalCount: 总条目数
|
1726
|
+
# @type TotalCount: Integer
|
1727
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1728
|
+
# @type RequestId: String
|
1729
|
+
|
1730
|
+
attr_accessor :Files, :TotalCount, :RequestId
|
1731
|
+
|
1732
|
+
def initialize(files=nil, totalcount=nil, requestid=nil)
|
1733
|
+
@Files = files
|
1734
|
+
@TotalCount = totalcount
|
1735
|
+
@RequestId = requestid
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
def deserialize(params)
|
1739
|
+
unless params['Files'].nil?
|
1740
|
+
@Files = []
|
1741
|
+
params['Files'].each do |i|
|
1742
|
+
instancebackupfileitem_tmp = InstanceBackupFileItem.new
|
1743
|
+
instancebackupfileitem_tmp.deserialize(i)
|
1744
|
+
@Files << instancebackupfileitem_tmp
|
1745
|
+
end
|
1746
|
+
end
|
1747
|
+
@TotalCount = params['TotalCount']
|
1748
|
+
@RequestId = params['RequestId']
|
1749
|
+
end
|
1750
|
+
end
|
1751
|
+
|
1677
1752
|
# DescribeBackupTime请求参数结构体
|
1678
1753
|
class DescribeBackupTimeRequest < TencentCloud::Common::AbstractModel
|
1679
1754
|
# @param InstanceIds: 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
@@ -3223,6 +3298,63 @@ module TencentCloud
|
|
3223
3298
|
end
|
3224
3299
|
end
|
3225
3300
|
|
3301
|
+
# 实例备份文件信息
|
3302
|
+
class InstanceBackupFileItem < TencentCloud::Common::AbstractModel
|
3303
|
+
# @param InstanceId: 实例ID
|
3304
|
+
# @type InstanceId: String
|
3305
|
+
# @param InstanceName: 实例名称
|
3306
|
+
# @type InstanceName: String
|
3307
|
+
# @param InstanceStatus: 实例状态
|
3308
|
+
# @type InstanceStatus: Integer
|
3309
|
+
# @param ShardId: 分片ID
|
3310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3311
|
+
# @type ShardId: String
|
3312
|
+
# @param FilePath: 文件路径
|
3313
|
+
# @type FilePath: String
|
3314
|
+
# @param FileName: 文件名
|
3315
|
+
# @type FileName: String
|
3316
|
+
# @param FileSize: 文件大小
|
3317
|
+
# @type FileSize: Integer
|
3318
|
+
# @param BackupType: 备份类型,Data:数据备份,Binlog:Binlog备份,Errlog:错误日志,Slowlog:慢日志
|
3319
|
+
# @type BackupType: String
|
3320
|
+
# @param ManualBackup: 手动备份,0:否,1:是
|
3321
|
+
# @type ManualBackup: Integer
|
3322
|
+
# @param StartTime: 备份开始时间
|
3323
|
+
# @type StartTime: String
|
3324
|
+
# @param EndTime: 备份结束时间
|
3325
|
+
# @type EndTime: String
|
3326
|
+
|
3327
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceStatus, :ShardId, :FilePath, :FileName, :FileSize, :BackupType, :ManualBackup, :StartTime, :EndTime
|
3328
|
+
|
3329
|
+
def initialize(instanceid=nil, instancename=nil, instancestatus=nil, shardid=nil, filepath=nil, filename=nil, filesize=nil, backuptype=nil, manualbackup=nil, starttime=nil, endtime=nil)
|
3330
|
+
@InstanceId = instanceid
|
3331
|
+
@InstanceName = instancename
|
3332
|
+
@InstanceStatus = instancestatus
|
3333
|
+
@ShardId = shardid
|
3334
|
+
@FilePath = filepath
|
3335
|
+
@FileName = filename
|
3336
|
+
@FileSize = filesize
|
3337
|
+
@BackupType = backuptype
|
3338
|
+
@ManualBackup = manualbackup
|
3339
|
+
@StartTime = starttime
|
3340
|
+
@EndTime = endtime
|
3341
|
+
end
|
3342
|
+
|
3343
|
+
def deserialize(params)
|
3344
|
+
@InstanceId = params['InstanceId']
|
3345
|
+
@InstanceName = params['InstanceName']
|
3346
|
+
@InstanceStatus = params['InstanceStatus']
|
3347
|
+
@ShardId = params['ShardId']
|
3348
|
+
@FilePath = params['FilePath']
|
3349
|
+
@FileName = params['FileName']
|
3350
|
+
@FileSize = params['FileSize']
|
3351
|
+
@BackupType = params['BackupType']
|
3352
|
+
@ManualBackup = params['ManualBackup']
|
3353
|
+
@StartTime = params['StartTime']
|
3354
|
+
@EndTime = params['EndTime']
|
3355
|
+
end
|
3356
|
+
end
|
3357
|
+
|
3226
3358
|
# 按机型归类的实例可售卖规格信息
|
3227
3359
|
class InstanceSpec < TencentCloud::Common::AbstractModel
|
3228
3360
|
# @param Machine: 设备型号
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mariadb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.533
|
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-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|