tencentcloud-sdk-mariadb 1.0.316 → 1.0.319
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/v20170312/client.rb +48 -0
- data/lib/v20170312/models.rb +141 -0
- 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: bc8abbec767cd926ec0e2124a21bd8a467595b48
|
4
|
+
data.tar.gz: 96a0819269df991ce6c90f27ab4eea94034a5e9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e83caf4283f0d0d986d678255694573750896331c0e5005dbdedd2ff5cc24476f94c13ba1734db03bf7a136c739cb392423f60408f87c463a02a4b26845c8be
|
7
|
+
data.tar.gz: 3673c7f967bc9952fe1d84d4cf59a3ec7c05987fab406bf374df7275385940d41daca8f27c6923024522bf741b60e6b7dcdc1c1466810580e57e69b49207e79b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.319
|
data/lib/v20170312/client.rb
CHANGED
@@ -584,6 +584,30 @@ module TencentCloud
|
|
584
584
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
585
585
|
end
|
586
586
|
|
587
|
+
# 本接口(DescribeDBSecurityGroups)用于查询实例安全组信息
|
588
|
+
|
589
|
+
# @param request: Request instance for DescribeDBSecurityGroups.
|
590
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBSecurityGroupsRequest`
|
591
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBSecurityGroupsResponse`
|
592
|
+
def DescribeDBSecurityGroups(request)
|
593
|
+
body = send_request('DescribeDBSecurityGroups', request.serialize)
|
594
|
+
response = JSON.parse(body)
|
595
|
+
if response['Response'].key?('Error') == false
|
596
|
+
model = DescribeDBSecurityGroupsResponse.new
|
597
|
+
model.deserialize(response['Response'])
|
598
|
+
model
|
599
|
+
else
|
600
|
+
code = response['Response']['Error']['Code']
|
601
|
+
message = response['Response']['Error']['Message']
|
602
|
+
reqid = response['Response']['RequestId']
|
603
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
604
|
+
end
|
605
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
606
|
+
raise e
|
607
|
+
rescue StandardError => e
|
608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
609
|
+
end
|
610
|
+
|
587
611
|
# 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。
|
588
612
|
|
589
613
|
# @param request: Request instance for DescribeDBSlowLogs.
|
@@ -800,6 +824,30 @@ module TencentCloud
|
|
800
824
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
801
825
|
end
|
802
826
|
|
827
|
+
# 本接口(DescribeOrders)用于查询云数据库订单信息。传入订单ID来查询订单关联的云数据库实例,和对应的任务流程ID。
|
828
|
+
|
829
|
+
# @param request: Request instance for DescribeOrders.
|
830
|
+
# @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeOrdersRequest`
|
831
|
+
# @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeOrdersResponse`
|
832
|
+
def DescribeOrders(request)
|
833
|
+
body = send_request('DescribeOrders', request.serialize)
|
834
|
+
response = JSON.parse(body)
|
835
|
+
if response['Response'].key?('Error') == false
|
836
|
+
model = DescribeOrdersResponse.new
|
837
|
+
model.deserialize(response['Response'])
|
838
|
+
model
|
839
|
+
else
|
840
|
+
code = response['Response']['Error']['Code']
|
841
|
+
message = response['Response']['Error']['Message']
|
842
|
+
reqid = response['Response']['RequestId']
|
843
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
844
|
+
end
|
845
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
846
|
+
raise e
|
847
|
+
rescue StandardError => e
|
848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
849
|
+
end
|
850
|
+
|
803
851
|
# 本接口(DescribePrice)用于在购买实例前,查询实例的价格。
|
804
852
|
|
805
853
|
# @param request: Request instance for DescribePrice.
|
data/lib/v20170312/models.rb
CHANGED
@@ -1376,6 +1376,43 @@ module TencentCloud
|
|
1376
1376
|
end
|
1377
1377
|
end
|
1378
1378
|
|
1379
|
+
# 订单信息
|
1380
|
+
class Deal < TencentCloud::Common::AbstractModel
|
1381
|
+
# @param DealName: 订单号
|
1382
|
+
# @type DealName: String
|
1383
|
+
# @param OwnerUin: 所属账号
|
1384
|
+
# @type OwnerUin: String
|
1385
|
+
# @param Count: 商品数量
|
1386
|
+
# @type Count: Integer
|
1387
|
+
# @param FlowId: 关联的流程 Id,可用于查询流程执行状态
|
1388
|
+
# @type FlowId: Integer
|
1389
|
+
# @param InstanceIds: 只有创建实例的订单会填充该字段,表示该订单创建的实例的 ID。
|
1390
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1391
|
+
# @type InstanceIds: Array
|
1392
|
+
# @param PayMode: 付费模式,0后付费/1预付费
|
1393
|
+
# @type PayMode: Integer
|
1394
|
+
|
1395
|
+
attr_accessor :DealName, :OwnerUin, :Count, :FlowId, :InstanceIds, :PayMode
|
1396
|
+
|
1397
|
+
def initialize(dealname=nil, owneruin=nil, count=nil, flowid=nil, instanceids=nil, paymode=nil)
|
1398
|
+
@DealName = dealname
|
1399
|
+
@OwnerUin = owneruin
|
1400
|
+
@Count = count
|
1401
|
+
@FlowId = flowid
|
1402
|
+
@InstanceIds = instanceids
|
1403
|
+
@PayMode = paymode
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
def deserialize(params)
|
1407
|
+
@DealName = params['DealName']
|
1408
|
+
@OwnerUin = params['OwnerUin']
|
1409
|
+
@Count = params['Count']
|
1410
|
+
@FlowId = params['FlowId']
|
1411
|
+
@InstanceIds = params['InstanceIds']
|
1412
|
+
@PayMode = params['PayMode']
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1379
1416
|
# DeleteAccount请求参数结构体
|
1380
1417
|
class DeleteAccountRequest < TencentCloud::Common::AbstractModel
|
1381
1418
|
# @param InstanceId: 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
@@ -2174,6 +2211,63 @@ module TencentCloud
|
|
2174
2211
|
end
|
2175
2212
|
end
|
2176
2213
|
|
2214
|
+
# DescribeDBSecurityGroups请求参数结构体
|
2215
|
+
class DescribeDBSecurityGroupsRequest < TencentCloud::Common::AbstractModel
|
2216
|
+
# @param Product: 数据库引擎名称,本接口取值:mariadb。
|
2217
|
+
# @type Product: String
|
2218
|
+
# @param InstanceId: 实例ID。
|
2219
|
+
# @type InstanceId: String
|
2220
|
+
|
2221
|
+
attr_accessor :Product, :InstanceId
|
2222
|
+
|
2223
|
+
def initialize(product=nil, instanceid=nil)
|
2224
|
+
@Product = product
|
2225
|
+
@InstanceId = instanceid
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
def deserialize(params)
|
2229
|
+
@Product = params['Product']
|
2230
|
+
@InstanceId = params['InstanceId']
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
|
2234
|
+
# DescribeDBSecurityGroups返回参数结构体
|
2235
|
+
class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
|
2236
|
+
# @param Groups: 安全组详情。
|
2237
|
+
# @type Groups: Array
|
2238
|
+
# @param VIP: 实例VIP。
|
2239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2240
|
+
# @type VIP: String
|
2241
|
+
# @param VPort: 实例端口。
|
2242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2243
|
+
# @type VPort: String
|
2244
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2245
|
+
# @type RequestId: String
|
2246
|
+
|
2247
|
+
attr_accessor :Groups, :VIP, :VPort, :RequestId
|
2248
|
+
|
2249
|
+
def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
|
2250
|
+
@Groups = groups
|
2251
|
+
@VIP = vip
|
2252
|
+
@VPort = vport
|
2253
|
+
@RequestId = requestid
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def deserialize(params)
|
2257
|
+
unless params['Groups'].nil?
|
2258
|
+
@Groups = []
|
2259
|
+
params['Groups'].each do |i|
|
2260
|
+
securitygroup_tmp = SecurityGroup.new
|
2261
|
+
securitygroup_tmp.deserialize(i)
|
2262
|
+
@Groups << securitygroup_tmp
|
2263
|
+
end
|
2264
|
+
end
|
2265
|
+
@VIP = params['VIP']
|
2266
|
+
@VPort = params['VPort']
|
2267
|
+
@RequestId = params['RequestId']
|
2268
|
+
end
|
2269
|
+
end
|
2270
|
+
|
2177
2271
|
# DescribeDBSlowLogs请求参数结构体
|
2178
2272
|
class DescribeDBSlowLogsRequest < TencentCloud::Common::AbstractModel
|
2179
2273
|
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
@@ -2677,6 +2771,53 @@ module TencentCloud
|
|
2677
2771
|
end
|
2678
2772
|
end
|
2679
2773
|
|
2774
|
+
# DescribeOrders请求参数结构体
|
2775
|
+
class DescribeOrdersRequest < TencentCloud::Common::AbstractModel
|
2776
|
+
# @param DealNames: 待查询的长订单号列表,创建实例、续费实例、扩容实例接口返回。
|
2777
|
+
# @type DealNames: Array
|
2778
|
+
|
2779
|
+
attr_accessor :DealNames
|
2780
|
+
|
2781
|
+
def initialize(dealnames=nil)
|
2782
|
+
@DealNames = dealnames
|
2783
|
+
end
|
2784
|
+
|
2785
|
+
def deserialize(params)
|
2786
|
+
@DealNames = params['DealNames']
|
2787
|
+
end
|
2788
|
+
end
|
2789
|
+
|
2790
|
+
# DescribeOrders返回参数结构体
|
2791
|
+
class DescribeOrdersResponse < TencentCloud::Common::AbstractModel
|
2792
|
+
# @param TotalCount: 返回的订单数量。
|
2793
|
+
# @type TotalCount: Integer
|
2794
|
+
# @param Deals: 订单信息列表。
|
2795
|
+
# @type Deals: Array
|
2796
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2797
|
+
# @type RequestId: String
|
2798
|
+
|
2799
|
+
attr_accessor :TotalCount, :Deals, :RequestId
|
2800
|
+
|
2801
|
+
def initialize(totalcount=nil, deals=nil, requestid=nil)
|
2802
|
+
@TotalCount = totalcount
|
2803
|
+
@Deals = deals
|
2804
|
+
@RequestId = requestid
|
2805
|
+
end
|
2806
|
+
|
2807
|
+
def deserialize(params)
|
2808
|
+
@TotalCount = params['TotalCount']
|
2809
|
+
unless params['Deals'].nil?
|
2810
|
+
@Deals = []
|
2811
|
+
params['Deals'].each do |i|
|
2812
|
+
deal_tmp = Deal.new
|
2813
|
+
deal_tmp.deserialize(i)
|
2814
|
+
@Deals << deal_tmp
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
@RequestId = params['RequestId']
|
2818
|
+
end
|
2819
|
+
end
|
2820
|
+
|
2680
2821
|
# DescribePrice请求参数结构体
|
2681
2822
|
class DescribePriceRequest < TencentCloud::Common::AbstractModel
|
2682
2823
|
# @param Zone: 欲新购实例的可用区ID。
|
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: 1.0.
|
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-
|
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
|