tencentcloud-sdk-tdmq 3.0.702 → 3.0.704
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: f06e03d6fd4b29bb713b4e5287f1d821c93e5b06
|
4
|
+
data.tar.gz: 502b92afe48431937f5d82ee953e28f8694072b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4fc7a751960b1c66481f9c8020208fab88a036602a3142f8c82386bdecb372292032b59aaf8099cd8f76f2002fa953bb127bb1728e0edce3775c5f83dcbfa34
|
7
|
+
data.tar.gz: 5f2589708dcee946388dc761b2211bb9f40f1a85faa8b088402f2610802974dd318afd2e7036b524f86b6b84b5fb4d748792edf9f03ef9a18fae58ae98d82a0d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.704
|
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.704
|
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
|