tencentcloud-sdk-tdmq 3.0.713 → 3.0.714

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: 8a4a77a728085d15e5e33639be4b25990853436e
4
- data.tar.gz: 6065c4d15901f6dcf6efa72c022f8ea90f928bff
3
+ metadata.gz: e66d5745c883ea91545cfc006979217f2240a2d1
4
+ data.tar.gz: a604cd786ccc49717a4e4ed177d4a03d4a1b22d7
5
5
  SHA512:
6
- metadata.gz: e9858dc4daf2966e9d2938de2b6e193d236fac1bd5d104e0d12226c824816f60be5ba952f8d31143c5dfb37eaf232defd3e17040bdb415fdeee53eb23a6c33d0
7
- data.tar.gz: 624c96d2a7154b36b62bd162a3829f3bf4902bea4344e4a275659a0417bf6dd21dc610e38a246e67ec4b5351fe7279cdfcc7c6c19d448ef0f4c75b28ad809060
6
+ metadata.gz: d3a92a7297ee961429234229af9c6af408e198aaa19f0e1c863135735c566da2546446c196f9e6e563253d47530700c54b5eb6c88ed088e68fc282299d9fc36c
7
+ data.tar.gz: 0fbb1509a115ce54101467231756de7c3628db8f752038ba4e69eecffd8a0a36ca6705876cc49ba273c80764c98dc4fc2d3b3bfd8ef42809adc05234a38057c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.713
1
+ 3.0.714
@@ -677,6 +677,30 @@ module TencentCloud
677
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
678
  end
679
679
 
680
+ # 删除专业集群——预付费,仅通过API 调用
681
+
682
+ # @param request: Request instance for DeleteProCluster.
683
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteProClusterRequest`
684
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteProClusterResponse`
685
+ def DeleteProCluster(request)
686
+ body = send_request('DeleteProCluster', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DeleteProClusterResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
680
704
  # 接口支持删除多个集群,目前已废弃
681
705
 
682
706
  # 删除专业集群——预付费,仅通过API 调用,支持同时删除多个集群
@@ -1501,10 +1501,10 @@ module TencentCloud
1501
1501
 
1502
1502
  # CreateProCluster请求参数结构体
1503
1503
  class CreateProClusterRequest < TencentCloud::Common::AbstractModel
1504
- # @param ZoneIds: 多可用区部署选择三个可用区,示例"200002","200003","200004"
1504
+ # @param ZoneIds: 多可用区部署选择三个可用区,示例[200002,200003,200004]
1505
1505
 
1506
- # 单可用区部署选择一个可用区,示例"200002"
1507
- # @type ZoneIds: String
1506
+ # 单可用区部署选择一个可用区,示例[200002]
1507
+ # @type ZoneIds: Array
1508
1508
  # @param ProductName: 集群规格代号
1509
1509
  # 参考 [专业集群规格](https://cloud.tencent.com/document/product/1179/83705)
1510
1510
  # @type ProductName: String
@@ -2489,6 +2489,42 @@ module TencentCloud
2489
2489
  end
2490
2490
  end
2491
2491
 
2492
+ # DeleteProCluster请求参数结构体
2493
+ class DeleteProClusterRequest < TencentCloud::Common::AbstractModel
2494
+ # @param ClusterId: 集群Id
2495
+ # @type ClusterId: String
2496
+
2497
+ attr_accessor :ClusterId
2498
+
2499
+ def initialize(clusterid=nil)
2500
+ @ClusterId = clusterid
2501
+ end
2502
+
2503
+ def deserialize(params)
2504
+ @ClusterId = params['ClusterId']
2505
+ end
2506
+ end
2507
+
2508
+ # DeleteProCluster返回参数结构体
2509
+ class DeleteProClusterResponse < TencentCloud::Common::AbstractModel
2510
+ # @param DealName: 退还实例订单号
2511
+ # @type DealName: String
2512
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2513
+ # @type RequestId: String
2514
+
2515
+ attr_accessor :DealName, :RequestId
2516
+
2517
+ def initialize(dealname=nil, requestid=nil)
2518
+ @DealName = dealname
2519
+ @RequestId = requestid
2520
+ end
2521
+
2522
+ def deserialize(params)
2523
+ @DealName = params['DealName']
2524
+ @RequestId = params['RequestId']
2525
+ end
2526
+ end
2527
+
2492
2528
  # DeleteProClusters请求参数结构体
2493
2529
  class DeleteProClustersRequest < TencentCloud::Common::AbstractModel
2494
2530
  # @param ClusterIds: 集群Id列表
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.713
4
+ version: 3.0.714
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud