tencentcloud-sdk-tdmq 3.0.1022 → 3.0.1023
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/models.rb +52 -157
- 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: 9389b4a920fd4d34c68bc884627e8f7f0493b2d2
|
4
|
+
data.tar.gz: a3052b2d6849d21bfb1674ebfc37f7d5367a7d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51156030fad4841a5ca173602b554919363e7a1bd924b1230261e1b88beeb5b5e7e58b63fcde67d57e52741b9f52200abe9b9f67e578bc3b7739283e2b0581d0
|
7
|
+
data.tar.gz: 909fe90f330f5c8699c908bdccd2352f8b427633540b07f642b030d9682a6f5e225225e8179f57852107ac55e085f7fe4b9ea5ea4c0c8cc42571c5d4d3502018
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1023
|
data/lib/v20200217/models.rb
CHANGED
@@ -176,7 +176,6 @@ module TencentCloud
|
|
176
176
|
# AcknowledgeMessage返回参数结构体
|
177
177
|
class AcknowledgeMessageResponse < TencentCloud::Common::AbstractModel
|
178
178
|
# @param ErrorMsg: 如果为"",则说明没有错误返回,否则返回具体的错误信息。
|
179
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
180
179
|
# @type ErrorMsg: String
|
181
180
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
182
181
|
# @type RequestId: String
|
@@ -329,7 +328,6 @@ module TencentCloud
|
|
329
328
|
# @param Healthy: 集群是否健康,1表示健康,0表示异常
|
330
329
|
# @type Healthy: Integer
|
331
330
|
# @param HealthyInfo: 集群健康信息
|
332
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
333
331
|
# @type HealthyInfo: String
|
334
332
|
# @param Status: 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
|
335
333
|
# @type Status: Integer
|
@@ -344,59 +342,45 @@ module TencentCloud
|
|
344
342
|
# @param MaxStorageCapacity: 最大存储容量
|
345
343
|
# @type MaxStorageCapacity: Integer
|
346
344
|
# @param Version: 集群版本
|
347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
348
345
|
# @type Version: String
|
349
346
|
# @param PublicEndPoint: 公网访问接入点
|
350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
351
347
|
# @type PublicEndPoint: String
|
352
348
|
# @param VpcEndPoint: VPC访问接入点
|
353
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
354
349
|
# @type VpcEndPoint: String
|
355
350
|
# @param NamespaceNum: 命名空间数量
|
356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
357
351
|
# @type NamespaceNum: Integer
|
358
352
|
# @param UsedStorageBudget: 已使用存储限制,MB为单位
|
359
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
360
353
|
# @type UsedStorageBudget: Integer
|
361
354
|
# @param MaxPublishRateInMessages: 最大生产消息速率,以条数为单位
|
362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
363
355
|
# @type MaxPublishRateInMessages: Integer
|
364
356
|
# @param MaxDispatchRateInMessages: 最大推送消息速率,以条数为单位
|
365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
366
357
|
# @type MaxDispatchRateInMessages: Integer
|
367
358
|
# @param MaxPublishRateInBytes: 最大生产消息速率,以字节为单位
|
368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
369
359
|
# @type MaxPublishRateInBytes: Integer
|
370
360
|
# @param MaxDispatchRateInBytes: 最大推送消息速率,以字节为单位
|
371
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
372
361
|
# @type MaxDispatchRateInBytes: Integer
|
373
362
|
# @param TopicNum: 已创建主题数
|
374
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
375
363
|
# @type TopicNum: Integer
|
376
364
|
# @param MaxMessageDelayInSeconds: 最长消息延时,以秒为单位
|
377
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
378
365
|
# @type MaxMessageDelayInSeconds: Integer
|
379
366
|
# @param PublicAccessEnabled: 是否开启公网访问,不填时默认开启
|
380
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
381
367
|
# @type PublicAccessEnabled: Boolean
|
382
368
|
# @param Tags: 标签
|
383
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
384
369
|
# @type Tags: Array
|
385
370
|
# @param PayMode: 计费模式:
|
386
371
|
# 0: 按量计费
|
387
372
|
# 1: 包年包月
|
388
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
389
373
|
# @type PayMode: Integer
|
390
374
|
# @param ProjectId: 项目ID
|
391
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
392
375
|
# @type ProjectId: Integer
|
393
376
|
# @param ProjectName: 项目名字
|
394
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
395
377
|
# @type ProjectName: String
|
378
|
+
# @param UpgradeProInstance: 是否支持升级专业版实例
|
379
|
+
# @type UpgradeProInstance: Boolean
|
396
380
|
|
397
|
-
attr_accessor :ClusterId, :ClusterName, :Remark, :EndPointNum, :CreateTime, :Healthy, :HealthyInfo, :Status, :MaxNamespaceNum, :MaxTopicNum, :MaxQps, :MessageRetentionTime, :MaxStorageCapacity, :Version, :PublicEndPoint, :VpcEndPoint, :NamespaceNum, :UsedStorageBudget, :MaxPublishRateInMessages, :MaxDispatchRateInMessages, :MaxPublishRateInBytes, :MaxDispatchRateInBytes, :TopicNum, :MaxMessageDelayInSeconds, :PublicAccessEnabled, :Tags, :PayMode, :ProjectId, :ProjectName
|
381
|
+
attr_accessor :ClusterId, :ClusterName, :Remark, :EndPointNum, :CreateTime, :Healthy, :HealthyInfo, :Status, :MaxNamespaceNum, :MaxTopicNum, :MaxQps, :MessageRetentionTime, :MaxStorageCapacity, :Version, :PublicEndPoint, :VpcEndPoint, :NamespaceNum, :UsedStorageBudget, :MaxPublishRateInMessages, :MaxDispatchRateInMessages, :MaxPublishRateInBytes, :MaxDispatchRateInBytes, :TopicNum, :MaxMessageDelayInSeconds, :PublicAccessEnabled, :Tags, :PayMode, :ProjectId, :ProjectName, :UpgradeProInstance
|
398
382
|
|
399
|
-
def initialize(clusterid=nil, clustername=nil, remark=nil, endpointnum=nil, createtime=nil, healthy=nil, healthyinfo=nil, status=nil, maxnamespacenum=nil, maxtopicnum=nil, maxqps=nil, messageretentiontime=nil, maxstoragecapacity=nil, version=nil, publicendpoint=nil, vpcendpoint=nil, namespacenum=nil, usedstoragebudget=nil, maxpublishrateinmessages=nil, maxdispatchrateinmessages=nil, maxpublishrateinbytes=nil, maxdispatchrateinbytes=nil, topicnum=nil, maxmessagedelayinseconds=nil, publicaccessenabled=nil, tags=nil, paymode=nil, projectid=nil, projectname=nil)
|
383
|
+
def initialize(clusterid=nil, clustername=nil, remark=nil, endpointnum=nil, createtime=nil, healthy=nil, healthyinfo=nil, status=nil, maxnamespacenum=nil, maxtopicnum=nil, maxqps=nil, messageretentiontime=nil, maxstoragecapacity=nil, version=nil, publicendpoint=nil, vpcendpoint=nil, namespacenum=nil, usedstoragebudget=nil, maxpublishrateinmessages=nil, maxdispatchrateinmessages=nil, maxpublishrateinbytes=nil, maxdispatchrateinbytes=nil, topicnum=nil, maxmessagedelayinseconds=nil, publicaccessenabled=nil, tags=nil, paymode=nil, projectid=nil, projectname=nil, upgradeproinstance=nil)
|
400
384
|
@ClusterId = clusterid
|
401
385
|
@ClusterName = clustername
|
402
386
|
@Remark = remark
|
@@ -426,6 +410,7 @@ module TencentCloud
|
|
426
410
|
@PayMode = paymode
|
427
411
|
@ProjectId = projectid
|
428
412
|
@ProjectName = projectname
|
413
|
+
@UpgradeProInstance = upgradeproinstance
|
429
414
|
end
|
430
415
|
|
431
416
|
def deserialize(params)
|
@@ -465,6 +450,7 @@ module TencentCloud
|
|
465
450
|
@PayMode = params['PayMode']
|
466
451
|
@ProjectId = params['ProjectId']
|
467
452
|
@ProjectName = params['ProjectName']
|
453
|
+
@UpgradeProInstance = params['UpgradeProInstance']
|
468
454
|
end
|
469
455
|
end
|
470
456
|
|
@@ -868,19 +854,14 @@ module TencentCloud
|
|
868
854
|
# 消费者
|
869
855
|
class Consumer < TencentCloud::Common::AbstractModel
|
870
856
|
# @param ConnectedSince: 消费者开始连接的时间。
|
871
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
872
857
|
# @type ConnectedSince: String
|
873
858
|
# @param ConsumerAddr: 消费者地址。
|
874
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
875
859
|
# @type ConsumerAddr: String
|
876
860
|
# @param ConsumerName: 消费者名称。
|
877
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
878
861
|
# @type ConsumerName: String
|
879
862
|
# @param ClientVersion: 消费者版本。
|
880
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
881
863
|
# @type ClientVersion: String
|
882
864
|
# @param Partition: 消费者连接的主题分区号
|
883
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
884
865
|
# @type Partition: Integer
|
885
866
|
|
886
867
|
attr_accessor :ConnectedSince, :ConsumerAddr, :ConsumerName, :ClientVersion, :Partition
|
@@ -945,10 +926,8 @@ module TencentCloud
|
|
945
926
|
# 消费信息
|
946
927
|
class ConsumerLogs < TencentCloud::Common::AbstractModel
|
947
928
|
# @param TotalCount: 记录数。
|
948
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
949
929
|
# @type TotalCount: Integer
|
950
930
|
# @param ConsumerLogSets: 消费日志。
|
951
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
952
931
|
# @type ConsumerLogSets: Array
|
953
932
|
|
954
933
|
attr_accessor :TotalCount, :ConsumerLogSets
|
@@ -1026,20 +1005,16 @@ module TencentCloud
|
|
1026
1005
|
# 消费进度详情
|
1027
1006
|
class ConsumersSchedule < TencentCloud::Common::AbstractModel
|
1028
1007
|
# @param Partitions: 当前分区id。
|
1029
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1030
1008
|
# @type Partitions: Integer
|
1031
1009
|
# @param NumberOfEntries: 消息数量。
|
1032
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1033
1010
|
# @type NumberOfEntries: Integer
|
1034
1011
|
# @param MsgBacklog: 消息积压数量。
|
1035
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1036
1012
|
# @type MsgBacklog: Integer
|
1037
1013
|
# @param MsgRateOut: 消费者每秒分发消息的数量之和。
|
1038
1014
|
# @type MsgRateOut: String
|
1039
1015
|
# @param MsgThroughputOut: 消费者每秒消息的byte。
|
1040
1016
|
# @type MsgThroughputOut: String
|
1041
1017
|
# @param MsgRateExpired: 超时丢弃比例。
|
1042
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1043
1018
|
# @type MsgRateExpired: String
|
1044
1019
|
|
1045
1020
|
attr_accessor :Partitions, :NumberOfEntries, :MsgBacklog, :MsgRateOut, :MsgThroughputOut, :MsgRateExpired
|
@@ -2456,14 +2431,12 @@ module TencentCloud
|
|
2456
2431
|
# @param Partitions: 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)
|
2457
2432
|
# @type Partitions: Integer
|
2458
2433
|
# @param Remark: 备注,128字符以内。
|
2459
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2460
2434
|
# @type Remark: String
|
2461
2435
|
# @param TopicType: 0: 普通消息;
|
2462
2436
|
# 1 :全局顺序消息;
|
2463
2437
|
# 2 :局部顺序消息;
|
2464
2438
|
# 3 :重试队列;
|
2465
2439
|
# 4 :死信队列;
|
2466
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2467
2440
|
# @type TopicType: Integer
|
2468
2441
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2469
2442
|
# @type RequestId: String
|
@@ -7937,7 +7910,6 @@ module TencentCloud
|
|
7937
7910
|
# 实例维度组合数组
|
7938
7911
|
class DimensionInstance < TencentCloud::Common::AbstractModel
|
7939
7912
|
# @param Dimensions: 实例的维度组合
|
7940
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7941
7913
|
# @type Dimensions: Array
|
7942
7914
|
|
7943
7915
|
attr_accessor :Dimensions
|
@@ -7960,12 +7932,23 @@ module TencentCloud
|
|
7960
7932
|
|
7961
7933
|
# 指标维度对象
|
7962
7934
|
class DimensionOpt < TencentCloud::Common::AbstractModel
|
7935
|
+
# @param Name: 查询的维度名称
|
7936
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7937
|
+
# @type Name: String
|
7938
|
+
# @param Value: 查询维度的值
|
7939
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7940
|
+
# @type Value: String
|
7963
7941
|
|
7942
|
+
attr_accessor :Name, :Value
|
7964
7943
|
|
7965
|
-
def initialize()
|
7944
|
+
def initialize(name=nil, value=nil)
|
7945
|
+
@Name = name
|
7946
|
+
@Value = value
|
7966
7947
|
end
|
7967
7948
|
|
7968
7949
|
def deserialize(params)
|
7950
|
+
@Name = params['Name']
|
7951
|
+
@Value = params['Value']
|
7969
7952
|
end
|
7970
7953
|
end
|
7971
7954
|
|
@@ -7986,13 +7969,10 @@ module TencentCloud
|
|
7986
7969
|
# @param NamespaceName: 命名空间名称
|
7987
7970
|
# @type NamespaceName: String
|
7988
7971
|
# @param TopicNum: Topic数量
|
7989
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7990
7972
|
# @type TopicNum: Integer
|
7991
7973
|
# @param RetentionPolicy: 消息保留策略
|
7992
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7993
7974
|
# @type RetentionPolicy: :class:`Tencentcloud::Tdmq.v20200217.models.RetentionPolicy`
|
7994
7975
|
# @param AutoSubscriptionCreation: 是否自动创建订阅
|
7995
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7996
7976
|
# @type AutoSubscriptionCreation: Boolean
|
7997
7977
|
|
7998
7978
|
attr_accessor :EnvironmentId, :Remark, :MsgTTL, :CreateTime, :UpdateTime, :NamespaceId, :NamespaceName, :TopicNum, :RetentionPolicy, :AutoSubscriptionCreation
|
@@ -8066,11 +8046,8 @@ module TencentCloud
|
|
8066
8046
|
# 批量绑定名字空间和角色权限关系
|
8067
8047
|
class EnvironmentRoleSet < TencentCloud::Common::AbstractModel
|
8068
8048
|
# @param EnvironmentId: 需要绑定的命名空间Id,不重复且存在资源
|
8069
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8070
8049
|
# @type EnvironmentId: String
|
8071
8050
|
# @param Permissions: 名字空间需要绑定的权限,枚举为 "consume" "produce" 组合,但是不为空
|
8072
|
-
|
8073
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8074
8051
|
# @type Permissions: Array
|
8075
8052
|
|
8076
8053
|
attr_accessor :EnvironmentId, :Permissions
|
@@ -8417,7 +8394,6 @@ module TencentCloud
|
|
8417
8394
|
# @param NodePermWipeFlag: 有调度任务且没有切回的可用区,此标识为true
|
8418
8395
|
# @type NodePermWipeFlag: Boolean
|
8419
8396
|
# @param ZoneStatus: 可用区状态
|
8420
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8421
8397
|
# @type ZoneStatus: String
|
8422
8398
|
|
8423
8399
|
attr_accessor :ZoneName, :ZoneId, :NodeCount, :NodePermWipeFlag, :ZoneStatus
|
@@ -8478,16 +8454,12 @@ module TencentCloud
|
|
8478
8454
|
# @param MaxDispatchTps: 命名空间最大消费TPS
|
8479
8455
|
# @type MaxDispatchTps: Integer
|
8480
8456
|
# @param MaxDispatchRateInBytes: 命名空间最大消费带宽,byte为单位
|
8481
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8482
8457
|
# @type MaxDispatchRateInBytes: Integer
|
8483
8458
|
# @param MaxPublishRateInBytes: 命名空间最大生产带宽,byte为单位
|
8484
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8485
8459
|
# @type MaxPublishRateInBytes: Integer
|
8486
8460
|
# @param MaxRetentionSizeInMB: 消息最大保留空间,MB为单位
|
8487
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8488
8461
|
# @type MaxRetentionSizeInMB: Integer
|
8489
8462
|
# @param PublicAccessEnabled: public Access Enabled
|
8490
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8491
8463
|
# @type PublicAccessEnabled: Boolean
|
8492
8464
|
|
8493
8465
|
attr_accessor :TenantId, :TenantName, :CustomerUin, :CustomerAppId, :ClusterName, :Type, :MaxNamespaces, :UsedNamespaces, :MaxTopics, :UsedTopics, :MaxPartitions, :UsedPartitions, :MaxMsgBacklogSize, :MaxPublishTps, :MaxRetention, :CreateTime, :UpdateTime, :MaxDispatchTps, :MaxDispatchRateInBytes, :MaxPublishRateInBytes, :MaxRetentionSizeInMB, :PublicAccessEnabled
|
@@ -9857,43 +9829,30 @@ module TencentCloud
|
|
9857
9829
|
# 分区topic
|
9858
9830
|
class PartitionsTopic < TencentCloud::Common::AbstractModel
|
9859
9831
|
# @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
|
9860
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9861
9832
|
# @type AverageMsgSize: String
|
9862
9833
|
# @param ConsumerCount: 消费者数量。
|
9863
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9864
9834
|
# @type ConsumerCount: String
|
9865
9835
|
# @param LastConfirmedEntry: 被记录下来的消息总数。
|
9866
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9867
9836
|
# @type LastConfirmedEntry: String
|
9868
9837
|
# @param LastLedgerCreatedTimestamp: 最后一个ledger创建的时间。
|
9869
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9870
9838
|
# @type LastLedgerCreatedTimestamp: String
|
9871
9839
|
# @param MsgRateIn: 本地和复制的发布者每秒发布消息的速率。
|
9872
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9873
9840
|
# @type MsgRateIn: String
|
9874
9841
|
# @param MsgRateOut: 本地和复制的消费者每秒分发消息的数量之和。
|
9875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9876
9842
|
# @type MsgRateOut: String
|
9877
9843
|
# @param MsgThroughputIn: 本地和复制的发布者每秒发布消息的byte。
|
9878
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9879
9844
|
# @type MsgThroughputIn: String
|
9880
9845
|
# @param MsgThroughputOut: 本地和复制的消费者每秒分发消息的byte。
|
9881
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9882
9846
|
# @type MsgThroughputOut: String
|
9883
9847
|
# @param NumberOfEntries: 被记录下来的消息总数。
|
9884
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9885
9848
|
# @type NumberOfEntries: String
|
9886
9849
|
# @param Partitions: 子分区id。
|
9887
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9888
9850
|
# @type Partitions: Integer
|
9889
9851
|
# @param ProducerCount: 生产者数量。
|
9890
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9891
9852
|
# @type ProducerCount: String
|
9892
9853
|
# @param TotalSize: 以byte计算的所有消息存储总量。
|
9893
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9894
9854
|
# @type TotalSize: String
|
9895
9855
|
# @param TopicType: topic类型描述。
|
9896
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9897
9856
|
# @type TopicType: Integer
|
9898
9857
|
|
9899
9858
|
attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :TopicType
|
@@ -10078,31 +10037,22 @@ module TencentCloud
|
|
10078
10037
|
# 生产者信息
|
10079
10038
|
class Publisher < TencentCloud::Common::AbstractModel
|
10080
10039
|
# @param ProducerId: 生产者id
|
10081
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10082
10040
|
# @type ProducerId: Integer
|
10083
10041
|
# @param ProducerName: 生产者名称
|
10084
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10085
10042
|
# @type ProducerName: String
|
10086
10043
|
# @param Address: 生产者地址
|
10087
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10088
10044
|
# @type Address: String
|
10089
10045
|
# @param ClientVersion: 客户端版本
|
10090
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10091
10046
|
# @type ClientVersion: String
|
10092
10047
|
# @param MsgRateIn: 消息生产速率(条/秒)
|
10093
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10094
10048
|
# @type MsgRateIn: Float
|
10095
10049
|
# @param MsgThroughputIn: 消息生产吞吐速率(字节/秒)
|
10096
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10097
10050
|
# @type MsgThroughputIn: Float
|
10098
10051
|
# @param AverageMsgSize: 平均消息大小(字节)
|
10099
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10100
10052
|
# @type AverageMsgSize: Float
|
10101
10053
|
# @param ConnectedSince: 连接时间
|
10102
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10103
10054
|
# @type ConnectedSince: String
|
10104
10055
|
# @param Partition: 生产者连接的主题分区号
|
10105
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10106
10056
|
# @type Partition: Integer
|
10107
10057
|
|
10108
10058
|
attr_accessor :ProducerId, :ProducerName, :Address, :ClientVersion, :MsgRateIn, :MsgThroughputIn, :AverageMsgSize, :ConnectedSince, :Partition
|
@@ -10135,10 +10085,8 @@ module TencentCloud
|
|
10135
10085
|
# Pulsar 网络接入点信息
|
10136
10086
|
class PulsarNetworkAccessPointInfo < TencentCloud::Common::AbstractModel
|
10137
10087
|
# @param VpcId: vpc的id,支撑网和公网接入点,该字段为空
|
10138
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10139
10088
|
# @type VpcId: String
|
10140
10089
|
# @param SubnetId: 子网id,支撑网和公网接入点,该字段为空
|
10141
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10142
10090
|
# @type SubnetId: String
|
10143
10091
|
# @param Endpoint: 接入地址
|
10144
10092
|
# @type Endpoint: String
|
@@ -10154,19 +10102,14 @@ module TencentCloud
|
|
10154
10102
|
# 2:跨地域访问,已经完成了异地切换,该状态用于源集群的接入点,该状态下的接入点不可删除
|
10155
10103
|
# 3:跨地域访问,随时可以进行异地访问切回,该状态用于目标集群的接入点,该状态下的接入点不可删除
|
10156
10104
|
# 4:跨地域访问,目标集群已经完成异地切回,等待删除状态
|
10157
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10158
10105
|
# @type OperationType: Integer
|
10159
10106
|
# @param AccessPointsType: 接入点类型
|
10160
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10161
10107
|
# @type AccessPointsType: String
|
10162
10108
|
# @param Bandwidth: 带宽,目前只有公网会有这个值
|
10163
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10164
10109
|
# @type Bandwidth: Integer
|
10165
10110
|
# @param SecurityPolicy: 类
|
10166
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10167
10111
|
# @type SecurityPolicy: Array
|
10168
10112
|
# @param StandardAccessPoint: 是否是标准的接入点 true是标准的 false不是标准的
|
10169
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10170
10113
|
# @type StandardAccessPoint: Boolean
|
10171
10114
|
# @param ZoneName: 可用区信息
|
10172
10115
|
# @type ZoneName: String
|
@@ -10224,30 +10167,26 @@ module TencentCloud
|
|
10224
10167
|
# @param Version: 集群版本
|
10225
10168
|
# @type Version: String
|
10226
10169
|
# @param NodeDistribution: 节点分布情况
|
10227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10228
10170
|
# @type NodeDistribution: Array
|
10229
10171
|
# @param MaxStorage: 最大储存容量,单位:MB
|
10230
10172
|
# @type MaxStorage: Integer
|
10231
10173
|
# @param CanEditRoute: 是否可以修改路由
|
10232
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10233
10174
|
# @type CanEditRoute: Boolean
|
10234
10175
|
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
10235
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10236
10176
|
# @type BillingLabelVersion: String
|
10237
10177
|
# @param ExpireTime: 实例到期时间戳,毫秒级精度。
|
10238
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10239
10178
|
# @type ExpireTime: Integer
|
10240
10179
|
# @param AutoCreateTopicStatus: 是否开启自动创建主题
|
10241
10180
|
# true就是开启了,false是关闭
|
10242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10243
10181
|
# @type AutoCreateTopicStatus: Boolean
|
10244
10182
|
# @param DefaultPartitionNumber: 自动创建主题的默认分区数,如果没开启就是0
|
10245
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10246
10183
|
# @type DefaultPartitionNumber: Integer
|
10184
|
+
# @param Tenant: 用户自定义的租户别名,如果没有,会复用专业集群 ID
|
10185
|
+
# @type Tenant: String
|
10247
10186
|
|
10248
|
-
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute, :BillingLabelVersion, :ExpireTime, :AutoCreateTopicStatus, :DefaultPartitionNumber
|
10187
|
+
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute, :BillingLabelVersion, :ExpireTime, :AutoCreateTopicStatus, :DefaultPartitionNumber, :Tenant
|
10249
10188
|
|
10250
|
-
def initialize(clusterid=nil, clustername=nil, remark=nil, createtime=nil, status=nil, version=nil, nodedistribution=nil, maxstorage=nil, caneditroute=nil, billinglabelversion=nil, expiretime=nil, autocreatetopicstatus=nil, defaultpartitionnumber=nil)
|
10189
|
+
def initialize(clusterid=nil, clustername=nil, remark=nil, createtime=nil, status=nil, version=nil, nodedistribution=nil, maxstorage=nil, caneditroute=nil, billinglabelversion=nil, expiretime=nil, autocreatetopicstatus=nil, defaultpartitionnumber=nil, tenant=nil)
|
10251
10190
|
@ClusterId = clusterid
|
10252
10191
|
@ClusterName = clustername
|
10253
10192
|
@Remark = remark
|
@@ -10261,6 +10200,7 @@ module TencentCloud
|
|
10261
10200
|
@ExpireTime = expiretime
|
10262
10201
|
@AutoCreateTopicStatus = autocreatetopicstatus
|
10263
10202
|
@DefaultPartitionNumber = defaultpartitionnumber
|
10203
|
+
@Tenant = tenant
|
10264
10204
|
end
|
10265
10205
|
|
10266
10206
|
def deserialize(params)
|
@@ -10284,6 +10224,7 @@ module TencentCloud
|
|
10284
10224
|
@ExpireTime = params['ExpireTime']
|
10285
10225
|
@AutoCreateTopicStatus = params['AutoCreateTopicStatus']
|
10286
10226
|
@DefaultPartitionNumber = params['DefaultPartitionNumber']
|
10227
|
+
@Tenant = params['Tenant']
|
10287
10228
|
end
|
10288
10229
|
end
|
10289
10230
|
|
@@ -10300,16 +10241,16 @@ module TencentCloud
|
|
10300
10241
|
# @param MaxTopics: 最大主题分区数
|
10301
10242
|
# @type MaxTopics: Integer
|
10302
10243
|
# @param ScalableTps: 规格外弹性TPS
|
10303
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10304
10244
|
# @type ScalableTps: Integer
|
10305
10245
|
# @param MaxPartitions: 32或者128
|
10306
10246
|
# 当前集群topic的最大分区数
|
10307
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10308
10247
|
# @type MaxPartitions: Integer
|
10248
|
+
# @param MaxDelayedMessages: 商品最大延迟消息数量。0代表没有限制
|
10249
|
+
# @type MaxDelayedMessages: Integer
|
10309
10250
|
|
10310
|
-
attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps, :MaxPartitions
|
10251
|
+
attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps, :MaxPartitions, :MaxDelayedMessages
|
10311
10252
|
|
10312
|
-
def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil, maxpartitions=nil)
|
10253
|
+
def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil, maxpartitions=nil, maxdelayedmessages=nil)
|
10313
10254
|
@SpecName = specname
|
10314
10255
|
@MaxTps = maxtps
|
10315
10256
|
@MaxBandWidth = maxbandwidth
|
@@ -10317,6 +10258,7 @@ module TencentCloud
|
|
10317
10258
|
@MaxTopics = maxtopics
|
10318
10259
|
@ScalableTps = scalabletps
|
10319
10260
|
@MaxPartitions = maxpartitions
|
10261
|
+
@MaxDelayedMessages = maxdelayedmessages
|
10320
10262
|
end
|
10321
10263
|
|
10322
10264
|
def deserialize(params)
|
@@ -10327,6 +10269,7 @@ module TencentCloud
|
|
10327
10269
|
@MaxTopics = params['MaxTopics']
|
10328
10270
|
@ScalableTps = params['ScalableTps']
|
10329
10271
|
@MaxPartitions = params['MaxPartitions']
|
10272
|
+
@MaxDelayedMessages = params['MaxDelayedMessages']
|
10330
10273
|
end
|
10331
10274
|
end
|
10332
10275
|
|
@@ -10353,34 +10296,29 @@ module TencentCloud
|
|
10353
10296
|
# @param PayMode: 0-后付费,1-预付费
|
10354
10297
|
# @type PayMode: Integer
|
10355
10298
|
# @param Remark: 备注信息
|
10356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10357
10299
|
# @type Remark: String
|
10358
10300
|
# @param SpecName: 实例配置ID
|
10359
10301
|
# @type SpecName: String
|
10360
10302
|
# @param ScalableTps: 规格外弹性TPS
|
10361
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10362
10303
|
# @type ScalableTps: Integer
|
10363
10304
|
# @param VpcId: VPC的id
|
10364
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10365
10305
|
# @type VpcId: String
|
10366
10306
|
# @param SubnetId: 子网id
|
10367
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10368
10307
|
# @type SubnetId: String
|
10369
10308
|
# @param MaxBandWidth: 峰值带宽。单位:mbps
|
10370
10309
|
# @type MaxBandWidth: Integer
|
10371
10310
|
# @param Tags: 集群的标签列表
|
10372
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10373
10311
|
# @type Tags: Array
|
10374
10312
|
# @param CreateTime: 集群创建时间
|
10375
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10376
10313
|
# @type CreateTime: String
|
10377
10314
|
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
10378
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10379
10315
|
# @type BillingLabelVersion: String
|
10316
|
+
# @param Tenant: 自定义租户
|
10317
|
+
# @type Tenant: String
|
10380
10318
|
|
10381
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime, :BillingLabelVersion
|
10319
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime, :BillingLabelVersion, :Tenant
|
10382
10320
|
|
10383
|
-
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)
|
10321
|
+
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, tenant=nil)
|
10384
10322
|
@InstanceId = instanceid
|
10385
10323
|
@InstanceName = instancename
|
10386
10324
|
@InstanceVersion = instanceversion
|
@@ -10400,6 +10338,7 @@ module TencentCloud
|
|
10400
10338
|
@Tags = tags
|
10401
10339
|
@CreateTime = createtime
|
10402
10340
|
@BillingLabelVersion = billinglabelversion
|
10341
|
+
@Tenant = tenant
|
10403
10342
|
end
|
10404
10343
|
|
10405
10344
|
def deserialize(params)
|
@@ -10429,6 +10368,7 @@ module TencentCloud
|
|
10429
10368
|
end
|
10430
10369
|
@CreateTime = params['CreateTime']
|
10431
10370
|
@BillingLabelVersion = params['BillingLabelVersion']
|
10371
|
+
@Tenant = params['Tenant']
|
10432
10372
|
end
|
10433
10373
|
end
|
10434
10374
|
|
@@ -11338,16 +11278,12 @@ module TencentCloud
|
|
11338
11278
|
# @param AckTopic: 提供给 Ack 接口,用来Ack哪一个topic中的消息
|
11339
11279
|
# @type AckTopic: String
|
11340
11280
|
# @param ErrorMsg: 返回的错误信息,如果为空,说明没有错误
|
11341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11342
11281
|
# @type ErrorMsg: String
|
11343
11282
|
# @param SubName: 返回订阅者的名字,用来创建 ack consumer时使用
|
11344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11345
11283
|
# @type SubName: String
|
11346
11284
|
# @param MessageIDList: BatchReceivePolicy 一次性返回的多条消息的 MessageID,用 ‘###’ 来区分不同的 MessageID
|
11347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11348
11285
|
# @type MessageIDList: String
|
11349
11286
|
# @param MessagesPayload: BatchReceivePolicy 一次性返回的多条消息的消息内容,用 ‘###’ 来区分不同的消息内容
|
11350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11351
11287
|
# @type MessagesPayload: String
|
11352
11288
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11353
11289
|
# @type RequestId: String
|
@@ -12774,15 +12710,18 @@ module TencentCloud
|
|
12774
12710
|
# @type CreateTime: String
|
12775
12711
|
# @param UpdateTime: 更新时间。
|
12776
12712
|
# @type UpdateTime: String
|
12713
|
+
# @param PermType: 授权类型(Cluster:集群;TopicAndGroup:主题或消费组)
|
12714
|
+
# @type PermType: String
|
12777
12715
|
|
12778
|
-
attr_accessor :RoleName, :Token, :Remark, :CreateTime, :UpdateTime
|
12716
|
+
attr_accessor :RoleName, :Token, :Remark, :CreateTime, :UpdateTime, :PermType
|
12779
12717
|
|
12780
|
-
def initialize(rolename=nil, token=nil, remark=nil, createtime=nil, updatetime=nil)
|
12718
|
+
def initialize(rolename=nil, token=nil, remark=nil, createtime=nil, updatetime=nil, permtype=nil)
|
12781
12719
|
@RoleName = rolename
|
12782
12720
|
@Token = token
|
12783
12721
|
@Remark = remark
|
12784
12722
|
@CreateTime = createtime
|
12785
12723
|
@UpdateTime = updatetime
|
12724
|
+
@PermType = permtype
|
12786
12725
|
end
|
12787
12726
|
|
12788
12727
|
def deserialize(params)
|
@@ -12791,20 +12730,17 @@ module TencentCloud
|
|
12791
12730
|
@Remark = params['Remark']
|
12792
12731
|
@CreateTime = params['CreateTime']
|
12793
12732
|
@UpdateTime = params['UpdateTime']
|
12733
|
+
@PermType = params['PermType']
|
12794
12734
|
end
|
12795
12735
|
end
|
12796
12736
|
|
12797
12737
|
# 安全策略
|
12798
12738
|
class SecurityPolicy < TencentCloud::Common::AbstractModel
|
12799
12739
|
# @param Route: ip或者网段
|
12800
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12801
12740
|
# @type Route: String
|
12802
12741
|
# @param Policy: 策略 true就是允许,白名单或者 false 拒绝 黑名单
|
12803
|
-
|
12804
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12805
12742
|
# @type Policy: Boolean
|
12806
12743
|
# @param Remark: 备注
|
12807
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12808
12744
|
# @type Remark: String
|
12809
12745
|
|
12810
12746
|
attr_accessor :Route, :Policy, :Remark
|
@@ -12984,10 +12920,8 @@ module TencentCloud
|
|
12984
12920
|
# SendMessages返回参数结构体
|
12985
12921
|
class SendMessagesResponse < TencentCloud::Common::AbstractModel
|
12986
12922
|
# @param MessageId: 消息的messageID, 是全局唯一的,用来标识消息的元数据信息
|
12987
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12988
12923
|
# @type MessageId: String
|
12989
12924
|
# @param ErrorMsg: 返回的错误消息,如果返回为 “”,说明没有错误
|
12990
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12991
12925
|
# @type ErrorMsg: String
|
12992
12926
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12993
12927
|
# @type RequestId: String
|
@@ -13218,58 +13152,40 @@ module TencentCloud
|
|
13218
13152
|
# @param EnvironmentId: 环境(命名空间)名称。
|
13219
13153
|
# @type EnvironmentId: String
|
13220
13154
|
# @param ConnectedSince: 消费者开始连接的时间。
|
13221
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13222
13155
|
# @type ConnectedSince: String
|
13223
13156
|
# @param ConsumerAddr: 消费者地址。
|
13224
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13225
13157
|
# @type ConsumerAddr: String
|
13226
13158
|
# @param ConsumerCount: 消费者数量。
|
13227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13228
13159
|
# @type ConsumerCount: String
|
13229
13160
|
# @param ConsumerName: 消费者名称。
|
13230
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13231
13161
|
# @type ConsumerName: String
|
13232
13162
|
# @param MsgBacklog: 堆积的消息数量。
|
13233
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13234
13163
|
# @type MsgBacklog: String
|
13235
13164
|
# @param MsgRateExpired: 于TTL,此订阅下没有被发送而是被丢弃的比例。
|
13236
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13237
13165
|
# @type MsgRateExpired: String
|
13238
13166
|
# @param MsgRateOut: 消费者每秒分发消息的数量之和。
|
13239
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13240
13167
|
# @type MsgRateOut: String
|
13241
13168
|
# @param MsgThroughputOut: 消费者每秒消息的byte。
|
13242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13243
13169
|
# @type MsgThroughputOut: String
|
13244
13170
|
# @param SubscriptionName: 订阅名称。
|
13245
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13246
13171
|
# @type SubscriptionName: String
|
13247
13172
|
# @param ConsumerSets: 消费者集合。
|
13248
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13249
13173
|
# @type ConsumerSets: Array
|
13250
13174
|
# @param IsOnline: 是否在线。
|
13251
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13252
13175
|
# @type IsOnline: Boolean
|
13253
13176
|
# @param ConsumersScheduleSets: 消费进度集合。
|
13254
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13255
13177
|
# @type ConsumersScheduleSets: Array
|
13256
13178
|
# @param Remark: 备注。
|
13257
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13258
13179
|
# @type Remark: String
|
13259
13180
|
# @param CreateTime: 创建时间。
|
13260
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13261
13181
|
# @type CreateTime: String
|
13262
13182
|
# @param UpdateTime: 最近修改时间。
|
13263
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13264
13183
|
# @type UpdateTime: String
|
13265
13184
|
# @param SubType: 订阅类型,Exclusive,Shared,Failover, Key_Shared,空或NULL表示未知,
|
13266
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13267
13185
|
# @type SubType: String
|
13268
13186
|
# @param BlockedSubscriptionOnUnackedMsgs: 是否由于未 ack 数到达上限而被 block
|
13269
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13270
13187
|
# @type BlockedSubscriptionOnUnackedMsgs: Boolean
|
13271
13188
|
# @param MaxUnackedMsgNum: 未 ack 消息数上限
|
13272
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13273
13189
|
# @type MaxUnackedMsgNum: Integer
|
13274
13190
|
|
13275
13191
|
attr_accessor :TopicName, :EnvironmentId, :ConnectedSince, :ConsumerAddr, :ConsumerCount, :ConsumerName, :MsgBacklog, :MsgRateExpired, :MsgRateOut, :MsgThroughputOut, :SubscriptionName, :ConsumerSets, :IsOnline, :ConsumersScheduleSets, :Remark, :CreateTime, :UpdateTime, :SubType, :BlockedSubscriptionOnUnackedMsgs, :MaxUnackedMsgNum
|
@@ -13362,10 +13278,8 @@ module TencentCloud
|
|
13362
13278
|
# 标签的key/value的类型
|
13363
13279
|
class Tag < TencentCloud::Common::AbstractModel
|
13364
13280
|
# @param TagKey: 标签的key的值
|
13365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13366
13281
|
# @type TagKey: String
|
13367
13282
|
# @param TagValue: 标签的Value的值
|
13368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13369
13283
|
# @type TagValue: String
|
13370
13284
|
|
13371
13285
|
attr_accessor :TagKey, :TagValue
|
@@ -13384,43 +13298,30 @@ module TencentCloud
|
|
13384
13298
|
# 主题实例
|
13385
13299
|
class Topic < TencentCloud::Common::AbstractModel
|
13386
13300
|
# @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
|
13387
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13388
13301
|
# @type AverageMsgSize: String
|
13389
13302
|
# @param ConsumerCount: 消费者数量。
|
13390
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13391
13303
|
# @type ConsumerCount: String
|
13392
13304
|
# @param LastConfirmedEntry: 被记录下来的消息总数。
|
13393
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13394
13305
|
# @type LastConfirmedEntry: String
|
13395
13306
|
# @param LastLedgerCreatedTimestamp: 最后一个ledger创建的时间。
|
13396
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13397
13307
|
# @type LastLedgerCreatedTimestamp: String
|
13398
13308
|
# @param MsgRateIn: 本地和复制的发布者每秒发布消息的速率。
|
13399
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13400
13309
|
# @type MsgRateIn: String
|
13401
13310
|
# @param MsgRateOut: 本地和复制的消费者每秒分发消息的数量之和。
|
13402
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13403
13311
|
# @type MsgRateOut: String
|
13404
13312
|
# @param MsgThroughputIn: 本地和复制的发布者每秒发布消息的byte。
|
13405
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13406
13313
|
# @type MsgThroughputIn: String
|
13407
13314
|
# @param MsgThroughputOut: 本地和复制的消费者每秒分发消息的byte。
|
13408
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13409
13315
|
# @type MsgThroughputOut: String
|
13410
13316
|
# @param NumberOfEntries: 被记录下来的消息总数。
|
13411
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13412
13317
|
# @type NumberOfEntries: String
|
13413
13318
|
# @param Partitions: 分区数<=0:topic下无子分区。
|
13414
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13415
13319
|
# @type Partitions: Integer
|
13416
13320
|
# @param ProducerCount: 生产者数量。
|
13417
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13418
13321
|
# @type ProducerCount: String
|
13419
13322
|
# @param TotalSize: 以byte计算的所有消息存储总量。
|
13420
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13421
13323
|
# @type TotalSize: String
|
13422
13324
|
# @param SubTopicSets: 分区topic里面的子分区。
|
13423
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13424
13325
|
# @type SubTopicSets: Array
|
13425
13326
|
# @param TopicType: topic类型描述:
|
13426
13327
|
# 0:普通消息;
|
@@ -13429,43 +13330,36 @@ module TencentCloud
|
|
13429
13330
|
# 3:重试队列;
|
13430
13331
|
# 4:死信队列;
|
13431
13332
|
# 5:事务消息。
|
13432
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13433
13333
|
# @type TopicType: Integer
|
13434
13334
|
# @param EnvironmentId: 环境(命名空间)名称。
|
13435
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13436
13335
|
# @type EnvironmentId: String
|
13437
13336
|
# @param TopicName: 主题名称。
|
13438
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13439
13337
|
# @type TopicName: String
|
13440
13338
|
# @param Remark: 说明,128个字符以内。
|
13441
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13442
13339
|
# @type Remark: String
|
13443
13340
|
# @param CreateTime: 创建时间。
|
13444
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13445
13341
|
# @type CreateTime: String
|
13446
13342
|
# @param UpdateTime: 最近修改时间。
|
13447
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13448
13343
|
# @type UpdateTime: String
|
13449
13344
|
# @param ProducerLimit: 生产者上限。
|
13450
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13451
13345
|
# @type ProducerLimit: String
|
13452
13346
|
# @param ConsumerLimit: 消费者上限。
|
13453
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13454
13347
|
# @type ConsumerLimit: String
|
13455
13348
|
# @param PulsarTopicType: 0: 非持久非分区
|
13456
13349
|
# 1: 非持久分区
|
13457
13350
|
# 2: 持久非分区
|
13458
13351
|
# 3: 持久分区
|
13459
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13460
13352
|
# @type PulsarTopicType: Integer
|
13461
13353
|
# @param MsgTTL: 未消费消息过期时间,单位:秒
|
13462
|
-
|
13463
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13464
13354
|
# @type MsgTTL: Integer
|
13355
|
+
# @param ClusterId: 集群 ID
|
13356
|
+
# @type ClusterId: String
|
13357
|
+
# @param Tenant: 用户自定义的租户别名,如果没有,会复用专业集群 ID
|
13358
|
+
# @type Tenant: String
|
13465
13359
|
|
13466
|
-
attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :SubTopicSets, :TopicType, :EnvironmentId, :TopicName, :Remark, :CreateTime, :UpdateTime, :ProducerLimit, :ConsumerLimit, :PulsarTopicType, :MsgTTL
|
13360
|
+
attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :SubTopicSets, :TopicType, :EnvironmentId, :TopicName, :Remark, :CreateTime, :UpdateTime, :ProducerLimit, :ConsumerLimit, :PulsarTopicType, :MsgTTL, :ClusterId, :Tenant
|
13467
13361
|
|
13468
|
-
def initialize(averagemsgsize=nil, consumercount=nil, lastconfirmedentry=nil, lastledgercreatedtimestamp=nil, msgratein=nil, msgrateout=nil, msgthroughputin=nil, msgthroughputout=nil, numberofentries=nil, partitions=nil, producercount=nil, totalsize=nil, subtopicsets=nil, topictype=nil, environmentid=nil, topicname=nil, remark=nil, createtime=nil, updatetime=nil, producerlimit=nil, consumerlimit=nil, pulsartopictype=nil, msgttl=nil)
|
13362
|
+
def initialize(averagemsgsize=nil, consumercount=nil, lastconfirmedentry=nil, lastledgercreatedtimestamp=nil, msgratein=nil, msgrateout=nil, msgthroughputin=nil, msgthroughputout=nil, numberofentries=nil, partitions=nil, producercount=nil, totalsize=nil, subtopicsets=nil, topictype=nil, environmentid=nil, topicname=nil, remark=nil, createtime=nil, updatetime=nil, producerlimit=nil, consumerlimit=nil, pulsartopictype=nil, msgttl=nil, clusterid=nil, tenant=nil)
|
13469
13363
|
@AverageMsgSize = averagemsgsize
|
13470
13364
|
@ConsumerCount = consumercount
|
13471
13365
|
@LastConfirmedEntry = lastconfirmedentry
|
@@ -13489,6 +13383,8 @@ module TencentCloud
|
|
13489
13383
|
@ConsumerLimit = consumerlimit
|
13490
13384
|
@PulsarTopicType = pulsartopictype
|
13491
13385
|
@MsgTTL = msgttl
|
13386
|
+
@ClusterId = clusterid
|
13387
|
+
@Tenant = tenant
|
13492
13388
|
end
|
13493
13389
|
|
13494
13390
|
def deserialize(params)
|
@@ -13522,6 +13418,8 @@ module TencentCloud
|
|
13522
13418
|
@ConsumerLimit = params['ConsumerLimit']
|
13523
13419
|
@PulsarTopicType = params['PulsarTopicType']
|
13524
13420
|
@MsgTTL = params['MsgTTL']
|
13421
|
+
@ClusterId = params['ClusterId']
|
13422
|
+
@Tenant = params['Tenant']
|
13525
13423
|
end
|
13526
13424
|
end
|
13527
13425
|
|
@@ -13590,13 +13488,11 @@ module TencentCloud
|
|
13590
13488
|
# 主题实例
|
13591
13489
|
class Topic_Simplification < TencentCloud::Common::AbstractModel
|
13592
13490
|
# @param TopicName: 主题名称。
|
13593
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13594
13491
|
# @type TopicName: String
|
13595
13492
|
# @param PulsarTopicType: 0: 非持久非分区
|
13596
13493
|
# 1: 非持久分区
|
13597
13494
|
# 2: 持久非分区
|
13598
13495
|
# 3: 持久分区
|
13599
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13600
13496
|
# @type PulsarTopicType: Integer
|
13601
13497
|
|
13602
13498
|
attr_accessor :TopicName, :PulsarTopicType
|
@@ -13749,7 +13645,6 @@ module TencentCloud
|
|
13749
13645
|
# @param Port: Vpc的Port
|
13750
13646
|
# @type Port: Integer
|
13751
13647
|
# @param Remark: 说明,128个字符以内
|
13752
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13753
13648
|
# @type Remark: String
|
13754
13649
|
|
13755
13650
|
attr_accessor :UniqueVpcId, :UniqueSubnetId, :RouterId, :Ip, :Port, :Remark
|
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.1023
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|