tencentcloud-sdk-tdmq 3.0.660 → 3.0.662
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 +72 -0
- data/lib/v20200217/models.rb +211 -0
- 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: 237ea77233a5a142bc0e82bcc7995cc494a223dc
|
4
|
+
data.tar.gz: 87cf23a3259f2835ed76a5c9e1708e9c4586be66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e17cba5f2ab67552cbfbf2cb325496a48145ac1df8751b4705ad6b15b9ee99d581783076ed22a8f8370a7e04f181b455d7fae5464395d0d9cba3549e63cda45
|
7
|
+
data.tar.gz: 65b0f4e97bb0b1a581c148727ae9a79683f21c1e651208f0800810508ddf026d72612f063f78c7a318cb2d017f7f72f0aa67f0b9777f6a12c680c822098c13c6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.662
|
data/lib/v20200217/client.rb
CHANGED
@@ -1709,6 +1709,30 @@ module TencentCloud
|
|
1709
1709
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
1710
|
end
|
1711
1711
|
|
1712
|
+
# 接口用于查询RocketMQ实例的公网接入信息
|
1713
|
+
|
1714
|
+
# @param request: Request instance for DescribeRocketMQPublicAccessPoint.
|
1715
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessPointRequest`
|
1716
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessPointResponse`
|
1717
|
+
def DescribeRocketMQPublicAccessPoint(request)
|
1718
|
+
body = send_request('DescribeRocketMQPublicAccessPoint', request.serialize)
|
1719
|
+
response = JSON.parse(body)
|
1720
|
+
if response['Response'].key?('Error') == false
|
1721
|
+
model = DescribeRocketMQPublicAccessPointResponse.new
|
1722
|
+
model.deserialize(response['Response'])
|
1723
|
+
model
|
1724
|
+
else
|
1725
|
+
code = response['Response']['Error']['Code']
|
1726
|
+
message = response['Response']['Error']['Message']
|
1727
|
+
reqid = response['Response']['RequestId']
|
1728
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1729
|
+
end
|
1730
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1731
|
+
raise e
|
1732
|
+
rescue StandardError => e
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
|
+
end
|
1735
|
+
|
1712
1736
|
# rocketmq 消息查询
|
1713
1737
|
|
1714
1738
|
# @param request: Request instance for DescribeRocketMQTopicMsgs.
|
@@ -2045,6 +2069,30 @@ module TencentCloud
|
|
2045
2069
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2046
2070
|
end
|
2047
2071
|
|
2072
|
+
# RabbitMQ专享版修改公网管控台,vpc15672开关
|
2073
|
+
|
2074
|
+
# @param request: Request instance for ModifyPublicNetworkAccessPoint.
|
2075
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointRequest`
|
2076
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointResponse`
|
2077
|
+
def ModifyPublicNetworkAccessPoint(request)
|
2078
|
+
body = send_request('ModifyPublicNetworkAccessPoint', request.serialize)
|
2079
|
+
response = JSON.parse(body)
|
2080
|
+
if response['Response'].key?('Error') == false
|
2081
|
+
model = ModifyPublicNetworkAccessPointResponse.new
|
2082
|
+
model.deserialize(response['Response'])
|
2083
|
+
model
|
2084
|
+
else
|
2085
|
+
code = response['Response']['Error']['Code']
|
2086
|
+
message = response['Response']['Error']['Message']
|
2087
|
+
reqid = response['Response']['RequestId']
|
2088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2089
|
+
end
|
2090
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2091
|
+
raise e
|
2092
|
+
rescue StandardError => e
|
2093
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2094
|
+
end
|
2095
|
+
|
2048
2096
|
# 修改RabbitMQ的用户
|
2049
2097
|
|
2050
2098
|
# @param request: Request instance for ModifyRabbitMQUser.
|
@@ -2547,6 +2595,30 @@ module TencentCloud
|
|
2547
2595
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2548
2596
|
end
|
2549
2597
|
|
2598
|
+
# 该接口用于开启关闭公网访问、设置安全访问策略
|
2599
|
+
|
2600
|
+
# @param request: Request instance for SetRocketMQPublicAccessPoint.
|
2601
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::SetRocketMQPublicAccessPointRequest`
|
2602
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::SetRocketMQPublicAccessPointResponse`
|
2603
|
+
def SetRocketMQPublicAccessPoint(request)
|
2604
|
+
body = send_request('SetRocketMQPublicAccessPoint', request.serialize)
|
2605
|
+
response = JSON.parse(body)
|
2606
|
+
if response['Response'].key?('Error') == false
|
2607
|
+
model = SetRocketMQPublicAccessPointResponse.new
|
2608
|
+
model.deserialize(response['Response'])
|
2609
|
+
model
|
2610
|
+
else
|
2611
|
+
code = response['Response']['Error']['Code']
|
2612
|
+
message = response['Response']['Error']['Message']
|
2613
|
+
reqid = response['Response']['RequestId']
|
2614
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2615
|
+
end
|
2616
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2617
|
+
raise e
|
2618
|
+
rescue StandardError => e
|
2619
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2620
|
+
end
|
2621
|
+
|
2550
2622
|
# 解绑cmq死信队列
|
2551
2623
|
|
2552
2624
|
# @param request: Request instance for UnbindCmqDeadLetter.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4934,6 +4934,81 @@ module TencentCloud
|
|
4934
4934
|
end
|
4935
4935
|
end
|
4936
4936
|
|
4937
|
+
# DescribeRocketMQPublicAccessPoint请求参数结构体
|
4938
|
+
class DescribeRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
|
4939
|
+
# @param InstanceId: 集群ID,当前只支持专享集群
|
4940
|
+
# @type InstanceId: String
|
4941
|
+
|
4942
|
+
attr_accessor :InstanceId
|
4943
|
+
|
4944
|
+
def initialize(instanceid=nil)
|
4945
|
+
@InstanceId = instanceid
|
4946
|
+
end
|
4947
|
+
|
4948
|
+
def deserialize(params)
|
4949
|
+
@InstanceId = params['InstanceId']
|
4950
|
+
end
|
4951
|
+
end
|
4952
|
+
|
4953
|
+
# DescribeRocketMQPublicAccessPoint返回参数结构体
|
4954
|
+
class DescribeRocketMQPublicAccessPointResponse < TencentCloud::Common::AbstractModel
|
4955
|
+
# @param Status: 公网接入点状态:
|
4956
|
+
# 0, 已开启
|
4957
|
+
# 1, 已关闭
|
4958
|
+
# 2,开启中
|
4959
|
+
# 3,关闭中
|
4960
|
+
# 4,修改中
|
4961
|
+
# @type Status: Integer
|
4962
|
+
# @param PayStatus: 支付状态:
|
4963
|
+
# 0, 未知
|
4964
|
+
# 1,正常
|
4965
|
+
# 2,欠费
|
4966
|
+
# @type PayStatus: Integer
|
4967
|
+
# @param AccessUrl: 接入点地址
|
4968
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4969
|
+
# @type AccessUrl: String
|
4970
|
+
# @param Rules: 安全访问规则列表
|
4971
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4972
|
+
# @type Rules: Array
|
4973
|
+
# @param Bandwidth: 带宽
|
4974
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4975
|
+
# @type Bandwidth: Integer
|
4976
|
+
# @param PayMode: 付费模式
|
4977
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4978
|
+
# @type PayMode: Integer
|
4979
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4980
|
+
# @type RequestId: String
|
4981
|
+
|
4982
|
+
attr_accessor :Status, :PayStatus, :AccessUrl, :Rules, :Bandwidth, :PayMode, :RequestId
|
4983
|
+
|
4984
|
+
def initialize(status=nil, paystatus=nil, accessurl=nil, rules=nil, bandwidth=nil, paymode=nil, requestid=nil)
|
4985
|
+
@Status = status
|
4986
|
+
@PayStatus = paystatus
|
4987
|
+
@AccessUrl = accessurl
|
4988
|
+
@Rules = rules
|
4989
|
+
@Bandwidth = bandwidth
|
4990
|
+
@PayMode = paymode
|
4991
|
+
@RequestId = requestid
|
4992
|
+
end
|
4993
|
+
|
4994
|
+
def deserialize(params)
|
4995
|
+
@Status = params['Status']
|
4996
|
+
@PayStatus = params['PayStatus']
|
4997
|
+
@AccessUrl = params['AccessUrl']
|
4998
|
+
unless params['Rules'].nil?
|
4999
|
+
@Rules = []
|
5000
|
+
params['Rules'].each do |i|
|
5001
|
+
publicaccessrule_tmp = PublicAccessRule.new
|
5002
|
+
publicaccessrule_tmp.deserialize(i)
|
5003
|
+
@Rules << publicaccessrule_tmp
|
5004
|
+
end
|
5005
|
+
end
|
5006
|
+
@Bandwidth = params['Bandwidth']
|
5007
|
+
@PayMode = params['PayMode']
|
5008
|
+
@RequestId = params['RequestId']
|
5009
|
+
end
|
5010
|
+
end
|
5011
|
+
|
4937
5012
|
# DescribeRocketMQTopicMsgs请求参数结构体
|
4938
5013
|
class DescribeRocketMQTopicMsgsRequest < TencentCloud::Common::AbstractModel
|
4939
5014
|
# @param ClusterId: 集群 ID
|
@@ -6158,6 +6233,62 @@ module TencentCloud
|
|
6158
6233
|
end
|
6159
6234
|
end
|
6160
6235
|
|
6236
|
+
# ModifyPublicNetworkAccessPoint请求参数结构体
|
6237
|
+
class ModifyPublicNetworkAccessPointRequest < TencentCloud::Common::AbstractModel
|
6238
|
+
# @param ClusterId: 集群名字
|
6239
|
+
# @type ClusterId: String
|
6240
|
+
# @param PublicNetworkAccessPointStatus: 是否开启
|
6241
|
+
# @type PublicNetworkAccessPointStatus: Boolean
|
6242
|
+
# @param SwitchOwner: 必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc
|
6243
|
+
# @type SwitchOwner: String
|
6244
|
+
# @param VpcId: Vpc
|
6245
|
+
# @type VpcId: String
|
6246
|
+
# @param SubnetId: 子网
|
6247
|
+
# @type SubnetId: String
|
6248
|
+
# @param SelectIp: 子网下面指定ip作为vpc接入点
|
6249
|
+
# @type SelectIp: String
|
6250
|
+
|
6251
|
+
attr_accessor :ClusterId, :PublicNetworkAccessPointStatus, :SwitchOwner, :VpcId, :SubnetId, :SelectIp
|
6252
|
+
|
6253
|
+
def initialize(clusterid=nil, publicnetworkaccesspointstatus=nil, switchowner=nil, vpcid=nil, subnetid=nil, selectip=nil)
|
6254
|
+
@ClusterId = clusterid
|
6255
|
+
@PublicNetworkAccessPointStatus = publicnetworkaccesspointstatus
|
6256
|
+
@SwitchOwner = switchowner
|
6257
|
+
@VpcId = vpcid
|
6258
|
+
@SubnetId = subnetid
|
6259
|
+
@SelectIp = selectip
|
6260
|
+
end
|
6261
|
+
|
6262
|
+
def deserialize(params)
|
6263
|
+
@ClusterId = params['ClusterId']
|
6264
|
+
@PublicNetworkAccessPointStatus = params['PublicNetworkAccessPointStatus']
|
6265
|
+
@SwitchOwner = params['SwitchOwner']
|
6266
|
+
@VpcId = params['VpcId']
|
6267
|
+
@SubnetId = params['SubnetId']
|
6268
|
+
@SelectIp = params['SelectIp']
|
6269
|
+
end
|
6270
|
+
end
|
6271
|
+
|
6272
|
+
# ModifyPublicNetworkAccessPoint返回参数结构体
|
6273
|
+
class ModifyPublicNetworkAccessPointResponse < TencentCloud::Common::AbstractModel
|
6274
|
+
# @param ModifyResult: 修改结果
|
6275
|
+
# @type ModifyResult: String
|
6276
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6277
|
+
# @type RequestId: String
|
6278
|
+
|
6279
|
+
attr_accessor :ModifyResult, :RequestId
|
6280
|
+
|
6281
|
+
def initialize(modifyresult=nil, requestid=nil)
|
6282
|
+
@ModifyResult = modifyresult
|
6283
|
+
@RequestId = requestid
|
6284
|
+
end
|
6285
|
+
|
6286
|
+
def deserialize(params)
|
6287
|
+
@ModifyResult = params['ModifyResult']
|
6288
|
+
@RequestId = params['RequestId']
|
6289
|
+
end
|
6290
|
+
end
|
6291
|
+
|
6161
6292
|
# ModifyRabbitMQUser请求参数结构体
|
6162
6293
|
class ModifyRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
6163
6294
|
# @param InstanceId: 集群实例Id
|
@@ -6791,6 +6922,31 @@ module TencentCloud
|
|
6791
6922
|
end
|
6792
6923
|
end
|
6793
6924
|
|
6925
|
+
# 公网访问安全规则
|
6926
|
+
class PublicAccessRule < TencentCloud::Common::AbstractModel
|
6927
|
+
# @param IpRule: ip网段信息
|
6928
|
+
# @type IpRule: String
|
6929
|
+
# @param Allow: 允许或者拒绝
|
6930
|
+
# @type Allow: Boolean
|
6931
|
+
# @param Remark: 备注信息
|
6932
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6933
|
+
# @type Remark: String
|
6934
|
+
|
6935
|
+
attr_accessor :IpRule, :Allow, :Remark
|
6936
|
+
|
6937
|
+
def initialize(iprule=nil, allow=nil, remark=nil)
|
6938
|
+
@IpRule = iprule
|
6939
|
+
@Allow = allow
|
6940
|
+
@Remark = remark
|
6941
|
+
end
|
6942
|
+
|
6943
|
+
def deserialize(params)
|
6944
|
+
@IpRule = params['IpRule']
|
6945
|
+
@Allow = params['Allow']
|
6946
|
+
@Remark = params['Remark']
|
6947
|
+
end
|
6948
|
+
end
|
6949
|
+
|
6794
6950
|
# PublishCmqMsg请求参数结构体
|
6795
6951
|
class PublishCmqMsgRequest < TencentCloud::Common::AbstractModel
|
6796
6952
|
# @param TopicName: 主题名
|
@@ -8854,6 +9010,61 @@ module TencentCloud
|
|
8854
9010
|
end
|
8855
9011
|
end
|
8856
9012
|
|
9013
|
+
# SetRocketMQPublicAccessPoint请求参数结构体
|
9014
|
+
class SetRocketMQPublicAccessPointRequest < TencentCloud::Common::AbstractModel
|
9015
|
+
# @param InstanceId: 集群ID,当前只支持专享集群
|
9016
|
+
# @type InstanceId: String
|
9017
|
+
# @param Enabled: 开启或关闭访问
|
9018
|
+
# @type Enabled: Boolean
|
9019
|
+
# @param Bandwidth: 带宽大小,开启或者调整公网时必须指定,Mbps为单位
|
9020
|
+
# @type Bandwidth: Integer
|
9021
|
+
# @param PayMode: 付费模式,开启公网时必须指定,0为按小时计费,1为包年包月,当前只支持按小时计费
|
9022
|
+
# @type PayMode: Integer
|
9023
|
+
# @param Rules: 公网访问安全规则列表,Enabled为true时必须传入
|
9024
|
+
# @type Rules: Array
|
9025
|
+
|
9026
|
+
attr_accessor :InstanceId, :Enabled, :Bandwidth, :PayMode, :Rules
|
9027
|
+
|
9028
|
+
def initialize(instanceid=nil, enabled=nil, bandwidth=nil, paymode=nil, rules=nil)
|
9029
|
+
@InstanceId = instanceid
|
9030
|
+
@Enabled = enabled
|
9031
|
+
@Bandwidth = bandwidth
|
9032
|
+
@PayMode = paymode
|
9033
|
+
@Rules = rules
|
9034
|
+
end
|
9035
|
+
|
9036
|
+
def deserialize(params)
|
9037
|
+
@InstanceId = params['InstanceId']
|
9038
|
+
@Enabled = params['Enabled']
|
9039
|
+
@Bandwidth = params['Bandwidth']
|
9040
|
+
@PayMode = params['PayMode']
|
9041
|
+
unless params['Rules'].nil?
|
9042
|
+
@Rules = []
|
9043
|
+
params['Rules'].each do |i|
|
9044
|
+
publicaccessrule_tmp = PublicAccessRule.new
|
9045
|
+
publicaccessrule_tmp.deserialize(i)
|
9046
|
+
@Rules << publicaccessrule_tmp
|
9047
|
+
end
|
9048
|
+
end
|
9049
|
+
end
|
9050
|
+
end
|
9051
|
+
|
9052
|
+
# SetRocketMQPublicAccessPoint返回参数结构体
|
9053
|
+
class SetRocketMQPublicAccessPointResponse < TencentCloud::Common::AbstractModel
|
9054
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9055
|
+
# @type RequestId: String
|
9056
|
+
|
9057
|
+
attr_accessor :RequestId
|
9058
|
+
|
9059
|
+
def initialize(requestid=nil)
|
9060
|
+
@RequestId = requestid
|
9061
|
+
end
|
9062
|
+
|
9063
|
+
def deserialize(params)
|
9064
|
+
@RequestId = params['RequestId']
|
9065
|
+
end
|
9066
|
+
end
|
9067
|
+
|
8857
9068
|
# 排序器
|
8858
9069
|
class Sort < TencentCloud::Common::AbstractModel
|
8859
9070
|
# @param Name: 排序字段
|
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.662
|
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-09-
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|