tencentcloud-sdk-tdmq 3.0.774 → 3.0.776
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 -26
- data/lib/v20200217/models.rb +233 -51
- 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: 3737e88bcd8d1deb6fa166ef104042d565a9d8ef
|
4
|
+
data.tar.gz: 46409480ee8810e1d2cd23d5eaba49aba1a1d35f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d6421c9f0bc5d1b0e09785a464c21c4b9f4088c937bf67e5999d83d9bef1e9e0d1ea0688abc8df3f132f85ddf7715888859a0cd467a03131e26e8c653f5b4fa
|
7
|
+
data.tar.gz: 7d70b0e8e1ff96b93eea47abb39aab1cb4aaec901fda3bf47cdb9273b204d32a8ae4649189a36f85b90b8154bd28112862120deed0033ae8a85db2df0d973064
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.776
|
data/lib/v20200217/client.rb
CHANGED
@@ -701,32 +701,6 @@ module TencentCloud
|
|
701
701
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
702
702
|
end
|
703
703
|
|
704
|
-
# 接口支持删除多个集群,目前已废弃
|
705
|
-
|
706
|
-
# 删除专业集群——预付费,仅通过API 调用,支持同时删除多个集群
|
707
|
-
|
708
|
-
# @param request: Request instance for DeleteProClusters.
|
709
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteProClustersRequest`
|
710
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DeleteProClustersResponse`
|
711
|
-
def DeleteProClusters(request)
|
712
|
-
body = send_request('DeleteProClusters', request.serialize)
|
713
|
-
response = JSON.parse(body)
|
714
|
-
if response['Response'].key?('Error') == false
|
715
|
-
model = DeleteProClustersResponse.new
|
716
|
-
model.deserialize(response['Response'])
|
717
|
-
model
|
718
|
-
else
|
719
|
-
code = response['Response']['Error']['Code']
|
720
|
-
message = response['Response']['Error']['Message']
|
721
|
-
reqid = response['Response']['RequestId']
|
722
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
723
|
-
end
|
724
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
725
|
-
raise e
|
726
|
-
rescue StandardError => e
|
727
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
728
|
-
end
|
729
|
-
|
730
704
|
# 删除RabbitMQ的用户
|
731
705
|
|
732
706
|
# @param request: Request instance for DeleteRabbitMQUser.
|
@@ -1353,6 +1327,54 @@ module TencentCloud
|
|
1353
1327
|
|
1354
1328
|
# 查询消息轨迹
|
1355
1329
|
|
1330
|
+
# @param request: Request instance for DescribeMqMsgTrace.
|
1331
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeMqMsgTraceRequest`
|
1332
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeMqMsgTraceResponse`
|
1333
|
+
def DescribeMqMsgTrace(request)
|
1334
|
+
body = send_request('DescribeMqMsgTrace', request.serialize)
|
1335
|
+
response = JSON.parse(body)
|
1336
|
+
if response['Response'].key?('Error') == false
|
1337
|
+
model = DescribeMqMsgTraceResponse.new
|
1338
|
+
model.deserialize(response['Response'])
|
1339
|
+
model
|
1340
|
+
else
|
1341
|
+
code = response['Response']['Error']['Code']
|
1342
|
+
message = response['Response']['Error']['Message']
|
1343
|
+
reqid = response['Response']['RequestId']
|
1344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1345
|
+
end
|
1346
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1347
|
+
raise e
|
1348
|
+
rescue StandardError => e
|
1349
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# 消息详情
|
1353
|
+
|
1354
|
+
# @param request: Request instance for DescribeMsg.
|
1355
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgRequest`
|
1356
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgResponse`
|
1357
|
+
def DescribeMsg(request)
|
1358
|
+
body = send_request('DescribeMsg', request.serialize)
|
1359
|
+
response = JSON.parse(body)
|
1360
|
+
if response['Response'].key?('Error') == false
|
1361
|
+
model = DescribeMsgResponse.new
|
1362
|
+
model.deserialize(response['Response'])
|
1363
|
+
model
|
1364
|
+
else
|
1365
|
+
code = response['Response']['Error']['Code']
|
1366
|
+
message = response['Response']['Error']['Message']
|
1367
|
+
reqid = response['Response']['RequestId']
|
1368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1369
|
+
end
|
1370
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1371
|
+
raise e
|
1372
|
+
rescue StandardError => e
|
1373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# 查询消息轨迹
|
1377
|
+
|
1356
1378
|
# @param request: Request instance for DescribeMsgTrace.
|
1357
1379
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgTraceRequest`
|
1358
1380
|
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgTraceResponse`
|
data/lib/v20200217/models.rb
CHANGED
@@ -1925,7 +1925,7 @@ module TencentCloud
|
|
1925
1925
|
# @type Topic: String
|
1926
1926
|
# @param Namespaces: 主题所在的命名空间,目前支持在单个命名空间下创建主题
|
1927
1927
|
# @type Namespaces: Array
|
1928
|
-
# @param Type: 主题类型,可选值为Normal, PartitionedOrder, Transaction, DelayScheduled。
|
1928
|
+
# @param Type: 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder, Transaction, DelayScheduled。Transaction仅在专享版支持。
|
1929
1929
|
# @type Type: String
|
1930
1930
|
# @param ClusterId: 集群ID
|
1931
1931
|
# @type ClusterId: String
|
@@ -2514,46 +2514,6 @@ module TencentCloud
|
|
2514
2514
|
end
|
2515
2515
|
end
|
2516
2516
|
|
2517
|
-
# DeleteProClusters请求参数结构体
|
2518
|
-
class DeleteProClustersRequest < TencentCloud::Common::AbstractModel
|
2519
|
-
# @param ClusterIds: 集群Id列表
|
2520
|
-
# @type ClusterIds: Array
|
2521
|
-
|
2522
|
-
attr_accessor :ClusterIds
|
2523
|
-
|
2524
|
-
def initialize(clusterids=nil)
|
2525
|
-
@ClusterIds = clusterids
|
2526
|
-
end
|
2527
|
-
|
2528
|
-
def deserialize(params)
|
2529
|
-
@ClusterIds = params['ClusterIds']
|
2530
|
-
end
|
2531
|
-
end
|
2532
|
-
|
2533
|
-
# DeleteProClusters返回参数结构体
|
2534
|
-
class DeleteProClustersResponse < TencentCloud::Common::AbstractModel
|
2535
|
-
# @param DealNames: 退还实例订单号
|
2536
|
-
# @type DealNames: Array
|
2537
|
-
# @param ClusterIds: 集群ID
|
2538
|
-
# @type ClusterIds: Array
|
2539
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2540
|
-
# @type RequestId: String
|
2541
|
-
|
2542
|
-
attr_accessor :DealNames, :ClusterIds, :RequestId
|
2543
|
-
|
2544
|
-
def initialize(dealnames=nil, clusterids=nil, requestid=nil)
|
2545
|
-
@DealNames = dealnames
|
2546
|
-
@ClusterIds = clusterids
|
2547
|
-
@RequestId = requestid
|
2548
|
-
end
|
2549
|
-
|
2550
|
-
def deserialize(params)
|
2551
|
-
@DealNames = params['DealNames']
|
2552
|
-
@ClusterIds = params['ClusterIds']
|
2553
|
-
@RequestId = params['RequestId']
|
2554
|
-
end
|
2555
|
-
end
|
2556
|
-
|
2557
2517
|
# DeleteRabbitMQUser请求参数结构体
|
2558
2518
|
class DeleteRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
2559
2519
|
# @param InstanceId: 集群实例Id
|
@@ -3946,6 +3906,190 @@ module TencentCloud
|
|
3946
3906
|
end
|
3947
3907
|
end
|
3948
3908
|
|
3909
|
+
# DescribeMqMsgTrace请求参数结构体
|
3910
|
+
class DescribeMqMsgTraceRequest < TencentCloud::Common::AbstractModel
|
3911
|
+
# @param Protocol: pulsar、rocketmq、rabbitmq、cmq
|
3912
|
+
# @type Protocol: String
|
3913
|
+
# @param MsgId: 消息id
|
3914
|
+
# @type MsgId: String
|
3915
|
+
# @param ClusterId: 集群id,cmq为空
|
3916
|
+
# @type ClusterId: String
|
3917
|
+
# @param EnvironmentId: 命名空间,cmq为空
|
3918
|
+
# @type EnvironmentId: String
|
3919
|
+
# @param TopicName: 主题,cmq为空,rocketmq查询死信时值为groupId
|
3920
|
+
# @type TopicName: String
|
3921
|
+
# @param QueueName: cmq必填,其他协议填空
|
3922
|
+
# @type QueueName: String
|
3923
|
+
# @param GroupName: 消费组、订阅
|
3924
|
+
# @type GroupName: String
|
3925
|
+
# @param QueryDlqMsg: 查询死信时该值为true,只对Rocketmq有效
|
3926
|
+
# @type QueryDlqMsg: Boolean
|
3927
|
+
|
3928
|
+
attr_accessor :Protocol, :MsgId, :ClusterId, :EnvironmentId, :TopicName, :QueueName, :GroupName, :QueryDlqMsg
|
3929
|
+
|
3930
|
+
def initialize(protocol=nil, msgid=nil, clusterid=nil, environmentid=nil, topicname=nil, queuename=nil, groupname=nil, querydlqmsg=nil)
|
3931
|
+
@Protocol = protocol
|
3932
|
+
@MsgId = msgid
|
3933
|
+
@ClusterId = clusterid
|
3934
|
+
@EnvironmentId = environmentid
|
3935
|
+
@TopicName = topicname
|
3936
|
+
@QueueName = queuename
|
3937
|
+
@GroupName = groupname
|
3938
|
+
@QueryDlqMsg = querydlqmsg
|
3939
|
+
end
|
3940
|
+
|
3941
|
+
def deserialize(params)
|
3942
|
+
@Protocol = params['Protocol']
|
3943
|
+
@MsgId = params['MsgId']
|
3944
|
+
@ClusterId = params['ClusterId']
|
3945
|
+
@EnvironmentId = params['EnvironmentId']
|
3946
|
+
@TopicName = params['TopicName']
|
3947
|
+
@QueueName = params['QueueName']
|
3948
|
+
@GroupName = params['GroupName']
|
3949
|
+
@QueryDlqMsg = params['QueryDlqMsg']
|
3950
|
+
end
|
3951
|
+
end
|
3952
|
+
|
3953
|
+
# DescribeMqMsgTrace返回参数结构体
|
3954
|
+
class DescribeMqMsgTraceResponse < TencentCloud::Common::AbstractModel
|
3955
|
+
# @param Result: [
|
3956
|
+
# {
|
3957
|
+
# "Stage": "produce",
|
3958
|
+
# "Data": {
|
3959
|
+
# "ProducerName": "生产者名",
|
3960
|
+
# "ProduceTime": "消息生产时间",
|
3961
|
+
# "ProducerAddr": "客户端地址",
|
3962
|
+
# "Duration": "耗时ms",
|
3963
|
+
# "Status": "状态(0:成功,1:失败)"
|
3964
|
+
# }
|
3965
|
+
# },
|
3966
|
+
# {
|
3967
|
+
# "Stage": "persist",
|
3968
|
+
# "Data": {
|
3969
|
+
# "PersistTime": "存储时间",
|
3970
|
+
# "Duration": "耗时ms",
|
3971
|
+
# "Status": "状态(0:成功,1:失败)"
|
3972
|
+
# }
|
3973
|
+
# },
|
3974
|
+
# {
|
3975
|
+
# "Stage": "consume",
|
3976
|
+
# "Data": {
|
3977
|
+
# "TotalCount": 2,
|
3978
|
+
# "RocketMqConsumeLogs": [
|
3979
|
+
# {
|
3980
|
+
# "ConsumerGroup": "消费组",
|
3981
|
+
# "ConsumeModel": "消费模式",
|
3982
|
+
# "ConsumerAddr": "消费者地址",
|
3983
|
+
# "ConsumeTime": "推送时间",
|
3984
|
+
# "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
|
3985
|
+
# },
|
3986
|
+
# {
|
3987
|
+
# "ConsumerGroup": "消费组",
|
3988
|
+
# "ConsumeModel": "消费模式",
|
3989
|
+
# "ConsumerAddr": "消费者地址",
|
3990
|
+
# "ConsumeTime": "推送时间",
|
3991
|
+
# "Status": "状态(0:已推送未确认, 2:已确认, 3:转入重试, 4:已重试未确认, 5:已转入死信队列)"
|
3992
|
+
# }
|
3993
|
+
# ]
|
3994
|
+
# }
|
3995
|
+
# }
|
3996
|
+
# ]
|
3997
|
+
# @type Result: Array
|
3998
|
+
# @param ShowTopicName: 消息轨迹页展示的topic名称
|
3999
|
+
# @type ShowTopicName: String
|
4000
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4001
|
+
# @type RequestId: String
|
4002
|
+
|
4003
|
+
attr_accessor :Result, :ShowTopicName, :RequestId
|
4004
|
+
|
4005
|
+
def initialize(result=nil, showtopicname=nil, requestid=nil)
|
4006
|
+
@Result = result
|
4007
|
+
@ShowTopicName = showtopicname
|
4008
|
+
@RequestId = requestid
|
4009
|
+
end
|
4010
|
+
|
4011
|
+
def deserialize(params)
|
4012
|
+
unless params['Result'].nil?
|
4013
|
+
@Result = []
|
4014
|
+
params['Result'].each do |i|
|
4015
|
+
traceresult_tmp = TraceResult.new
|
4016
|
+
traceresult_tmp.deserialize(i)
|
4017
|
+
@Result << traceresult_tmp
|
4018
|
+
end
|
4019
|
+
end
|
4020
|
+
@ShowTopicName = params['ShowTopicName']
|
4021
|
+
@RequestId = params['RequestId']
|
4022
|
+
end
|
4023
|
+
end
|
4024
|
+
|
4025
|
+
# DescribeMsg请求参数结构体
|
4026
|
+
class DescribeMsgRequest < TencentCloud::Common::AbstractModel
|
4027
|
+
# @param EnvironmentId: 环境(命名空间)名称。
|
4028
|
+
# @type EnvironmentId: String
|
4029
|
+
# @param MsgId: 消息ID。
|
4030
|
+
# @type MsgId: String
|
4031
|
+
# @param TopicName: 主题名。
|
4032
|
+
# @type TopicName: String
|
4033
|
+
# @param ClusterId: Pulsar 集群的ID
|
4034
|
+
# @type ClusterId: String
|
4035
|
+
|
4036
|
+
attr_accessor :EnvironmentId, :MsgId, :TopicName, :ClusterId
|
4037
|
+
|
4038
|
+
def initialize(environmentid=nil, msgid=nil, topicname=nil, clusterid=nil)
|
4039
|
+
@EnvironmentId = environmentid
|
4040
|
+
@MsgId = msgid
|
4041
|
+
@TopicName = topicname
|
4042
|
+
@ClusterId = clusterid
|
4043
|
+
end
|
4044
|
+
|
4045
|
+
def deserialize(params)
|
4046
|
+
@EnvironmentId = params['EnvironmentId']
|
4047
|
+
@MsgId = params['MsgId']
|
4048
|
+
@TopicName = params['TopicName']
|
4049
|
+
@ClusterId = params['ClusterId']
|
4050
|
+
end
|
4051
|
+
end
|
4052
|
+
|
4053
|
+
# DescribeMsg返回参数结构体
|
4054
|
+
class DescribeMsgResponse < TencentCloud::Common::AbstractModel
|
4055
|
+
# @param Properties: 消息属性。
|
4056
|
+
# @type Properties: String
|
4057
|
+
# @param Body: 消息体。
|
4058
|
+
# @type Body: String
|
4059
|
+
# @param BatchId: 批次ID。
|
4060
|
+
# @type BatchId: String
|
4061
|
+
# @param ProduceTime: 生产时间。
|
4062
|
+
# @type ProduceTime: String
|
4063
|
+
# @param MsgId: 消息ID。
|
4064
|
+
# @type MsgId: String
|
4065
|
+
# @param ProducerName: 生产者名称。
|
4066
|
+
# @type ProducerName: String
|
4067
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4068
|
+
# @type RequestId: String
|
4069
|
+
|
4070
|
+
attr_accessor :Properties, :Body, :BatchId, :ProduceTime, :MsgId, :ProducerName, :RequestId
|
4071
|
+
|
4072
|
+
def initialize(properties=nil, body=nil, batchid=nil, producetime=nil, msgid=nil, producername=nil, requestid=nil)
|
4073
|
+
@Properties = properties
|
4074
|
+
@Body = body
|
4075
|
+
@BatchId = batchid
|
4076
|
+
@ProduceTime = producetime
|
4077
|
+
@MsgId = msgid
|
4078
|
+
@ProducerName = producername
|
4079
|
+
@RequestId = requestid
|
4080
|
+
end
|
4081
|
+
|
4082
|
+
def deserialize(params)
|
4083
|
+
@Properties = params['Properties']
|
4084
|
+
@Body = params['Body']
|
4085
|
+
@BatchId = params['BatchId']
|
4086
|
+
@ProduceTime = params['ProduceTime']
|
4087
|
+
@MsgId = params['MsgId']
|
4088
|
+
@ProducerName = params['ProducerName']
|
4089
|
+
@RequestId = params['RequestId']
|
4090
|
+
end
|
4091
|
+
end
|
4092
|
+
|
3949
4093
|
# DescribeMsgTrace请求参数结构体
|
3950
4094
|
class DescribeMsgTraceRequest < TencentCloud::Common::AbstractModel
|
3951
4095
|
# @param EnvironmentId: 环境(命名空间)。
|
@@ -4652,6 +4796,7 @@ module TencentCloud
|
|
4652
4796
|
# @param QueueType: 队列类型筛选,不填或 "all":classic 和 quorum 队列;"classic":筛选 classic 队列;"quorum":筛选 quorum 队列
|
4653
4797
|
# @type QueueType: String
|
4654
4798
|
# @param SortElement: 排序依据的字段:
|
4799
|
+
# ConsumerNumber - 在线消费者数量;
|
4655
4800
|
# MessageHeapCount - 消息堆积数;
|
4656
4801
|
# MessageRateInOut - 生产消费速率之和;
|
4657
4802
|
# MessageRateIn - 生产速率;
|
@@ -6308,8 +6453,8 @@ module TencentCloud
|
|
6308
6453
|
|
6309
6454
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
6310
6455
|
extend Gem::Deprecate
|
6311
|
-
deprecate :QueryDlqMsg, :none, 2024,
|
6312
|
-
deprecate :QueryDlqMsg=, :none, 2024,
|
6456
|
+
deprecate :QueryDlqMsg, :none, 2024, 3
|
6457
|
+
deprecate :QueryDlqMsg=, :none, 2024, 3
|
6313
6458
|
|
6314
6459
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
|
6315
6460
|
@ClusterId = clusterid
|
@@ -8786,10 +8931,13 @@ module TencentCloud
|
|
8786
8931
|
# @param CanEditRoute: 是否可以修改路由
|
8787
8932
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8788
8933
|
# @type CanEditRoute: Boolean
|
8934
|
+
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
8935
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8936
|
+
# @type BillingLabelVersion: String
|
8789
8937
|
|
8790
|
-
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute
|
8938
|
+
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute, :BillingLabelVersion
|
8791
8939
|
|
8792
|
-
def initialize(clusterid=nil, clustername=nil, remark=nil, createtime=nil, status=nil, version=nil, nodedistribution=nil, maxstorage=nil, caneditroute=nil)
|
8940
|
+
def initialize(clusterid=nil, clustername=nil, remark=nil, createtime=nil, status=nil, version=nil, nodedistribution=nil, maxstorage=nil, caneditroute=nil, billinglabelversion=nil)
|
8793
8941
|
@ClusterId = clusterid
|
8794
8942
|
@ClusterName = clustername
|
8795
8943
|
@Remark = remark
|
@@ -8799,6 +8947,7 @@ module TencentCloud
|
|
8799
8947
|
@NodeDistribution = nodedistribution
|
8800
8948
|
@MaxStorage = maxstorage
|
8801
8949
|
@CanEditRoute = caneditroute
|
8950
|
+
@BillingLabelVersion = billinglabelversion
|
8802
8951
|
end
|
8803
8952
|
|
8804
8953
|
def deserialize(params)
|
@@ -8818,6 +8967,7 @@ module TencentCloud
|
|
8818
8967
|
end
|
8819
8968
|
@MaxStorage = params['MaxStorage']
|
8820
8969
|
@CanEditRoute = params['CanEditRoute']
|
8970
|
+
@BillingLabelVersion = params['BillingLabelVersion']
|
8821
8971
|
end
|
8822
8972
|
end
|
8823
8973
|
|
@@ -8902,10 +9052,13 @@ module TencentCloud
|
|
8902
9052
|
# @param CreateTime: 集群创建时间
|
8903
9053
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8904
9054
|
# @type CreateTime: String
|
9055
|
+
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
9056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9057
|
+
# @type BillingLabelVersion: String
|
8905
9058
|
|
8906
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime
|
9059
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime, :BillingLabelVersion
|
8907
9060
|
|
8908
|
-
def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, configdisplay=nil, maxtps=nil, maxstorage=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil, scalabletps=nil, vpcid=nil, subnetid=nil, maxbandwidth=nil, tags=nil, createtime=nil)
|
9061
|
+
def initialize(instanceid=nil, instancename=nil, instanceversion=nil, status=nil, configdisplay=nil, maxtps=nil, maxstorage=nil, expiretime=nil, autorenewflag=nil, paymode=nil, remark=nil, specname=nil, scalabletps=nil, vpcid=nil, subnetid=nil, maxbandwidth=nil, tags=nil, createtime=nil, billinglabelversion=nil)
|
8909
9062
|
@InstanceId = instanceid
|
8910
9063
|
@InstanceName = instancename
|
8911
9064
|
@InstanceVersion = instanceversion
|
@@ -8924,6 +9077,7 @@ module TencentCloud
|
|
8924
9077
|
@MaxBandWidth = maxbandwidth
|
8925
9078
|
@Tags = tags
|
8926
9079
|
@CreateTime = createtime
|
9080
|
+
@BillingLabelVersion = billinglabelversion
|
8927
9081
|
end
|
8928
9082
|
|
8929
9083
|
def deserialize(params)
|
@@ -8952,6 +9106,7 @@ module TencentCloud
|
|
8952
9106
|
end
|
8953
9107
|
end
|
8954
9108
|
@CreateTime = params['CreateTime']
|
9109
|
+
@BillingLabelVersion = params['BillingLabelVersion']
|
8955
9110
|
end
|
8956
9111
|
end
|
8957
9112
|
|
@@ -9331,10 +9486,16 @@ module TencentCloud
|
|
9331
9486
|
# @param MessageRateOut: 消息消费速率,每秒
|
9332
9487
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
9333
9488
|
# @type MessageRateOut: Float
|
9489
|
+
# @param CreateTime: 创建时间
|
9490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9491
|
+
# @type CreateTime: String
|
9492
|
+
# @param ModifyTime: 修改时间
|
9493
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9494
|
+
# @type ModifyTime: String
|
9334
9495
|
|
9335
|
-
attr_accessor :QueueName, :Remark, :ConsumerDetail, :QueueType, :MessageHeapCount, :MessageRateIn, :MessageRateOut
|
9496
|
+
attr_accessor :QueueName, :Remark, :ConsumerDetail, :QueueType, :MessageHeapCount, :MessageRateIn, :MessageRateOut, :CreateTime, :ModifyTime
|
9336
9497
|
|
9337
|
-
def initialize(queuename=nil, remark=nil, consumerdetail=nil, queuetype=nil, messageheapcount=nil, messageratein=nil, messagerateout=nil)
|
9498
|
+
def initialize(queuename=nil, remark=nil, consumerdetail=nil, queuetype=nil, messageheapcount=nil, messageratein=nil, messagerateout=nil, createtime=nil, modifytime=nil)
|
9338
9499
|
@QueueName = queuename
|
9339
9500
|
@Remark = remark
|
9340
9501
|
@ConsumerDetail = consumerdetail
|
@@ -9342,6 +9503,8 @@ module TencentCloud
|
|
9342
9503
|
@MessageHeapCount = messageheapcount
|
9343
9504
|
@MessageRateIn = messageratein
|
9344
9505
|
@MessageRateOut = messagerateout
|
9506
|
+
@CreateTime = createtime
|
9507
|
+
@ModifyTime = modifytime
|
9345
9508
|
end
|
9346
9509
|
|
9347
9510
|
def deserialize(params)
|
@@ -9355,6 +9518,8 @@ module TencentCloud
|
|
9355
9518
|
@MessageHeapCount = params['MessageHeapCount']
|
9356
9519
|
@MessageRateIn = params['MessageRateIn']
|
9357
9520
|
@MessageRateOut = params['MessageRateOut']
|
9521
|
+
@CreateTime = params['CreateTime']
|
9522
|
+
@ModifyTime = params['ModifyTime']
|
9358
9523
|
end
|
9359
9524
|
end
|
9360
9525
|
|
@@ -9442,10 +9607,16 @@ module TencentCloud
|
|
9442
9607
|
# @param ClusterStatus: 实例状态,0表示创建中,1表示正常,2表示隔离中,3表示已销毁,4 - 异常, 5 - 发货失败
|
9443
9608
|
# 为了和计费区分开,额外开启一个状态位,用于显示。
|
9444
9609
|
# @type ClusterStatus: Integer
|
9610
|
+
# @param PublicAccessEndpoint: 公网接入点
|
9611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9612
|
+
# @type PublicAccessEndpoint: String
|
9613
|
+
# @param Vpcs: VPC 接入点列表
|
9614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9615
|
+
# @type Vpcs: Array
|
9445
9616
|
|
9446
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :ClusterStatus
|
9617
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :NodeCount, :ConfigDisplay, :MaxTps, :MaxBandWidth, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ExceptionInformation, :ClusterStatus, :PublicAccessEndpoint, :Vpcs
|
9447
9618
|
|
9448
|
-
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, exceptioninformation=nil, clusterstatus=nil)
|
9619
|
+
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, exceptioninformation=nil, clusterstatus=nil, publicaccessendpoint=nil, vpcs=nil)
|
9449
9620
|
@InstanceId = instanceid
|
9450
9621
|
@InstanceName = instancename
|
9451
9622
|
@InstanceVersion = instanceversion
|
@@ -9462,6 +9633,8 @@ module TencentCloud
|
|
9462
9633
|
@SpecName = specname
|
9463
9634
|
@ExceptionInformation = exceptioninformation
|
9464
9635
|
@ClusterStatus = clusterstatus
|
9636
|
+
@PublicAccessEndpoint = publicaccessendpoint
|
9637
|
+
@Vpcs = vpcs
|
9465
9638
|
end
|
9466
9639
|
|
9467
9640
|
def deserialize(params)
|
@@ -9481,6 +9654,15 @@ module TencentCloud
|
|
9481
9654
|
@SpecName = params['SpecName']
|
9482
9655
|
@ExceptionInformation = params['ExceptionInformation']
|
9483
9656
|
@ClusterStatus = params['ClusterStatus']
|
9657
|
+
@PublicAccessEndpoint = params['PublicAccessEndpoint']
|
9658
|
+
unless params['Vpcs'].nil?
|
9659
|
+
@Vpcs = []
|
9660
|
+
params['Vpcs'].each do |i|
|
9661
|
+
vpcendpointinfo_tmp = VpcEndpointInfo.new
|
9662
|
+
vpcendpointinfo_tmp.deserialize(i)
|
9663
|
+
@Vpcs << vpcendpointinfo_tmp
|
9664
|
+
end
|
9665
|
+
end
|
9484
9666
|
end
|
9485
9667
|
end
|
9486
9668
|
|
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.776
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|