tencentcloud-sdk-tdmq 3.0.440 → 3.0.441
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 +205 -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: 91fb3fd83a77ce7655f01b6dcde81667121e4416
|
4
|
+
data.tar.gz: 5e10fdbcf365bf5235d3208ed574ea476f9caf31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf840765df09c61fbef1da87e1abbb6afc87bace29f136b9e980eda381853848887369bad1e8fcf272be9e5318680ee9392c113629893a37b61708b78d137a1
|
7
|
+
data.tar.gz: b2f7272ace8098d37a2b1762b5e3e29cdb6c4dfce453c2dcb5d42796d6631e41640db93df67eb62c43ccf368ba4d5985280cb58f831f9f2f4f5d9804b832d928
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.441
|
data/lib/v20200217/client.rb
CHANGED
@@ -1565,6 +1565,54 @@ module TencentCloud
|
|
1565
1565
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
1566
|
end
|
1567
1567
|
|
1568
|
+
# RabbitMQ专享版查询节点列表
|
1569
|
+
|
1570
|
+
# @param request: Request instance for DescribeRabbitMQNodeList.
|
1571
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQNodeListRequest`
|
1572
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQNodeListResponse`
|
1573
|
+
def DescribeRabbitMQNodeList(request)
|
1574
|
+
body = send_request('DescribeRabbitMQNodeList', request.serialize)
|
1575
|
+
response = JSON.parse(body)
|
1576
|
+
if response['Response'].key?('Error') == false
|
1577
|
+
model = DescribeRabbitMQNodeListResponse.new
|
1578
|
+
model.deserialize(response['Response'])
|
1579
|
+
model
|
1580
|
+
else
|
1581
|
+
code = response['Response']['Error']['Code']
|
1582
|
+
message = response['Response']['Error']['Message']
|
1583
|
+
reqid = response['Response']['RequestId']
|
1584
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1585
|
+
end
|
1586
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1587
|
+
raise e
|
1588
|
+
rescue StandardError => e
|
1589
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
# 查询用户已购的RabbitMQ专享实例列表
|
1593
|
+
|
1594
|
+
# @param request: Request instance for DescribeRabbitMQVipInstances.
|
1595
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstancesRequest`
|
1596
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstancesResponse`
|
1597
|
+
def DescribeRabbitMQVipInstances(request)
|
1598
|
+
body = send_request('DescribeRabbitMQVipInstances', request.serialize)
|
1599
|
+
response = JSON.parse(body)
|
1600
|
+
if response['Response'].key?('Error') == false
|
1601
|
+
model = DescribeRabbitMQVipInstancesResponse.new
|
1602
|
+
model.deserialize(response['Response'])
|
1603
|
+
model
|
1604
|
+
else
|
1605
|
+
code = response['Response']['Error']['Code']
|
1606
|
+
message = response['Response']['Error']['Message']
|
1607
|
+
reqid = response['Response']['RequestId']
|
1608
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1609
|
+
end
|
1610
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1611
|
+
raise e
|
1612
|
+
rescue StandardError => e
|
1613
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1614
|
+
end
|
1615
|
+
|
1568
1616
|
# 获取单个RocketMQ集群信息
|
1569
1617
|
|
1570
1618
|
# @param request: Request instance for DescribeRocketMQCluster.
|
data/lib/v20200217/models.rb
CHANGED
@@ -4526,6 +4526,124 @@ module TencentCloud
|
|
4526
4526
|
end
|
4527
4527
|
end
|
4528
4528
|
|
4529
|
+
# DescribeRabbitMQNodeList请求参数结构体
|
4530
|
+
class DescribeRabbitMQNodeListRequest < TencentCloud::Common::AbstractModel
|
4531
|
+
# @param InstanceId: 不适用,默认参数
|
4532
|
+
# @type InstanceId: String
|
4533
|
+
# @param Offset: 偏移量
|
4534
|
+
# @type Offset: Integer
|
4535
|
+
# @param Limit: 一页限制
|
4536
|
+
# @type Limit: Integer
|
4537
|
+
|
4538
|
+
attr_accessor :InstanceId, :Offset, :Limit
|
4539
|
+
|
4540
|
+
def initialize(instanceid=nil, offset=nil, limit=nil)
|
4541
|
+
@InstanceId = instanceid
|
4542
|
+
@Offset = offset
|
4543
|
+
@Limit = limit
|
4544
|
+
end
|
4545
|
+
|
4546
|
+
def deserialize(params)
|
4547
|
+
@InstanceId = params['InstanceId']
|
4548
|
+
@Offset = params['Offset']
|
4549
|
+
@Limit = params['Limit']
|
4550
|
+
end
|
4551
|
+
end
|
4552
|
+
|
4553
|
+
# DescribeRabbitMQNodeList返回参数结构体
|
4554
|
+
class DescribeRabbitMQNodeListResponse < TencentCloud::Common::AbstractModel
|
4555
|
+
# @param TotalCount: 集群列表数量
|
4556
|
+
# @type TotalCount: Integer
|
4557
|
+
# @param NodeList: 集群列表
|
4558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4559
|
+
# @type NodeList: Array
|
4560
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4561
|
+
# @type RequestId: String
|
4562
|
+
|
4563
|
+
attr_accessor :TotalCount, :NodeList, :RequestId
|
4564
|
+
|
4565
|
+
def initialize(totalcount=nil, nodelist=nil, requestid=nil)
|
4566
|
+
@TotalCount = totalcount
|
4567
|
+
@NodeList = nodelist
|
4568
|
+
@RequestId = requestid
|
4569
|
+
end
|
4570
|
+
|
4571
|
+
def deserialize(params)
|
4572
|
+
@TotalCount = params['TotalCount']
|
4573
|
+
unless params['NodeList'].nil?
|
4574
|
+
@NodeList = []
|
4575
|
+
params['NodeList'].each do |i|
|
4576
|
+
rabbitmqprivatenode_tmp = RabbitMQPrivateNode.new
|
4577
|
+
rabbitmqprivatenode_tmp.deserialize(i)
|
4578
|
+
@NodeList << rabbitmqprivatenode_tmp
|
4579
|
+
end
|
4580
|
+
end
|
4581
|
+
@RequestId = params['RequestId']
|
4582
|
+
end
|
4583
|
+
end
|
4584
|
+
|
4585
|
+
# DescribeRabbitMQVipInstances请求参数结构体
|
4586
|
+
class DescribeRabbitMQVipInstancesRequest < TencentCloud::Common::AbstractModel
|
4587
|
+
# @param Filters: 查询条件过滤器
|
4588
|
+
# @type Filters: Array
|
4589
|
+
# @param Limit: 查询数目上限,默认20
|
4590
|
+
# @type Limit: Integer
|
4591
|
+
# @param Offset: 查询起始位置
|
4592
|
+
# @type Offset: Integer
|
4593
|
+
|
4594
|
+
attr_accessor :Filters, :Limit, :Offset
|
4595
|
+
|
4596
|
+
def initialize(filters=nil, limit=nil, offset=nil)
|
4597
|
+
@Filters = filters
|
4598
|
+
@Limit = limit
|
4599
|
+
@Offset = offset
|
4600
|
+
end
|
4601
|
+
|
4602
|
+
def deserialize(params)
|
4603
|
+
unless params['Filters'].nil?
|
4604
|
+
@Filters = []
|
4605
|
+
params['Filters'].each do |i|
|
4606
|
+
filter_tmp = Filter.new
|
4607
|
+
filter_tmp.deserialize(i)
|
4608
|
+
@Filters << filter_tmp
|
4609
|
+
end
|
4610
|
+
end
|
4611
|
+
@Limit = params['Limit']
|
4612
|
+
@Offset = params['Offset']
|
4613
|
+
end
|
4614
|
+
end
|
4615
|
+
|
4616
|
+
# DescribeRabbitMQVipInstances返回参数结构体
|
4617
|
+
class DescribeRabbitMQVipInstancesResponse < TencentCloud::Common::AbstractModel
|
4618
|
+
# @param TotalCount: 未分页的总数目
|
4619
|
+
# @type TotalCount: Integer
|
4620
|
+
# @param Instances: 实例信息列表
|
4621
|
+
# @type Instances: Array
|
4622
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4623
|
+
# @type RequestId: String
|
4624
|
+
|
4625
|
+
attr_accessor :TotalCount, :Instances, :RequestId
|
4626
|
+
|
4627
|
+
def initialize(totalcount=nil, instances=nil, requestid=nil)
|
4628
|
+
@TotalCount = totalcount
|
4629
|
+
@Instances = instances
|
4630
|
+
@RequestId = requestid
|
4631
|
+
end
|
4632
|
+
|
4633
|
+
def deserialize(params)
|
4634
|
+
@TotalCount = params['TotalCount']
|
4635
|
+
unless params['Instances'].nil?
|
4636
|
+
@Instances = []
|
4637
|
+
params['Instances'].each do |i|
|
4638
|
+
rabbitmqvipinstance_tmp = RabbitMQVipInstance.new
|
4639
|
+
rabbitmqvipinstance_tmp.deserialize(i)
|
4640
|
+
@Instances << rabbitmqvipinstance_tmp
|
4641
|
+
end
|
4642
|
+
end
|
4643
|
+
@RequestId = params['RequestId']
|
4644
|
+
end
|
4645
|
+
end
|
4646
|
+
|
4529
4647
|
# DescribeRocketMQCluster请求参数结构体
|
4530
4648
|
class DescribeRocketMQClusterRequest < TencentCloud::Common::AbstractModel
|
4531
4649
|
# @param ClusterId: 集群ID
|
@@ -6413,6 +6531,93 @@ module TencentCloud
|
|
6413
6531
|
end
|
6414
6532
|
end
|
6415
6533
|
|
6534
|
+
# RabbitMQ节点信息
|
6535
|
+
class RabbitMQPrivateNode < TencentCloud::Common::AbstractModel
|
6536
|
+
# @param NodeName: 节点名字
|
6537
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6538
|
+
# @type NodeName: String
|
6539
|
+
|
6540
|
+
attr_accessor :NodeName
|
6541
|
+
|
6542
|
+
def initialize(nodename=nil)
|
6543
|
+
@NodeName = nodename
|
6544
|
+
end
|
6545
|
+
|
6546
|
+
def deserialize(params)
|
6547
|
+
@NodeName = params['NodeName']
|
6548
|
+
end
|
6549
|
+
end
|
6550
|
+
|
6551
|
+
# RabbitMQ专享实例信息
|
6552
|
+
class RabbitMQVipInstance < TencentCloud::Common::AbstractModel
|
6553
|
+
# @param InstanceId: 实例id
|
6554
|
+
# @type InstanceId: String
|
6555
|
+
# @param InstanceName: 实例名称
|
6556
|
+
# @type InstanceName: String
|
6557
|
+
# @param InstanceVersion: 实例版本
|
6558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6559
|
+
# @type InstanceVersion: String
|
6560
|
+
# @param Status: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
6561
|
+
# @type Status: Integer
|
6562
|
+
# @param NodeCount: 节点数量
|
6563
|
+
# @type NodeCount: Integer
|
6564
|
+
# @param ConfigDisplay: 实例配置规格名称
|
6565
|
+
# @type ConfigDisplay: String
|
6566
|
+
# @param MaxTps: 峰值TPS
|
6567
|
+
# @type MaxTps: Integer
|
6568
|
+
# @param MaxBandWidth: 峰值带宽,Mbps为单位
|
6569
|
+
# @type MaxBandWidth: Integer
|
6570
|
+
# @param MaxStorage: 存储容量,GB为单位
|
6571
|
+
# @type MaxStorage: Integer
|
6572
|
+
# @param ExpireTime: 实例到期时间,毫秒为单位
|
6573
|
+
# @type ExpireTime: Integer
|
6574
|
+
# @param AutoRenewFlag: 自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费), 1表示自动续费,2表示明确不自动续费(用户设置)
|
6575
|
+
# @type AutoRenewFlag: Integer
|
6576
|
+
# @param PayMode: 0-后付费,1-预付费
|
6577
|
+
# @type PayMode: Integer
|
6578
|
+
# @param Remark: 备注信息
|
6579
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6580
|
+
# @type Remark: String
|
6581
|
+
# @param SpecName: 实例配置ID
|
6582
|
+
# @type SpecName: String
|
6583
|
+
|
6584
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName
|
6585
|
+
|
6586
|
+
def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, nodecount=nil, configdisplay=nil, maxtps=nil, maxbandwidth=nil, maxstorage=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil)
|
6587
|
+
@InstanceId = instanceid
|
6588
|
+
@InstanceName = instancename
|
6589
|
+
@InstanceVersion = instanceversion
|
6590
|
+
@Status = status
|
6591
|
+
@NodeCount = nodecount
|
6592
|
+
@ConfigDisplay = configdisplay
|
6593
|
+
@MaxTps = maxtps
|
6594
|
+
@MaxBandWidth = maxbandwidth
|
6595
|
+
@MaxStorage = maxstorage
|
6596
|
+
@ExpireTime = expiretime
|
6597
|
+
@AutoRenewFlag = autorenewflag
|
6598
|
+
@PayMode = paymode
|
6599
|
+
@Remark = remark
|
6600
|
+
@SpecName = specname
|
6601
|
+
end
|
6602
|
+
|
6603
|
+
def deserialize(params)
|
6604
|
+
@InstanceId = params['InstanceId']
|
6605
|
+
@InstanceName = params['InstanceName']
|
6606
|
+
@InstanceVersion = params['InstanceVersion']
|
6607
|
+
@Status = params['Status']
|
6608
|
+
@NodeCount = params['NodeCount']
|
6609
|
+
@ConfigDisplay = params['ConfigDisplay']
|
6610
|
+
@MaxTps = params['MaxTps']
|
6611
|
+
@MaxBandWidth = params['MaxBandWidth']
|
6612
|
+
@MaxStorage = params['MaxStorage']
|
6613
|
+
@ExpireTime = params['ExpireTime']
|
6614
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
6615
|
+
@PayMode = params['PayMode']
|
6616
|
+
@Remark = params['Remark']
|
6617
|
+
@SpecName = params['SpecName']
|
6618
|
+
end
|
6619
|
+
end
|
6620
|
+
|
6416
6621
|
# ReceiveMessage请求参数结构体
|
6417
6622
|
class ReceiveMessageRequest < TencentCloud::Common::AbstractModel
|
6418
6623
|
# @param Topic: 接收消息的topic的名字, 这里尽量需要使用topic的全路径,如果不指定,即:tenant/namespace/topic。默认使用的是:public/default
|
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.441
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|