tencentcloud-sdk-tdmq 3.0.613 → 3.0.614
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 +0 -468
- data/lib/v20200217/models.rb +255 -1430
- 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: a6461d04de2716a1f5bab0bcdd5ed1b75404ee04
|
4
|
+
data.tar.gz: e38346d67d3795304a98e3696bca02f6efb3678e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db663dfc2b9434e4ef1d70c8fb1a5a26880223c274eb2dd341b9c003939cedb06174824d4cb47e8e27feb11c9dd97dfeb83802efec6d8f3eedb78cb79776ccd
|
7
|
+
data.tar.gz: 82d56c4b8b8e3edaac9c3c54a184164df638b9e546f987a84f82c6c22481277ddb81b030f26a9b2d27ae7b5f8342729f03a2f311d8de90446fac8d4295b5c60a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.614
|
data/lib/v20200217/client.rb
CHANGED
@@ -101,136 +101,6 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
# 产品下线了,对应的接口也要下线。
|
105
|
-
|
106
|
-
# 创建AMQP集群
|
107
|
-
|
108
|
-
# @param request: Request instance for CreateAMQPCluster.
|
109
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPClusterRequest`
|
110
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPClusterResponse`
|
111
|
-
def CreateAMQPCluster(request)
|
112
|
-
body = send_request('CreateAMQPCluster', request.serialize)
|
113
|
-
response = JSON.parse(body)
|
114
|
-
if response['Response'].key?('Error') == false
|
115
|
-
model = CreateAMQPClusterResponse.new
|
116
|
-
model.deserialize(response['Response'])
|
117
|
-
model
|
118
|
-
else
|
119
|
-
code = response['Response']['Error']['Code']
|
120
|
-
message = response['Response']['Error']['Message']
|
121
|
-
reqid = response['Response']['RequestId']
|
122
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
123
|
-
end
|
124
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
125
|
-
raise e
|
126
|
-
rescue StandardError => e
|
127
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
128
|
-
end
|
129
|
-
|
130
|
-
# 产品下线了,对应的接口也要下线。
|
131
|
-
|
132
|
-
# 创建AMQP Exchange
|
133
|
-
|
134
|
-
# @param request: Request instance for CreateAMQPExchange.
|
135
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPExchangeRequest`
|
136
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPExchangeResponse`
|
137
|
-
def CreateAMQPExchange(request)
|
138
|
-
body = send_request('CreateAMQPExchange', request.serialize)
|
139
|
-
response = JSON.parse(body)
|
140
|
-
if response['Response'].key?('Error') == false
|
141
|
-
model = CreateAMQPExchangeResponse.new
|
142
|
-
model.deserialize(response['Response'])
|
143
|
-
model
|
144
|
-
else
|
145
|
-
code = response['Response']['Error']['Code']
|
146
|
-
message = response['Response']['Error']['Message']
|
147
|
-
reqid = response['Response']['RequestId']
|
148
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
149
|
-
end
|
150
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
151
|
-
raise e
|
152
|
-
rescue StandardError => e
|
153
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
154
|
-
end
|
155
|
-
|
156
|
-
# 产品下线了,对应的接口也要下线。
|
157
|
-
|
158
|
-
# 创建AMQP队列
|
159
|
-
|
160
|
-
# @param request: Request instance for CreateAMQPQueue.
|
161
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPQueueRequest`
|
162
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPQueueResponse`
|
163
|
-
def CreateAMQPQueue(request)
|
164
|
-
body = send_request('CreateAMQPQueue', request.serialize)
|
165
|
-
response = JSON.parse(body)
|
166
|
-
if response['Response'].key?('Error') == false
|
167
|
-
model = CreateAMQPQueueResponse.new
|
168
|
-
model.deserialize(response['Response'])
|
169
|
-
model
|
170
|
-
else
|
171
|
-
code = response['Response']['Error']['Code']
|
172
|
-
message = response['Response']['Error']['Message']
|
173
|
-
reqid = response['Response']['RequestId']
|
174
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
175
|
-
end
|
176
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
177
|
-
raise e
|
178
|
-
rescue StandardError => e
|
179
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
180
|
-
end
|
181
|
-
|
182
|
-
# 产品下线了,对应的接口也要下线。
|
183
|
-
|
184
|
-
# 创建AMQP路由关系
|
185
|
-
|
186
|
-
# @param request: Request instance for CreateAMQPRouteRelation.
|
187
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPRouteRelationRequest`
|
188
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPRouteRelationResponse`
|
189
|
-
def CreateAMQPRouteRelation(request)
|
190
|
-
body = send_request('CreateAMQPRouteRelation', request.serialize)
|
191
|
-
response = JSON.parse(body)
|
192
|
-
if response['Response'].key?('Error') == false
|
193
|
-
model = CreateAMQPRouteRelationResponse.new
|
194
|
-
model.deserialize(response['Response'])
|
195
|
-
model
|
196
|
-
else
|
197
|
-
code = response['Response']['Error']['Code']
|
198
|
-
message = response['Response']['Error']['Message']
|
199
|
-
reqid = response['Response']['RequestId']
|
200
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
201
|
-
end
|
202
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
203
|
-
raise e
|
204
|
-
rescue StandardError => e
|
205
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
206
|
-
end
|
207
|
-
|
208
|
-
# 产品下线了,对应的接口也要下线。
|
209
|
-
|
210
|
-
# 创建Amqp Vhost
|
211
|
-
|
212
|
-
# @param request: Request instance for CreateAMQPVHost.
|
213
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPVHostRequest`
|
214
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::CreateAMQPVHostResponse`
|
215
|
-
def CreateAMQPVHost(request)
|
216
|
-
body = send_request('CreateAMQPVHost', request.serialize)
|
217
|
-
response = JSON.parse(body)
|
218
|
-
if response['Response'].key?('Error') == false
|
219
|
-
model = CreateAMQPVHostResponse.new
|
220
|
-
model.deserialize(response['Response'])
|
221
|
-
model
|
222
|
-
else
|
223
|
-
code = response['Response']['Error']['Code']
|
224
|
-
message = response['Response']['Error']['Message']
|
225
|
-
reqid = response['Response']['RequestId']
|
226
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
227
|
-
end
|
228
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
229
|
-
raise e
|
230
|
-
rescue StandardError => e
|
231
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
232
|
-
end
|
233
|
-
|
234
104
|
# 创建用户的集群
|
235
105
|
|
236
106
|
# @param request: Request instance for CreateCluster.
|
@@ -615,136 +485,6 @@ module TencentCloud
|
|
615
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
616
486
|
end
|
617
487
|
|
618
|
-
# 产品下线了,对应的接口也要下线。
|
619
|
-
|
620
|
-
# 删除AMQP集群
|
621
|
-
|
622
|
-
# @param request: Request instance for DeleteAMQPCluster.
|
623
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPClusterRequest`
|
624
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPClusterResponse`
|
625
|
-
def DeleteAMQPCluster(request)
|
626
|
-
body = send_request('DeleteAMQPCluster', request.serialize)
|
627
|
-
response = JSON.parse(body)
|
628
|
-
if response['Response'].key?('Error') == false
|
629
|
-
model = DeleteAMQPClusterResponse.new
|
630
|
-
model.deserialize(response['Response'])
|
631
|
-
model
|
632
|
-
else
|
633
|
-
code = response['Response']['Error']['Code']
|
634
|
-
message = response['Response']['Error']['Message']
|
635
|
-
reqid = response['Response']['RequestId']
|
636
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
637
|
-
end
|
638
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
639
|
-
raise e
|
640
|
-
rescue StandardError => e
|
641
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
642
|
-
end
|
643
|
-
|
644
|
-
# 产品下线了,对应的接口也要下线。
|
645
|
-
|
646
|
-
# 删除Amqp交换机
|
647
|
-
|
648
|
-
# @param request: Request instance for DeleteAMQPExchange.
|
649
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPExchangeRequest`
|
650
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPExchangeResponse`
|
651
|
-
def DeleteAMQPExchange(request)
|
652
|
-
body = send_request('DeleteAMQPExchange', request.serialize)
|
653
|
-
response = JSON.parse(body)
|
654
|
-
if response['Response'].key?('Error') == false
|
655
|
-
model = DeleteAMQPExchangeResponse.new
|
656
|
-
model.deserialize(response['Response'])
|
657
|
-
model
|
658
|
-
else
|
659
|
-
code = response['Response']['Error']['Code']
|
660
|
-
message = response['Response']['Error']['Message']
|
661
|
-
reqid = response['Response']['RequestId']
|
662
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
663
|
-
end
|
664
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
665
|
-
raise e
|
666
|
-
rescue StandardError => e
|
667
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
668
|
-
end
|
669
|
-
|
670
|
-
# 产品下线了,对应的接口也要下线。
|
671
|
-
|
672
|
-
# 删除Amqp队列
|
673
|
-
|
674
|
-
# @param request: Request instance for DeleteAMQPQueue.
|
675
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPQueueRequest`
|
676
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPQueueResponse`
|
677
|
-
def DeleteAMQPQueue(request)
|
678
|
-
body = send_request('DeleteAMQPQueue', request.serialize)
|
679
|
-
response = JSON.parse(body)
|
680
|
-
if response['Response'].key?('Error') == false
|
681
|
-
model = DeleteAMQPQueueResponse.new
|
682
|
-
model.deserialize(response['Response'])
|
683
|
-
model
|
684
|
-
else
|
685
|
-
code = response['Response']['Error']['Code']
|
686
|
-
message = response['Response']['Error']['Message']
|
687
|
-
reqid = response['Response']['RequestId']
|
688
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
689
|
-
end
|
690
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
691
|
-
raise e
|
692
|
-
rescue StandardError => e
|
693
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
694
|
-
end
|
695
|
-
|
696
|
-
# 产品下线了,对应的接口也要下线。
|
697
|
-
|
698
|
-
# 删除Amqp路由关系
|
699
|
-
|
700
|
-
# @param request: Request instance for DeleteAMQPRouteRelation.
|
701
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPRouteRelationRequest`
|
702
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPRouteRelationResponse`
|
703
|
-
def DeleteAMQPRouteRelation(request)
|
704
|
-
body = send_request('DeleteAMQPRouteRelation', request.serialize)
|
705
|
-
response = JSON.parse(body)
|
706
|
-
if response['Response'].key?('Error') == false
|
707
|
-
model = DeleteAMQPRouteRelationResponse.new
|
708
|
-
model.deserialize(response['Response'])
|
709
|
-
model
|
710
|
-
else
|
711
|
-
code = response['Response']['Error']['Code']
|
712
|
-
message = response['Response']['Error']['Message']
|
713
|
-
reqid = response['Response']['RequestId']
|
714
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
715
|
-
end
|
716
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
717
|
-
raise e
|
718
|
-
rescue StandardError => e
|
719
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
720
|
-
end
|
721
|
-
|
722
|
-
# 产品下线了,对应的接口也要下线。
|
723
|
-
|
724
|
-
# 删除Vhost
|
725
|
-
|
726
|
-
# @param request: Request instance for DeleteAMQPVHost.
|
727
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPVHostRequest`
|
728
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteAMQPVHostResponse`
|
729
|
-
def DeleteAMQPVHost(request)
|
730
|
-
body = send_request('DeleteAMQPVHost', request.serialize)
|
731
|
-
response = JSON.parse(body)
|
732
|
-
if response['Response'].key?('Error') == false
|
733
|
-
model = DeleteAMQPVHostResponse.new
|
734
|
-
model.deserialize(response['Response'])
|
735
|
-
model
|
736
|
-
else
|
737
|
-
code = response['Response']['Error']['Code']
|
738
|
-
message = response['Response']['Error']['Message']
|
739
|
-
reqid = response['Response']['RequestId']
|
740
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
741
|
-
end
|
742
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
743
|
-
raise e
|
744
|
-
rescue StandardError => e
|
745
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
746
|
-
end
|
747
|
-
|
748
488
|
# 删除集群
|
749
489
|
|
750
490
|
# @param request: Request instance for DeleteCluster.
|
@@ -1129,32 +869,6 @@ module TencentCloud
|
|
1129
869
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1130
870
|
end
|
1131
871
|
|
1132
|
-
# 产品下线了,对应的接口也要下线。
|
1133
|
-
|
1134
|
-
# 获取单个Amqp集群信息
|
1135
|
-
|
1136
|
-
# @param request: Request instance for DescribeAMQPCluster.
|
1137
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPClusterRequest`
|
1138
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPClusterResponse`
|
1139
|
-
def DescribeAMQPCluster(request)
|
1140
|
-
body = send_request('DescribeAMQPCluster', request.serialize)
|
1141
|
-
response = JSON.parse(body)
|
1142
|
-
if response['Response'].key?('Error') == false
|
1143
|
-
model = DescribeAMQPClusterResponse.new
|
1144
|
-
model.deserialize(response['Response'])
|
1145
|
-
model
|
1146
|
-
else
|
1147
|
-
code = response['Response']['Error']['Code']
|
1148
|
-
message = response['Response']['Error']['Message']
|
1149
|
-
reqid = response['Response']['RequestId']
|
1150
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1151
|
-
end
|
1152
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1153
|
-
raise e
|
1154
|
-
rescue StandardError => e
|
1155
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1156
|
-
end
|
1157
|
-
|
1158
872
|
# 获取amqp集群列表
|
1159
873
|
|
1160
874
|
# @param request: Request instance for DescribeAMQPClusters.
|
@@ -1179,136 +893,6 @@ module TencentCloud
|
|
1179
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1180
894
|
end
|
1181
895
|
|
1182
|
-
# 产品下线了,对应的接口也要下线。
|
1183
|
-
|
1184
|
-
# 获取用户的配额,如Queue容量,Exchange容量,Vhost容量,单Vhost Tps数,剩余可创建集群数
|
1185
|
-
|
1186
|
-
# @param request: Request instance for DescribeAMQPCreateQuota.
|
1187
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPCreateQuotaRequest`
|
1188
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPCreateQuotaResponse`
|
1189
|
-
def DescribeAMQPCreateQuota(request)
|
1190
|
-
body = send_request('DescribeAMQPCreateQuota', request.serialize)
|
1191
|
-
response = JSON.parse(body)
|
1192
|
-
if response['Response'].key?('Error') == false
|
1193
|
-
model = DescribeAMQPCreateQuotaResponse.new
|
1194
|
-
model.deserialize(response['Response'])
|
1195
|
-
model
|
1196
|
-
else
|
1197
|
-
code = response['Response']['Error']['Code']
|
1198
|
-
message = response['Response']['Error']['Message']
|
1199
|
-
reqid = response['Response']['RequestId']
|
1200
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1201
|
-
end
|
1202
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1203
|
-
raise e
|
1204
|
-
rescue StandardError => e
|
1205
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
|
-
end
|
1207
|
-
|
1208
|
-
# 产品下线了,对应的接口也要下线。
|
1209
|
-
|
1210
|
-
# 获取AMQP Exchange列表
|
1211
|
-
|
1212
|
-
# @param request: Request instance for DescribeAMQPExchanges.
|
1213
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPExchangesRequest`
|
1214
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPExchangesResponse`
|
1215
|
-
def DescribeAMQPExchanges(request)
|
1216
|
-
body = send_request('DescribeAMQPExchanges', request.serialize)
|
1217
|
-
response = JSON.parse(body)
|
1218
|
-
if response['Response'].key?('Error') == false
|
1219
|
-
model = DescribeAMQPExchangesResponse.new
|
1220
|
-
model.deserialize(response['Response'])
|
1221
|
-
model
|
1222
|
-
else
|
1223
|
-
code = response['Response']['Error']['Code']
|
1224
|
-
message = response['Response']['Error']['Message']
|
1225
|
-
reqid = response['Response']['RequestId']
|
1226
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1227
|
-
end
|
1228
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1229
|
-
raise e
|
1230
|
-
rescue StandardError => e
|
1231
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1232
|
-
end
|
1233
|
-
|
1234
|
-
# 产品下线了,对应的接口也要下线。
|
1235
|
-
|
1236
|
-
# 获取Amqp队列列表
|
1237
|
-
|
1238
|
-
# @param request: Request instance for DescribeAMQPQueues.
|
1239
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPQueuesRequest`
|
1240
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPQueuesResponse`
|
1241
|
-
def DescribeAMQPQueues(request)
|
1242
|
-
body = send_request('DescribeAMQPQueues', request.serialize)
|
1243
|
-
response = JSON.parse(body)
|
1244
|
-
if response['Response'].key?('Error') == false
|
1245
|
-
model = DescribeAMQPQueuesResponse.new
|
1246
|
-
model.deserialize(response['Response'])
|
1247
|
-
model
|
1248
|
-
else
|
1249
|
-
code = response['Response']['Error']['Code']
|
1250
|
-
message = response['Response']['Error']['Message']
|
1251
|
-
reqid = response['Response']['RequestId']
|
1252
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1253
|
-
end
|
1254
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1255
|
-
raise e
|
1256
|
-
rescue StandardError => e
|
1257
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1258
|
-
end
|
1259
|
-
|
1260
|
-
# 产品下线了,对应的接口也要下线。
|
1261
|
-
|
1262
|
-
# 获取Amqp路由关系列表
|
1263
|
-
|
1264
|
-
# @param request: Request instance for DescribeAMQPRouteRelations.
|
1265
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPRouteRelationsRequest`
|
1266
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPRouteRelationsResponse`
|
1267
|
-
def DescribeAMQPRouteRelations(request)
|
1268
|
-
body = send_request('DescribeAMQPRouteRelations', request.serialize)
|
1269
|
-
response = JSON.parse(body)
|
1270
|
-
if response['Response'].key?('Error') == false
|
1271
|
-
model = DescribeAMQPRouteRelationsResponse.new
|
1272
|
-
model.deserialize(response['Response'])
|
1273
|
-
model
|
1274
|
-
else
|
1275
|
-
code = response['Response']['Error']['Code']
|
1276
|
-
message = response['Response']['Error']['Message']
|
1277
|
-
reqid = response['Response']['RequestId']
|
1278
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1279
|
-
end
|
1280
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1281
|
-
raise e
|
1282
|
-
rescue StandardError => e
|
1283
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1284
|
-
end
|
1285
|
-
|
1286
|
-
# 产品下线了,对应的接口也要下线。
|
1287
|
-
|
1288
|
-
# 获取Amqp Vhost 列表
|
1289
|
-
|
1290
|
-
# @param request: Request instance for DescribeAMQPVHosts.
|
1291
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPVHostsRequest`
|
1292
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeAMQPVHostsResponse`
|
1293
|
-
def DescribeAMQPVHosts(request)
|
1294
|
-
body = send_request('DescribeAMQPVHosts', request.serialize)
|
1295
|
-
response = JSON.parse(body)
|
1296
|
-
if response['Response'].key?('Error') == false
|
1297
|
-
model = DescribeAMQPVHostsResponse.new
|
1298
|
-
model.deserialize(response['Response'])
|
1299
|
-
model
|
1300
|
-
else
|
1301
|
-
code = response['Response']['Error']['Code']
|
1302
|
-
message = response['Response']['Error']['Message']
|
1303
|
-
reqid = response['Response']['RequestId']
|
1304
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1305
|
-
end
|
1306
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1307
|
-
raise e
|
1308
|
-
rescue StandardError => e
|
1309
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1310
|
-
end
|
1311
|
-
|
1312
896
|
# 获取某个租户的虚拟集群列表
|
1313
897
|
|
1314
898
|
# @param request: Request instance for DescribeAllTenants.
|
@@ -2221,58 +1805,6 @@ module TencentCloud
|
|
2221
1805
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2222
1806
|
end
|
2223
1807
|
|
2224
|
-
# 产品下线了,对应的接口也要下线。
|
2225
|
-
|
2226
|
-
# 更新Amqp交换机
|
2227
|
-
|
2228
|
-
# @param request: Request instance for ModifyAMQPExchange.
|
2229
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPExchangeRequest`
|
2230
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPExchangeResponse`
|
2231
|
-
def ModifyAMQPExchange(request)
|
2232
|
-
body = send_request('ModifyAMQPExchange', request.serialize)
|
2233
|
-
response = JSON.parse(body)
|
2234
|
-
if response['Response'].key?('Error') == false
|
2235
|
-
model = ModifyAMQPExchangeResponse.new
|
2236
|
-
model.deserialize(response['Response'])
|
2237
|
-
model
|
2238
|
-
else
|
2239
|
-
code = response['Response']['Error']['Code']
|
2240
|
-
message = response['Response']['Error']['Message']
|
2241
|
-
reqid = response['Response']['RequestId']
|
2242
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2243
|
-
end
|
2244
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2245
|
-
raise e
|
2246
|
-
rescue StandardError => e
|
2247
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2248
|
-
end
|
2249
|
-
|
2250
|
-
# 产品下线了,对应的接口也要下线。
|
2251
|
-
|
2252
|
-
# 更新Amqp队列
|
2253
|
-
|
2254
|
-
# @param request: Request instance for ModifyAMQPQueue.
|
2255
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPQueueRequest`
|
2256
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyAMQPQueueResponse`
|
2257
|
-
def ModifyAMQPQueue(request)
|
2258
|
-
body = send_request('ModifyAMQPQueue', request.serialize)
|
2259
|
-
response = JSON.parse(body)
|
2260
|
-
if response['Response'].key?('Error') == false
|
2261
|
-
model = ModifyAMQPQueueResponse.new
|
2262
|
-
model.deserialize(response['Response'])
|
2263
|
-
model
|
2264
|
-
else
|
2265
|
-
code = response['Response']['Error']['Code']
|
2266
|
-
message = response['Response']['Error']['Message']
|
2267
|
-
reqid = response['Response']['RequestId']
|
2268
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2269
|
-
end
|
2270
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2271
|
-
raise e
|
2272
|
-
rescue StandardError => e
|
2273
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2274
|
-
end
|
2275
|
-
|
2276
1808
|
# 更新集群信息
|
2277
1809
|
|
2278
1810
|
# @param request: Request instance for ModifyCluster.
|