tencentcloud-sdk-dcdb 1.0.294 → 1.0.297
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/v20180411/client.rb +0 -48
- data/lib/v20180411/models.rb +7 -143
- 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: 8278ff473d1495fcb3e6f5a1f10149b9b2004587
|
4
|
+
data.tar.gz: d03b0e11b253815da1ecb4e7ced027c1ec3b303d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5545e1efd7e1b539ea538cff5ba23004a0105dc2e69d61390a07c7512f75ce016e0fad1179d07c80d362c3ad80ed4f0e2069caeefc201056ca3501dab505347
|
7
|
+
data.tar.gz: b924ac3f80b58d5ace99f99e2af96f54803169d02f9e4459a33a980d07fb3ad589cc508dfff4e9103f0b7e0838fec67befb18f0b1379a8d941c570acab9dc8e7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.297
|
data/lib/v20180411/client.rb
CHANGED
@@ -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.
|
data/lib/v20180411/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 1.0.297
|
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-
|
11
|
+
date: 2022-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|