tencentcloud-sdk-tdmq 3.0.701 → 3.0.703

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: 8b8d7ee09d5b3ecb1b997c67b3b566e62badc9cf
4
- data.tar.gz: 62d5655764d916f6c01d7f427a7d998554e00c62
3
+ metadata.gz: 9edeb6db89147a294a9a571e959796432d8eecc6
4
+ data.tar.gz: 62315aa880361d0d6e16dbb982b8d0a7c7c1c8c7
5
5
  SHA512:
6
- metadata.gz: d6f59c99c5cb4c4522b8259a249c42919be91af531a8dc7795491d5e3aec9e75a11ab716e724441dc011f7d256cda1d68e018cdbf8e0c55241dc54dc6b379399
7
- data.tar.gz: e66803bd0839e298c837454866ebbf68f9a50e47e578530d9b6788873284d5688e6352b55db655937040152ac7f2d9ae04ced26c72ca931a8e6ec1700ae0c592
6
+ metadata.gz: 7357586572dc96b6487b5a3b5c428bd39206f32340ef3bbb7e71c9845ef1efeb60fabe3cf2f7456ac5b9f4ff78887e3b79b93a8a38fd929b9df133a307e5de84
7
+ data.tar.gz: ffc97c56711ceeaf44bbcd88ba829e0497e3eb3254f6053e3f2ed9e7205703c55666d9ead8bc373c37229c5605892dc83cf909910bdc4330e36781c30c6a3996
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.701
1
+ 3.0.703
@@ -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 DeleteProClusters.
683
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteProClustersRequest`
684
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteProClustersResponse`
685
+ def DeleteProClusters(request)
686
+ body = send_request('DeleteProClusters', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DeleteProClustersResponse.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
  # 删除RabbitMQ的用户
681
705
 
682
706
  # @param request: Request instance for DeleteRabbitMQUser.
@@ -2479,6 +2479,46 @@ module TencentCloud
2479
2479
  end
2480
2480
  end
2481
2481
 
2482
+ # DeleteProClusters请求参数结构体
2483
+ class DeleteProClustersRequest < TencentCloud::Common::AbstractModel
2484
+ # @param ClusterIds: 集群Id列表
2485
+ # @type ClusterIds: Array
2486
+
2487
+ attr_accessor :ClusterIds
2488
+
2489
+ def initialize(clusterids=nil)
2490
+ @ClusterIds = clusterids
2491
+ end
2492
+
2493
+ def deserialize(params)
2494
+ @ClusterIds = params['ClusterIds']
2495
+ end
2496
+ end
2497
+
2498
+ # DeleteProClusters返回参数结构体
2499
+ class DeleteProClustersResponse < TencentCloud::Common::AbstractModel
2500
+ # @param DealNames: 退还实例订单号
2501
+ # @type DealNames: Array
2502
+ # @param ClusterIds: 集群ID
2503
+ # @type ClusterIds: Array
2504
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2505
+ # @type RequestId: String
2506
+
2507
+ attr_accessor :DealNames, :ClusterIds, :RequestId
2508
+
2509
+ def initialize(dealnames=nil, clusterids=nil, requestid=nil)
2510
+ @DealNames = dealnames
2511
+ @ClusterIds = clusterids
2512
+ @RequestId = requestid
2513
+ end
2514
+
2515
+ def deserialize(params)
2516
+ @DealNames = params['DealNames']
2517
+ @ClusterIds = params['ClusterIds']
2518
+ @RequestId = params['RequestId']
2519
+ end
2520
+ end
2521
+
2482
2522
  # DeleteRabbitMQUser请求参数结构体
2483
2523
  class DeleteRabbitMQUserRequest < TencentCloud::Common::AbstractModel
2484
2524
  # @param InstanceId: 集群实例Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.701
4
+ version: 3.0.703
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-13 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-tdmq.rb
37
- - lib/v20200217/client.rb
38
36
  - lib/v20200217/models.rb
37
+ - lib/v20200217/client.rb
38
+ - lib/tencentcloud-sdk-tdmq.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: