tencentcloud-sdk-tdmq 3.0.702 → 3.0.703
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/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +40 -0
- 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: 9edeb6db89147a294a9a571e959796432d8eecc6
|
4
|
+
data.tar.gz: 62315aa880361d0d6e16dbb982b8d0a7c7c1c8c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7357586572dc96b6487b5a3b5c428bd39206f32340ef3bbb7e71c9845ef1efeb60fabe3cf2f7456ac5b9f4ff78887e3b79b93a8a38fd929b9df133a307e5de84
|
7
|
+
data.tar.gz: ffc97c56711ceeaf44bbcd88ba829e0497e3eb3254f6053e3f2ed9e7205703c55666d9ead8bc373c37229c5605892dc83cf909910bdc4330e36781c30c6a3996
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.703
|
data/lib/v20200217/client.rb
CHANGED
@@ -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.
|
data/lib/v20200217/models.rb
CHANGED
@@ -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.
|
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-
|
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
|