tencentcloud-sdk-mariadb 1.0.317 → 1.0.320

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: fca8538149f267cb2cff772466f5398a5bb264f5
4
- data.tar.gz: a578e17f15e90b4de2257572adade0e8c123b1c3
3
+ metadata.gz: 7fadad065548855fa3ae43c5c1599bfd44f61317
4
+ data.tar.gz: 00852d13fc52f409be3e7d563c69f51314b3cf55
5
5
  SHA512:
6
- metadata.gz: 51e2e2fcb993d2ecba6d2da043f64e351b95e148c542ef4aadec8e4ca57e2d587767f23304c9af47a1dad72615d20e1e9e14ed3113f6d9edd6038f6f68dd87ba
7
- data.tar.gz: 8c274ae4df21dd9830471aef39c6fe3b9468aa97435427688781e1aacbbb43e245c2cc128fb26da309fe4ad4e37fe735a21289b64e4464b2bb2362f0fab570d3
6
+ metadata.gz: ab37eca87a7a20208a5a0ceb5a0209543336bca0fee73fd67b56ded2ffe74d2b6b87760749b8fa328d29f74de54778bdf35c903747c2606ebbb9b480bf902f05
7
+ data.tar.gz: 974ecdeadac9d7c9e6b00e9df8bdfb5d0490b9844e09b09a46cba8867c3957f46105b4a15d6751e19c25ab30057da85e7bd90597f43386eca0fda7ecb7e29b14
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.317
1
+ 1.0.320
@@ -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.317
4
+ version: 1.0.320
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-22 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common