tencentcloud-sdk-dcdb 1.0.292 → 1.0.295

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: b6d56b41320bedf6f1e0b5de6bf6f2953daced2f
4
- data.tar.gz: a33e1a6ff6bed509ccdae8a5a2e9692d4791ab77
3
+ metadata.gz: a5b0071d9bfbb6937154cb4a0427dc799182b06e
4
+ data.tar.gz: 78321e937dfe655a0a9045dd83d93e799afa43a2
5
5
  SHA512:
6
- metadata.gz: 245361d56c2fa36422fd9366fe1dd58055d4009868596321b2ecb365d8afe423fdd97a55047812d975cdc6602cc78c056761df99a4fd5050a8723f1cbc6e9a8a
7
- data.tar.gz: 3a262d58c0f049628c3afe198283396940c3d3747864b3f0c011c4e1b566cb4936b62d8d45584897d5f59c9c744133abe818791e8e9bf6073d060841c8d94c9a
6
+ metadata.gz: 3f22f202296a1c4df4dd28638c8e01ad27ac26e91f9577497cd00ae27a4c2244774048601eb3ceb2c0a8ef770ac11631f991109739f4d0efd6941f765bddbd08
7
+ data.tar.gz: 78413bd9dba880eeb30bdf7077392bea8181c7e617e72f5d4657375e60592d28d7a55c002e129428df3c4904fb1116a90eefb71c719d1582a4c9ce41f88d5890
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.292
1
+ 1.0.295
@@ -391,30 +391,6 @@ 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
-
418
394
  # 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。
419
395
 
420
396
  # @param request: Request instance for DescribeDBSlowLogs.
@@ -776,30 +752,6 @@ module TencentCloud
776
752
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
777
753
  end
778
754
 
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
-
803
755
  # 本接口(DescribeProjectSecurityGroups)用于查询项目安全组信息
804
756
 
805
757
  # @param request: Request instance for DescribeProjectSecurityGroups.
@@ -840,20 +840,25 @@ module TencentCloud
840
840
  # @type InstanceIds: Array
841
841
  # @param FlowId: 流程id,可以根据流程id查询创建进度
842
842
  # @type FlowId: Integer
843
+ # @param DealName: 订单号。可以据此调用 DescribeOrders
844
+ # 查询订单详细信息,或在支付失败时调用用户账号相关接口进行支付。
845
+ # @type DealName: String
843
846
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
844
847
  # @type RequestId: String
845
848
 
846
- attr_accessor :InstanceIds, :FlowId, :RequestId
849
+ attr_accessor :InstanceIds, :FlowId, :DealName, :RequestId
847
850
 
848
- def initialize(instanceids=nil, flowid=nil, requestid=nil)
851
+ def initialize(instanceids=nil, flowid=nil, dealname=nil, requestid=nil)
849
852
  @InstanceIds = instanceids
850
853
  @FlowId = flowid
854
+ @DealName = dealname
851
855
  @RequestId = requestid
852
856
  end
853
857
 
854
858
  def deserialize(params)
855
859
  @InstanceIds = params['InstanceIds']
856
860
  @FlowId = params['FlowId']
861
+ @DealName = params['DealName']
857
862
  @RequestId = params['RequestId']
858
863
  end
859
864
  end
@@ -1431,43 +1436,6 @@ module TencentCloud
1431
1436
  end
1432
1437
  end
1433
1438
 
1434
- # 订单信息
1435
- class Deal < TencentCloud::Common::AbstractModel
1436
- # @param DealName: 订单号
1437
- # @type DealName: String
1438
- # @param OwnerUin: 所属账号
1439
- # @type OwnerUin: String
1440
- # @param Count: 商品数量
1441
- # @type Count: Integer
1442
- # @param FlowId: 关联的流程 Id,可用于查询流程执行状态
1443
- # @type FlowId: Integer
1444
- # @param InstanceIds: 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID。
1445
- # 注意:此字段可能返回 null,表示取不到有效值。
1446
- # @type InstanceIds: Array
1447
- # @param PayMode: 付费模式,0后付费/1预付费
1448
- # @type PayMode: Integer
1449
-
1450
- attr_accessor :DealName, :OwnerUin, :Count, :FlowId, :InstanceIds, :PayMode
1451
-
1452
- def initialize(dealname=nil, owneruin=nil, count=nil, flowid=nil, instanceids=nil, paymode=nil)
1453
- @DealName = dealname
1454
- @OwnerUin = owneruin
1455
- @Count = count
1456
- @FlowId = flowid
1457
- @InstanceIds = instanceids
1458
- @PayMode = paymode
1459
- end
1460
-
1461
- def deserialize(params)
1462
- @DealName = params['DealName']
1463
- @OwnerUin = params['OwnerUin']
1464
- @Count = params['Count']
1465
- @FlowId = params['FlowId']
1466
- @InstanceIds = params['InstanceIds']
1467
- @PayMode = params['PayMode']
1468
- end
1469
- end
1470
-
1471
1439
  # DeleteAccount请求参数结构体
1472
1440
  class DeleteAccountRequest < TencentCloud::Common::AbstractModel
1473
1441
  # @param InstanceId: 实例ID,形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
@@ -1750,63 +1718,6 @@ module TencentCloud
1750
1718
  end
1751
1719
  end
1752
1720
 
1753
- # DescribeDBSecurityGroups请求参数结构体
1754
- class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
1755
- # @param Product: 数据库引擎名称,本接口取值:dcdb。
1756
- # @type Product: String
1757
- # @param InstanceId: 实例ID。
1758
- # @type InstanceId: String
1759
-
1760
- attr_accessor :Product, :InstanceId
1761
-
1762
- def initialize(product=nil, instanceid=nil)
1763
- @Product = product
1764
- @InstanceId = instanceid
1765
- end
1766
-
1767
- def deserialize(params)
1768
- @Product = params['Product']
1769
- @InstanceId = params['InstanceId']
1770
- end
1771
- end
1772
-
1773
- # DescribeDBSecurityGroups返回参数结构体
1774
- class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
1775
- # @param Groups: 安全组详情。
1776
- # @type Groups: Array
1777
- # @param VIP: 实例VIP
1778
- # 注意:此字段可能返回 null,表示取不到有效值。
1779
- # @type VIP: String
1780
- # @param VPort: 实例端口
1781
- # 注意:此字段可能返回 null,表示取不到有效值。
1782
- # @type VPort: Integer
1783
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1784
- # @type RequestId: String
1785
-
1786
- attr_accessor :Groups, :VIP, :VPort, :RequestId
1787
-
1788
- def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
1789
- @Groups = groups
1790
- @VIP = vip
1791
- @VPort = vport
1792
- @RequestId = requestid
1793
- end
1794
-
1795
- def deserialize(params)
1796
- unless params['Groups'].nil?
1797
- @Groups = []
1798
- params['Groups'].each do |i|
1799
- securitygroup_tmp = SecurityGroup.new
1800
- securitygroup_tmp.deserialize(i)
1801
- @Groups << securitygroup_tmp
1802
- end
1803
- end
1804
- @VIP = params['VIP']
1805
- @VPort = params['VPort']
1806
- @RequestId = params['RequestId']
1807
- end
1808
- end
1809
-
1810
1721
  # DescribeDBSlowLogs请求参数结构体
1811
1722
  class DescribeDBSlowLogsRequest < TencentCloud::Common::AbstractModel
1812
1723
  # @param InstanceId: 实例 ID,形如:dcdbt-hw0qj6m1
@@ -2734,53 +2645,6 @@ module TencentCloud
2734
2645
  end
2735
2646
  end
2736
2647
 
2737
- # DescribeOrders请求参数结构体
2738
- class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
2739
- # @param DealNames: 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。
2740
- # @type DealNames: Array
2741
-
2742
- attr_accessor :DealNames
2743
-
2744
- def initialize(dealnames=nil)
2745
- @DealNames = dealnames
2746
- end
2747
-
2748
- def deserialize(params)
2749
- @DealNames = params['DealNames']
2750
- end
2751
- end
2752
-
2753
- # DescribeOrders返回参数结构体
2754
- class DescribeOrdersResponse < TencentCloud::Common::AbstractModel
2755
- # @param TotalCount: 返回的订单数量。
2756
- # @type TotalCount: Array
2757
- # @param Deals: 订单信息列表。
2758
- # @type Deals: Array
2759
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760
- # @type RequestId: String
2761
-
2762
- attr_accessor :TotalCount, :Deals, :RequestId
2763
-
2764
- def initialize(totalcount=nil, deals=nil, requestid=nil)
2765
- @TotalCount = totalcount
2766
- @Deals = deals
2767
- @RequestId = requestid
2768
- end
2769
-
2770
- def deserialize(params)
2771
- @TotalCount = params['TotalCount']
2772
- unless params['Deals'].nil?
2773
- @Deals = []
2774
- params['Deals'].each do |i|
2775
- deal_tmp = Deal.new
2776
- deal_tmp.deserialize(i)
2777
- @Deals << deal_tmp
2778
- end
2779
- end
2780
- @RequestId = params['RequestId']
2781
- end
2782
- end
2783
-
2784
2648
  # DescribeProjectSecurityGroups请求参数结构体
2785
2649
  class DescribeProjectSecurityGroupsRequest < TencentCloud::Common::AbstractModel
2786
2650
  # @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.292
4
+ version: 1.0.295
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-04-07 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common