tencentcloud-sdk-tdmq 3.0.1022 → 3.0.1024
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 +0 -24
- data/lib/v20200217/models.rb +52 -213
- 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: 86f7ed03e15115d041b1a237de73df35212cbc7c
|
4
|
+
data.tar.gz: 6bdc0ebd485ebc4b59b4a245165eac15cb822803
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbbc549cfdede7f981c166bf08fbc109883b42a2849a304467a6364a6d8e902643cfbe9abe61436297be064de10b639007cda161ae58ee75170dddec9dae8c03
|
7
|
+
data.tar.gz: 43f5edefe909414821c8c59d1a0fdf73f40b74e0964f06d7d06d0fe3cb1bec83aeb8bca92a28d944af686a6528c51be3565ac53d50710591df00c4919cc190c5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1024
|
data/lib/v20200217/client.rb
CHANGED
@@ -2913,30 +2913,6 @@ module TencentCloud
|
|
2913
2913
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2914
2914
|
end
|
2915
2915
|
|
2916
|
-
# RabbitMQ专享版修改公网管控台,vpc15672开关
|
2917
|
-
|
2918
|
-
# @param request: Request instance for ModifyPublicNetworkAccessPoint.
|
2919
|
-
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointRequest`
|
2920
|
-
# @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointResponse`
|
2921
|
-
def ModifyPublicNetworkAccessPoint(request)
|
2922
|
-
body = send_request('ModifyPublicNetworkAccessPoint', request.serialize)
|
2923
|
-
response = JSON.parse(body)
|
2924
|
-
if response['Response'].key?('Error') == false
|
2925
|
-
model = ModifyPublicNetworkAccessPointResponse.new
|
2926
|
-
model.deserialize(response['Response'])
|
2927
|
-
model
|
2928
|
-
else
|
2929
|
-
code = response['Response']['Error']['Code']
|
2930
|
-
message = response['Response']['Error']['Message']
|
2931
|
-
reqid = response['Response']['RequestId']
|
2932
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2933
|
-
end
|
2934
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2935
|
-
raise e
|
2936
|
-
rescue StandardError => e
|
2937
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2938
|
-
end
|
2939
|
-
|
2940
2916
|
# 修改pulsar专业版公网安全策略
|
2941
2917
|
|
2942
2918
|
# @param request: Request instance for ModifyPublicNetworkSecurityPolicy.
|
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
|
@@ -8992,62 +8964,6 @@ module TencentCloud
|
|
8992
8964
|
end
|
8993
8965
|
end
|
8994
8966
|
|
8995
|
-
# ModifyPublicNetworkAccessPoint请求参数结构体
|
8996
|
-
class ModifyPublicNetworkAccessPointRequest < TencentCloud::Common::AbstractModel
|
8997
|
-
# @param ClusterId: 集群名字
|
8998
|
-
# @type ClusterId: String
|
8999
|
-
# @param PublicNetworkAccessPointStatus: 是否开启
|
9000
|
-
# @type PublicNetworkAccessPointStatus: Boolean
|
9001
|
-
# @param SwitchOwner: 必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc
|
9002
|
-
# @type SwitchOwner: String
|
9003
|
-
# @param VpcId: Vpc
|
9004
|
-
# @type VpcId: String
|
9005
|
-
# @param SubnetId: 子网
|
9006
|
-
# @type SubnetId: String
|
9007
|
-
# @param SelectIp: 子网下面指定ip作为vpc接入点
|
9008
|
-
# @type SelectIp: String
|
9009
|
-
|
9010
|
-
attr_accessor :ClusterId, :PublicNetworkAccessPointStatus, :SwitchOwner, :VpcId, :SubnetId, :SelectIp
|
9011
|
-
|
9012
|
-
def initialize(clusterid=nil, publicnetworkaccesspointstatus=nil, switchowner=nil, vpcid=nil, subnetid=nil, selectip=nil)
|
9013
|
-
@ClusterId = clusterid
|
9014
|
-
@PublicNetworkAccessPointStatus = publicnetworkaccesspointstatus
|
9015
|
-
@SwitchOwner = switchowner
|
9016
|
-
@VpcId = vpcid
|
9017
|
-
@SubnetId = subnetid
|
9018
|
-
@SelectIp = selectip
|
9019
|
-
end
|
9020
|
-
|
9021
|
-
def deserialize(params)
|
9022
|
-
@ClusterId = params['ClusterId']
|
9023
|
-
@PublicNetworkAccessPointStatus = params['PublicNetworkAccessPointStatus']
|
9024
|
-
@SwitchOwner = params['SwitchOwner']
|
9025
|
-
@VpcId = params['VpcId']
|
9026
|
-
@SubnetId = params['SubnetId']
|
9027
|
-
@SelectIp = params['SelectIp']
|
9028
|
-
end
|
9029
|
-
end
|
9030
|
-
|
9031
|
-
# ModifyPublicNetworkAccessPoint返回参数结构体
|
9032
|
-
class ModifyPublicNetworkAccessPointResponse < TencentCloud::Common::AbstractModel
|
9033
|
-
# @param ModifyResult: 修改结果
|
9034
|
-
# @type ModifyResult: String
|
9035
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9036
|
-
# @type RequestId: String
|
9037
|
-
|
9038
|
-
attr_accessor :ModifyResult, :RequestId
|
9039
|
-
|
9040
|
-
def initialize(modifyresult=nil, requestid=nil)
|
9041
|
-
@ModifyResult = modifyresult
|
9042
|
-
@RequestId = requestid
|
9043
|
-
end
|
9044
|
-
|
9045
|
-
def deserialize(params)
|
9046
|
-
@ModifyResult = params['ModifyResult']
|
9047
|
-
@RequestId = params['RequestId']
|
9048
|
-
end
|
9049
|
-
end
|
9050
|
-
|
9051
8967
|
# ModifyPublicNetworkSecurityPolicy请求参数结构体
|
9052
8968
|
class ModifyPublicNetworkSecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
9053
8969
|
# @param InstanceId: 集群id
|
@@ -9857,43 +9773,30 @@ module TencentCloud
|
|
9857
9773
|
# 分区topic
|
9858
9774
|
class PartitionsTopic < TencentCloud::Common::AbstractModel
|
9859
9775
|
# @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
|
9860
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9861
9776
|
# @type AverageMsgSize: String
|
9862
9777
|
# @param ConsumerCount: 消费者数量。
|
9863
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9864
9778
|
# @type ConsumerCount: String
|
9865
9779
|
# @param LastConfirmedEntry: 被记录下来的消息总数。
|
9866
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9867
9780
|
# @type LastConfirmedEntry: String
|
9868
9781
|
# @param LastLedgerCreatedTimestamp: 最后一个ledger创建的时间。
|
9869
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9870
9782
|
# @type LastLedgerCreatedTimestamp: String
|
9871
9783
|
# @param MsgRateIn: 本地和复制的发布者每秒发布消息的速率。
|
9872
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9873
9784
|
# @type MsgRateIn: String
|
9874
9785
|
# @param MsgRateOut: 本地和复制的消费者每秒分发消息的数量之和。
|
9875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9876
9786
|
# @type MsgRateOut: String
|
9877
9787
|
# @param MsgThroughputIn: 本地和复制的发布者每秒发布消息的byte。
|
9878
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9879
9788
|
# @type MsgThroughputIn: String
|
9880
9789
|
# @param MsgThroughputOut: 本地和复制的消费者每秒分发消息的byte。
|
9881
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9882
9790
|
# @type MsgThroughputOut: String
|
9883
9791
|
# @param NumberOfEntries: 被记录下来的消息总数。
|
9884
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9885
9792
|
# @type NumberOfEntries: String
|
9886
9793
|
# @param Partitions: 子分区id。
|
9887
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9888
9794
|
# @type Partitions: Integer
|
9889
9795
|
# @param ProducerCount: 生产者数量。
|
9890
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9891
9796
|
# @type ProducerCount: String
|
9892
9797
|
# @param TotalSize: 以byte计算的所有消息存储总量。
|
9893
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9894
9798
|
# @type TotalSize: String
|
9895
9799
|
# @param TopicType: topic类型描述。
|
9896
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9897
9800
|
# @type TopicType: Integer
|
9898
9801
|
|
9899
9802
|
attr_accessor :AverageMsgSize, :ConsumerCount, :LastConfirmedEntry, :LastLedgerCreatedTimestamp, :MsgRateIn, :MsgRateOut, :MsgThroughputIn, :MsgThroughputOut, :NumberOfEntries, :Partitions, :ProducerCount, :TotalSize, :TopicType
|
@@ -10078,31 +9981,22 @@ module TencentCloud
|
|
10078
9981
|
# 生产者信息
|
10079
9982
|
class Publisher < TencentCloud::Common::AbstractModel
|
10080
9983
|
# @param ProducerId: 生产者id
|
10081
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10082
9984
|
# @type ProducerId: Integer
|
10083
9985
|
# @param ProducerName: 生产者名称
|
10084
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10085
9986
|
# @type ProducerName: String
|
10086
9987
|
# @param Address: 生产者地址
|
10087
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10088
9988
|
# @type Address: String
|
10089
9989
|
# @param ClientVersion: 客户端版本
|
10090
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10091
9990
|
# @type ClientVersion: String
|
10092
9991
|
# @param MsgRateIn: 消息生产速率(条/秒)
|
10093
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10094
9992
|
# @type MsgRateIn: Float
|
10095
9993
|
# @param MsgThroughputIn: 消息生产吞吐速率(字节/秒)
|
10096
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10097
9994
|
# @type MsgThroughputIn: Float
|
10098
9995
|
# @param AverageMsgSize: 平均消息大小(字节)
|
10099
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10100
9996
|
# @type AverageMsgSize: Float
|
10101
9997
|
# @param ConnectedSince: 连接时间
|
10102
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10103
9998
|
# @type ConnectedSince: String
|
10104
9999
|
# @param Partition: 生产者连接的主题分区号
|
10105
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10106
10000
|
# @type Partition: Integer
|
10107
10001
|
|
10108
10002
|
attr_accessor :ProducerId, :ProducerName, :Address, :ClientVersion, :MsgRateIn, :MsgThroughputIn, :AverageMsgSize, :ConnectedSince, :Partition
|
@@ -10135,10 +10029,8 @@ module TencentCloud
|
|
10135
10029
|
# Pulsar 网络接入点信息
|
10136
10030
|
class PulsarNetworkAccessPointInfo < TencentCloud::Common::AbstractModel
|
10137
10031
|
# @param VpcId: vpc的id,支撑网和公网接入点,该字段为空
|
10138
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10139
10032
|
# @type VpcId: String
|
10140
10033
|
# @param SubnetId: 子网id,支撑网和公网接入点,该字段为空
|
10141
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10142
10034
|
# @type SubnetId: String
|
10143
10035
|
# @param Endpoint: 接入地址
|
10144
10036
|
# @type Endpoint: String
|
@@ -10154,19 +10046,14 @@ module TencentCloud
|
|
10154
10046
|
# 2:跨地域访问,已经完成了异地切换,该状态用于源集群的接入点,该状态下的接入点不可删除
|
10155
10047
|
# 3:跨地域访问,随时可以进行异地访问切回,该状态用于目标集群的接入点,该状态下的接入点不可删除
|
10156
10048
|
# 4:跨地域访问,目标集群已经完成异地切回,等待删除状态
|
10157
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10158
10049
|
# @type OperationType: Integer
|
10159
10050
|
# @param AccessPointsType: 接入点类型
|
10160
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10161
10051
|
# @type AccessPointsType: String
|
10162
10052
|
# @param Bandwidth: 带宽,目前只有公网会有这个值
|
10163
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10164
10053
|
# @type Bandwidth: Integer
|
10165
10054
|
# @param SecurityPolicy: 类
|
10166
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10167
10055
|
# @type SecurityPolicy: Array
|
10168
10056
|
# @param StandardAccessPoint: 是否是标准的接入点 true是标准的 false不是标准的
|
10169
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10170
10057
|
# @type StandardAccessPoint: Boolean
|
10171
10058
|
# @param ZoneName: 可用区信息
|
10172
10059
|
# @type ZoneName: String
|
@@ -10224,30 +10111,26 @@ module TencentCloud
|
|
10224
10111
|
# @param Version: 集群版本
|
10225
10112
|
# @type Version: String
|
10226
10113
|
# @param NodeDistribution: 节点分布情况
|
10227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10228
10114
|
# @type NodeDistribution: Array
|
10229
10115
|
# @param MaxStorage: 最大储存容量,单位:MB
|
10230
10116
|
# @type MaxStorage: Integer
|
10231
10117
|
# @param CanEditRoute: 是否可以修改路由
|
10232
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10233
10118
|
# @type CanEditRoute: Boolean
|
10234
10119
|
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
10235
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10236
10120
|
# @type BillingLabelVersion: String
|
10237
10121
|
# @param ExpireTime: 实例到期时间戳,毫秒级精度。
|
10238
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10239
10122
|
# @type ExpireTime: Integer
|
10240
10123
|
# @param AutoCreateTopicStatus: 是否开启自动创建主题
|
10241
10124
|
# true就是开启了,false是关闭
|
10242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10243
10125
|
# @type AutoCreateTopicStatus: Boolean
|
10244
10126
|
# @param DefaultPartitionNumber: 自动创建主题的默认分区数,如果没开启就是0
|
10245
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10246
10127
|
# @type DefaultPartitionNumber: Integer
|
10128
|
+
# @param Tenant: 用户自定义的租户别名,如果没有,会复用专业集群 ID
|
10129
|
+
# @type Tenant: String
|
10247
10130
|
|
10248
|
-
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute, :BillingLabelVersion, :ExpireTime, :AutoCreateTopicStatus, :DefaultPartitionNumber
|
10131
|
+
attr_accessor :ClusterId, :ClusterName, :Remark, :CreateTime, :Status, :Version, :NodeDistribution, :MaxStorage, :CanEditRoute, :BillingLabelVersion, :ExpireTime, :AutoCreateTopicStatus, :DefaultPartitionNumber, :Tenant
|
10249
10132
|
|
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)
|
10133
|
+
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
10134
|
@ClusterId = clusterid
|
10252
10135
|
@ClusterName = clustername
|
10253
10136
|
@Remark = remark
|
@@ -10261,6 +10144,7 @@ module TencentCloud
|
|
10261
10144
|
@ExpireTime = expiretime
|
10262
10145
|
@AutoCreateTopicStatus = autocreatetopicstatus
|
10263
10146
|
@DefaultPartitionNumber = defaultpartitionnumber
|
10147
|
+
@Tenant = tenant
|
10264
10148
|
end
|
10265
10149
|
|
10266
10150
|
def deserialize(params)
|
@@ -10284,6 +10168,7 @@ module TencentCloud
|
|
10284
10168
|
@ExpireTime = params['ExpireTime']
|
10285
10169
|
@AutoCreateTopicStatus = params['AutoCreateTopicStatus']
|
10286
10170
|
@DefaultPartitionNumber = params['DefaultPartitionNumber']
|
10171
|
+
@Tenant = params['Tenant']
|
10287
10172
|
end
|
10288
10173
|
end
|
10289
10174
|
|
@@ -10300,16 +10185,16 @@ module TencentCloud
|
|
10300
10185
|
# @param MaxTopics: 最大主题分区数
|
10301
10186
|
# @type MaxTopics: Integer
|
10302
10187
|
# @param ScalableTps: 规格外弹性TPS
|
10303
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10304
10188
|
# @type ScalableTps: Integer
|
10305
10189
|
# @param MaxPartitions: 32或者128
|
10306
10190
|
# 当前集群topic的最大分区数
|
10307
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10308
10191
|
# @type MaxPartitions: Integer
|
10192
|
+
# @param MaxDelayedMessages: 商品最大延迟消息数量。0代表没有限制
|
10193
|
+
# @type MaxDelayedMessages: Integer
|
10309
10194
|
|
10310
|
-
attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps, :MaxPartitions
|
10195
|
+
attr_accessor :SpecName, :MaxTps, :MaxBandWidth, :MaxNamespaces, :MaxTopics, :ScalableTps, :MaxPartitions, :MaxDelayedMessages
|
10311
10196
|
|
10312
|
-
def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil, maxpartitions=nil)
|
10197
|
+
def initialize(specname=nil, maxtps=nil, maxbandwidth=nil, maxnamespaces=nil, maxtopics=nil, scalabletps=nil, maxpartitions=nil, maxdelayedmessages=nil)
|
10313
10198
|
@SpecName = specname
|
10314
10199
|
@MaxTps = maxtps
|
10315
10200
|
@MaxBandWidth = maxbandwidth
|
@@ -10317,6 +10202,7 @@ module TencentCloud
|
|
10317
10202
|
@MaxTopics = maxtopics
|
10318
10203
|
@ScalableTps = scalabletps
|
10319
10204
|
@MaxPartitions = maxpartitions
|
10205
|
+
@MaxDelayedMessages = maxdelayedmessages
|
10320
10206
|
end
|
10321
10207
|
|
10322
10208
|
def deserialize(params)
|
@@ -10327,6 +10213,7 @@ module TencentCloud
|
|
10327
10213
|
@MaxTopics = params['MaxTopics']
|
10328
10214
|
@ScalableTps = params['ScalableTps']
|
10329
10215
|
@MaxPartitions = params['MaxPartitions']
|
10216
|
+
@MaxDelayedMessages = params['MaxDelayedMessages']
|
10330
10217
|
end
|
10331
10218
|
end
|
10332
10219
|
|
@@ -10353,34 +10240,29 @@ module TencentCloud
|
|
10353
10240
|
# @param PayMode: 0-后付费,1-预付费
|
10354
10241
|
# @type PayMode: Integer
|
10355
10242
|
# @param Remark: 备注信息
|
10356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10357
10243
|
# @type Remark: String
|
10358
10244
|
# @param SpecName: 实例配置ID
|
10359
10245
|
# @type SpecName: String
|
10360
10246
|
# @param ScalableTps: 规格外弹性TPS
|
10361
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10362
10247
|
# @type ScalableTps: Integer
|
10363
10248
|
# @param VpcId: VPC的id
|
10364
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10365
10249
|
# @type VpcId: String
|
10366
10250
|
# @param SubnetId: 子网id
|
10367
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10368
10251
|
# @type SubnetId: String
|
10369
10252
|
# @param MaxBandWidth: 峰值带宽。单位:mbps
|
10370
10253
|
# @type MaxBandWidth: Integer
|
10371
10254
|
# @param Tags: 集群的标签列表
|
10372
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10373
10255
|
# @type Tags: Array
|
10374
10256
|
# @param CreateTime: 集群创建时间
|
10375
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10376
10257
|
# @type CreateTime: String
|
10377
10258
|
# @param BillingLabelVersion: 代表是专业版和小规格专业版的不同计费规格PULSAR.P1固定存储PULSAR.P2弹性存储
|
10378
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10379
10259
|
# @type BillingLabelVersion: String
|
10260
|
+
# @param Tenant: 自定义租户
|
10261
|
+
# @type Tenant: String
|
10380
10262
|
|
10381
|
-
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime, :BillingLabelVersion
|
10263
|
+
attr_accessor :InstanceId, :InstanceName, :InstanceVersion, :Status, :ConfigDisplay, :MaxTps, :MaxStorage, :ExpireTime, :AutoRenewFlag, :PayMode, :Remark, :SpecName, :ScalableTps, :VpcId, :SubnetId, :MaxBandWidth, :Tags, :CreateTime, :BillingLabelVersion, :Tenant
|
10382
10264
|
|
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)
|
10265
|
+
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
10266
|
@InstanceId = instanceid
|
10385
10267
|
@InstanceName = instancename
|
10386
10268
|
@InstanceVersion = instanceversion
|
@@ -10400,6 +10282,7 @@ module TencentCloud
|
|
10400
10282
|
@Tags = tags
|
10401
10283
|
@CreateTime = createtime
|
10402
10284
|
@BillingLabelVersion = billinglabelversion
|
10285
|
+
@Tenant = tenant
|
10403
10286
|
end
|
10404
10287
|
|
10405
10288
|
def deserialize(params)
|
@@ -10429,6 +10312,7 @@ module TencentCloud
|
|
10429
10312
|
end
|
10430
10313
|
@CreateTime = params['CreateTime']
|
10431
10314
|
@BillingLabelVersion = params['BillingLabelVersion']
|
10315
|
+
@Tenant = params['Tenant']
|
10432
10316
|
end
|
10433
10317
|
end
|
10434
10318
|
|
@@ -11338,16 +11222,12 @@ module TencentCloud
|
|
11338
11222
|
# @param AckTopic: 提供给 Ack 接口,用来Ack哪一个topic中的消息
|
11339
11223
|
# @type AckTopic: String
|
11340
11224
|
# @param ErrorMsg: 返回的错误信息,如果为空,说明没有错误
|
11341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11342
11225
|
# @type ErrorMsg: String
|
11343
11226
|
# @param SubName: 返回订阅者的名字,用来创建 ack consumer时使用
|
11344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11345
11227
|
# @type SubName: String
|
11346
11228
|
# @param MessageIDList: BatchReceivePolicy 一次性返回的多条消息的 MessageID,用 ‘###’ 来区分不同的 MessageID
|
11347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11348
11229
|
# @type MessageIDList: String
|
11349
11230
|
# @param MessagesPayload: BatchReceivePolicy 一次性返回的多条消息的消息内容,用 ‘###’ 来区分不同的消息内容
|
11350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11351
11231
|
# @type MessagesPayload: String
|
11352
11232
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11353
11233
|
# @type RequestId: String
|
@@ -12774,15 +12654,18 @@ module TencentCloud
|
|
12774
12654
|
# @type CreateTime: String
|
12775
12655
|
# @param UpdateTime: 更新时间。
|
12776
12656
|
# @type UpdateTime: String
|
12657
|
+
# @param PermType: 授权类型(Cluster:集群;TopicAndGroup:主题或消费组)
|
12658
|
+
# @type PermType: String
|
12777
12659
|
|
12778
|
-
attr_accessor :RoleName, :Token, :Remark, :CreateTime, :UpdateTime
|
12660
|
+
attr_accessor :RoleName, :Token, :Remark, :CreateTime, :UpdateTime, :PermType
|
12779
12661
|
|
12780
|
-
def initialize(rolename=nil, token=nil, remark=nil, createtime=nil, updatetime=nil)
|
12662
|
+
def initialize(rolename=nil, token=nil, remark=nil, createtime=nil, updatetime=nil, permtype=nil)
|
12781
12663
|
@RoleName = rolename
|
12782
12664
|
@Token = token
|
12783
12665
|
@Remark = remark
|
12784
12666
|
@CreateTime = createtime
|
12785
12667
|
@UpdateTime = updatetime
|
12668
|
+
@PermType = permtype
|
12786
12669
|
end
|
12787
12670
|
|
12788
12671
|
def deserialize(params)
|
@@ -12791,20 +12674,17 @@ module TencentCloud
|
|
12791
12674
|
@Remark = params['Remark']
|
12792
12675
|
@CreateTime = params['CreateTime']
|
12793
12676
|
@UpdateTime = params['UpdateTime']
|
12677
|
+
@PermType = params['PermType']
|
12794
12678
|
end
|
12795
12679
|
end
|
12796
12680
|
|
12797
12681
|
# 安全策略
|
12798
12682
|
class SecurityPolicy < TencentCloud::Common::AbstractModel
|
12799
12683
|
# @param Route: ip或者网段
|
12800
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12801
12684
|
# @type Route: String
|
12802
12685
|
# @param Policy: 策略 true就是允许,白名单或者 false 拒绝 黑名单
|
12803
|
-
|
12804
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12805
12686
|
# @type Policy: Boolean
|
12806
12687
|
# @param Remark: 备注
|
12807
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12808
12688
|
# @type Remark: String
|
12809
12689
|
|
12810
12690
|
attr_accessor :Route, :Policy, :Remark
|
@@ -12984,10 +12864,8 @@ module TencentCloud
|
|
12984
12864
|
# SendMessages返回参数结构体
|
12985
12865
|
class SendMessagesResponse < TencentCloud::Common::AbstractModel
|
12986
12866
|
# @param MessageId: 消息的messageID, 是全局唯一的,用来标识消息的元数据信息
|
12987
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12988
12867
|
# @type MessageId: String
|
12989
12868
|
# @param ErrorMsg: 返回的错误消息,如果返回为 “”,说明没有错误
|
12990
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
12991
12869
|
# @type ErrorMsg: String
|
12992
12870
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12993
12871
|
# @type RequestId: String
|
@@ -13218,58 +13096,40 @@ module TencentCloud
|
|
13218
13096
|
# @param EnvironmentId: 环境(命名空间)名称。
|
13219
13097
|
# @type EnvironmentId: String
|
13220
13098
|
# @param ConnectedSince: 消费者开始连接的时间。
|
13221
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13222
13099
|
# @type ConnectedSince: String
|
13223
13100
|
# @param ConsumerAddr: 消费者地址。
|
13224
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13225
13101
|
# @type ConsumerAddr: String
|
13226
13102
|
# @param ConsumerCount: 消费者数量。
|
13227
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13228
13103
|
# @type ConsumerCount: String
|
13229
13104
|
# @param ConsumerName: 消费者名称。
|
13230
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13231
13105
|
# @type ConsumerName: String
|
13232
13106
|
# @param MsgBacklog: 堆积的消息数量。
|
13233
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13234
13107
|
# @type MsgBacklog: String
|
13235
13108
|
# @param MsgRateExpired: 于TTL,此订阅下没有被发送而是被丢弃的比例。
|
13236
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13237
13109
|
# @type MsgRateExpired: String
|
13238
13110
|
# @param MsgRateOut: 消费者每秒分发消息的数量之和。
|
13239
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13240
13111
|
# @type MsgRateOut: String
|
13241
13112
|
# @param MsgThroughputOut: 消费者每秒消息的byte。
|
13242
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13243
13113
|
# @type MsgThroughputOut: String
|
13244
13114
|
# @param SubscriptionName: 订阅名称。
|
13245
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13246
13115
|
# @type SubscriptionName: String
|
13247
13116
|
# @param ConsumerSets: 消费者集合。
|
13248
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13249
13117
|
# @type ConsumerSets: Array
|
13250
13118
|
# @param IsOnline: 是否在线。
|
13251
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13252
13119
|
# @type IsOnline: Boolean
|
13253
13120
|
# @param ConsumersScheduleSets: 消费进度集合。
|
13254
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13255
13121
|
# @type ConsumersScheduleSets: Array
|
13256
13122
|
# @param Remark: 备注。
|
13257
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13258
13123
|
# @type Remark: String
|
13259
13124
|
# @param CreateTime: 创建时间。
|
13260
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13261
13125
|
# @type CreateTime: String
|
13262
13126
|
# @param UpdateTime: 最近修改时间。
|
13263
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13264
13127
|
# @type UpdateTime: String
|
13265
13128
|
# @param SubType: 订阅类型,Exclusive,Shared,Failover, Key_Shared,空或NULL表示未知,
|
13266
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13267
13129
|
# @type SubType: String
|
13268
13130
|
# @param BlockedSubscriptionOnUnackedMsgs: 是否由于未 ack 数到达上限而被 block
|
13269
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13270
13131
|
# @type BlockedSubscriptionOnUnackedMsgs: Boolean
|
13271
13132
|
# @param MaxUnackedMsgNum: 未 ack 消息数上限
|
13272
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13273
13133
|
# @type MaxUnackedMsgNum: Integer
|
13274
13134
|
|
13275
13135
|
attr_accessor :TopicName, :EnvironmentId, :ConnectedSince, :ConsumerAddr, :ConsumerCount, :ConsumerName, :MsgBacklog, :MsgRateExpired, :MsgRateOut, :MsgThroughputOut, :SubscriptionName, :ConsumerSets, :IsOnline, :ConsumersScheduleSets, :Remark, :CreateTime, :UpdateTime, :SubType, :BlockedSubscriptionOnUnackedMsgs, :MaxUnackedMsgNum
|
@@ -13362,10 +13222,8 @@ module TencentCloud
|
|
13362
13222
|
# 标签的key/value的类型
|
13363
13223
|
class Tag < TencentCloud::Common::AbstractModel
|
13364
13224
|
# @param TagKey: 标签的key的值
|
13365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13366
13225
|
# @type TagKey: String
|
13367
13226
|
# @param TagValue: 标签的Value的值
|
13368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13369
13227
|
# @type TagValue: String
|
13370
13228
|
|
13371
13229
|
attr_accessor :TagKey, :TagValue
|
@@ -13384,43 +13242,30 @@ module TencentCloud
|
|
13384
13242
|
# 主题实例
|
13385
13243
|
class Topic < TencentCloud::Common::AbstractModel
|
13386
13244
|
# @param AverageMsgSize: 最后一次间隔内发布消息的平均byte大小。
|
13387
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13388
13245
|
# @type AverageMsgSize: String
|
13389
13246
|
# @param ConsumerCount: 消费者数量。
|
13390
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13391
13247
|
# @type ConsumerCount: String
|
13392
13248
|
# @param LastConfirmedEntry: 被记录下来的消息总数。
|
13393
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13394
13249
|
# @type LastConfirmedEntry: String
|
13395
13250
|
# @param LastLedgerCreatedTimestamp: 最后一个ledger创建的时间。
|
13396
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13397
13251
|
# @type LastLedgerCreatedTimestamp: String
|
13398
13252
|
# @param MsgRateIn: 本地和复制的发布者每秒发布消息的速率。
|
13399
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13400
13253
|
# @type MsgRateIn: String
|
13401
13254
|
# @param MsgRateOut: 本地和复制的消费者每秒分发消息的数量之和。
|
13402
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13403
13255
|
# @type MsgRateOut: String
|
13404
13256
|
# @param MsgThroughputIn: 本地和复制的发布者每秒发布消息的byte。
|
13405
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13406
13257
|
# @type MsgThroughputIn: String
|
13407
13258
|
# @param MsgThroughputOut: 本地和复制的消费者每秒分发消息的byte。
|
13408
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13409
13259
|
# @type MsgThroughputOut: String
|
13410
13260
|
# @param NumberOfEntries: 被记录下来的消息总数。
|
13411
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13412
13261
|
# @type NumberOfEntries: String
|
13413
13262
|
# @param Partitions: 分区数<=0:topic下无子分区。
|
13414
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13415
13263
|
# @type Partitions: Integer
|
13416
13264
|
# @param ProducerCount: 生产者数量。
|
13417
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13418
13265
|
# @type ProducerCount: String
|
13419
13266
|
# @param TotalSize: 以byte计算的所有消息存储总量。
|
13420
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13421
13267
|
# @type TotalSize: String
|
13422
13268
|
# @param SubTopicSets: 分区topic里面的子分区。
|
13423
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13424
13269
|
# @type SubTopicSets: Array
|
13425
13270
|
# @param TopicType: topic类型描述:
|
13426
13271
|
# 0:普通消息;
|
@@ -13429,43 +13274,36 @@ module TencentCloud
|
|
13429
13274
|
# 3:重试队列;
|
13430
13275
|
# 4:死信队列;
|
13431
13276
|
# 5:事务消息。
|
13432
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13433
13277
|
# @type TopicType: Integer
|
13434
13278
|
# @param EnvironmentId: 环境(命名空间)名称。
|
13435
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13436
13279
|
# @type EnvironmentId: String
|
13437
13280
|
# @param TopicName: 主题名称。
|
13438
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13439
13281
|
# @type TopicName: String
|
13440
13282
|
# @param Remark: 说明,128个字符以内。
|
13441
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13442
13283
|
# @type Remark: String
|
13443
13284
|
# @param CreateTime: 创建时间。
|
13444
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13445
13285
|
# @type CreateTime: String
|
13446
13286
|
# @param UpdateTime: 最近修改时间。
|
13447
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13448
13287
|
# @type UpdateTime: String
|
13449
13288
|
# @param ProducerLimit: 生产者上限。
|
13450
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13451
13289
|
# @type ProducerLimit: String
|
13452
13290
|
# @param ConsumerLimit: 消费者上限。
|
13453
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13454
13291
|
# @type ConsumerLimit: String
|
13455
13292
|
# @param PulsarTopicType: 0: 非持久非分区
|
13456
13293
|
# 1: 非持久分区
|
13457
13294
|
# 2: 持久非分区
|
13458
13295
|
# 3: 持久分区
|
13459
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13460
13296
|
# @type PulsarTopicType: Integer
|
13461
13297
|
# @param MsgTTL: 未消费消息过期时间,单位:秒
|
13462
|
-
|
13463
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13464
13298
|
# @type MsgTTL: Integer
|
13299
|
+
# @param ClusterId: 集群 ID
|
13300
|
+
# @type ClusterId: String
|
13301
|
+
# @param Tenant: 用户自定义的租户别名,如果没有,会复用专业集群 ID
|
13302
|
+
# @type Tenant: String
|
13465
13303
|
|
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
|
13304
|
+
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
13305
|
|
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)
|
13306
|
+
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
13307
|
@AverageMsgSize = averagemsgsize
|
13470
13308
|
@ConsumerCount = consumercount
|
13471
13309
|
@LastConfirmedEntry = lastconfirmedentry
|
@@ -13489,6 +13327,8 @@ module TencentCloud
|
|
13489
13327
|
@ConsumerLimit = consumerlimit
|
13490
13328
|
@PulsarTopicType = pulsartopictype
|
13491
13329
|
@MsgTTL = msgttl
|
13330
|
+
@ClusterId = clusterid
|
13331
|
+
@Tenant = tenant
|
13492
13332
|
end
|
13493
13333
|
|
13494
13334
|
def deserialize(params)
|
@@ -13522,6 +13362,8 @@ module TencentCloud
|
|
13522
13362
|
@ConsumerLimit = params['ConsumerLimit']
|
13523
13363
|
@PulsarTopicType = params['PulsarTopicType']
|
13524
13364
|
@MsgTTL = params['MsgTTL']
|
13365
|
+
@ClusterId = params['ClusterId']
|
13366
|
+
@Tenant = params['Tenant']
|
13525
13367
|
end
|
13526
13368
|
end
|
13527
13369
|
|
@@ -13590,13 +13432,11 @@ module TencentCloud
|
|
13590
13432
|
# 主题实例
|
13591
13433
|
class Topic_Simplification < TencentCloud::Common::AbstractModel
|
13592
13434
|
# @param TopicName: 主题名称。
|
13593
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13594
13435
|
# @type TopicName: String
|
13595
13436
|
# @param PulsarTopicType: 0: 非持久非分区
|
13596
13437
|
# 1: 非持久分区
|
13597
13438
|
# 2: 持久非分区
|
13598
13439
|
# 3: 持久分区
|
13599
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13600
13440
|
# @type PulsarTopicType: Integer
|
13601
13441
|
|
13602
13442
|
attr_accessor :TopicName, :PulsarTopicType
|
@@ -13749,7 +13589,6 @@ module TencentCloud
|
|
13749
13589
|
# @param Port: Vpc的Port
|
13750
13590
|
# @type Port: Integer
|
13751
13591
|
# @param Remark: 说明,128个字符以内
|
13752
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
13753
13592
|
# @type Remark: String
|
13754
13593
|
|
13755
13594
|
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.1024
|
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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|