tencentcloud-sdk-tdmq 3.0.528 → 3.0.530
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 +48 -0
- data/lib/v20200217/models.rb +488 -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: 7d09b44002c649d9d63478145fa1b15245cbbbc2
|
4
|
+
data.tar.gz: a5b9e6bf6eb415d184b232cabf1d629419e863d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 354e0e5fdc7be45e8dd527ece0b818a77a5256f555edb6f635d00371c9cdfc9d5f0de19076bd38e6fa8acf42c7b18f619a6005866e4af2c6b7787ba7f6254d50
|
7
|
+
data.tar.gz: ee370185eb739f1935caa7f0099b819471f350e30415e790447f2ae6854bce2e4673add0a737889a510a79cf0b274125417dd13cc1219560aa57c23760aaa8f3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.530
|
data/lib/v20200217/client.rb
CHANGED
@@ -1645,6 +1645,30 @@ module TencentCloud
|
|
1645
1645
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1646
1646
|
end
|
1647
1647
|
|
1648
|
+
# 获取单个RabbitMQ专享实例信息
|
1649
|
+
|
1650
|
+
# @param request: Request instance for DescribeRabbitMQVipInstance.
|
1651
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstanceRequest`
|
1652
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstanceResponse`
|
1653
|
+
def DescribeRabbitMQVipInstance(request)
|
1654
|
+
body = send_request('DescribeRabbitMQVipInstance', request.serialize)
|
1655
|
+
response = JSON.parse(body)
|
1656
|
+
if response['Response'].key?('Error') == false
|
1657
|
+
model = DescribeRabbitMQVipInstanceResponse.new
|
1658
|
+
model.deserialize(response['Response'])
|
1659
|
+
model
|
1660
|
+
else
|
1661
|
+
code = response['Response']['Error']['Code']
|
1662
|
+
message = response['Response']['Error']['Message']
|
1663
|
+
reqid = response['Response']['RequestId']
|
1664
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1665
|
+
end
|
1666
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1667
|
+
raise e
|
1668
|
+
rescue StandardError => e
|
1669
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1670
|
+
end
|
1671
|
+
|
1648
1672
|
# 查询用户已购的RabbitMQ专享实例列表
|
1649
1673
|
|
1650
1674
|
# @param request: Request instance for DescribeRabbitMQVipInstances.
|
@@ -2155,6 +2179,30 @@ module TencentCloud
|
|
2155
2179
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2156
2180
|
end
|
2157
2181
|
|
2182
|
+
# 修改RabbitMQ专享版实例
|
2183
|
+
|
2184
|
+
# @param request: Request instance for ModifyRabbitMQVipInstance.
|
2185
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceRequest`
|
2186
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceResponse`
|
2187
|
+
def ModifyRabbitMQVipInstance(request)
|
2188
|
+
body = send_request('ModifyRabbitMQVipInstance', request.serialize)
|
2189
|
+
response = JSON.parse(body)
|
2190
|
+
if response['Response'].key?('Error') == false
|
2191
|
+
model = ModifyRabbitMQVipInstanceResponse.new
|
2192
|
+
model.deserialize(response['Response'])
|
2193
|
+
model
|
2194
|
+
else
|
2195
|
+
code = response['Response']['Error']['Code']
|
2196
|
+
message = response['Response']['Error']['Message']
|
2197
|
+
reqid = response['Response']['RequestId']
|
2198
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2199
|
+
end
|
2200
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2201
|
+
raise e
|
2202
|
+
rescue StandardError => e
|
2203
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2204
|
+
end
|
2205
|
+
|
2158
2206
|
# 更新RocketMQ集群信息
|
2159
2207
|
|
2160
2208
|
# @param request: Request instance for ModifyRocketMQCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4701,6 +4701,89 @@ module TencentCloud
|
|
4701
4701
|
end
|
4702
4702
|
end
|
4703
4703
|
|
4704
|
+
# DescribeRabbitMQVipInstance请求参数结构体
|
4705
|
+
class DescribeRabbitMQVipInstanceRequest < TencentCloud::Common::AbstractModel
|
4706
|
+
# @param ClusterId: 集群ID
|
4707
|
+
# @type ClusterId: String
|
4708
|
+
|
4709
|
+
attr_accessor :ClusterId
|
4710
|
+
|
4711
|
+
def initialize(clusterid=nil)
|
4712
|
+
@ClusterId = clusterid
|
4713
|
+
end
|
4714
|
+
|
4715
|
+
def deserialize(params)
|
4716
|
+
@ClusterId = params['ClusterId']
|
4717
|
+
end
|
4718
|
+
end
|
4719
|
+
|
4720
|
+
# DescribeRabbitMQVipInstance返回参数结构体
|
4721
|
+
class DescribeRabbitMQVipInstanceResponse < TencentCloud::Common::AbstractModel
|
4722
|
+
# @param ClusterInfo: 集群信息
|
4723
|
+
# @type ClusterInfo: :class:`Tencentcloud::Tdmq.v20200217.models.RabbitMQClusterInfo`
|
4724
|
+
# @param ClusterSpecInfo: 集群规格信息
|
4725
|
+
# @type ClusterSpecInfo: :class:`Tencentcloud::Tdmq.v20200217.models.RabbitMQClusterSpecInfo`
|
4726
|
+
# @param ClusterNetInfo: 集群访问
|
4727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4728
|
+
# @type ClusterNetInfo: :class:`Tencentcloud::Tdmq.v20200217.models.RabbitMQClusterAccessInfo`
|
4729
|
+
# @param ClusterWhiteListInfo: 集群白名单
|
4730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4731
|
+
# @type ClusterWhiteListInfo: :class:`Tencentcloud::Tdmq.v20200217.models.RabbitMQClusterWhiteListInfo`
|
4732
|
+
# @param VirtualHostQuota: vhost配额信息
|
4733
|
+
# @type VirtualHostQuota: :class:`Tencentcloud::Tdmq.v20200217.models.VirtualHostQuota`
|
4734
|
+
# @param ExchangeQuota: exchange配额信息
|
4735
|
+
# @type ExchangeQuota: :class:`Tencentcloud::Tdmq.v20200217.models.ExchangeQuota`
|
4736
|
+
# @param QueueQuota: queue配额信息
|
4737
|
+
# @type QueueQuota: :class:`Tencentcloud::Tdmq.v20200217.models.QueueQuota`
|
4738
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4739
|
+
# @type RequestId: String
|
4740
|
+
|
4741
|
+
attr_accessor :ClusterInfo, :ClusterSpecInfo, :ClusterNetInfo, :ClusterWhiteListInfo, :VirtualHostQuota, :ExchangeQuota, :QueueQuota, :RequestId
|
4742
|
+
|
4743
|
+
def initialize(clusterinfo=nil, clusterspecinfo=nil, clusternetinfo=nil, clusterwhitelistinfo=nil, virtualhostquota=nil, exchangequota=nil, queuequota=nil, requestid=nil)
|
4744
|
+
@ClusterInfo = clusterinfo
|
4745
|
+
@ClusterSpecInfo = clusterspecinfo
|
4746
|
+
@ClusterNetInfo = clusternetinfo
|
4747
|
+
@ClusterWhiteListInfo = clusterwhitelistinfo
|
4748
|
+
@VirtualHostQuota = virtualhostquota
|
4749
|
+
@ExchangeQuota = exchangequota
|
4750
|
+
@QueueQuota = queuequota
|
4751
|
+
@RequestId = requestid
|
4752
|
+
end
|
4753
|
+
|
4754
|
+
def deserialize(params)
|
4755
|
+
unless params['ClusterInfo'].nil?
|
4756
|
+
@ClusterInfo = RabbitMQClusterInfo.new
|
4757
|
+
@ClusterInfo.deserialize(params['ClusterInfo'])
|
4758
|
+
end
|
4759
|
+
unless params['ClusterSpecInfo'].nil?
|
4760
|
+
@ClusterSpecInfo = RabbitMQClusterSpecInfo.new
|
4761
|
+
@ClusterSpecInfo.deserialize(params['ClusterSpecInfo'])
|
4762
|
+
end
|
4763
|
+
unless params['ClusterNetInfo'].nil?
|
4764
|
+
@ClusterNetInfo = RabbitMQClusterAccessInfo.new
|
4765
|
+
@ClusterNetInfo.deserialize(params['ClusterNetInfo'])
|
4766
|
+
end
|
4767
|
+
unless params['ClusterWhiteListInfo'].nil?
|
4768
|
+
@ClusterWhiteListInfo = RabbitMQClusterWhiteListInfo.new
|
4769
|
+
@ClusterWhiteListInfo.deserialize(params['ClusterWhiteListInfo'])
|
4770
|
+
end
|
4771
|
+
unless params['VirtualHostQuota'].nil?
|
4772
|
+
@VirtualHostQuota = VirtualHostQuota.new
|
4773
|
+
@VirtualHostQuota.deserialize(params['VirtualHostQuota'])
|
4774
|
+
end
|
4775
|
+
unless params['ExchangeQuota'].nil?
|
4776
|
+
@ExchangeQuota = ExchangeQuota.new
|
4777
|
+
@ExchangeQuota.deserialize(params['ExchangeQuota'])
|
4778
|
+
end
|
4779
|
+
unless params['QueueQuota'].nil?
|
4780
|
+
@QueueQuota = QueueQuota.new
|
4781
|
+
@QueueQuota.deserialize(params['QueueQuota'])
|
4782
|
+
end
|
4783
|
+
@RequestId = params['RequestId']
|
4784
|
+
end
|
4785
|
+
end
|
4786
|
+
|
4704
4787
|
# DescribeRabbitMQVipInstances请求参数结构体
|
4705
4788
|
class DescribeRabbitMQVipInstancesRequest < TencentCloud::Common::AbstractModel
|
4706
4789
|
# @param Filters: 查询条件过滤器
|
@@ -5546,6 +5629,27 @@ module TencentCloud
|
|
5546
5629
|
end
|
5547
5630
|
end
|
5548
5631
|
|
5632
|
+
# exchange使用配额信息
|
5633
|
+
class ExchangeQuota < TencentCloud::Common::AbstractModel
|
5634
|
+
# @param MaxExchange: 可创建最大exchange数
|
5635
|
+
# @type MaxExchange: Integer
|
5636
|
+
# @param UsedExchange: 已创建exchange数
|
5637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5638
|
+
# @type UsedExchange: Integer
|
5639
|
+
|
5640
|
+
attr_accessor :MaxExchange, :UsedExchange
|
5641
|
+
|
5642
|
+
def initialize(maxexchange=nil, usedexchange=nil)
|
5643
|
+
@MaxExchange = maxexchange
|
5644
|
+
@UsedExchange = usedexchange
|
5645
|
+
end
|
5646
|
+
|
5647
|
+
def deserialize(params)
|
5648
|
+
@MaxExchange = params['MaxExchange']
|
5649
|
+
@UsedExchange = params['UsedExchange']
|
5650
|
+
end
|
5651
|
+
end
|
5652
|
+
|
5549
5653
|
# 过滤参数
|
5550
5654
|
class Filter < TencentCloud::Common::AbstractModel
|
5551
5655
|
# @param Name: 过滤参数的名字
|
@@ -6257,6 +6361,51 @@ module TencentCloud
|
|
6257
6361
|
end
|
6258
6362
|
end
|
6259
6363
|
|
6364
|
+
# ModifyRabbitMQVipInstance请求参数结构体
|
6365
|
+
class ModifyRabbitMQVipInstanceRequest < TencentCloud::Common::AbstractModel
|
6366
|
+
# @param InstanceId: 实例Id
|
6367
|
+
# @type InstanceId: String
|
6368
|
+
# @param ClusterName: 集群名称
|
6369
|
+
# @type ClusterName: String
|
6370
|
+
# @param Remark: 备注
|
6371
|
+
# @type Remark: String
|
6372
|
+
|
6373
|
+
attr_accessor :InstanceId, :ClusterName, :Remark
|
6374
|
+
|
6375
|
+
def initialize(instanceid=nil, clustername=nil, remark=nil)
|
6376
|
+
@InstanceId = instanceid
|
6377
|
+
@ClusterName = clustername
|
6378
|
+
@Remark = remark
|
6379
|
+
end
|
6380
|
+
|
6381
|
+
def deserialize(params)
|
6382
|
+
@InstanceId = params['InstanceId']
|
6383
|
+
@ClusterName = params['ClusterName']
|
6384
|
+
@Remark = params['Remark']
|
6385
|
+
end
|
6386
|
+
end
|
6387
|
+
|
6388
|
+
# ModifyRabbitMQVipInstance返回参数结构体
|
6389
|
+
class ModifyRabbitMQVipInstanceResponse < TencentCloud::Common::AbstractModel
|
6390
|
+
# @param InstanceId: 实例id
|
6391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6392
|
+
# @type InstanceId: String
|
6393
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6394
|
+
# @type RequestId: String
|
6395
|
+
|
6396
|
+
attr_accessor :InstanceId, :RequestId
|
6397
|
+
|
6398
|
+
def initialize(instanceid=nil, requestid=nil)
|
6399
|
+
@InstanceId = instanceid
|
6400
|
+
@RequestId = requestid
|
6401
|
+
end
|
6402
|
+
|
6403
|
+
def deserialize(params)
|
6404
|
+
@InstanceId = params['InstanceId']
|
6405
|
+
@RequestId = params['RequestId']
|
6406
|
+
end
|
6407
|
+
end
|
6408
|
+
|
6260
6409
|
# ModifyRocketMQCluster请求参数结构体
|
6261
6410
|
class ModifyRocketMQClusterRequest < TencentCloud::Common::AbstractModel
|
6262
6411
|
# @param ClusterId: RocketMQ集群ID
|
@@ -6630,6 +6779,41 @@ module TencentCloud
|
|
6630
6779
|
end
|
6631
6780
|
end
|
6632
6781
|
|
6782
|
+
# rabbitmq Prometheus信息
|
6783
|
+
class PrometheusEndpointInfo < TencentCloud::Common::AbstractModel
|
6784
|
+
# @param PrometheusEndpointStatus: Prometheus开关的状态。
|
6785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6786
|
+
# @type PrometheusEndpointStatus: String
|
6787
|
+
# @param VpcPrometheusEndpoint: prometheus信息
|
6788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6789
|
+
# @type VpcPrometheusEndpoint: Array
|
6790
|
+
# @param NodePrometheusAddress: 节点信息
|
6791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6792
|
+
# @type NodePrometheusAddress: Array
|
6793
|
+
# @param VpcEndpointInfo: vpc信息
|
6794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6795
|
+
# @type VpcEndpointInfo: :class:`Tencentcloud::Tdmq.v20200217.models.VpcEndpointInfo`
|
6796
|
+
|
6797
|
+
attr_accessor :PrometheusEndpointStatus, :VpcPrometheusEndpoint, :NodePrometheusAddress, :VpcEndpointInfo
|
6798
|
+
|
6799
|
+
def initialize(prometheusendpointstatus=nil, vpcprometheusendpoint=nil, nodeprometheusaddress=nil, vpcendpointinfo=nil)
|
6800
|
+
@PrometheusEndpointStatus = prometheusendpointstatus
|
6801
|
+
@VpcPrometheusEndpoint = vpcprometheusendpoint
|
6802
|
+
@NodePrometheusAddress = nodeprometheusaddress
|
6803
|
+
@VpcEndpointInfo = vpcendpointinfo
|
6804
|
+
end
|
6805
|
+
|
6806
|
+
def deserialize(params)
|
6807
|
+
@PrometheusEndpointStatus = params['PrometheusEndpointStatus']
|
6808
|
+
@VpcPrometheusEndpoint = params['VpcPrometheusEndpoint']
|
6809
|
+
@NodePrometheusAddress = params['NodePrometheusAddress']
|
6810
|
+
unless params['VpcEndpointInfo'].nil?
|
6811
|
+
@VpcEndpointInfo = VpcEndpointInfo.new
|
6812
|
+
@VpcEndpointInfo.deserialize(params['VpcEndpointInfo'])
|
6813
|
+
end
|
6814
|
+
end
|
6815
|
+
end
|
6816
|
+
|
6633
6817
|
# PublishCmqMsg请求参数结构体
|
6634
6818
|
class PublishCmqMsgRequest < TencentCloud::Common::AbstractModel
|
6635
6819
|
# @param TopicName: 主题名
|
@@ -6735,6 +6919,259 @@ module TencentCloud
|
|
6735
6919
|
end
|
6736
6920
|
end
|
6737
6921
|
|
6922
|
+
# queue使用配额信息
|
6923
|
+
class QueueQuota < TencentCloud::Common::AbstractModel
|
6924
|
+
# @param MaxQueue: 可创建最大Queue数
|
6925
|
+
# @type MaxQueue: Integer
|
6926
|
+
# @param UsedQueue: 已创建Queue数
|
6927
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6928
|
+
# @type UsedQueue: Integer
|
6929
|
+
|
6930
|
+
attr_accessor :MaxQueue, :UsedQueue
|
6931
|
+
|
6932
|
+
def initialize(maxqueue=nil, usedqueue=nil)
|
6933
|
+
@MaxQueue = maxqueue
|
6934
|
+
@UsedQueue = usedqueue
|
6935
|
+
end
|
6936
|
+
|
6937
|
+
def deserialize(params)
|
6938
|
+
@MaxQueue = params['MaxQueue']
|
6939
|
+
@UsedQueue = params['UsedQueue']
|
6940
|
+
end
|
6941
|
+
end
|
6942
|
+
|
6943
|
+
# RabbitMQ集群访问信息
|
6944
|
+
class RabbitMQClusterAccessInfo < TencentCloud::Common::AbstractModel
|
6945
|
+
# @param PublicAccessEndpoint: 集群公网接入地址
|
6946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6947
|
+
# @type PublicAccessEndpoint: String
|
6948
|
+
# @param WebConsoleEndpoint: 集群控制台访问地址
|
6949
|
+
# @type WebConsoleEndpoint: String
|
6950
|
+
# @param WebConsoleUsername: 集群控制台登录用户名
|
6951
|
+
# @type WebConsoleUsername: String
|
6952
|
+
# @param WebConsolePassword: 集群控制台登录密码
|
6953
|
+
# @type WebConsolePassword: String
|
6954
|
+
# @param PublicAccessEndpointStatus: 已废弃
|
6955
|
+
# @type PublicAccessEndpointStatus: Boolean
|
6956
|
+
# @param PublicControlConsoleSwitchStatus: 已废弃
|
6957
|
+
# @type PublicControlConsoleSwitchStatus: Boolean
|
6958
|
+
# @param VpcControlConsoleSwitchStatus: 已废弃
|
6959
|
+
# @type VpcControlConsoleSwitchStatus: Boolean
|
6960
|
+
# @param VpcWebConsoleEndpoint: Vpc管控台访问地址,示例值,http://1.1.1.1:15672
|
6961
|
+
# @type VpcWebConsoleEndpoint: String
|
6962
|
+
# @param PublicWebConsoleSwitchStatus: 公网管控台开关状态,示例值,OFF/ON/CREATING/DELETING
|
6963
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6964
|
+
# @type PublicWebConsoleSwitchStatus: String
|
6965
|
+
# @param VpcWebConsoleSwitchStatus: Vpc管控台开关状态,示例值,
|
6966
|
+
# OFF/ON/CREATING/DELETING
|
6967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6968
|
+
# @type VpcWebConsoleSwitchStatus: String
|
6969
|
+
# @param PublicDataStreamStatus: 公网管控台开关状态,示例值,OFF/ON/CREATING/DELETING
|
6970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6971
|
+
# @type PublicDataStreamStatus: String
|
6972
|
+
# @param PrometheusEndpointInfo: Prometheus信息
|
6973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6974
|
+
# @type PrometheusEndpointInfo: :class:`Tencentcloud::Tdmq.v20200217.models.PrometheusEndpointInfo`
|
6975
|
+
|
6976
|
+
attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo
|
6977
|
+
|
6978
|
+
def initialize(publicaccessendpoint=nil, webconsoleendpoint=nil, webconsoleusername=nil, webconsolepassword=nil, publicaccessendpointstatus=nil, publiccontrolconsoleswitchstatus=nil, vpccontrolconsoleswitchstatus=nil, vpcwebconsoleendpoint=nil, publicwebconsoleswitchstatus=nil, vpcwebconsoleswitchstatus=nil, publicdatastreamstatus=nil, prometheusendpointinfo=nil)
|
6979
|
+
@PublicAccessEndpoint = publicaccessendpoint
|
6980
|
+
@WebConsoleEndpoint = webconsoleendpoint
|
6981
|
+
@WebConsoleUsername = webconsoleusername
|
6982
|
+
@WebConsolePassword = webconsolepassword
|
6983
|
+
@PublicAccessEndpointStatus = publicaccessendpointstatus
|
6984
|
+
@PublicControlConsoleSwitchStatus = publiccontrolconsoleswitchstatus
|
6985
|
+
@VpcControlConsoleSwitchStatus = vpccontrolconsoleswitchstatus
|
6986
|
+
@VpcWebConsoleEndpoint = vpcwebconsoleendpoint
|
6987
|
+
@PublicWebConsoleSwitchStatus = publicwebconsoleswitchstatus
|
6988
|
+
@VpcWebConsoleSwitchStatus = vpcwebconsoleswitchstatus
|
6989
|
+
@PublicDataStreamStatus = publicdatastreamstatus
|
6990
|
+
@PrometheusEndpointInfo = prometheusendpointinfo
|
6991
|
+
end
|
6992
|
+
|
6993
|
+
def deserialize(params)
|
6994
|
+
@PublicAccessEndpoint = params['PublicAccessEndpoint']
|
6995
|
+
@WebConsoleEndpoint = params['WebConsoleEndpoint']
|
6996
|
+
@WebConsoleUsername = params['WebConsoleUsername']
|
6997
|
+
@WebConsolePassword = params['WebConsolePassword']
|
6998
|
+
@PublicAccessEndpointStatus = params['PublicAccessEndpointStatus']
|
6999
|
+
@PublicControlConsoleSwitchStatus = params['PublicControlConsoleSwitchStatus']
|
7000
|
+
@VpcControlConsoleSwitchStatus = params['VpcControlConsoleSwitchStatus']
|
7001
|
+
@VpcWebConsoleEndpoint = params['VpcWebConsoleEndpoint']
|
7002
|
+
@PublicWebConsoleSwitchStatus = params['PublicWebConsoleSwitchStatus']
|
7003
|
+
@VpcWebConsoleSwitchStatus = params['VpcWebConsoleSwitchStatus']
|
7004
|
+
@PublicDataStreamStatus = params['PublicDataStreamStatus']
|
7005
|
+
unless params['PrometheusEndpointInfo'].nil?
|
7006
|
+
@PrometheusEndpointInfo = PrometheusEndpointInfo.new
|
7007
|
+
@PrometheusEndpointInfo.deserialize(params['PrometheusEndpointInfo'])
|
7008
|
+
end
|
7009
|
+
end
|
7010
|
+
end
|
7011
|
+
|
7012
|
+
# RabbiteMQ集群基本信息
|
7013
|
+
class RabbitMQClusterInfo < TencentCloud::Common::AbstractModel
|
7014
|
+
# @param ClusterId: 集群ID
|
7015
|
+
# @type ClusterId: String
|
7016
|
+
# @param ClusterName: 集群名称
|
7017
|
+
# @type ClusterName: String
|
7018
|
+
# @param Region: 地域信息
|
7019
|
+
# @type Region: String
|
7020
|
+
# @param CreateTime: 创建时间,毫秒为单位
|
7021
|
+
# @type CreateTime: Integer
|
7022
|
+
# @param Remark: 集群说明信息
|
7023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7024
|
+
# @type Remark: String
|
7025
|
+
# @param Vpcs: VPC及网络信息
|
7026
|
+
# @type Vpcs: Array
|
7027
|
+
# @param VirtualHostNumber: 虚拟主机数量
|
7028
|
+
# @type VirtualHostNumber: Integer
|
7029
|
+
# @param QueueNumber: 队列数量
|
7030
|
+
# @type QueueNumber: Integer
|
7031
|
+
# @param MessagePublishRate: 每秒生产消息数 单位:条/秒
|
7032
|
+
# @type MessagePublishRate: Float
|
7033
|
+
# @param MessageStackNumber: 堆积消息数 单位:条
|
7034
|
+
# @type MessageStackNumber: Integer
|
7035
|
+
# @param ExpireTime: 过期时间
|
7036
|
+
# @type ExpireTime: Integer
|
7037
|
+
# @param ChannelNumber: Channel数量
|
7038
|
+
# @type ChannelNumber: Integer
|
7039
|
+
# @param ConnectionNumber: Connection数量
|
7040
|
+
# @type ConnectionNumber: Integer
|
7041
|
+
# @param ConsumerNumber: Consumer数量
|
7042
|
+
# @type ConsumerNumber: Integer
|
7043
|
+
# @param ExchangeNumber: Exchang数量
|
7044
|
+
# @type ExchangeNumber: Integer
|
7045
|
+
# @param ExceptionInformation: 集群异常。
|
7046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7047
|
+
# @type ExceptionInformation: String
|
7048
|
+
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
7049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7050
|
+
# @type ClusterStatus: Integer
|
7051
|
+
|
7052
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus
|
7053
|
+
|
7054
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil)
|
7055
|
+
@ClusterId = clusterid
|
7056
|
+
@ClusterName = clustername
|
7057
|
+
@Region = region
|
7058
|
+
@CreateTime = createtime
|
7059
|
+
@Remark = remark
|
7060
|
+
@Vpcs = vpcs
|
7061
|
+
@VirtualHostNumber = virtualhostnumber
|
7062
|
+
@QueueNumber = queuenumber
|
7063
|
+
@MessagePublishRate = messagepublishrate
|
7064
|
+
@MessageStackNumber = messagestacknumber
|
7065
|
+
@ExpireTime = expiretime
|
7066
|
+
@ChannelNumber = channelnumber
|
7067
|
+
@ConnectionNumber = connectionnumber
|
7068
|
+
@ConsumerNumber = consumernumber
|
7069
|
+
@ExchangeNumber = exchangenumber
|
7070
|
+
@ExceptionInformation = exceptioninformation
|
7071
|
+
@ClusterStatus = clusterstatus
|
7072
|
+
end
|
7073
|
+
|
7074
|
+
def deserialize(params)
|
7075
|
+
@ClusterId = params['ClusterId']
|
7076
|
+
@ClusterName = params['ClusterName']
|
7077
|
+
@Region = params['Region']
|
7078
|
+
@CreateTime = params['CreateTime']
|
7079
|
+
@Remark = params['Remark']
|
7080
|
+
unless params['Vpcs'].nil?
|
7081
|
+
@Vpcs = []
|
7082
|
+
params['Vpcs'].each do |i|
|
7083
|
+
vpcendpointinfo_tmp = VpcEndpointInfo.new
|
7084
|
+
vpcendpointinfo_tmp.deserialize(i)
|
7085
|
+
@Vpcs << vpcendpointinfo_tmp
|
7086
|
+
end
|
7087
|
+
end
|
7088
|
+
@VirtualHostNumber = params['VirtualHostNumber']
|
7089
|
+
@QueueNumber = params['QueueNumber']
|
7090
|
+
@MessagePublishRate = params['MessagePublishRate']
|
7091
|
+
@MessageStackNumber = params['MessageStackNumber']
|
7092
|
+
@ExpireTime = params['ExpireTime']
|
7093
|
+
@ChannelNumber = params['ChannelNumber']
|
7094
|
+
@ConnectionNumber = params['ConnectionNumber']
|
7095
|
+
@ConsumerNumber = params['ConsumerNumber']
|
7096
|
+
@ExchangeNumber = params['ExchangeNumber']
|
7097
|
+
@ExceptionInformation = params['ExceptionInformation']
|
7098
|
+
@ClusterStatus = params['ClusterStatus']
|
7099
|
+
end
|
7100
|
+
end
|
7101
|
+
|
7102
|
+
# RabbitMQ集群规格信息
|
7103
|
+
class RabbitMQClusterSpecInfo < TencentCloud::Common::AbstractModel
|
7104
|
+
# @param SpecName: 集群规格名称
|
7105
|
+
# @type SpecName: String
|
7106
|
+
# @param NodeCount: 节点数量
|
7107
|
+
# @type NodeCount: Integer
|
7108
|
+
# @param MaxTps: 峰值tps
|
7109
|
+
# @type MaxTps: Integer
|
7110
|
+
# @param MaxBandWidth: 峰值带宽。单位:mbps
|
7111
|
+
# @type MaxBandWidth: Integer
|
7112
|
+
# @param MaxStorage: 存储容量。单位:GB
|
7113
|
+
# @type MaxStorage: Integer
|
7114
|
+
# @param PublicNetworkTps: 公网带宽tps。单位:Mbps
|
7115
|
+
# @type PublicNetworkTps: Integer
|
7116
|
+
|
7117
|
+
attr_accessor :SpecName, :NodeCount, :MaxTps, :MaxBandWidth, :MaxStorage, :PublicNetworkTps
|
7118
|
+
|
7119
|
+
def initialize(specname=nil, nodecount=nil, maxtps=nil, maxbandwidth=nil, maxstorage=nil, publicnetworktps=nil)
|
7120
|
+
@SpecName = specname
|
7121
|
+
@NodeCount = nodecount
|
7122
|
+
@MaxTps = maxtps
|
7123
|
+
@MaxBandWidth = maxbandwidth
|
7124
|
+
@MaxStorage = maxstorage
|
7125
|
+
@PublicNetworkTps = publicnetworktps
|
7126
|
+
end
|
7127
|
+
|
7128
|
+
def deserialize(params)
|
7129
|
+
@SpecName = params['SpecName']
|
7130
|
+
@NodeCount = params['NodeCount']
|
7131
|
+
@MaxTps = params['MaxTps']
|
7132
|
+
@MaxBandWidth = params['MaxBandWidth']
|
7133
|
+
@MaxStorage = params['MaxStorage']
|
7134
|
+
@PublicNetworkTps = params['PublicNetworkTps']
|
7135
|
+
end
|
7136
|
+
end
|
7137
|
+
|
7138
|
+
# RabbiteMQ集群白名单信息
|
7139
|
+
class RabbitMQClusterWhiteListInfo < TencentCloud::Common::AbstractModel
|
7140
|
+
# @param WhiteList: 废弃
|
7141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7142
|
+
# @type WhiteList: String
|
7143
|
+
# @param PublicControlConsoleWhiteList: 公网管控台白名单
|
7144
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7145
|
+
# @type PublicControlConsoleWhiteList: String
|
7146
|
+
# @param PublicDataStreamWhiteList: 公网数据流白名单
|
7147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7148
|
+
# @type PublicDataStreamWhiteList: String
|
7149
|
+
# @param PublicControlConsoleWhiteListStatus: 公网管控台白名单状态
|
7150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7151
|
+
# @type PublicControlConsoleWhiteListStatus: String
|
7152
|
+
# @param PublicDataStreamWhiteListStatus: 公网数据流白名单状态
|
7153
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7154
|
+
# @type PublicDataStreamWhiteListStatus: String
|
7155
|
+
|
7156
|
+
attr_accessor :WhiteList, :PublicControlConsoleWhiteList, :PublicDataStreamWhiteList, :PublicControlConsoleWhiteListStatus, :PublicDataStreamWhiteListStatus
|
7157
|
+
|
7158
|
+
def initialize(whitelist=nil, publiccontrolconsolewhitelist=nil, publicdatastreamwhitelist=nil, publiccontrolconsolewhiteliststatus=nil, publicdatastreamwhiteliststatus=nil)
|
7159
|
+
@WhiteList = whitelist
|
7160
|
+
@PublicControlConsoleWhiteList = publiccontrolconsolewhitelist
|
7161
|
+
@PublicDataStreamWhiteList = publicdatastreamwhitelist
|
7162
|
+
@PublicControlConsoleWhiteListStatus = publiccontrolconsolewhiteliststatus
|
7163
|
+
@PublicDataStreamWhiteListStatus = publicdatastreamwhiteliststatus
|
7164
|
+
end
|
7165
|
+
|
7166
|
+
def deserialize(params)
|
7167
|
+
@WhiteList = params['WhiteList']
|
7168
|
+
@PublicControlConsoleWhiteList = params['PublicControlConsoleWhiteList']
|
7169
|
+
@PublicDataStreamWhiteList = params['PublicDataStreamWhiteList']
|
7170
|
+
@PublicControlConsoleWhiteListStatus = params['PublicControlConsoleWhiteListStatus']
|
7171
|
+
@PublicDataStreamWhiteListStatus = params['PublicDataStreamWhiteListStatus']
|
7172
|
+
end
|
7173
|
+
end
|
7174
|
+
|
6738
7175
|
# RabbitMQ节点信息
|
6739
7176
|
class RabbitMQPrivateNode < TencentCloud::Common::AbstractModel
|
6740
7177
|
# @param NodeName: 节点名字
|
@@ -8262,6 +8699,27 @@ module TencentCloud
|
|
8262
8699
|
end
|
8263
8700
|
end
|
8264
8701
|
|
8702
|
+
# vhost使用配额信息
|
8703
|
+
class VirtualHostQuota < TencentCloud::Common::AbstractModel
|
8704
|
+
# @param MaxVirtualHost: 允许创建最大vhost数
|
8705
|
+
# @type MaxVirtualHost: Integer
|
8706
|
+
# @param UsedVirtualHost: 已创建vhost数
|
8707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8708
|
+
# @type UsedVirtualHost: Integer
|
8709
|
+
|
8710
|
+
attr_accessor :MaxVirtualHost, :UsedVirtualHost
|
8711
|
+
|
8712
|
+
def initialize(maxvirtualhost=nil, usedvirtualhost=nil)
|
8713
|
+
@MaxVirtualHost = maxvirtualhost
|
8714
|
+
@UsedVirtualHost = usedvirtualhost
|
8715
|
+
end
|
8716
|
+
|
8717
|
+
def deserialize(params)
|
8718
|
+
@MaxVirtualHost = params['MaxVirtualHost']
|
8719
|
+
@UsedVirtualHost = params['UsedVirtualHost']
|
8720
|
+
end
|
8721
|
+
end
|
8722
|
+
|
8265
8723
|
# vcp绑定记录
|
8266
8724
|
class VpcBindRecord < TencentCloud::Common::AbstractModel
|
8267
8725
|
# @param UniqueVpcId: 租户Vpc Id
|
@@ -8319,6 +8777,36 @@ module TencentCloud
|
|
8319
8777
|
end
|
8320
8778
|
end
|
8321
8779
|
|
8780
|
+
# VPC接入点信息
|
8781
|
+
class VpcEndpointInfo < TencentCloud::Common::AbstractModel
|
8782
|
+
# @param VpcId: vpc的id
|
8783
|
+
# @type VpcId: String
|
8784
|
+
# @param SubnetId: 子网id
|
8785
|
+
# @type SubnetId: String
|
8786
|
+
# @param VpcEndpoint: vpc接入点信息
|
8787
|
+
# @type VpcEndpoint: String
|
8788
|
+
# @param VpcDataStreamEndpointStatus: vpc接入点状态
|
8789
|
+
# OFF/ON/CREATING/DELETING
|
8790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8791
|
+
# @type VpcDataStreamEndpointStatus: String
|
8792
|
+
|
8793
|
+
attr_accessor :VpcId, :SubnetId, :VpcEndpoint, :VpcDataStreamEndpointStatus
|
8794
|
+
|
8795
|
+
def initialize(vpcid=nil, subnetid=nil, vpcendpoint=nil, vpcdatastreamendpointstatus=nil)
|
8796
|
+
@VpcId = vpcid
|
8797
|
+
@SubnetId = subnetid
|
8798
|
+
@VpcEndpoint = vpcendpoint
|
8799
|
+
@VpcDataStreamEndpointStatus = vpcdatastreamendpointstatus
|
8800
|
+
end
|
8801
|
+
|
8802
|
+
def deserialize(params)
|
8803
|
+
@VpcId = params['VpcId']
|
8804
|
+
@SubnetId = params['SubnetId']
|
8805
|
+
@VpcEndpoint = params['VpcEndpoint']
|
8806
|
+
@VpcDataStreamEndpointStatus = params['VpcDataStreamEndpointStatus']
|
8807
|
+
end
|
8808
|
+
end
|
8809
|
+
|
8322
8810
|
end
|
8323
8811
|
end
|
8324
8812
|
end
|
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.530
|
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-03-
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|