tencentcloud-sdk-tdmq 3.0.1028 → 3.0.1030
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200217/client.rb +6 -26
- data/lib/v20200217/models.rb +0 -40
- 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: cd50edb8be769737b91b57b7abaab0c892adf92c
|
4
|
+
data.tar.gz: 6cb83c56d3cbc110f9aad3143509ced38f91b492
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9cfc82c8a5ee4196879d88938f694d6146ad73f4660383705bb576d2cba385d60325d2f4da3c68e1361d0d59f60050cce287bdc73407e16b42d14c6cd29f0e2
|
7
|
+
data.tar.gz: cad8eb9902861e5063b8baad55d59845776693f7018779196360b5813270eff037f365066683ce0d21b14ca67707e7a7b585d4cb96df105a847041876383e788
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1030
|
data/lib/v20200217/client.rb
CHANGED
@@ -2287,6 +2287,8 @@ module TencentCloud
|
|
2287
2287
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2288
2288
|
end
|
2289
2289
|
|
2290
|
+
# 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
|
2291
|
+
|
2290
2292
|
# 用于查询RocketMQ平滑迁移任务列表
|
2291
2293
|
|
2292
2294
|
# @param request: Request instance for DescribeRocketMQSmoothMigrationTaskList.
|
@@ -2311,6 +2313,8 @@ module TencentCloud
|
|
2311
2313
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2312
2314
|
end
|
2313
2315
|
|
2316
|
+
# 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
|
2317
|
+
|
2314
2318
|
# 平滑迁移过程获取源集群group列表接口
|
2315
2319
|
|
2316
2320
|
# @param request: Request instance for DescribeRocketMQSourceClusterGroupList.
|
@@ -2335,6 +2339,8 @@ module TencentCloud
|
|
2335
2339
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2336
2340
|
end
|
2337
2341
|
|
2342
|
+
# 平滑迁移相关接口已迁移至trocket产品下,该接口已废弃
|
2343
|
+
|
2338
2344
|
# 平滑迁移过程获取源集群topic列表接口
|
2339
2345
|
|
2340
2346
|
# @param request: Request instance for DescribeRocketMQSourceClusterTopicList.
|
@@ -2743,32 +2749,6 @@ module TencentCloud
|
|
2743
2749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2744
2750
|
end
|
2745
2751
|
|
2746
|
-
# 历史原因,该接口位于tdmq-manager,目前rabbitmq产品没有使用该接口,当前使用的是ModifyRabbitMQVipInstance。不过从调用链上看,线网还有请求流程,所以走预下线流程。
|
2747
|
-
|
2748
|
-
# 更新Amqp集群信息
|
2749
|
-
|
2750
|
-
# @param request: Request instance for ModifyAMQPCluster.
|
2751
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPClusterRequest`
|
2752
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPClusterResponse`
|
2753
|
-
def ModifyAMQPCluster(request)
|
2754
|
-
body = send_request('ModifyAMQPCluster', request.serialize)
|
2755
|
-
response = JSON.parse(body)
|
2756
|
-
if response['Response'].key?('Error') == false
|
2757
|
-
model = ModifyAMQPClusterResponse.new
|
2758
|
-
model.deserialize(response['Response'])
|
2759
|
-
model
|
2760
|
-
else
|
2761
|
-
code = response['Response']['Error']['Code']
|
2762
|
-
message = response['Response']['Error']['Message']
|
2763
|
-
reqid = response['Response']['RequestId']
|
2764
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2765
|
-
end
|
2766
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2767
|
-
raise e
|
2768
|
-
rescue StandardError => e
|
2769
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2770
|
-
end
|
2771
|
-
|
2772
2752
|
# 更新集群信息
|
2773
2753
|
|
2774
2754
|
# @param request: Request instance for ModifyCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -8609,46 +8609,6 @@ module TencentCloud
|
|
8609
8609
|
end
|
8610
8610
|
end
|
8611
8611
|
|
8612
|
-
# ModifyAMQPCluster请求参数结构体
|
8613
|
-
class ModifyAMQPClusterRequest < TencentCloud::Common::AbstractModel
|
8614
|
-
# @param ClusterId: 集群ID
|
8615
|
-
# @type ClusterId: String
|
8616
|
-
# @param ClusterName: 3-64个字符,只能包含字母、数字、“-”及“_”
|
8617
|
-
# @type ClusterName: String
|
8618
|
-
# @param Remark: 说明信息,不超过128个字符
|
8619
|
-
# @type Remark: String
|
8620
|
-
|
8621
|
-
attr_accessor :ClusterId, :ClusterName, :Remark
|
8622
|
-
|
8623
|
-
def initialize(clusterid=nil, clustername=nil, remark=nil)
|
8624
|
-
@ClusterId = clusterid
|
8625
|
-
@ClusterName = clustername
|
8626
|
-
@Remark = remark
|
8627
|
-
end
|
8628
|
-
|
8629
|
-
def deserialize(params)
|
8630
|
-
@ClusterId = params['ClusterId']
|
8631
|
-
@ClusterName = params['ClusterName']
|
8632
|
-
@Remark = params['Remark']
|
8633
|
-
end
|
8634
|
-
end
|
8635
|
-
|
8636
|
-
# ModifyAMQPCluster返回参数结构体
|
8637
|
-
class ModifyAMQPClusterResponse < TencentCloud::Common::AbstractModel
|
8638
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8639
|
-
# @type RequestId: String
|
8640
|
-
|
8641
|
-
attr_accessor :RequestId
|
8642
|
-
|
8643
|
-
def initialize(requestid=nil)
|
8644
|
-
@RequestId = requestid
|
8645
|
-
end
|
8646
|
-
|
8647
|
-
def deserialize(params)
|
8648
|
-
@RequestId = params['RequestId']
|
8649
|
-
end
|
8650
|
-
end
|
8651
|
-
|
8652
8612
|
# ModifyCluster请求参数结构体
|
8653
8613
|
class ModifyClusterRequest < TencentCloud::Common::AbstractModel
|
8654
8614
|
# @param ClusterId: Pulsar 集群的ID,需要更新的集群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.1030
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|