tencentcloud-sdk-redis 3.0.839 → 3.0.840

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: a7b38a411aa595730541b692437705b3c657f576
4
- data.tar.gz: e80b60c07347f15f53f88b4d83005af9b53f0ebf
3
+ metadata.gz: a28bcdbd92a781a8ee5fc1a3b15ea30a8f1a9f3c
4
+ data.tar.gz: d5f2008f4ae33487e7f80c806a8f227f5c335af0
5
5
  SHA512:
6
- metadata.gz: bd9ff60d4b9f97a4045e6c5d207fb12c8e24ff9a19ae14f2d963edb055fcc667e6545b1e9e0872156cc5d37104a94dd4071766b449faf6ffe02e49bb7bb82700
7
- data.tar.gz: 2e8518eab12043dbdc1c4a9c0e953c1505cf02aa33eb00b78b3dce43e85537705980f7faac91855bca1ce944328a13ae8c7a66b956fd769786c3048226459003
6
+ metadata.gz: ad01fbe20c1049dd5f1d68e490a6dfa179960422b49eae66d012cceaf4cfde8939ec18c746c5419fb1967b264e9eade2ef2540de5be582ae44abcfbf8d42d5de
7
+ data.tar.gz: fbcba26071478512da71dec2421d19394c3fb773fe8a743320e5c2e3b14febfb712d7ef362ee06e2a6435215b2929000e79bf9945a955a10378b5c0551518b3b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.839
1
+ 3.0.840
@@ -485,6 +485,30 @@ module TencentCloud
485
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
486
  end
487
487
 
488
+ # 本接口(DescribeBackupDetail)用于查询实例的备份信息详情。
489
+
490
+ # @param request: Request instance for DescribeBackupDetail.
491
+ # @type request: :class:`Tencentcloud::redis::V20180412::DescribeBackupDetailRequest`
492
+ # @rtype: :class:`Tencentcloud::redis::V20180412::DescribeBackupDetailResponse`
493
+ def DescribeBackupDetail(request)
494
+ body = send_request('DescribeBackupDetail', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DescribeBackupDetailResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
488
512
  # 本接口(DescribeBackupDownloadRestriction)用于查询当前地域数据库备份文件的下载地址。
489
513
 
490
514
  # @param request: Request instance for DescribeBackupDownloadRestriction.
@@ -1304,6 +1304,102 @@ module TencentCloud
1304
1304
  end
1305
1305
  end
1306
1306
 
1307
+ # DescribeBackupDetail请求参数结构体
1308
+ class DescribeBackupDetailRequest < TencentCloud::Common::AbstractModel
1309
+ # @param InstanceId: 实例 ID。
1310
+ # @type InstanceId: String
1311
+ # @param BackupId: 备份 ID,可通过接口 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 返回的参数 **RedisBackupSet** 获取。
1312
+ # @type BackupId: String
1313
+
1314
+ attr_accessor :InstanceId, :BackupId
1315
+
1316
+ def initialize(instanceid=nil, backupid=nil)
1317
+ @InstanceId = instanceid
1318
+ @BackupId = backupid
1319
+ end
1320
+
1321
+ def deserialize(params)
1322
+ @InstanceId = params['InstanceId']
1323
+ @BackupId = params['BackupId']
1324
+ end
1325
+ end
1326
+
1327
+ # DescribeBackupDetail返回参数结构体
1328
+ class DescribeBackupDetailResponse < TencentCloud::Common::AbstractModel
1329
+ # @param BackupId: 备份 ID。
1330
+ # @type BackupId: String
1331
+ # @param StartTime: 备份开始时间。
1332
+ # @type StartTime: String
1333
+ # @param EndTime: 备份结束时间。
1334
+ # @type EndTime: String
1335
+ # @param BackupType: 备份方式。
1336
+
1337
+ # - 1:手动备份。
1338
+ # - 0:自动备份。
1339
+ # @type BackupType: String
1340
+ # @param Status: 备份状态。
1341
+
1342
+ # - 1:备份被其它流程锁定。
1343
+ # - 2:备份正常,没有被任何流程锁定。
1344
+ # - -1:备份已过期。
1345
+ # - 3:备份正在被导出。
1346
+ # - 4:备份导出成功。
1347
+ # @type Status: Integer
1348
+ # @param Remark: 备份的备注信息。
1349
+ # @type Remark: String
1350
+ # @param Locked: 备份是否被锁定。
1351
+
1352
+ # - 0:未被锁定。
1353
+ # - 1:已被锁定。
1354
+ # @type Locked: Integer
1355
+ # @param BackupSize: 备份文件大小。单位:Byte。
1356
+ # @type BackupSize: Integer
1357
+ # @param InstanceType: 实例类型。
1358
+ # @type InstanceType: Integer
1359
+ # @param MemSize: 单分片内存规格大小,单位:MB。
1360
+ # @type MemSize: Integer
1361
+ # @param ShardNum: 分片数量。
1362
+ # @type ShardNum: Integer
1363
+ # @param ReplicasNum: 副本数量。
1364
+ # @type ReplicasNum: Integer
1365
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1366
+ # @type RequestId: String
1367
+
1368
+ attr_accessor :BackupId, :StartTime, :EndTime, :BackupType, :Status, :Remark, :Locked, :BackupSize, :InstanceType, :MemSize, :ShardNum, :ReplicasNum, :RequestId
1369
+
1370
+ def initialize(backupid=nil, starttime=nil, endtime=nil, backuptype=nil, status=nil, remark=nil, locked=nil, backupsize=nil, instancetype=nil, memsize=nil, shardnum=nil, replicasnum=nil, requestid=nil)
1371
+ @BackupId = backupid
1372
+ @StartTime = starttime
1373
+ @EndTime = endtime
1374
+ @BackupType = backuptype
1375
+ @Status = status
1376
+ @Remark = remark
1377
+ @Locked = locked
1378
+ @BackupSize = backupsize
1379
+ @InstanceType = instancetype
1380
+ @MemSize = memsize
1381
+ @ShardNum = shardnum
1382
+ @ReplicasNum = replicasnum
1383
+ @RequestId = requestid
1384
+ end
1385
+
1386
+ def deserialize(params)
1387
+ @BackupId = params['BackupId']
1388
+ @StartTime = params['StartTime']
1389
+ @EndTime = params['EndTime']
1390
+ @BackupType = params['BackupType']
1391
+ @Status = params['Status']
1392
+ @Remark = params['Remark']
1393
+ @Locked = params['Locked']
1394
+ @BackupSize = params['BackupSize']
1395
+ @InstanceType = params['InstanceType']
1396
+ @MemSize = params['MemSize']
1397
+ @ShardNum = params['ShardNum']
1398
+ @ReplicasNum = params['ReplicasNum']
1399
+ @RequestId = params['RequestId']
1400
+ end
1401
+ end
1402
+
1307
1403
  # DescribeBackupDownloadRestriction请求参数结构体
1308
1404
  class DescribeBackupDownloadRestrictionRequest < TencentCloud::Common::AbstractModel
1309
1405
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.839
4
+ version: 3.0.840
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-06 00:00:00.000000000 Z
11
+ date: 2024-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common