tencentcloud-sdk-mariadb 1.0.294 → 1.0.295
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 +0 -48
- data/lib/v20170312/models.rb +0 -141
- 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: 5c9db97172494e4c72a406c2c6ed9a20943a8fb9
|
4
|
+
data.tar.gz: 583c37d36eac014174fb0fd9be37e615d424865c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32aff2ec5ee95046eb2b77a978bc8e400bd3b6cc94ba33a3722dc1527b62d68056cef15edbe78826b712cfdf6479ec4d59350cccf49c297f452eebac1d6577e0
|
7
|
+
data.tar.gz: 0b5ae1282141e8e8b6d20391c7f4bb7623b6cd44b35c8dfa41fa67635d8d893e9d321aed40d9c57b2a0fb999f266ebe3a8ce09d0f83cb750fd95029f20b98db2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.295
|
data/lib/v20170312/client.rb
CHANGED
@@ -584,30 +584,6 @@ 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
|
-
|
611
587
|
# 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。
|
612
588
|
|
613
589
|
# @param request: Request instance for DescribeDBSlowLogs.
|
@@ -824,30 +800,6 @@ module TencentCloud
|
|
824
800
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
825
801
|
end
|
826
802
|
|
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
|
-
|
851
803
|
# 本接口(DescribePrice)用于在购买实例前,查询实例的价格。
|
852
804
|
|
853
805
|
# @param request: Request instance for DescribePrice.
|
data/lib/v20170312/models.rb
CHANGED
@@ -1376,43 +1376,6 @@ 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
|
-
|
1416
1379
|
# DeleteAccount请求参数结构体
|
1417
1380
|
class DeleteAccountRequest < TencentCloud::Common::AbstractModel
|
1418
1381
|
# @param InstanceId: 实例ID,形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
|
@@ -2211,63 +2174,6 @@ module TencentCloud
|
|
2211
2174
|
end
|
2212
2175
|
end
|
2213
2176
|
|
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: Integer
|
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
|
-
|
2271
2177
|
# DescribeDBSlowLogs请求参数结构体
|
2272
2178
|
class DescribeDBSlowLogsRequest < TencentCloud::Common::AbstractModel
|
2273
2179
|
# @param InstanceId: 实例 ID,形如:tdsql-ow728lmc。
|
@@ -2771,53 +2677,6 @@ module TencentCloud
|
|
2771
2677
|
end
|
2772
2678
|
end
|
2773
2679
|
|
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: Array
|
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
|
-
|
2821
2680
|
# DescribePrice请求参数结构体
|
2822
2681
|
class DescribePriceRequest < TencentCloud::Common::AbstractModel
|
2823
2682
|
# @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.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-
|
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
|