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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +24 -0
- data/lib/v20200217/models.rb +39 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e66d5745c883ea91545cfc006979217f2240a2d1
|
4
|
+
data.tar.gz: a604cd786ccc49717a4e4ed177d4a03d4a1b22d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3a92a7297ee961429234229af9c6af408e198aaa19f0e1c863135735c566da2546446c196f9e6e563253d47530700c54b5eb6c88ed088e68fc282299d9fc36c
|
7
|
+
data.tar.gz: 0fbb1509a115ce54101467231756de7c3628db8f752038ba4e69eecffd8a0a36ca6705876cc49ba273c80764c98dc4fc2d3b3bfd8ef42809adc05234a38057c1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.714
|
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列表
|