tencentcloud-sdk-tdmq 3.0.1177 → 3.0.1178
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 +19 -10
- data/lib/v20200217/models.rb +150 -48
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b3702fdf8d77454af35451257c75de4004ce9c9
|
|
4
|
+
data.tar.gz: 24008471596d15f756389c9820d35a3b390a0eac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a82278da0ec6b5379593a1008a10d9820afe7ccd9a8ba003e5107ff3e08730bbd60ac41fbd2d8a92f5ba4cfcd28f2e1111ff5c57b34b78173d5cc06996be76f7
|
|
7
|
+
data.tar.gz: 69eb3bfdd7e204ef47e89f9c9a76abf0324c9da825cf5467a83c6f3a1ac9e66e3e2a49322fca78531b1a08a715012f93dc84f68ff28c0aae7e56708fe45cc336
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1178
|
data/lib/v20200217/client.rb
CHANGED
|
@@ -389,7 +389,8 @@ module TencentCloud
|
|
|
389
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
390
390
|
end
|
|
391
391
|
|
|
392
|
-
#
|
|
392
|
+
# 创建角色授权。
|
|
393
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的创建角色接口文档见 [CreateRole](https://cloud.tencent.com/document/api/1493/98864)。
|
|
393
394
|
|
|
394
395
|
# @param request: Request instance for CreateRocketMQEnvironmentRole.
|
|
395
396
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQEnvironmentRoleRequest`
|
|
@@ -461,7 +462,8 @@ module TencentCloud
|
|
|
461
462
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
462
463
|
end
|
|
463
464
|
|
|
464
|
-
#
|
|
465
|
+
# 创建角色。
|
|
466
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的创建角色接口文档见 [CreateRole](https://cloud.tencent.com/document/api/1493/98864)。
|
|
465
467
|
|
|
466
468
|
# @param request: Request instance for CreateRocketMQRole.
|
|
467
469
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::CreateRocketMQRoleRequest`
|
|
@@ -941,7 +943,8 @@ module TencentCloud
|
|
|
941
943
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
942
944
|
end
|
|
943
945
|
|
|
944
|
-
#
|
|
946
|
+
# 批量删除角色授权。
|
|
947
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的删除角色接口文档见 [DeleteRole](https://cloud.tencent.com/document/api/1493/98863)。
|
|
945
948
|
|
|
946
949
|
# @param request: Request instance for DeleteRocketMQEnvironmentRoles.
|
|
947
950
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQEnvironmentRolesRequest`
|
|
@@ -1013,7 +1016,8 @@ module TencentCloud
|
|
|
1013
1016
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1014
1017
|
end
|
|
1015
1018
|
|
|
1016
|
-
#
|
|
1019
|
+
# 批量删除角色。
|
|
1020
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的删除角色接口文档见 [DeleteRole](https://cloud.tencent.com/document/api/1493/98863)。
|
|
1017
1021
|
|
|
1018
1022
|
# @param request: Request instance for DeleteRocketMQRoles.
|
|
1019
1023
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DeleteRocketMQRolesRequest`
|
|
@@ -1543,7 +1547,7 @@ module TencentCloud
|
|
|
1543
1547
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1544
1548
|
end
|
|
1545
1549
|
|
|
1546
|
-
#
|
|
1550
|
+
# 查询单条消息的消息轨迹
|
|
1547
1551
|
|
|
1548
1552
|
# @param request: Request instance for DescribeMsgTrace.
|
|
1549
1553
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeMsgTraceRequest`
|
|
@@ -2071,7 +2075,8 @@ module TencentCloud
|
|
|
2071
2075
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2072
2076
|
end
|
|
2073
2077
|
|
|
2074
|
-
#
|
|
2078
|
+
# 查询角色授权列表。
|
|
2079
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的查询角色列表接口文档见 [DescribeRoleList](https://cloud.tencent.com/document/api/1493/98862)。
|
|
2075
2080
|
|
|
2076
2081
|
# @param request: Request instance for DescribeRocketMQEnvironmentRoles.
|
|
2077
2082
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQEnvironmentRolesRequest`
|
|
@@ -2288,7 +2293,8 @@ module TencentCloud
|
|
|
2288
2293
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2289
2294
|
end
|
|
2290
2295
|
|
|
2291
|
-
#
|
|
2296
|
+
# 查询角色列表。
|
|
2297
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的查询角色列表接口文档见 [DescribeRoleList](https://cloud.tencent.com/document/api/1493/98862)。
|
|
2292
2298
|
|
|
2293
2299
|
# @param request: Request instance for DescribeRocketMQRoles.
|
|
2294
2300
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQRolesRequest`
|
|
@@ -3056,7 +3062,8 @@ module TencentCloud
|
|
|
3056
3062
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3057
3063
|
end
|
|
3058
3064
|
|
|
3059
|
-
#
|
|
3065
|
+
# 修改角色授权。
|
|
3066
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的修改角色接口文档见 [ModifyRole](https://cloud.tencent.com/document/api/1493/98861)。
|
|
3060
3067
|
|
|
3061
3068
|
# @param request: Request instance for ModifyRocketMQEnvironmentRole.
|
|
3062
3069
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQEnvironmentRoleRequest`
|
|
@@ -3176,7 +3183,8 @@ module TencentCloud
|
|
|
3176
3183
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3177
3184
|
end
|
|
3178
3185
|
|
|
3179
|
-
#
|
|
3186
|
+
# 修改角色。
|
|
3187
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的修改角色接口文档见 [ModifyRole](https://cloud.tencent.com/document/api/1493/98861)。
|
|
3180
3188
|
|
|
3181
3189
|
# @param request: Request instance for ModifyRocketMQRole.
|
|
3182
3190
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyRocketMQRoleRequest`
|
|
@@ -3363,7 +3371,8 @@ module TencentCloud
|
|
|
3363
3371
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3364
3372
|
end
|
|
3365
3373
|
|
|
3366
|
-
#
|
|
3374
|
+
# 重置消费位点。
|
|
3375
|
+
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。5.x 集群的重置消费位点接口文档见 [ResetConsumerGroupOffset](https://cloud.tencent.com/document/api/1493/116942)。
|
|
3367
3376
|
|
|
3368
3377
|
# @param request: Request instance for ResetRocketMQConsumerOffSet.
|
|
3369
3378
|
# @type request: :class:`Tencentcloud::tdmq::V20200217::ResetRocketMQConsumerOffSetRequest`
|
data/lib/v20200217/models.rb
CHANGED
|
@@ -392,9 +392,13 @@ module TencentCloud
|
|
|
392
392
|
# @param PublicEndPoint: 公网访问接入点
|
|
393
393
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
394
394
|
# @type PublicEndPoint: String
|
|
395
|
+
# @param OldPublicEndPoint: 旧的公网访问接入点
|
|
396
|
+
# @type OldPublicEndPoint: String
|
|
395
397
|
# @param VpcEndPoint: VPC访问接入点
|
|
396
398
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
397
399
|
# @type VpcEndPoint: String
|
|
400
|
+
# @param OldVpcEndPoint: 旧的VPC访问接入点
|
|
401
|
+
# @type OldVpcEndPoint: String
|
|
398
402
|
# @param NamespaceNum: 命名空间数量
|
|
399
403
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
400
404
|
# @type NamespaceNum: Integer
|
|
@@ -425,6 +429,10 @@ module TencentCloud
|
|
|
425
429
|
# @param Tags: 标签
|
|
426
430
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
427
431
|
# @type Tags: Array
|
|
432
|
+
# @param OldInternalPulsarEndPoint: 旧的支撑网 Pulsar 接入点
|
|
433
|
+
# @type OldInternalPulsarEndPoint: String
|
|
434
|
+
# @param OldInternalHttpEndPoint: 旧的支撑网 HTTP 接入点
|
|
435
|
+
# @type OldInternalHttpEndPoint: String
|
|
428
436
|
# @param PayMode: 计费模式:
|
|
429
437
|
# 0: 按量计费
|
|
430
438
|
# 1: 包年包月
|
|
@@ -439,9 +447,9 @@ module TencentCloud
|
|
|
439
447
|
# @param UpgradeProInstance: 是否支持升级专业版实例
|
|
440
448
|
# @type UpgradeProInstance: Boolean
|
|
441
449
|
|
|
442
|
-
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
|
|
450
|
+
attr_accessor :ClusterId, :ClusterName, :Remark, :EndPointNum, :CreateTime, :Healthy, :HealthyInfo, :Status, :MaxNamespaceNum, :MaxTopicNum, :MaxQps, :MessageRetentionTime, :MaxStorageCapacity, :Version, :PublicEndPoint, :OldPublicEndPoint, :VpcEndPoint, :OldVpcEndPoint, :NamespaceNum, :UsedStorageBudget, :MaxPublishRateInMessages, :MaxDispatchRateInMessages, :MaxPublishRateInBytes, :MaxDispatchRateInBytes, :TopicNum, :MaxMessageDelayInSeconds, :PublicAccessEnabled, :Tags, :OldInternalPulsarEndPoint, :OldInternalHttpEndPoint, :PayMode, :ProjectId, :ProjectName, :UpgradeProInstance
|
|
443
451
|
|
|
444
|
-
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)
|
|
452
|
+
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, oldpublicendpoint=nil, vpcendpoint=nil, oldvpcendpoint=nil, namespacenum=nil, usedstoragebudget=nil, maxpublishrateinmessages=nil, maxdispatchrateinmessages=nil, maxpublishrateinbytes=nil, maxdispatchrateinbytes=nil, topicnum=nil, maxmessagedelayinseconds=nil, publicaccessenabled=nil, tags=nil, oldinternalpulsarendpoint=nil, oldinternalhttpendpoint=nil, paymode=nil, projectid=nil, projectname=nil, upgradeproinstance=nil)
|
|
445
453
|
@ClusterId = clusterid
|
|
446
454
|
@ClusterName = clustername
|
|
447
455
|
@Remark = remark
|
|
@@ -457,7 +465,9 @@ module TencentCloud
|
|
|
457
465
|
@MaxStorageCapacity = maxstoragecapacity
|
|
458
466
|
@Version = version
|
|
459
467
|
@PublicEndPoint = publicendpoint
|
|
468
|
+
@OldPublicEndPoint = oldpublicendpoint
|
|
460
469
|
@VpcEndPoint = vpcendpoint
|
|
470
|
+
@OldVpcEndPoint = oldvpcendpoint
|
|
461
471
|
@NamespaceNum = namespacenum
|
|
462
472
|
@UsedStorageBudget = usedstoragebudget
|
|
463
473
|
@MaxPublishRateInMessages = maxpublishrateinmessages
|
|
@@ -468,6 +478,8 @@ module TencentCloud
|
|
|
468
478
|
@MaxMessageDelayInSeconds = maxmessagedelayinseconds
|
|
469
479
|
@PublicAccessEnabled = publicaccessenabled
|
|
470
480
|
@Tags = tags
|
|
481
|
+
@OldInternalPulsarEndPoint = oldinternalpulsarendpoint
|
|
482
|
+
@OldInternalHttpEndPoint = oldinternalhttpendpoint
|
|
471
483
|
@PayMode = paymode
|
|
472
484
|
@ProjectId = projectid
|
|
473
485
|
@ProjectName = projectname
|
|
@@ -490,7 +502,9 @@ module TencentCloud
|
|
|
490
502
|
@MaxStorageCapacity = params['MaxStorageCapacity']
|
|
491
503
|
@Version = params['Version']
|
|
492
504
|
@PublicEndPoint = params['PublicEndPoint']
|
|
505
|
+
@OldPublicEndPoint = params['OldPublicEndPoint']
|
|
493
506
|
@VpcEndPoint = params['VpcEndPoint']
|
|
507
|
+
@OldVpcEndPoint = params['OldVpcEndPoint']
|
|
494
508
|
@NamespaceNum = params['NamespaceNum']
|
|
495
509
|
@UsedStorageBudget = params['UsedStorageBudget']
|
|
496
510
|
@MaxPublishRateInMessages = params['MaxPublishRateInMessages']
|
|
@@ -508,6 +522,8 @@ module TencentCloud
|
|
|
508
522
|
@Tags << tag_tmp
|
|
509
523
|
end
|
|
510
524
|
end
|
|
525
|
+
@OldInternalPulsarEndPoint = params['OldInternalPulsarEndPoint']
|
|
526
|
+
@OldInternalHttpEndPoint = params['OldInternalHttpEndPoint']
|
|
511
527
|
@PayMode = params['PayMode']
|
|
512
528
|
@ProjectId = params['ProjectId']
|
|
513
529
|
@ProjectName = params['ProjectName']
|
|
@@ -1171,7 +1187,7 @@ module TencentCloud
|
|
|
1171
1187
|
|
|
1172
1188
|
# CreateCmqQueue请求参数结构体
|
|
1173
1189
|
class CreateCmqQueueRequest < TencentCloud::Common::AbstractModel
|
|
1174
|
-
# @param QueueName:
|
|
1190
|
+
# @param QueueName: 队列名字,在单个地域同一账号下唯一。队列名称以字母起始,只能包含字母、数字、“-”及“_”,最大64字符,不区分大小写。
|
|
1175
1191
|
# @type QueueName: String
|
|
1176
1192
|
# @param MaxMsgHeapNum: 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。
|
|
1177
1193
|
# @type MaxMsgHeapNum: Integer
|
|
@@ -1280,7 +1296,7 @@ module TencentCloud
|
|
|
1280
1296
|
class CreateCmqSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
1281
1297
|
# @param TopicName: 主题名字,在单个地域同一账号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。
|
|
1282
1298
|
# @type TopicName: String
|
|
1283
|
-
# @param SubscriptionName:
|
|
1299
|
+
# @param SubscriptionName: 订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称以字母起始,只能包含字母、数字、“-”及“_”,最大64字符,创建后不能修改。
|
|
1284
1300
|
# @type SubscriptionName: String
|
|
1285
1301
|
# @param Protocol: 订阅的协议,目前支持两种协议:http、queue。使用http协议,用户需自己搭建接受消息的web server。使用queue,消息会自动推送到CMQ queue,用户可以并发地拉取消息。
|
|
1286
1302
|
# @type Protocol: String
|
|
@@ -1342,7 +1358,7 @@ module TencentCloud
|
|
|
1342
1358
|
|
|
1343
1359
|
# CreateCmqTopic请求参数结构体
|
|
1344
1360
|
class CreateCmqTopicRequest < TencentCloud::Common::AbstractModel
|
|
1345
|
-
# @param TopicName:
|
|
1361
|
+
# @param TopicName: 主题名字,在单个地域同一账号下唯一。主题名称只能包含字母、数字、“-”及“_”,最大64字符,创建后不能修改,不区分大小写。
|
|
1346
1362
|
# @type TopicName: String
|
|
1347
1363
|
# @param MaxMsgSize: 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。
|
|
1348
1364
|
# @type MaxMsgSize: Integer
|
|
@@ -1417,16 +1433,22 @@ module TencentCloud
|
|
|
1417
1433
|
# @type RetentionPolicy: :class:`Tencentcloud::Tdmq.v20200217.models.RetentionPolicy`
|
|
1418
1434
|
# @param AutoSubscriptionCreation: 是否开启自动创建订阅
|
|
1419
1435
|
# @type AutoSubscriptionCreation: Boolean
|
|
1436
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
1437
|
+
# @type SubscriptionExpirationTime: Integer
|
|
1438
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间开关
|
|
1439
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
1420
1440
|
|
|
1421
|
-
attr_accessor :EnvironmentId, :MsgTTL, :ClusterId, :Remark, :RetentionPolicy, :AutoSubscriptionCreation
|
|
1441
|
+
attr_accessor :EnvironmentId, :MsgTTL, :ClusterId, :Remark, :RetentionPolicy, :AutoSubscriptionCreation, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable
|
|
1422
1442
|
|
|
1423
|
-
def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil)
|
|
1443
|
+
def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil)
|
|
1424
1444
|
@EnvironmentId = environmentid
|
|
1425
1445
|
@MsgTTL = msgttl
|
|
1426
1446
|
@ClusterId = clusterid
|
|
1427
1447
|
@Remark = remark
|
|
1428
1448
|
@RetentionPolicy = retentionpolicy
|
|
1429
1449
|
@AutoSubscriptionCreation = autosubscriptioncreation
|
|
1450
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
1451
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
1430
1452
|
end
|
|
1431
1453
|
|
|
1432
1454
|
def deserialize(params)
|
|
@@ -1439,6 +1461,8 @@ module TencentCloud
|
|
|
1439
1461
|
@RetentionPolicy.deserialize(params['RetentionPolicy'])
|
|
1440
1462
|
end
|
|
1441
1463
|
@AutoSubscriptionCreation = params['AutoSubscriptionCreation']
|
|
1464
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
1465
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
1442
1466
|
end
|
|
1443
1467
|
end
|
|
1444
1468
|
|
|
@@ -1453,16 +1477,22 @@ module TencentCloud
|
|
|
1453
1477
|
# @type Remark: String
|
|
1454
1478
|
# @param NamespaceId: 命名空间ID
|
|
1455
1479
|
# @type NamespaceId: String
|
|
1480
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
1481
|
+
# @type SubscriptionExpirationTime: Integer
|
|
1482
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间
|
|
1483
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
1456
1484
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1457
1485
|
# @type RequestId: String
|
|
1458
1486
|
|
|
1459
|
-
attr_accessor :EnvironmentId, :MsgTTL, :Remark, :NamespaceId, :RequestId
|
|
1487
|
+
attr_accessor :EnvironmentId, :MsgTTL, :Remark, :NamespaceId, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable, :RequestId
|
|
1460
1488
|
|
|
1461
|
-
def initialize(environmentid=nil, msgttl=nil, remark=nil, namespaceid=nil, requestid=nil)
|
|
1489
|
+
def initialize(environmentid=nil, msgttl=nil, remark=nil, namespaceid=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil, requestid=nil)
|
|
1462
1490
|
@EnvironmentId = environmentid
|
|
1463
1491
|
@MsgTTL = msgttl
|
|
1464
1492
|
@Remark = remark
|
|
1465
1493
|
@NamespaceId = namespaceid
|
|
1494
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
1495
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
1466
1496
|
@RequestId = requestid
|
|
1467
1497
|
end
|
|
1468
1498
|
|
|
@@ -1471,6 +1501,8 @@ module TencentCloud
|
|
|
1471
1501
|
@MsgTTL = params['MsgTTL']
|
|
1472
1502
|
@Remark = params['Remark']
|
|
1473
1503
|
@NamespaceId = params['NamespaceId']
|
|
1504
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
1505
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
1474
1506
|
@RequestId = params['RequestId']
|
|
1475
1507
|
end
|
|
1476
1508
|
end
|
|
@@ -1528,9 +1560,6 @@ module TencentCloud
|
|
|
1528
1560
|
# @param ProductName: 集群规格代号
|
|
1529
1561
|
# 参考 [专业集群规格](https://cloud.tencent.com/document/product/1179/83705)
|
|
1530
1562
|
# @type ProductName: String
|
|
1531
|
-
# @param StorageSize: 存储规格
|
|
1532
|
-
# 参考 [专业集群规格](https://cloud.tencent.com/document/product/1179/83705)
|
|
1533
|
-
# @type StorageSize: Integer
|
|
1534
1563
|
# @param AutoRenewFlag: 1: true,开启自动按月续费
|
|
1535
1564
|
|
|
1536
1565
|
# 0: false,关闭自动按月续费
|
|
@@ -1541,21 +1570,24 @@ module TencentCloud
|
|
|
1541
1570
|
# @type ClusterName: String
|
|
1542
1571
|
# @param AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
|
|
1543
1572
|
# @type AutoVoucher: Integer
|
|
1573
|
+
# @param StorageSize: 存储规格
|
|
1574
|
+
# 参考 [专业集群规格](https://cloud.tencent.com/document/product/1179/83705)
|
|
1575
|
+
# @type StorageSize: Integer
|
|
1544
1576
|
# @param Vpc: vpc网络标签
|
|
1545
1577
|
# @type Vpc: :class:`Tencentcloud::Tdmq.v20200217.models.VpcInfo`
|
|
1546
1578
|
# @param Tags: 集群的标签列表(已废弃)
|
|
1547
1579
|
# @type Tags: Array
|
|
1548
1580
|
|
|
1549
|
-
attr_accessor :ZoneIds, :ProductName, :
|
|
1581
|
+
attr_accessor :ZoneIds, :ProductName, :AutoRenewFlag, :TimeSpan, :ClusterName, :AutoVoucher, :StorageSize, :Vpc, :Tags
|
|
1550
1582
|
|
|
1551
|
-
def initialize(zoneids=nil, productname=nil,
|
|
1583
|
+
def initialize(zoneids=nil, productname=nil, autorenewflag=nil, timespan=nil, clustername=nil, autovoucher=nil, storagesize=nil, vpc=nil, tags=nil)
|
|
1552
1584
|
@ZoneIds = zoneids
|
|
1553
1585
|
@ProductName = productname
|
|
1554
|
-
@StorageSize = storagesize
|
|
1555
1586
|
@AutoRenewFlag = autorenewflag
|
|
1556
1587
|
@TimeSpan = timespan
|
|
1557
1588
|
@ClusterName = clustername
|
|
1558
1589
|
@AutoVoucher = autovoucher
|
|
1590
|
+
@StorageSize = storagesize
|
|
1559
1591
|
@Vpc = vpc
|
|
1560
1592
|
@Tags = tags
|
|
1561
1593
|
end
|
|
@@ -1563,11 +1595,11 @@ module TencentCloud
|
|
|
1563
1595
|
def deserialize(params)
|
|
1564
1596
|
@ZoneIds = params['ZoneIds']
|
|
1565
1597
|
@ProductName = params['ProductName']
|
|
1566
|
-
@StorageSize = params['StorageSize']
|
|
1567
1598
|
@AutoRenewFlag = params['AutoRenewFlag']
|
|
1568
1599
|
@TimeSpan = params['TimeSpan']
|
|
1569
1600
|
@ClusterName = params['ClusterName']
|
|
1570
1601
|
@AutoVoucher = params['AutoVoucher']
|
|
1602
|
+
@StorageSize = params['StorageSize']
|
|
1571
1603
|
unless params['Vpc'].nil?
|
|
1572
1604
|
@Vpc = VpcInfo.new
|
|
1573
1605
|
@Vpc.deserialize(params['Vpc'])
|
|
@@ -1965,7 +1997,7 @@ module TencentCloud
|
|
|
1965
1997
|
|
|
1966
1998
|
# CreateRocketMQEnvironmentRole请求参数结构体
|
|
1967
1999
|
class CreateRocketMQEnvironmentRoleRequest < TencentCloud::Common::AbstractModel
|
|
1968
|
-
# @param EnvironmentId:
|
|
2000
|
+
# @param EnvironmentId: 命名空间,4.x 通用集群命名空间固定为: tdmq_default
|
|
1969
2001
|
# @type EnvironmentId: String
|
|
1970
2002
|
# @param RoleName: 角色名称。
|
|
1971
2003
|
# @type RoleName: String
|
|
@@ -2557,10 +2589,12 @@ module TencentCloud
|
|
|
2557
2589
|
# @type IsolateConsumerEnable: Boolean
|
|
2558
2590
|
# @param AckTimeOut: 消费者 Ack 超时时间,单位:秒,范围60-(3600*24)
|
|
2559
2591
|
# @type AckTimeOut: Integer
|
|
2592
|
+
# @param PulsarTopicMessageType: Pulsar主题消息类型0: 混合消息1:普通消息2:延迟消息
|
|
2593
|
+
# @type PulsarTopicMessageType: Integer
|
|
2560
2594
|
|
|
2561
|
-
attr_accessor :EnvironmentId, :TopicName, :Partitions, :ClusterId, :Remark, :TopicType, :PulsarTopicType, :MsgTTL, :UnackPolicy, :IsolateConsumerEnable, :AckTimeOut
|
|
2595
|
+
attr_accessor :EnvironmentId, :TopicName, :Partitions, :ClusterId, :Remark, :TopicType, :PulsarTopicType, :MsgTTL, :UnackPolicy, :IsolateConsumerEnable, :AckTimeOut, :PulsarTopicMessageType
|
|
2562
2596
|
|
|
2563
|
-
def initialize(environmentid=nil, topicname=nil, partitions=nil, clusterid=nil, remark=nil, topictype=nil, pulsartopictype=nil, msgttl=nil, unackpolicy=nil, isolateconsumerenable=nil, acktimeout=nil)
|
|
2597
|
+
def initialize(environmentid=nil, topicname=nil, partitions=nil, clusterid=nil, remark=nil, topictype=nil, pulsartopictype=nil, msgttl=nil, unackpolicy=nil, isolateconsumerenable=nil, acktimeout=nil, pulsartopicmessagetype=nil)
|
|
2564
2598
|
@EnvironmentId = environmentid
|
|
2565
2599
|
@TopicName = topicname
|
|
2566
2600
|
@Partitions = partitions
|
|
@@ -2572,6 +2606,7 @@ module TencentCloud
|
|
|
2572
2606
|
@UnackPolicy = unackpolicy
|
|
2573
2607
|
@IsolateConsumerEnable = isolateconsumerenable
|
|
2574
2608
|
@AckTimeOut = acktimeout
|
|
2609
|
+
@PulsarTopicMessageType = pulsartopicmessagetype
|
|
2575
2610
|
end
|
|
2576
2611
|
|
|
2577
2612
|
def deserialize(params)
|
|
@@ -2586,6 +2621,7 @@ module TencentCloud
|
|
|
2586
2621
|
@UnackPolicy = params['UnackPolicy']
|
|
2587
2622
|
@IsolateConsumerEnable = params['IsolateConsumerEnable']
|
|
2588
2623
|
@AckTimeOut = params['AckTimeOut']
|
|
2624
|
+
@PulsarTopicMessageType = params['PulsarTopicMessageType']
|
|
2589
2625
|
end
|
|
2590
2626
|
end
|
|
2591
2627
|
|
|
@@ -3123,7 +3159,7 @@ module TencentCloud
|
|
|
3123
3159
|
|
|
3124
3160
|
# DeleteRocketMQEnvironmentRoles请求参数结构体
|
|
3125
3161
|
class DeleteRocketMQEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
|
|
3126
|
-
# @param EnvironmentId:
|
|
3162
|
+
# @param EnvironmentId: 命名空间,4.x 通用集群命名空间固定为: tdmq_default
|
|
3127
3163
|
# @type EnvironmentId: String
|
|
3128
3164
|
# @param RoleNames: 角色名称数组。
|
|
3129
3165
|
# @type RoleNames: Array
|
|
@@ -4205,12 +4241,16 @@ module TencentCloud
|
|
|
4205
4241
|
# @type Replicas: Integer
|
|
4206
4242
|
# @param Remark: 备注。
|
|
4207
4243
|
# @type Remark: String
|
|
4244
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
4245
|
+
# @type SubscriptionExpirationTime: Integer
|
|
4246
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间开关
|
|
4247
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
4208
4248
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4209
4249
|
# @type RequestId: String
|
|
4210
4250
|
|
|
4211
|
-
attr_accessor :MsgTTL, :RateInByte, :RateInSize, :RetentionHours, :RetentionSize, :EnvironmentId, :Replicas, :Remark, :RequestId
|
|
4251
|
+
attr_accessor :MsgTTL, :RateInByte, :RateInSize, :RetentionHours, :RetentionSize, :EnvironmentId, :Replicas, :Remark, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable, :RequestId
|
|
4212
4252
|
|
|
4213
|
-
def initialize(msgttl=nil, rateinbyte=nil, rateinsize=nil, retentionhours=nil, retentionsize=nil, environmentid=nil, replicas=nil, remark=nil, requestid=nil)
|
|
4253
|
+
def initialize(msgttl=nil, rateinbyte=nil, rateinsize=nil, retentionhours=nil, retentionsize=nil, environmentid=nil, replicas=nil, remark=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil, requestid=nil)
|
|
4214
4254
|
@MsgTTL = msgttl
|
|
4215
4255
|
@RateInByte = rateinbyte
|
|
4216
4256
|
@RateInSize = rateinsize
|
|
@@ -4219,6 +4259,8 @@ module TencentCloud
|
|
|
4219
4259
|
@EnvironmentId = environmentid
|
|
4220
4260
|
@Replicas = replicas
|
|
4221
4261
|
@Remark = remark
|
|
4262
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
4263
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
4222
4264
|
@RequestId = requestid
|
|
4223
4265
|
end
|
|
4224
4266
|
|
|
@@ -4231,6 +4273,8 @@ module TencentCloud
|
|
|
4231
4273
|
@EnvironmentId = params['EnvironmentId']
|
|
4232
4274
|
@Replicas = params['Replicas']
|
|
4233
4275
|
@Remark = params['Remark']
|
|
4276
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
4277
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
4234
4278
|
@RequestId = params['RequestId']
|
|
4235
4279
|
end
|
|
4236
4280
|
end
|
|
@@ -4558,10 +4602,12 @@ module TencentCloud
|
|
|
4558
4602
|
# @type SubscriptionName: String
|
|
4559
4603
|
# @param ClusterId: Pulsar 集群的ID
|
|
4560
4604
|
# @type ClusterId: String
|
|
4605
|
+
# @param TopicName: topic 名字
|
|
4606
|
+
# @type TopicName: String
|
|
4561
4607
|
|
|
4562
|
-
attr_accessor :EnvironmentId, :MsgId, :ProduceTime, :Offset, :Limit, :SubscriptionName, :ClusterId
|
|
4608
|
+
attr_accessor :EnvironmentId, :MsgId, :ProduceTime, :Offset, :Limit, :SubscriptionName, :ClusterId, :TopicName
|
|
4563
4609
|
|
|
4564
|
-
def initialize(environmentid=nil, msgid=nil, producetime=nil, offset=nil, limit=nil, subscriptionname=nil, clusterid=nil)
|
|
4610
|
+
def initialize(environmentid=nil, msgid=nil, producetime=nil, offset=nil, limit=nil, subscriptionname=nil, clusterid=nil, topicname=nil)
|
|
4565
4611
|
@EnvironmentId = environmentid
|
|
4566
4612
|
@MsgId = msgid
|
|
4567
4613
|
@ProduceTime = producetime
|
|
@@ -4569,6 +4615,7 @@ module TencentCloud
|
|
|
4569
4615
|
@Limit = limit
|
|
4570
4616
|
@SubscriptionName = subscriptionname
|
|
4571
4617
|
@ClusterId = clusterid
|
|
4618
|
+
@TopicName = topicname
|
|
4572
4619
|
end
|
|
4573
4620
|
|
|
4574
4621
|
def deserialize(params)
|
|
@@ -4579,6 +4626,7 @@ module TencentCloud
|
|
|
4579
4626
|
@Limit = params['Limit']
|
|
4580
4627
|
@SubscriptionName = params['SubscriptionName']
|
|
4581
4628
|
@ClusterId = params['ClusterId']
|
|
4629
|
+
@TopicName = params['TopicName']
|
|
4582
4630
|
end
|
|
4583
4631
|
end
|
|
4584
4632
|
|
|
@@ -4874,7 +4922,7 @@ module TencentCloud
|
|
|
4874
4922
|
|
|
4875
4923
|
# DescribePulsarProInstanceDetail请求参数结构体
|
|
4876
4924
|
class DescribePulsarProInstanceDetailRequest < TencentCloud::Common::AbstractModel
|
|
4877
|
-
# @param ClusterId: 集群
|
|
4925
|
+
# @param ClusterId: 集群id
|
|
4878
4926
|
# @type ClusterId: String
|
|
4879
4927
|
|
|
4880
4928
|
attr_accessor :ClusterId
|
|
@@ -4898,15 +4946,18 @@ module TencentCloud
|
|
|
4898
4946
|
# @param ClusterSpecInfo: 集群规格信息
|
|
4899
4947
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4900
4948
|
# @type ClusterSpecInfo: :class:`Tencentcloud::Tdmq.v20200217.models.PulsarProClusterSpecInfo`
|
|
4949
|
+
# @param CertificateList: 集群的证书列表
|
|
4950
|
+
# @type CertificateList: Array
|
|
4901
4951
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4902
4952
|
# @type RequestId: String
|
|
4903
4953
|
|
|
4904
|
-
attr_accessor :ClusterInfo, :NetworkAccessPointInfos, :ClusterSpecInfo, :RequestId
|
|
4954
|
+
attr_accessor :ClusterInfo, :NetworkAccessPointInfos, :ClusterSpecInfo, :CertificateList, :RequestId
|
|
4905
4955
|
|
|
4906
|
-
def initialize(clusterinfo=nil, networkaccesspointinfos=nil, clusterspecinfo=nil, requestid=nil)
|
|
4956
|
+
def initialize(clusterinfo=nil, networkaccesspointinfos=nil, clusterspecinfo=nil, certificatelist=nil, requestid=nil)
|
|
4907
4957
|
@ClusterInfo = clusterinfo
|
|
4908
4958
|
@NetworkAccessPointInfos = networkaccesspointinfos
|
|
4909
4959
|
@ClusterSpecInfo = clusterspecinfo
|
|
4960
|
+
@CertificateList = certificatelist
|
|
4910
4961
|
@RequestId = requestid
|
|
4911
4962
|
end
|
|
4912
4963
|
|
|
@@ -4927,6 +4978,14 @@ module TencentCloud
|
|
|
4927
4978
|
@ClusterSpecInfo = PulsarProClusterSpecInfo.new
|
|
4928
4979
|
@ClusterSpecInfo.deserialize(params['ClusterSpecInfo'])
|
|
4929
4980
|
end
|
|
4981
|
+
unless params['CertificateList'].nil?
|
|
4982
|
+
@CertificateList = []
|
|
4983
|
+
params['CertificateList'].each do |i|
|
|
4984
|
+
certificateinfo_tmp = CertificateInfo.new
|
|
4985
|
+
certificateinfo_tmp.deserialize(i)
|
|
4986
|
+
@CertificateList << certificateinfo_tmp
|
|
4987
|
+
end
|
|
4988
|
+
end
|
|
4930
4989
|
@RequestId = params['RequestId']
|
|
4931
4990
|
end
|
|
4932
4991
|
end
|
|
@@ -6209,7 +6268,7 @@ module TencentCloud
|
|
|
6209
6268
|
class DescribeRocketMQEnvironmentRolesRequest < TencentCloud::Common::AbstractModel
|
|
6210
6269
|
# @param ClusterId: 必填字段,RocketMQ集群的ID
|
|
6211
6270
|
# @type ClusterId: String
|
|
6212
|
-
# @param EnvironmentId:
|
|
6271
|
+
# @param EnvironmentId: 命名空间,4.x 通用集群命名空间固定为: tdmq_default
|
|
6213
6272
|
# @type EnvironmentId: String
|
|
6214
6273
|
# @param Offset: 起始下标,不填默认为0。
|
|
6215
6274
|
# @type Offset: Integer
|
|
@@ -6250,9 +6309,9 @@ module TencentCloud
|
|
|
6250
6309
|
|
|
6251
6310
|
# DescribeRocketMQEnvironmentRoles返回参数结构体
|
|
6252
6311
|
class DescribeRocketMQEnvironmentRolesResponse < TencentCloud::Common::AbstractModel
|
|
6253
|
-
# @param TotalCount:
|
|
6312
|
+
# @param TotalCount: 总数
|
|
6254
6313
|
# @type TotalCount: Integer
|
|
6255
|
-
# @param EnvironmentRoleSets:
|
|
6314
|
+
# @param EnvironmentRoleSets: 角色授权列表
|
|
6256
6315
|
# @type EnvironmentRoleSets: Array
|
|
6257
6316
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6258
6317
|
# @type RequestId: String
|
|
@@ -6970,9 +7029,9 @@ module TencentCloud
|
|
|
6970
7029
|
|
|
6971
7030
|
# DescribeRocketMQRoles返回参数结构体
|
|
6972
7031
|
class DescribeRocketMQRolesResponse < TencentCloud::Common::AbstractModel
|
|
6973
|
-
# @param TotalCount:
|
|
7032
|
+
# @param TotalCount: 总数
|
|
6974
7033
|
# @type TotalCount: Integer
|
|
6975
|
-
# @param RoleSets:
|
|
7034
|
+
# @param RoleSets: 角色列表
|
|
6976
7035
|
# @type RoleSets: Array
|
|
6977
7036
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6978
7037
|
# @type RequestId: String
|
|
@@ -8048,7 +8107,10 @@ module TencentCloud
|
|
|
8048
8107
|
# @type PermWrite: Boolean
|
|
8049
8108
|
# @param PermRead: 是否开启消费权限
|
|
8050
8109
|
# @type PermRead: Boolean
|
|
8051
|
-
# @param ResourceType:
|
|
8110
|
+
# @param ResourceType: 授权资源类型,枚举值如下:
|
|
8111
|
+
# - Topic:主题维度
|
|
8112
|
+
# - Group:消费组维度
|
|
8113
|
+
# - Cluster:集群维度(默认值)
|
|
8052
8114
|
# @type ResourceType: String
|
|
8053
8115
|
# @param Remark: 资源备注
|
|
8054
8116
|
# @type Remark: String
|
|
@@ -8143,10 +8205,14 @@ module TencentCloud
|
|
|
8143
8205
|
# @param AutoSubscriptionCreation: 是否自动创建订阅
|
|
8144
8206
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8145
8207
|
# @type AutoSubscriptionCreation: Boolean
|
|
8208
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
8209
|
+
# @type SubscriptionExpirationTime: Integer
|
|
8210
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间开关
|
|
8211
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
8146
8212
|
|
|
8147
|
-
attr_accessor :EnvironmentId, :Remark, :MsgTTL, :CreateTime, :UpdateTime, :NamespaceId, :NamespaceName, :TopicNum, :RetentionPolicy, :AutoSubscriptionCreation
|
|
8213
|
+
attr_accessor :EnvironmentId, :Remark, :MsgTTL, :CreateTime, :UpdateTime, :NamespaceId, :NamespaceName, :TopicNum, :RetentionPolicy, :AutoSubscriptionCreation, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable
|
|
8148
8214
|
|
|
8149
|
-
def initialize(environmentid=nil, remark=nil, msgttl=nil, createtime=nil, updatetime=nil, namespaceid=nil, namespacename=nil, topicnum=nil, retentionpolicy=nil, autosubscriptioncreation=nil)
|
|
8215
|
+
def initialize(environmentid=nil, remark=nil, msgttl=nil, createtime=nil, updatetime=nil, namespaceid=nil, namespacename=nil, topicnum=nil, retentionpolicy=nil, autosubscriptioncreation=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil)
|
|
8150
8216
|
@EnvironmentId = environmentid
|
|
8151
8217
|
@Remark = remark
|
|
8152
8218
|
@MsgTTL = msgttl
|
|
@@ -8157,6 +8223,8 @@ module TencentCloud
|
|
|
8157
8223
|
@TopicNum = topicnum
|
|
8158
8224
|
@RetentionPolicy = retentionpolicy
|
|
8159
8225
|
@AutoSubscriptionCreation = autosubscriptioncreation
|
|
8226
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
8227
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
8160
8228
|
end
|
|
8161
8229
|
|
|
8162
8230
|
def deserialize(params)
|
|
@@ -8173,6 +8241,8 @@ module TencentCloud
|
|
|
8173
8241
|
@RetentionPolicy.deserialize(params['RetentionPolicy'])
|
|
8174
8242
|
end
|
|
8175
8243
|
@AutoSubscriptionCreation = params['AutoSubscriptionCreation']
|
|
8244
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
8245
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
8176
8246
|
end
|
|
8177
8247
|
end
|
|
8178
8248
|
|
|
@@ -8665,10 +8735,14 @@ module TencentCloud
|
|
|
8665
8735
|
# @param PublicAccessEnabled: public Access Enabled
|
|
8666
8736
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
8667
8737
|
# @type PublicAccessEnabled: Boolean
|
|
8738
|
+
# @param TagList: 实例标签列表
|
|
8739
|
+
# @type TagList: Array
|
|
8740
|
+
# @param TenantSpec: 实例规格
|
|
8741
|
+
# @type TenantSpec: String
|
|
8668
8742
|
|
|
8669
|
-
attr_accessor :TenantId, :TenantName, :CustomerUin, :CustomerAppId, :ClusterName, :Type, :MaxNamespaces, :UsedNamespaces, :MaxTopics, :UsedTopics, :MaxPartitions, :UsedPartitions, :MaxMsgBacklogSize, :MaxPublishTps, :MaxRetention, :CreateTime, :UpdateTime, :MaxDispatchTps, :MaxDispatchRateInBytes, :MaxPublishRateInBytes, :MaxRetentionSizeInMB, :PublicAccessEnabled
|
|
8743
|
+
attr_accessor :TenantId, :TenantName, :CustomerUin, :CustomerAppId, :ClusterName, :Type, :MaxNamespaces, :UsedNamespaces, :MaxTopics, :UsedTopics, :MaxPartitions, :UsedPartitions, :MaxMsgBacklogSize, :MaxPublishTps, :MaxRetention, :CreateTime, :UpdateTime, :MaxDispatchTps, :MaxDispatchRateInBytes, :MaxPublishRateInBytes, :MaxRetentionSizeInMB, :PublicAccessEnabled, :TagList, :TenantSpec
|
|
8670
8744
|
|
|
8671
|
-
def initialize(tenantid=nil, tenantname=nil, customeruin=nil, customerappid=nil, clustername=nil, type=nil, maxnamespaces=nil, usednamespaces=nil, maxtopics=nil, usedtopics=nil, maxpartitions=nil, usedpartitions=nil, maxmsgbacklogsize=nil, maxpublishtps=nil, maxretention=nil, createtime=nil, updatetime=nil, maxdispatchtps=nil, maxdispatchrateinbytes=nil, maxpublishrateinbytes=nil, maxretentionsizeinmb=nil, publicaccessenabled=nil)
|
|
8745
|
+
def initialize(tenantid=nil, tenantname=nil, customeruin=nil, customerappid=nil, clustername=nil, type=nil, maxnamespaces=nil, usednamespaces=nil, maxtopics=nil, usedtopics=nil, maxpartitions=nil, usedpartitions=nil, maxmsgbacklogsize=nil, maxpublishtps=nil, maxretention=nil, createtime=nil, updatetime=nil, maxdispatchtps=nil, maxdispatchrateinbytes=nil, maxpublishrateinbytes=nil, maxretentionsizeinmb=nil, publicaccessenabled=nil, taglist=nil, tenantspec=nil)
|
|
8672
8746
|
@TenantId = tenantid
|
|
8673
8747
|
@TenantName = tenantname
|
|
8674
8748
|
@CustomerUin = customeruin
|
|
@@ -8691,6 +8765,8 @@ module TencentCloud
|
|
|
8691
8765
|
@MaxPublishRateInBytes = maxpublishrateinbytes
|
|
8692
8766
|
@MaxRetentionSizeInMB = maxretentionsizeinmb
|
|
8693
8767
|
@PublicAccessEnabled = publicaccessenabled
|
|
8768
|
+
@TagList = taglist
|
|
8769
|
+
@TenantSpec = tenantspec
|
|
8694
8770
|
end
|
|
8695
8771
|
|
|
8696
8772
|
def deserialize(params)
|
|
@@ -8716,6 +8792,8 @@ module TencentCloud
|
|
|
8716
8792
|
@MaxPublishRateInBytes = params['MaxPublishRateInBytes']
|
|
8717
8793
|
@MaxRetentionSizeInMB = params['MaxRetentionSizeInMB']
|
|
8718
8794
|
@PublicAccessEnabled = params['PublicAccessEnabled']
|
|
8795
|
+
@TagList = params['TagList']
|
|
8796
|
+
@TenantSpec = params['TenantSpec']
|
|
8719
8797
|
end
|
|
8720
8798
|
end
|
|
8721
8799
|
|
|
@@ -9025,16 +9103,22 @@ module TencentCloud
|
|
|
9025
9103
|
# @type RetentionPolicy: :class:`Tencentcloud::Tdmq.v20200217.models.RetentionPolicy`
|
|
9026
9104
|
# @param AutoSubscriptionCreation: 是否开启自动创建订阅
|
|
9027
9105
|
# @type AutoSubscriptionCreation: Boolean
|
|
9106
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
9107
|
+
# @type SubscriptionExpirationTime: Integer
|
|
9108
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间开关
|
|
9109
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
9028
9110
|
|
|
9029
|
-
attr_accessor :EnvironmentId, :MsgTTL, :ClusterId, :Remark, :RetentionPolicy, :AutoSubscriptionCreation
|
|
9111
|
+
attr_accessor :EnvironmentId, :MsgTTL, :ClusterId, :Remark, :RetentionPolicy, :AutoSubscriptionCreation, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable
|
|
9030
9112
|
|
|
9031
|
-
def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil)
|
|
9113
|
+
def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil)
|
|
9032
9114
|
@EnvironmentId = environmentid
|
|
9033
9115
|
@MsgTTL = msgttl
|
|
9034
9116
|
@ClusterId = clusterid
|
|
9035
9117
|
@Remark = remark
|
|
9036
9118
|
@RetentionPolicy = retentionpolicy
|
|
9037
9119
|
@AutoSubscriptionCreation = autosubscriptioncreation
|
|
9120
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
9121
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
9038
9122
|
end
|
|
9039
9123
|
|
|
9040
9124
|
def deserialize(params)
|
|
@@ -9047,6 +9131,8 @@ module TencentCloud
|
|
|
9047
9131
|
@RetentionPolicy.deserialize(params['RetentionPolicy'])
|
|
9048
9132
|
end
|
|
9049
9133
|
@AutoSubscriptionCreation = params['AutoSubscriptionCreation']
|
|
9134
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
9135
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
9050
9136
|
end
|
|
9051
9137
|
end
|
|
9052
9138
|
|
|
@@ -9062,16 +9148,22 @@ module TencentCloud
|
|
|
9062
9148
|
# @param NamespaceId: 命名空间ID
|
|
9063
9149
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9064
9150
|
# @type NamespaceId: String
|
|
9151
|
+
# @param SubscriptionExpirationTime: 离线订阅过期自动清理时间
|
|
9152
|
+
# @type SubscriptionExpirationTime: Integer
|
|
9153
|
+
# @param SubscriptionExpirationTimeEnable: 离线订阅过期自动清理时间开关
|
|
9154
|
+
# @type SubscriptionExpirationTimeEnable: Boolean
|
|
9065
9155
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9066
9156
|
# @type RequestId: String
|
|
9067
9157
|
|
|
9068
|
-
attr_accessor :EnvironmentId, :MsgTTL, :Remark, :NamespaceId, :RequestId
|
|
9158
|
+
attr_accessor :EnvironmentId, :MsgTTL, :Remark, :NamespaceId, :SubscriptionExpirationTime, :SubscriptionExpirationTimeEnable, :RequestId
|
|
9069
9159
|
|
|
9070
|
-
def initialize(environmentid=nil, msgttl=nil, remark=nil, namespaceid=nil, requestid=nil)
|
|
9160
|
+
def initialize(environmentid=nil, msgttl=nil, remark=nil, namespaceid=nil, subscriptionexpirationtime=nil, subscriptionexpirationtimeenable=nil, requestid=nil)
|
|
9071
9161
|
@EnvironmentId = environmentid
|
|
9072
9162
|
@MsgTTL = msgttl
|
|
9073
9163
|
@Remark = remark
|
|
9074
9164
|
@NamespaceId = namespaceid
|
|
9165
|
+
@SubscriptionExpirationTime = subscriptionexpirationtime
|
|
9166
|
+
@SubscriptionExpirationTimeEnable = subscriptionexpirationtimeenable
|
|
9075
9167
|
@RequestId = requestid
|
|
9076
9168
|
end
|
|
9077
9169
|
|
|
@@ -9080,6 +9172,8 @@ module TencentCloud
|
|
|
9080
9172
|
@MsgTTL = params['MsgTTL']
|
|
9081
9173
|
@Remark = params['Remark']
|
|
9082
9174
|
@NamespaceId = params['NamespaceId']
|
|
9175
|
+
@SubscriptionExpirationTime = params['SubscriptionExpirationTime']
|
|
9176
|
+
@SubscriptionExpirationTimeEnable = params['SubscriptionExpirationTimeEnable']
|
|
9083
9177
|
@RequestId = params['RequestId']
|
|
9084
9178
|
end
|
|
9085
9179
|
end
|
|
@@ -9441,7 +9535,7 @@ module TencentCloud
|
|
|
9441
9535
|
|
|
9442
9536
|
# ModifyRocketMQEnvironmentRole请求参数结构体
|
|
9443
9537
|
class ModifyRocketMQEnvironmentRoleRequest < TencentCloud::Common::AbstractModel
|
|
9444
|
-
# @param EnvironmentId:
|
|
9538
|
+
# @param EnvironmentId: 命名空间,4.x 通用集群命名空间固定为: tdmq_default
|
|
9445
9539
|
# @type EnvironmentId: String
|
|
9446
9540
|
# @param RoleName: 角色名称。
|
|
9447
9541
|
# @type RoleName: String
|
|
@@ -10339,10 +10433,12 @@ module TencentCloud
|
|
|
10339
10433
|
# @type Tls: Boolean
|
|
10340
10434
|
# @param CustomUrl: 接入点自定义域名
|
|
10341
10435
|
# @type CustomUrl: String
|
|
10436
|
+
# @param SecurityGroupIds: 接入点绑定的安全组id列表,仅限vpc接入点有效
|
|
10437
|
+
# @type SecurityGroupIds: Array
|
|
10342
10438
|
|
|
10343
|
-
attr_accessor :VpcId, :SubnetId, :Endpoint, :InstanceId, :RouteType, :OperationType, :AccessPointsType, :Bandwidth, :SecurityPolicy, :StandardAccessPoint, :ZoneName, :Tls, :CustomUrl
|
|
10439
|
+
attr_accessor :VpcId, :SubnetId, :Endpoint, :InstanceId, :RouteType, :OperationType, :AccessPointsType, :Bandwidth, :SecurityPolicy, :StandardAccessPoint, :ZoneName, :Tls, :CustomUrl, :SecurityGroupIds
|
|
10344
10440
|
|
|
10345
|
-
def initialize(vpcid=nil, subnetid=nil, endpoint=nil, instanceid=nil, routetype=nil, operationtype=nil, accesspointstype=nil, bandwidth=nil, securitypolicy=nil, standardaccesspoint=nil, zonename=nil, tls=nil, customurl=nil)
|
|
10441
|
+
def initialize(vpcid=nil, subnetid=nil, endpoint=nil, instanceid=nil, routetype=nil, operationtype=nil, accesspointstype=nil, bandwidth=nil, securitypolicy=nil, standardaccesspoint=nil, zonename=nil, tls=nil, customurl=nil, securitygroupids=nil)
|
|
10346
10442
|
@VpcId = vpcid
|
|
10347
10443
|
@SubnetId = subnetid
|
|
10348
10444
|
@Endpoint = endpoint
|
|
@@ -10356,6 +10452,7 @@ module TencentCloud
|
|
|
10356
10452
|
@ZoneName = zonename
|
|
10357
10453
|
@Tls = tls
|
|
10358
10454
|
@CustomUrl = customurl
|
|
10455
|
+
@SecurityGroupIds = securitygroupids
|
|
10359
10456
|
end
|
|
10360
10457
|
|
|
10361
10458
|
def deserialize(params)
|
|
@@ -10379,6 +10476,7 @@ module TencentCloud
|
|
|
10379
10476
|
@ZoneName = params['ZoneName']
|
|
10380
10477
|
@Tls = params['Tls']
|
|
10381
10478
|
@CustomUrl = params['CustomUrl']
|
|
10479
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
|
10382
10480
|
end
|
|
10383
10481
|
end
|
|
10384
10482
|
|
|
@@ -11757,7 +11855,7 @@ module TencentCloud
|
|
|
11757
11855
|
class ResetRocketMQConsumerOffSetRequest < TencentCloud::Common::AbstractModel
|
|
11758
11856
|
# @param ClusterId: 集群ID
|
|
11759
11857
|
# @type ClusterId: String
|
|
11760
|
-
# @param NamespaceId:
|
|
11858
|
+
# @param NamespaceId: 命名空间,4.x 通用集群命名空间固定为: tdmq_default
|
|
11761
11859
|
# @type NamespaceId: String
|
|
11762
11860
|
# @param GroupId: 消费组名称
|
|
11763
11861
|
# @type GroupId: String
|
|
@@ -11765,7 +11863,7 @@ module TencentCloud
|
|
|
11765
11863
|
# @type Type: Integer
|
|
11766
11864
|
# @param Topic: 主题名称
|
|
11767
11865
|
# @type Topic: String
|
|
11768
|
-
# @param ResetTimestamp: 重置指定的时间戳,仅在 Type 为1
|
|
11866
|
+
# @param ResetTimestamp: 重置指定的时间戳,仅在 Type 为1时生效,以毫秒为单位
|
|
11769
11867
|
# @type ResetTimestamp: Integer
|
|
11770
11868
|
# @param RetryFlag: 重置的是否是retry topic
|
|
11771
11869
|
# @type RetryFlag: Boolean
|
|
@@ -13765,10 +13863,12 @@ module TencentCloud
|
|
|
13765
13863
|
# @type IsolateConsumerEnable: Boolean
|
|
13766
13864
|
# @param AckTimeOut: 消费者 Ack 超时时间,单位:秒
|
|
13767
13865
|
# @type AckTimeOut: Integer
|
|
13866
|
+
# @param PulsarTopicMessageType: Pulsar主题消息类型0: 混合消息1:普通消息2:延迟消息
|
|
13867
|
+
# @type PulsarTopicMessageType: Integer
|
|
13768
13868
|
|
|
13769
|
-
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, :IsolateConsumerEnable, :AckTimeOut
|
|
13869
|
+
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, :IsolateConsumerEnable, :AckTimeOut, :PulsarTopicMessageType
|
|
13770
13870
|
|
|
13771
|
-
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, isolateconsumerenable=nil, acktimeout=nil)
|
|
13871
|
+
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, isolateconsumerenable=nil, acktimeout=nil, pulsartopicmessagetype=nil)
|
|
13772
13872
|
@AverageMsgSize = averagemsgsize
|
|
13773
13873
|
@ConsumerCount = consumercount
|
|
13774
13874
|
@LastConfirmedEntry = lastconfirmedentry
|
|
@@ -13796,6 +13896,7 @@ module TencentCloud
|
|
|
13796
13896
|
@Tenant = tenant
|
|
13797
13897
|
@IsolateConsumerEnable = isolateconsumerenable
|
|
13798
13898
|
@AckTimeOut = acktimeout
|
|
13899
|
+
@PulsarTopicMessageType = pulsartopicmessagetype
|
|
13799
13900
|
end
|
|
13800
13901
|
|
|
13801
13902
|
def deserialize(params)
|
|
@@ -13833,6 +13934,7 @@ module TencentCloud
|
|
|
13833
13934
|
@Tenant = params['Tenant']
|
|
13834
13935
|
@IsolateConsumerEnable = params['IsolateConsumerEnable']
|
|
13835
13936
|
@AckTimeOut = params['AckTimeOut']
|
|
13937
|
+
@PulsarTopicMessageType = params['PulsarTopicMessageType']
|
|
13836
13938
|
end
|
|
13837
13939
|
end
|
|
13838
13940
|
|
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.1178
|
|
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-12-
|
|
11
|
+
date: 2025-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -34,8 +34,8 @@ extensions: []
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- lib/tencentcloud-sdk-tdmq.rb
|
|
37
|
-
- lib/v20200217/client.rb
|
|
38
37
|
- lib/v20200217/models.rb
|
|
38
|
+
- lib/v20200217/client.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|