tencentcloud-sdk-mariadb 1.0.318 → 1.0.321

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: 2f084bff363a900e775fdb446d3c05ca370c230c
4
- data.tar.gz: 7a2f5646b42e1e648c866886879ea904efac6066
3
+ metadata.gz: d7f9da28beba2aba78471b8c7f8c66259f6f428c
4
+ data.tar.gz: e5d1c68ecb6e17ae7c8005455234fc76bb53c92a
5
5
  SHA512:
6
- metadata.gz: 892523979bec040958d000aec86d4e770d35d388a9b11e048a2f0b283324f736ea5a0367fd394c9c6d3192c80bbe8d8ceb66acf3e59d2688f836d9ac2b0bc22a
7
- data.tar.gz: bd954b1cf1bdb74f7ad765110e47beb8ed49e8e3caf345e1884e46f3d353e6ade72cd48239e903d393845665ab0746eff62b5c90eabbfff92b803da26cd59c0e
6
+ metadata.gz: fc542d96e9a9b36fedf3277b33f2c9e41d09d929829d26420524936f2f93d8c0fc753ca931316854e7063911df5191fcfbaeac4e7af45b614748cd91dfdb1405
7
+ data.tar.gz: 983472009f2c8198f210850d4a895d63fba5146358ec0f432bb7c009f86c1bf4dafbc203826348ea970a2c410764a5a0b1ad1c32c522562dc26d75c282da8b1b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.318
1
+ 1.0.321
@@ -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.
@@ -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.318
4
+ version: 1.0.321
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common