tencentcloud-sdk-dcdb 1.0.318 → 1.0.319

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: c52a3ca399517a239140a64ed39ee45e41e7f526
4
- data.tar.gz: 611fd3d9143381ce0ffc787f5e6210ff3b160cd4
3
+ metadata.gz: dd99ad5a9677d7ffb53c670f29aee653002fdebe
4
+ data.tar.gz: 3a220a112c8e943ac6cf724b06e9469b649009e2
5
5
  SHA512:
6
- metadata.gz: ffd7c8910890806733df26a928e7b3f01b9536197a8f3b99090f5e75160850d9258c76f43fcde797389bb4211574b5d4959f64fa7484302c943bd13555a30d8b
7
- data.tar.gz: d9ebb130a52ef23ede70099b6b7d87c166cc30bd923004bb22fb25455920650d5427f079bc2782b1bea5553ad1c22b9927c22ca1173e27e0de23bcc24afaf32a
6
+ metadata.gz: c9331ba7a7d6c6f5bb81ed18c380393ce7400253449771f9f4a94a28e20bfc128293f4dccf74cb677a54e5bd87de15d8c1628e8b180c1734bbc971f42ba85408
7
+ data.tar.gz: 3a4b31d92ae8fb735be9af7857e1a8c935c27d6effe2817a06a7ea9caa276f1f39bcb8b408abc957980a8932e90dccd18d12469d653bf6978092fc6de9cdf9bf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.318
1
+ 1.0.319
@@ -391,6 +391,30 @@ module TencentCloud
391
391
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
392
392
  end
393
393
 
394
+ # 本接口(DescribeDBSecurityGroups)用于查询实例安全组信息
395
+
396
+ # @param request: Request instance for DescribeDBSecurityGroups.
397
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeDBSecurityGroupsRequest`
398
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeDBSecurityGroupsResponse`
399
+ def DescribeDBSecurityGroups(request)
400
+ body = send_request('DescribeDBSecurityGroups', request.serialize)
401
+ response = JSON.parse(body)
402
+ if response['Response'].key?('Error') == false
403
+ model = DescribeDBSecurityGroupsResponse.new
404
+ model.deserialize(response['Response'])
405
+ model
406
+ else
407
+ code = response['Response']['Error']['Code']
408
+ message = response['Response']['Error']['Message']
409
+ reqid = response['Response']['RequestId']
410
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
411
+ end
412
+ rescue TencentCloud::Common::TencentCloudSDKException => e
413
+ raise e
414
+ rescue StandardError => e
415
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
416
+ end
417
+
394
418
  # 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。
395
419
 
396
420
  # @param request: Request instance for DescribeDBSlowLogs.
@@ -752,6 +776,30 @@ module TencentCloud
752
776
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
753
777
  end
754
778
 
779
+ # 本接口(DescribeOrders)用于查询分布式数据库订单信息。传入订单ID来查询订单关联的分布式数据库实例,和对应的任务流程ID。
780
+
781
+ # @param request: Request instance for DescribeOrders.
782
+ # @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeOrdersRequest`
783
+ # @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeOrdersResponse`
784
+ def DescribeOrders(request)
785
+ body = send_request('DescribeOrders', request.serialize)
786
+ response = JSON.parse(body)
787
+ if response['Response'].key?('Error') == false
788
+ model = DescribeOrdersResponse.new
789
+ model.deserialize(response['Response'])
790
+ model
791
+ else
792
+ code = response['Response']['Error']['Code']
793
+ message = response['Response']['Error']['Message']
794
+ reqid = response['Response']['RequestId']
795
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
796
+ end
797
+ rescue TencentCloud::Common::TencentCloudSDKException => e
798
+ raise e
799
+ rescue StandardError => e
800
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
801
+ end
802
+
755
803
  # 本接口(DescribeProjectSecurityGroups)用于查询项目安全组信息
756
804
 
757
805
  # @param request: Request instance for DescribeProjectSecurityGroups.
@@ -1436,6 +1436,43 @@ module TencentCloud
1436
1436
  end
1437
1437
  end
1438
1438
 
1439
+ # 订单信息
1440
+ class Deal < TencentCloud::Common::AbstractModel
1441
+ # @param DealName: 订单号
1442
+ # @type DealName: String
1443
+ # @param OwnerUin: 所属账号
1444
+ # @type OwnerUin: String
1445
+ # @param Count: 商品数量
1446
+ # @type Count: Integer
1447
+ # @param FlowId: 关联的流程 Id,可用于查询流程执行状态
1448
+ # @type FlowId: Integer
1449
+ # @param InstanceIds: 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID。
1450
+ # 注意:此字段可能返回 null,表示取不到有效值。
1451
+ # @type InstanceIds: Array
1452
+ # @param PayMode: 付费模式,0后付费/1预付费
1453
+ # @type PayMode: Integer
1454
+
1455
+ attr_accessor :DealName, :OwnerUin, :Count, :FlowId, :InstanceIds, :PayMode
1456
+
1457
+ def initialize(dealname=nil, owneruin=nil, count=nil, flowid=nil, instanceids=nil, paymode=nil)
1458
+ @DealName = dealname
1459
+ @OwnerUin = owneruin
1460
+ @Count = count
1461
+ @FlowId = flowid
1462
+ @InstanceIds = instanceids
1463
+ @PayMode = paymode
1464
+ end
1465
+
1466
+ def deserialize(params)
1467
+ @DealName = params['DealName']
1468
+ @OwnerUin = params['OwnerUin']
1469
+ @Count = params['Count']
1470
+ @FlowId = params['FlowId']
1471
+ @InstanceIds = params['InstanceIds']
1472
+ @PayMode = params['PayMode']
1473
+ end
1474
+ end
1475
+
1439
1476
  # DeleteAccount请求参数结构体
1440
1477
  class DeleteAccountRequest < TencentCloud::Common::AbstractModel
1441
1478
  # @param InstanceId: 实例ID,形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
@@ -1718,6 +1755,63 @@ module TencentCloud
1718
1755
  end
1719
1756
  end
1720
1757
 
1758
+ # DescribeDBSecurityGroups请求参数结构体
1759
+ class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
1760
+ # @param Product: 数据库引擎名称,本接口取值:dcdb。
1761
+ # @type Product: String
1762
+ # @param InstanceId: 实例ID。
1763
+ # @type InstanceId: String
1764
+
1765
+ attr_accessor :Product, :InstanceId
1766
+
1767
+ def initialize(product=nil, instanceid=nil)
1768
+ @Product = product
1769
+ @InstanceId = instanceid
1770
+ end
1771
+
1772
+ def deserialize(params)
1773
+ @Product = params['Product']
1774
+ @InstanceId = params['InstanceId']
1775
+ end
1776
+ end
1777
+
1778
+ # DescribeDBSecurityGroups返回参数结构体
1779
+ class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
1780
+ # @param Groups: 安全组详情。
1781
+ # @type Groups: Array
1782
+ # @param VIP: 实例VIP
1783
+ # 注意:此字段可能返回 null,表示取不到有效值。
1784
+ # @type VIP: String
1785
+ # @param VPort: 实例端口
1786
+ # 注意:此字段可能返回 null,表示取不到有效值。
1787
+ # @type VPort: String
1788
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1789
+ # @type RequestId: String
1790
+
1791
+ attr_accessor :Groups, :VIP, :VPort, :RequestId
1792
+
1793
+ def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
1794
+ @Groups = groups
1795
+ @VIP = vip
1796
+ @VPort = vport
1797
+ @RequestId = requestid
1798
+ end
1799
+
1800
+ def deserialize(params)
1801
+ unless params['Groups'].nil?
1802
+ @Groups = []
1803
+ params['Groups'].each do |i|
1804
+ securitygroup_tmp = SecurityGroup.new
1805
+ securitygroup_tmp.deserialize(i)
1806
+ @Groups << securitygroup_tmp
1807
+ end
1808
+ end
1809
+ @VIP = params['VIP']
1810
+ @VPort = params['VPort']
1811
+ @RequestId = params['RequestId']
1812
+ end
1813
+ end
1814
+
1721
1815
  # DescribeDBSlowLogs请求参数结构体
1722
1816
  class DescribeDBSlowLogsRequest < TencentCloud::Common::AbstractModel
1723
1817
  # @param InstanceId: 实例 ID,形如:dcdbt-hw0qj6m1
@@ -2645,6 +2739,53 @@ module TencentCloud
2645
2739
  end
2646
2740
  end
2647
2741
 
2742
+ # DescribeOrders请求参数结构体
2743
+ class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
2744
+ # @param DealNames: 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。
2745
+ # @type DealNames: Array
2746
+
2747
+ attr_accessor :DealNames
2748
+
2749
+ def initialize(dealnames=nil)
2750
+ @DealNames = dealnames
2751
+ end
2752
+
2753
+ def deserialize(params)
2754
+ @DealNames = params['DealNames']
2755
+ end
2756
+ end
2757
+
2758
+ # DescribeOrders返回参数结构体
2759
+ class DescribeOrdersResponse < TencentCloud::Common::AbstractModel
2760
+ # @param TotalCount: 返回的订单数量。
2761
+ # @type TotalCount: Integer
2762
+ # @param Deals: 订单信息列表。
2763
+ # @type Deals: Array
2764
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2765
+ # @type RequestId: String
2766
+
2767
+ attr_accessor :TotalCount, :Deals, :RequestId
2768
+
2769
+ def initialize(totalcount=nil, deals=nil, requestid=nil)
2770
+ @TotalCount = totalcount
2771
+ @Deals = deals
2772
+ @RequestId = requestid
2773
+ end
2774
+
2775
+ def deserialize(params)
2776
+ @TotalCount = params['TotalCount']
2777
+ unless params['Deals'].nil?
2778
+ @Deals = []
2779
+ params['Deals'].each do |i|
2780
+ deal_tmp = Deal.new
2781
+ deal_tmp.deserialize(i)
2782
+ @Deals << deal_tmp
2783
+ end
2784
+ end
2785
+ @RequestId = params['RequestId']
2786
+ end
2787
+ end
2788
+
2648
2789
  # DescribeProjectSecurityGroups请求参数结构体
2649
2790
  class DescribeProjectSecurityGroupsRequest < TencentCloud::Common::AbstractModel
2650
2791
  # @param Product: 数据库引擎名称,本接口取值:dcdb。
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: 1.0.318
4
+ version: 1.0.319
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common