tencentcloud-sdk-mariadb 3.0.596 → 3.0.597

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: 9eb3f65e138d858f621b76db88ef63aa15b9c711
4
- data.tar.gz: 95d8483a9d94faf585c591d0091c9f13221824c5
3
+ metadata.gz: 6e99db4a722e35ad2bfb10ea33a7fdc5fff33956
4
+ data.tar.gz: f13788f0419e3ef7f4415f8e7710826469665b26
5
5
  SHA512:
6
- metadata.gz: 76e45d481f34fd60c7d8fb8d04cd54a6f2de634d6c93038d2d8f76ae7f5f2c38fc5b0e7a2d74b6897bee6e347d7bcf9cd41351cc66c7b6ecc382d85e8481b550
7
- data.tar.gz: 2d62e297ed1b4aca15c80512d933bbe7bfd22fde670f224f720ea4f5e7dee8f9ad61c0f655ba4491f3b992446279e6716557095f77eba12fbe9a6bd437b5faab
6
+ metadata.gz: 3265fb3280d4565e6140cd4e8281f2e36f32e18fd52ef84876361950a1877e28886f2fe96620e501558f0cb6d3cfab3f19ae744630ce6f1085114f16560b8fcf
7
+ data.tar.gz: a8e4432f35386adbabd545c88d9f0111482ffbfee601592a8923c32e9c09f73ca561b16c2184dd023fd34128ae040fed999cd321cf5af2de2f2979460ba5e17a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.596
1
+ 3.0.597
@@ -608,6 +608,30 @@ module TencentCloud
608
608
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
609
609
  end
610
610
 
611
+ # 本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例
612
+
613
+ # @param request: Request instance for DescribeDBTmpInstances.
614
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBTmpInstancesRequest`
615
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBTmpInstancesResponse`
616
+ def DescribeDBTmpInstances(request)
617
+ body = send_request('DescribeDBTmpInstances', request.serialize)
618
+ response = JSON.parse(body)
619
+ if response['Response'].key?('Error') == false
620
+ model = DescribeDBTmpInstancesResponse.new
621
+ model.deserialize(response['Response'])
622
+ model
623
+ else
624
+ code = response['Response']['Error']['Code']
625
+ message = response['Response']['Error']['Message']
626
+ reqid = response['Response']['RequestId']
627
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
628
+ end
629
+ rescue TencentCloud::Common::TencentCloudSDKException => e
630
+ raise e
631
+ rescue StandardError => e
632
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
633
+ end
634
+
611
635
  # 本接口(DescribeDatabaseObjects)用于查询云数据库实例的数据库中的对象列表,包含表、存储过程、视图和函数。
612
636
 
613
637
  # @param request: Request instance for DescribeDatabaseObjects.
@@ -2570,6 +2570,49 @@ module TencentCloud
2570
2570
  end
2571
2571
  end
2572
2572
 
2573
+ # DescribeDBTmpInstances请求参数结构体
2574
+ class DescribeDBTmpInstancesRequest < TencentCloud::Common::AbstractModel
2575
+ # @param InstanceId: 实例ID
2576
+ # @type InstanceId: String
2577
+
2578
+ attr_accessor :InstanceId
2579
+
2580
+ def initialize(instanceid=nil)
2581
+ @InstanceId = instanceid
2582
+ end
2583
+
2584
+ def deserialize(params)
2585
+ @InstanceId = params['InstanceId']
2586
+ end
2587
+ end
2588
+
2589
+ # DescribeDBTmpInstances返回参数结构体
2590
+ class DescribeDBTmpInstancesResponse < TencentCloud::Common::AbstractModel
2591
+ # @param TmpInstances: 临时实例
2592
+ # @type TmpInstances: Array
2593
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2594
+ # @type RequestId: String
2595
+
2596
+ attr_accessor :TmpInstances, :RequestId
2597
+
2598
+ def initialize(tmpinstances=nil, requestid=nil)
2599
+ @TmpInstances = tmpinstances
2600
+ @RequestId = requestid
2601
+ end
2602
+
2603
+ def deserialize(params)
2604
+ unless params['TmpInstances'].nil?
2605
+ @TmpInstances = []
2606
+ params['TmpInstances'].each do |i|
2607
+ tmpinstance_tmp = TmpInstance.new
2608
+ tmpinstance_tmp.deserialize(i)
2609
+ @TmpInstances << tmpinstance_tmp
2610
+ end
2611
+ end
2612
+ @RequestId = params['RequestId']
2613
+ end
2614
+ end
2615
+
2573
2616
  # DescribeDatabaseObjects请求参数结构体
2574
2617
  class DescribeDatabaseObjectsRequest < TencentCloud::Common::AbstractModel
2575
2618
  # @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
@@ -5337,6 +5380,93 @@ module TencentCloud
5337
5380
  end
5338
5381
  end
5339
5382
 
5383
+ # 临时实例
5384
+ class TmpInstance < TencentCloud::Common::AbstractModel
5385
+ # @param AppId: 应用ID
5386
+ # 注意:此字段可能返回 null,表示取不到有效值。
5387
+ # @type AppId: Integer
5388
+ # @param CreateTime: 创建时间
5389
+ # 注意:此字段可能返回 null,表示取不到有效值。
5390
+ # @type CreateTime: String
5391
+ # @param InstanceRemark: 实例备注
5392
+ # 注意:此字段可能返回 null,表示取不到有效值。
5393
+ # @type InstanceRemark: String
5394
+ # @param TempType: 0:非临时实例 ,1:无效临时实例, 2:回档成功的有效临时实例
5395
+ # 注意:此字段可能返回 null,表示取不到有效值。
5396
+ # @type TempType: Integer
5397
+ # @param Status: 实例状态,0:待初始化,1:流程处理中,2:有效状态,-1:已隔离,-2:已下线
5398
+ # 注意:此字段可能返回 null,表示取不到有效值。
5399
+ # @type Status: Integer
5400
+ # @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
5401
+ # 注意:此字段可能返回 null,表示取不到有效值。
5402
+ # @type InstanceId: String
5403
+ # @param Vip: 实例虚IP
5404
+ # 注意:此字段可能返回 null,表示取不到有效值。
5405
+ # @type Vip: String
5406
+ # @param Vport: 实例虚端口
5407
+ # 注意:此字段可能返回 null,表示取不到有效值。
5408
+ # @type Vport: Integer
5409
+ # @param PeriodEndTime: 有效期结束时间
5410
+ # 注意:此字段可能返回 null,表示取不到有效值。
5411
+ # @type PeriodEndTime: String
5412
+ # @param SrcInstanceId: 源实例 ID,形如:tdsql-ow728lmc。
5413
+ # 注意:此字段可能返回 null,表示取不到有效值。
5414
+ # @type SrcInstanceId: String
5415
+ # @param StatusDesc: 实例状态描述
5416
+ # 注意:此字段可能返回 null,表示取不到有效值。
5417
+ # @type StatusDesc: String
5418
+ # @param Region: 实例所在地域
5419
+ # 注意:此字段可能返回 null,表示取不到有效值。
5420
+ # @type Region: String
5421
+ # @param Zone: 实例所在可用区
5422
+ # 注意:此字段可能返回 null,表示取不到有效值。
5423
+ # @type Zone: String
5424
+ # @param Vipv6: 实例虚IPv6
5425
+ # 注意:此字段可能返回 null,表示取不到有效值。
5426
+ # @type Vipv6: String
5427
+ # @param Ipv6Flag: 实例IPv6标志
5428
+ # 注意:此字段可能返回 null,表示取不到有效值。
5429
+ # @type Ipv6Flag: Integer
5430
+
5431
+ attr_accessor :AppId, :CreateTime, :InstanceRemark, :TempType, :Status, :InstanceId, :Vip, :Vport, :PeriodEndTime, :SrcInstanceId, :StatusDesc, :Region, :Zone, :Vipv6, :Ipv6Flag
5432
+
5433
+ def initialize(appid=nil, createtime=nil, instanceremark=nil, temptype=nil, status=nil, instanceid=nil, vip=nil, vport=nil, periodendtime=nil, srcinstanceid=nil, statusdesc=nil, region=nil, zone=nil, vipv6=nil, ipv6flag=nil)
5434
+ @AppId = appid
5435
+ @CreateTime = createtime
5436
+ @InstanceRemark = instanceremark
5437
+ @TempType = temptype
5438
+ @Status = status
5439
+ @InstanceId = instanceid
5440
+ @Vip = vip
5441
+ @Vport = vport
5442
+ @PeriodEndTime = periodendtime
5443
+ @SrcInstanceId = srcinstanceid
5444
+ @StatusDesc = statusdesc
5445
+ @Region = region
5446
+ @Zone = zone
5447
+ @Vipv6 = vipv6
5448
+ @Ipv6Flag = ipv6flag
5449
+ end
5450
+
5451
+ def deserialize(params)
5452
+ @AppId = params['AppId']
5453
+ @CreateTime = params['CreateTime']
5454
+ @InstanceRemark = params['InstanceRemark']
5455
+ @TempType = params['TempType']
5456
+ @Status = params['Status']
5457
+ @InstanceId = params['InstanceId']
5458
+ @Vip = params['Vip']
5459
+ @Vport = params['Vport']
5460
+ @PeriodEndTime = params['PeriodEndTime']
5461
+ @SrcInstanceId = params['SrcInstanceId']
5462
+ @StatusDesc = params['StatusDesc']
5463
+ @Region = params['Region']
5464
+ @Zone = params['Zone']
5465
+ @Vipv6 = params['Vipv6']
5466
+ @Ipv6Flag = params['Ipv6Flag']
5467
+ end
5468
+ end
5469
+
5340
5470
  # UpgradeDBInstance请求参数结构体
5341
5471
  class UpgradeDBInstanceRequest < TencentCloud::Common::AbstractModel
5342
5472
  # @param InstanceId: 待升级的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
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.596
4
+ version: 3.0.597
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-06-20 00:00:00.000000000 Z
11
+ date: 2023-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common