tencentcloud-sdk-tdmq 3.0.713 → 3.0.715
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 +39 -3
- 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: b97f0d0cbd44a2c71d4082532f4cb92aa30d683c
|
4
|
+
data.tar.gz: dfda3395012b1c26c5655aa9bf1efdbaf1cb7321
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51f9ba65e03b92a53e788943a144695e4247fb5a73fd16d21a62f74f9186f49d3c265ad98bbe65b7b5acd7bef1558cc4d9551aecc6b144c0214b312b47563752
|
7
|
+
data.tar.gz: 1e75e4d679e05b4915d13f74f0eb6725b170ffbb103eea3a51e95bb758b575826049f79aa4dfc7041f89e775c460c949a971a06c81000acbe3f368a85f244a68
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.715
|
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 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 调用,支持同时删除多个集群
|
data/lib/v20200217/models.rb
CHANGED
@@ -1501,10 +1501,10 @@ module TencentCloud
|
|
1501
1501
|
|
1502
1502
|
# CreateProCluster请求参数结构体
|
1503
1503
|
class CreateProClusterRequest < TencentCloud::Common::AbstractModel
|
1504
|
-
# @param ZoneIds: 多可用区部署选择三个可用区,示例
|
1504
|
+
# @param ZoneIds: 多可用区部署选择三个可用区,示例[200002,200003,200004]
|
1505
1505
|
|
1506
|
-
# 单可用区部署选择一个可用区,示例
|
1507
|
-
# @type ZoneIds:
|
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,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.715
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|