tencentcloud-sdk-tdmq 3.0.590 → 3.0.591

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d30f7b27a215bbbfb85333a002ee79b433b9fc2
4
- data.tar.gz: f33f37c6f3d5105d7a42ff54187767f01a942867
3
+ metadata.gz: 479340c41c5bdd59f9874ae3e91e6efb82d20e29
4
+ data.tar.gz: 9448acfd1049c01cf1fec0106a27635390e4e022
5
5
  SHA512:
6
- metadata.gz: 0633e0394a3605b9e232ca48dd3207510694889290e794917ca499b32f6aa2399cff05310a444d6be3ae16272cde333b944ccaa451372344ab5751b4dd5b4ba0
7
- data.tar.gz: 3cf9366ad31bd75b44682bb729afaaa7f62151dc56b61a9fe2f5db97a21d8ab7a1fda64905e111a01a668be3013d3995b7af89803983769dcf619ff26d5be9bf
6
+ metadata.gz: cbf9d54a3f4606dce780fd4422df48d58ba7bf48efb8e82e78c33e3d14a7c52330573bf1ef0f6f567cb129c94440b3d1040a4c70d4c27519af4e3c559b6e0af6
7
+ data.tar.gz: 87480e3d98a67ab287c743227ea0291ce40a9ae0c4ccf4d2d34a3e38324d112c1b4ba2b4924c5d0baa2d9ae5ff29cd36f88ea1c10179e575d7ec6fe9f45c68c3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.590
1
+ 3.0.591
@@ -889,6 +889,54 @@ module TencentCloud
889
889
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
890
890
  end
891
891
 
892
+ # 删除RabbitMQ的用户
893
+
894
+ # @param request: Request instance for DeleteRabbitMQUser.
895
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQUserRequest`
896
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQUserResponse`
897
+ def DeleteRabbitMQUser(request)
898
+ body = send_request('DeleteRabbitMQUser', request.serialize)
899
+ response = JSON.parse(body)
900
+ if response['Response'].key?('Error') == false
901
+ model = DeleteRabbitMQUserResponse.new
902
+ model.deserialize(response['Response'])
903
+ model
904
+ else
905
+ code = response['Response']['Error']['Code']
906
+ message = response['Response']['Error']['Message']
907
+ reqid = response['Response']['RequestId']
908
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
909
+ end
910
+ rescue TencentCloud::Common::TencentCloudSDKException => e
911
+ raise e
912
+ rescue StandardError => e
913
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
914
+ end
915
+
916
+ # 删除RabbitMQ的vhost
917
+
918
+ # @param request: Request instance for DeleteRabbitMQVirtualHost.
919
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQVirtualHostRequest`
920
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteRabbitMQVirtualHostResponse`
921
+ def DeleteRabbitMQVirtualHost(request)
922
+ body = send_request('DeleteRabbitMQVirtualHost', request.serialize)
923
+ response = JSON.parse(body)
924
+ if response['Response'].key?('Error') == false
925
+ model = DeleteRabbitMQVirtualHostResponse.new
926
+ model.deserialize(response['Response'])
927
+ model
928
+ else
929
+ code = response['Response']['Error']['Code']
930
+ message = response['Response']['Error']['Message']
931
+ reqid = response['Response']['RequestId']
932
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
933
+ end
934
+ rescue TencentCloud::Common::TencentCloudSDKException => e
935
+ raise e
936
+ rescue StandardError => e
937
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
938
+ end
939
+
892
940
  # 删除RocketMQ集群
893
941
 
894
942
  # @param request: Request instance for DeleteRocketMQCluster.
@@ -1741,6 +1789,30 @@ module TencentCloud
1741
1789
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1742
1790
  end
1743
1791
 
1792
+ # 查询RabbitMQ用户列表
1793
+
1794
+ # @param request: Request instance for DescribeRabbitMQUser.
1795
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQUserRequest`
1796
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQUserResponse`
1797
+ def DescribeRabbitMQUser(request)
1798
+ body = send_request('DescribeRabbitMQUser', request.serialize)
1799
+ response = JSON.parse(body)
1800
+ if response['Response'].key?('Error') == false
1801
+ model = DescribeRabbitMQUserResponse.new
1802
+ model.deserialize(response['Response'])
1803
+ model
1804
+ else
1805
+ code = response['Response']['Error']['Code']
1806
+ message = response['Response']['Error']['Message']
1807
+ reqid = response['Response']['RequestId']
1808
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1809
+ end
1810
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1811
+ raise e
1812
+ rescue StandardError => e
1813
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1814
+ end
1815
+
1744
1816
  # 获取单个RabbitMQ专享实例信息
1745
1817
 
1746
1818
  # @param request: Request instance for DescribeRabbitMQVipInstance.
@@ -1789,6 +1861,54 @@ module TencentCloud
1789
1861
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1790
1862
  end
1791
1863
 
1864
+ # 查询RabbitMQ vhost列表
1865
+
1866
+ # @param request: Request instance for DescribeRabbitMQVirtualHost.
1867
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostRequest`
1868
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostResponse`
1869
+ def DescribeRabbitMQVirtualHost(request)
1870
+ body = send_request('DescribeRabbitMQVirtualHost', request.serialize)
1871
+ response = JSON.parse(body)
1872
+ if response['Response'].key?('Error') == false
1873
+ model = DescribeRabbitMQVirtualHostResponse.new
1874
+ model.deserialize(response['Response'])
1875
+ model
1876
+ else
1877
+ code = response['Response']['Error']['Code']
1878
+ message = response['Response']['Error']['Message']
1879
+ reqid = response['Response']['RequestId']
1880
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1881
+ end
1882
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1883
+ raise e
1884
+ rescue StandardError => e
1885
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1886
+ end
1887
+
1888
+ # RabbitMQ专享版查询虚拟主机列表
1889
+
1890
+ # @param request: Request instance for DescribeRabbitMQVirtualHostList.
1891
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostListRequest`
1892
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostListResponse`
1893
+ def DescribeRabbitMQVirtualHostList(request)
1894
+ body = send_request('DescribeRabbitMQVirtualHostList', request.serialize)
1895
+ response = JSON.parse(body)
1896
+ if response['Response'].key?('Error') == false
1897
+ model = DescribeRabbitMQVirtualHostListResponse.new
1898
+ model.deserialize(response['Response'])
1899
+ model
1900
+ else
1901
+ code = response['Response']['Error']['Code']
1902
+ message = response['Response']['Error']['Message']
1903
+ reqid = response['Response']['RequestId']
1904
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1905
+ end
1906
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1907
+ raise e
1908
+ rescue StandardError => e
1909
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1910
+ end
1911
+
1792
1912
  # 获取单个RocketMQ集群信息
1793
1913
 
1794
1914
  # @param request: Request instance for DescribeRocketMQCluster.
@@ -2299,6 +2419,30 @@ module TencentCloud
2299
2419
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2300
2420
  end
2301
2421
 
2422
+ # 修改RabbitMQ的用户
2423
+
2424
+ # @param request: Request instance for ModifyRabbitMQUser.
2425
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQUserRequest`
2426
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQUserResponse`
2427
+ def ModifyRabbitMQUser(request)
2428
+ body = send_request('ModifyRabbitMQUser', request.serialize)
2429
+ response = JSON.parse(body)
2430
+ if response['Response'].key?('Error') == false
2431
+ model = ModifyRabbitMQUserResponse.new
2432
+ model.deserialize(response['Response'])
2433
+ model
2434
+ else
2435
+ code = response['Response']['Error']['Code']
2436
+ message = response['Response']['Error']['Message']
2437
+ reqid = response['Response']['RequestId']
2438
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2439
+ end
2440
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2441
+ raise e
2442
+ rescue StandardError => e
2443
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2444
+ end
2445
+
2302
2446
  # 修改RabbitMQ专享版实例
2303
2447
 
2304
2448
  # @param request: Request instance for ModifyRabbitMQVipInstance.
@@ -2323,6 +2467,30 @@ module TencentCloud
2323
2467
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2324
2468
  end
2325
2469
 
2470
+ # 修改RabbitMQ的vhost
2471
+
2472
+ # @param request: Request instance for ModifyRabbitMQVirtualHost.
2473
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVirtualHostRequest`
2474
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVirtualHostResponse`
2475
+ def ModifyRabbitMQVirtualHost(request)
2476
+ body = send_request('ModifyRabbitMQVirtualHost', request.serialize)
2477
+ response = JSON.parse(body)
2478
+ if response['Response'].key?('Error') == false
2479
+ model = ModifyRabbitMQVirtualHostResponse.new
2480
+ model.deserialize(response['Response'])
2481
+ model
2482
+ else
2483
+ code = response['Response']['Error']['Code']
2484
+ message = response['Response']['Error']['Message']
2485
+ reqid = response['Response']['RequestId']
2486
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2487
+ end
2488
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2489
+ raise e
2490
+ rescue StandardError => e
2491
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2492
+ end
2493
+
2326
2494
  # 更新RocketMQ集群信息
2327
2495
 
2328
2496
  # @param request: Request instance for ModifyRocketMQCluster.