tencentcloud-sdk-tdmq 3.0.1188 → 3.0.1201
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 +25 -0
- data/lib/v20200217/models.rb +175 -23
- 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: d9f27e843d1855a03d88e61021388dcc7ce1d43a
|
|
4
|
+
data.tar.gz: f9e1541800b099d55bc14ba34b181fac80d16838
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47717c3668f044a6f1551bd2985492cbc875191d6c8f0a925e87175d945412f518950844993bfb922dc310f6c53dcb96deaf4aaabad66ac5d808ae658eaa2bb2
|
|
7
|
+
data.tar.gz: 58c558e2c1be51e27b6eb2b9b6ba53a87952b36d0f3d2fb4faf4fbfb3568acadeed52e07e1b538c916ee11cd7636de93a48de7fd84af2236087f8866f2764400
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1201
|
data/lib/v20200217/client.rb
CHANGED
|
@@ -2116,6 +2116,31 @@ module TencentCloud
|
|
|
2116
2116
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2117
2117
|
end
|
|
2118
2118
|
|
|
2119
|
+
# 查询通用集群售卖规格。
|
|
2120
|
+
# 当前 API 适用集群:4.x 通用集群。查询 5.x 集群的售卖规格接口文档见 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676)。
|
|
2121
|
+
|
|
2122
|
+
# @param request: Request instance for DescribeRocketMQGeneralSKUs.
|
|
2123
|
+
# @type request: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQGeneralSKUsRequest`
|
|
2124
|
+
# @rtype: :class:`Tencentcloud::tdmq::V20200217::DescribeRocketMQGeneralSKUsResponse`
|
|
2125
|
+
def DescribeRocketMQGeneralSKUs(request)
|
|
2126
|
+
body = send_request('DescribeRocketMQGeneralSKUs', request.serialize)
|
|
2127
|
+
response = JSON.parse(body)
|
|
2128
|
+
if response['Response'].key?('Error') == false
|
|
2129
|
+
model = DescribeRocketMQGeneralSKUsResponse.new
|
|
2130
|
+
model.deserialize(response['Response'])
|
|
2131
|
+
model
|
|
2132
|
+
else
|
|
2133
|
+
code = response['Response']['Error']['Code']
|
|
2134
|
+
message = response['Response']['Error']['Message']
|
|
2135
|
+
reqid = response['Response']['RequestId']
|
|
2136
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2137
|
+
end
|
|
2138
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2139
|
+
raise e
|
|
2140
|
+
rescue StandardError => e
|
|
2141
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2142
|
+
end
|
|
2143
|
+
|
|
2119
2144
|
# 查询 RocketMQ 消费组列表。
|
|
2120
2145
|
# 当前 API 适用集群:4.x 虚拟集群,4.x 专享集群 和 4.x 通用集群。查询 5.x 集群的消费组列表接口文档见 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535)。
|
|
2121
2146
|
|
data/lib/v20200217/models.rb
CHANGED
|
@@ -6338,6 +6338,44 @@ module TencentCloud
|
|
|
6338
6338
|
end
|
|
6339
6339
|
end
|
|
6340
6340
|
|
|
6341
|
+
# DescribeRocketMQGeneralSKUs请求参数结构体
|
|
6342
|
+
class DescribeRocketMQGeneralSKUsRequest < TencentCloud::Common::AbstractModel
|
|
6343
|
+
|
|
6344
|
+
|
|
6345
|
+
def initialize()
|
|
6346
|
+
end
|
|
6347
|
+
|
|
6348
|
+
def deserialize(params)
|
|
6349
|
+
end
|
|
6350
|
+
end
|
|
6351
|
+
|
|
6352
|
+
# DescribeRocketMQGeneralSKUs返回参数结构体
|
|
6353
|
+
class DescribeRocketMQGeneralSKUsResponse < TencentCloud::Common::AbstractModel
|
|
6354
|
+
# @param Skus: 商品配置信息
|
|
6355
|
+
# @type Skus: Array
|
|
6356
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6357
|
+
# @type RequestId: String
|
|
6358
|
+
|
|
6359
|
+
attr_accessor :Skus, :RequestId
|
|
6360
|
+
|
|
6361
|
+
def initialize(skus=nil, requestid=nil)
|
|
6362
|
+
@Skus = skus
|
|
6363
|
+
@RequestId = requestid
|
|
6364
|
+
end
|
|
6365
|
+
|
|
6366
|
+
def deserialize(params)
|
|
6367
|
+
unless params['Skus'].nil?
|
|
6368
|
+
@Skus = []
|
|
6369
|
+
params['Skus'].each do |i|
|
|
6370
|
+
generalsku_tmp = GeneralSKU.new
|
|
6371
|
+
generalsku_tmp.deserialize(i)
|
|
6372
|
+
@Skus << generalsku_tmp
|
|
6373
|
+
end
|
|
6374
|
+
end
|
|
6375
|
+
@RequestId = params['RequestId']
|
|
6376
|
+
end
|
|
6377
|
+
end
|
|
6378
|
+
|
|
6341
6379
|
# DescribeRocketMQGroups请求参数结构体
|
|
6342
6380
|
class DescribeRocketMQGroupsRequest < TencentCloud::Common::AbstractModel
|
|
6343
6381
|
# @param ClusterId: 集群ID
|
|
@@ -6523,8 +6561,8 @@ module TencentCloud
|
|
|
6523
6561
|
|
|
6524
6562
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :PulsarMsgId, :QueryDlqMsg, :QueryDeadLetterMessage, :Offset, :Limit, :FilterTrackGroup
|
|
6525
6563
|
extend Gem::Deprecate
|
|
6526
|
-
deprecate :QueryDlqMsg, :none,
|
|
6527
|
-
deprecate :QueryDlqMsg=, :none,
|
|
6564
|
+
deprecate :QueryDlqMsg, :none, 2026, 1
|
|
6565
|
+
deprecate :QueryDlqMsg=, :none, 2026, 1
|
|
6528
6566
|
|
|
6529
6567
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, pulsarmsgid=nil, querydlqmsg=nil, querydeadlettermessage=nil, offset=nil, limit=nil, filtertrackgroup=nil)
|
|
6530
6568
|
@ClusterId = clusterid
|
|
@@ -6629,8 +6667,8 @@ module TencentCloud
|
|
|
6629
6667
|
|
|
6630
6668
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :MsgId, :GroupName, :QueryDLQMsg, :QueryDeadLetterMessage
|
|
6631
6669
|
extend Gem::Deprecate
|
|
6632
|
-
deprecate :QueryDLQMsg, :none,
|
|
6633
|
-
deprecate :QueryDLQMsg=, :none,
|
|
6670
|
+
deprecate :QueryDLQMsg, :none, 2026, 1
|
|
6671
|
+
deprecate :QueryDLQMsg=, :none, 2026, 1
|
|
6634
6672
|
|
|
6635
6673
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, msgid=nil, groupname=nil, querydlqmsg=nil, querydeadlettermessage=nil)
|
|
6636
6674
|
@ClusterId = clusterid
|
|
@@ -7349,8 +7387,8 @@ module TencentCloud
|
|
|
7349
7387
|
|
|
7350
7388
|
attr_accessor :ClusterId, :EnvironmentId, :TopicName, :StartTime, :EndTime, :MsgId, :MsgKey, :Offset, :Limit, :TaskRequestId, :QueryDlqMsg, :NumOfLatestMsg, :Tag, :QueryDeadLetterMessage
|
|
7351
7389
|
extend Gem::Deprecate
|
|
7352
|
-
deprecate :QueryDlqMsg, :none,
|
|
7353
|
-
deprecate :QueryDlqMsg=, :none,
|
|
7390
|
+
deprecate :QueryDlqMsg, :none, 2026, 1
|
|
7391
|
+
deprecate :QueryDlqMsg=, :none, 2026, 1
|
|
7354
7392
|
|
|
7355
7393
|
def initialize(clusterid=nil, environmentid=nil, topicname=nil, starttime=nil, endtime=nil, msgid=nil, msgkey=nil, offset=nil, limit=nil, taskrequestid=nil, querydlqmsg=nil, numoflatestmsg=nil, tag=nil, querydeadlettermessage=nil)
|
|
7356
7394
|
@ClusterId = clusterid
|
|
@@ -8507,6 +8545,53 @@ module TencentCloud
|
|
|
8507
8545
|
end
|
|
8508
8546
|
end
|
|
8509
8547
|
|
|
8548
|
+
# 通用集群售卖信息
|
|
8549
|
+
class GeneralSKU < TencentCloud::Common::AbstractModel
|
|
8550
|
+
# @param SkuCode: 规格标识
|
|
8551
|
+
# @type SkuCode: String
|
|
8552
|
+
# @param OnSale: 是否可售卖
|
|
8553
|
+
# @type OnSale: Boolean
|
|
8554
|
+
# @param TpsLimit: TPS上限
|
|
8555
|
+
# @type TpsLimit: Integer
|
|
8556
|
+
# @param TopicNumLimit: 主题数免费额度
|
|
8557
|
+
# @type TopicNumLimit: Integer
|
|
8558
|
+
# @param TopicNumUpperLimit: 主题数上限
|
|
8559
|
+
# @type TopicNumUpperLimit: Integer
|
|
8560
|
+
# @param PriceTags: 计费项信息
|
|
8561
|
+
# @type PriceTags: Array
|
|
8562
|
+
# @param NodeCount: 存储节点个数
|
|
8563
|
+
# @type NodeCount: Integer
|
|
8564
|
+
|
|
8565
|
+
attr_accessor :SkuCode, :OnSale, :TpsLimit, :TopicNumLimit, :TopicNumUpperLimit, :PriceTags, :NodeCount
|
|
8566
|
+
|
|
8567
|
+
def initialize(skucode=nil, onsale=nil, tpslimit=nil, topicnumlimit=nil, topicnumupperlimit=nil, pricetags=nil, nodecount=nil)
|
|
8568
|
+
@SkuCode = skucode
|
|
8569
|
+
@OnSale = onsale
|
|
8570
|
+
@TpsLimit = tpslimit
|
|
8571
|
+
@TopicNumLimit = topicnumlimit
|
|
8572
|
+
@TopicNumUpperLimit = topicnumupperlimit
|
|
8573
|
+
@PriceTags = pricetags
|
|
8574
|
+
@NodeCount = nodecount
|
|
8575
|
+
end
|
|
8576
|
+
|
|
8577
|
+
def deserialize(params)
|
|
8578
|
+
@SkuCode = params['SkuCode']
|
|
8579
|
+
@OnSale = params['OnSale']
|
|
8580
|
+
@TpsLimit = params['TpsLimit']
|
|
8581
|
+
@TopicNumLimit = params['TopicNumLimit']
|
|
8582
|
+
@TopicNumUpperLimit = params['TopicNumUpperLimit']
|
|
8583
|
+
unless params['PriceTags'].nil?
|
|
8584
|
+
@PriceTags = []
|
|
8585
|
+
params['PriceTags'].each do |i|
|
|
8586
|
+
pricetag_tmp = PriceTag.new
|
|
8587
|
+
pricetag_tmp.deserialize(i)
|
|
8588
|
+
@PriceTags << pricetag_tmp
|
|
8589
|
+
end
|
|
8590
|
+
end
|
|
8591
|
+
@NodeCount = params['NodeCount']
|
|
8592
|
+
end
|
|
8593
|
+
end
|
|
8594
|
+
|
|
8510
8595
|
# GetTopicList请求参数结构体
|
|
8511
8596
|
class GetTopicListRequest < TencentCloud::Common::AbstractModel
|
|
8512
8597
|
# @param EnvironmentId: 环境(命名空间)名称。
|
|
@@ -9329,7 +9414,7 @@ module TencentCloud
|
|
|
9329
9414
|
class ModifyRabbitMQUserRequest < TencentCloud::Common::AbstractModel
|
|
9330
9415
|
# @param InstanceId: 实例 ID,形如 amqp-xxxxxxxx。有效的 InstanceId 可通过登录 [TDMQ RabbitMQ 控制台](https://console.cloud.tencent.com/trabbitmq/cluster?rid=1)查询。
|
|
9331
9416
|
# @type InstanceId: String
|
|
9332
|
-
# @param User: 用户名,形如
|
|
9417
|
+
# @param User: 用户名,形如rabbitmq。有效的 User 名称可通过登录 [TDMQ RabbitMQ 控制台](https://console.cloud.tencent.com/trabbitmq/cluster?rid=1)查询,点击集群列表中的集群,进入集群详情,并在用户与权限页签中找到用户列表,从而找到用户名称。当前不支持修改admin的密码。
|
|
9333
9418
|
# @type User: String
|
|
9334
9419
|
# @param Password: 密码,登录时使用。规范:不能为空,8-64个字符,至少要包含小写字母、大写字母、数字、特殊字符【()`~!@#$%^&*_=|{}[]:;',.?/】中的两项
|
|
9335
9420
|
# @type Password: String
|
|
@@ -9396,16 +9481,19 @@ module TencentCloud
|
|
|
9396
9481
|
# @type RemoveAllTags: Boolean
|
|
9397
9482
|
# @param Tags: 修改实例的标签信息,全量标签信息,非增量
|
|
9398
9483
|
# @type Tags: Array
|
|
9484
|
+
# @param EnableRiskWarning: 是否开启集群风险提示
|
|
9485
|
+
# @type EnableRiskWarning: Boolean
|
|
9399
9486
|
|
|
9400
|
-
attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection, :RemoveAllTags, :Tags
|
|
9487
|
+
attr_accessor :InstanceId, :ClusterName, :Remark, :EnableDeletionProtection, :RemoveAllTags, :Tags, :EnableRiskWarning
|
|
9401
9488
|
|
|
9402
|
-
def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil, removealltags=nil, tags=nil)
|
|
9489
|
+
def initialize(instanceid=nil, clustername=nil, remark=nil, enabledeletionprotection=nil, removealltags=nil, tags=nil, enableriskwarning=nil)
|
|
9403
9490
|
@InstanceId = instanceid
|
|
9404
9491
|
@ClusterName = clustername
|
|
9405
9492
|
@Remark = remark
|
|
9406
9493
|
@EnableDeletionProtection = enabledeletionprotection
|
|
9407
9494
|
@RemoveAllTags = removealltags
|
|
9408
9495
|
@Tags = tags
|
|
9496
|
+
@EnableRiskWarning = enableriskwarning
|
|
9409
9497
|
end
|
|
9410
9498
|
|
|
9411
9499
|
def deserialize(params)
|
|
@@ -9422,6 +9510,7 @@ module TencentCloud
|
|
|
9422
9510
|
@Tags << tag_tmp
|
|
9423
9511
|
end
|
|
9424
9512
|
end
|
|
9513
|
+
@EnableRiskWarning = params['EnableRiskWarning']
|
|
9425
9514
|
end
|
|
9426
9515
|
end
|
|
9427
9516
|
|
|
@@ -10140,6 +10229,37 @@ module TencentCloud
|
|
|
10140
10229
|
end
|
|
10141
10230
|
end
|
|
10142
10231
|
|
|
10232
|
+
# 价格标签信息,一个完整的价格标签包含计价类别和计费项标签。
|
|
10233
|
+
class PriceTag < TencentCloud::Common::AbstractModel
|
|
10234
|
+
# @param Name: 计价名称。枚举值如下:
|
|
10235
|
+
|
|
10236
|
+
# - tps:TPS基础价
|
|
10237
|
+
# - stepTps:TPS步长
|
|
10238
|
+
# @type Name: String
|
|
10239
|
+
# @param Category: 计价类别
|
|
10240
|
+
# @type Category: String
|
|
10241
|
+
# @param Code: 计费项标签
|
|
10242
|
+
# @type Code: String
|
|
10243
|
+
# @param Step: 计费项对应的步长数
|
|
10244
|
+
# @type Step: Integer
|
|
10245
|
+
|
|
10246
|
+
attr_accessor :Name, :Category, :Code, :Step
|
|
10247
|
+
|
|
10248
|
+
def initialize(name=nil, category=nil, code=nil, step=nil)
|
|
10249
|
+
@Name = name
|
|
10250
|
+
@Category = category
|
|
10251
|
+
@Code = code
|
|
10252
|
+
@Step = step
|
|
10253
|
+
end
|
|
10254
|
+
|
|
10255
|
+
def deserialize(params)
|
|
10256
|
+
@Name = params['Name']
|
|
10257
|
+
@Category = params['Category']
|
|
10258
|
+
@Code = params['Code']
|
|
10259
|
+
@Step = params['Step']
|
|
10260
|
+
end
|
|
10261
|
+
end
|
|
10262
|
+
|
|
10143
10263
|
# 生产者客户端详情
|
|
10144
10264
|
class ProducerInfo < TencentCloud::Common::AbstractModel
|
|
10145
10265
|
# @param ClientId: 客户端ID
|
|
@@ -10842,10 +10962,16 @@ module TencentCloud
|
|
|
10842
10962
|
# @type PublicTlsAccessEndpoint: String
|
|
10843
10963
|
# @param PublicIpReused: 公网IP是否复用
|
|
10844
10964
|
# @type PublicIpReused: Boolean
|
|
10965
|
+
# @param PublicWebConsoleErrorMessage: 公网控制台接入点操作的错误信息
|
|
10966
|
+
# @type PublicWebConsoleErrorMessage: String
|
|
10967
|
+
# @param VpcWebConsoleErrorMessage: 内网控制台接入点操作的错误信息
|
|
10968
|
+
# @type VpcWebConsoleErrorMessage: String
|
|
10969
|
+
# @param PublicDataStreamErrorMessage: 公网接入点操作的错误信息
|
|
10970
|
+
# @type PublicDataStreamErrorMessage: String
|
|
10845
10971
|
|
|
10846
|
-
attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint, :PublicIpReused
|
|
10972
|
+
attr_accessor :PublicAccessEndpoint, :WebConsoleEndpoint, :WebConsoleUsername, :WebConsolePassword, :PublicAccessEndpointStatus, :PublicControlConsoleSwitchStatus, :VpcControlConsoleSwitchStatus, :VpcWebConsoleEndpoint, :PublicWebConsoleSwitchStatus, :VpcWebConsoleSwitchStatus, :PublicDataStreamStatus, :PrometheusEndpointInfo, :WebConsoleDomainEndpoint, :ControlPlaneEndpointInfo, :PublicTlsAccessEndpoint, :PublicIpReused, :PublicWebConsoleErrorMessage, :VpcWebConsoleErrorMessage, :PublicDataStreamErrorMessage
|
|
10847
10973
|
|
|
10848
|
-
def initialize(publicaccessendpoint=nil, webconsoleendpoint=nil, webconsoleusername=nil, webconsolepassword=nil, publicaccessendpointstatus=nil, publiccontrolconsoleswitchstatus=nil, vpccontrolconsoleswitchstatus=nil, vpcwebconsoleendpoint=nil, publicwebconsoleswitchstatus=nil, vpcwebconsoleswitchstatus=nil, publicdatastreamstatus=nil, prometheusendpointinfo=nil, webconsoledomainendpoint=nil, controlplaneendpointinfo=nil, publictlsaccessendpoint=nil, publicipreused=nil)
|
|
10974
|
+
def initialize(publicaccessendpoint=nil, webconsoleendpoint=nil, webconsoleusername=nil, webconsolepassword=nil, publicaccessendpointstatus=nil, publiccontrolconsoleswitchstatus=nil, vpccontrolconsoleswitchstatus=nil, vpcwebconsoleendpoint=nil, publicwebconsoleswitchstatus=nil, vpcwebconsoleswitchstatus=nil, publicdatastreamstatus=nil, prometheusendpointinfo=nil, webconsoledomainendpoint=nil, controlplaneendpointinfo=nil, publictlsaccessendpoint=nil, publicipreused=nil, publicwebconsoleerrormessage=nil, vpcwebconsoleerrormessage=nil, publicdatastreamerrormessage=nil)
|
|
10849
10975
|
@PublicAccessEndpoint = publicaccessendpoint
|
|
10850
10976
|
@WebConsoleEndpoint = webconsoleendpoint
|
|
10851
10977
|
@WebConsoleUsername = webconsoleusername
|
|
@@ -10862,6 +10988,9 @@ module TencentCloud
|
|
|
10862
10988
|
@ControlPlaneEndpointInfo = controlplaneendpointinfo
|
|
10863
10989
|
@PublicTlsAccessEndpoint = publictlsaccessendpoint
|
|
10864
10990
|
@PublicIpReused = publicipreused
|
|
10991
|
+
@PublicWebConsoleErrorMessage = publicwebconsoleerrormessage
|
|
10992
|
+
@VpcWebConsoleErrorMessage = vpcwebconsoleerrormessage
|
|
10993
|
+
@PublicDataStreamErrorMessage = publicdatastreamerrormessage
|
|
10865
10994
|
end
|
|
10866
10995
|
|
|
10867
10996
|
def deserialize(params)
|
|
@@ -10887,6 +11016,9 @@ module TencentCloud
|
|
|
10887
11016
|
end
|
|
10888
11017
|
@PublicTlsAccessEndpoint = params['PublicTlsAccessEndpoint']
|
|
10889
11018
|
@PublicIpReused = params['PublicIpReused']
|
|
11019
|
+
@PublicWebConsoleErrorMessage = params['PublicWebConsoleErrorMessage']
|
|
11020
|
+
@VpcWebConsoleErrorMessage = params['VpcWebConsoleErrorMessage']
|
|
11021
|
+
@PublicDataStreamErrorMessage = params['PublicDataStreamErrorMessage']
|
|
10890
11022
|
end
|
|
10891
11023
|
end
|
|
10892
11024
|
|
|
@@ -10949,10 +11081,18 @@ module TencentCloud
|
|
|
10949
11081
|
# @type Tags: Array
|
|
10950
11082
|
# @param EnableDeletionProtection: 是否已开启删除保护
|
|
10951
11083
|
# @type EnableDeletionProtection: Boolean
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
11084
|
+
# @param MirroredQueueRisk: 是否有vhost未开启镜像队列风险
|
|
11085
|
+
# @type MirroredQueueRisk: Boolean
|
|
11086
|
+
# @param EnableRiskWarning: 是否提示风险
|
|
11087
|
+
# @type EnableRiskWarning: Boolean
|
|
11088
|
+
# @param ConsumeTimeout: 消费超时时间
|
|
11089
|
+
# @type ConsumeTimeout: Integer
|
|
11090
|
+
# @param ChannelMax: 最大Channel数
|
|
11091
|
+
# @type ChannelMax: Integer
|
|
11092
|
+
|
|
11093
|
+
attr_accessor :ClusterId, :ClusterName, :Region, :CreateTime, :Remark, :Vpcs, :ZoneIds, :VirtualHostNumber, :QueueNumber, :MessagePublishRate, :MessageStackNumber, :ExpireTime, :ChannelNumber, :ConnectionNumber, :ConsumerNumber, :ExchangeNumber, :ExceptionInformation, :ClusterStatus, :AutoRenewFlag, :MirrorQueuePolicyFlag, :MessageConsumeRate, :ClusterVersion, :PayMode, :InstanceType, :IsolatedTime, :Container, :Tags, :EnableDeletionProtection, :MirroredQueueRisk, :EnableRiskWarning, :ConsumeTimeout, :ChannelMax
|
|
11094
|
+
|
|
11095
|
+
def initialize(clusterid=nil, clustername=nil, region=nil, createtime=nil, remark=nil, vpcs=nil, zoneids=nil, virtualhostnumber=nil, queuenumber=nil, messagepublishrate=nil, messagestacknumber=nil, expiretime=nil, channelnumber=nil, connectionnumber=nil, consumernumber=nil, exchangenumber=nil, exceptioninformation=nil, clusterstatus=nil, autorenewflag=nil, mirrorqueuepolicyflag=nil, messageconsumerate=nil, clusterversion=nil, paymode=nil, instancetype=nil, isolatedtime=nil, container=nil, tags=nil, enabledeletionprotection=nil, mirroredqueuerisk=nil, enableriskwarning=nil, consumetimeout=nil, channelmax=nil)
|
|
10956
11096
|
@ClusterId = clusterid
|
|
10957
11097
|
@ClusterName = clustername
|
|
10958
11098
|
@Region = region
|
|
@@ -10981,6 +11121,10 @@ module TencentCloud
|
|
|
10981
11121
|
@Container = container
|
|
10982
11122
|
@Tags = tags
|
|
10983
11123
|
@EnableDeletionProtection = enabledeletionprotection
|
|
11124
|
+
@MirroredQueueRisk = mirroredqueuerisk
|
|
11125
|
+
@EnableRiskWarning = enableriskwarning
|
|
11126
|
+
@ConsumeTimeout = consumetimeout
|
|
11127
|
+
@ChannelMax = channelmax
|
|
10984
11128
|
end
|
|
10985
11129
|
|
|
10986
11130
|
def deserialize(params)
|
|
@@ -11026,6 +11170,10 @@ module TencentCloud
|
|
|
11026
11170
|
end
|
|
11027
11171
|
end
|
|
11028
11172
|
@EnableDeletionProtection = params['EnableDeletionProtection']
|
|
11173
|
+
@MirroredQueueRisk = params['MirroredQueueRisk']
|
|
11174
|
+
@EnableRiskWarning = params['EnableRiskWarning']
|
|
11175
|
+
@ConsumeTimeout = params['ConsumeTimeout']
|
|
11176
|
+
@ChannelMax = params['ChannelMax']
|
|
11029
11177
|
end
|
|
11030
11178
|
end
|
|
11031
11179
|
|
|
@@ -12040,8 +12188,8 @@ module TencentCloud
|
|
|
12040
12188
|
|
|
12041
12189
|
attr_accessor :MaxTpsPerNamespace, :MaxNamespaceNum, :UsedNamespaceNum, :MaxTopicNum, :UsedTopicNum, :MaxGroupNum, :UsedGroupNum, :MaxRetentionTime, :MaxLatencyTime, :MaxQueuesPerTopic, :TopicDistribution, :MaxRoleNum, :MaxTpsLimit
|
|
12042
12190
|
extend Gem::Deprecate
|
|
12043
|
-
deprecate :MaxTpsPerNamespace, :none,
|
|
12044
|
-
deprecate :MaxTpsPerNamespace=, :none,
|
|
12191
|
+
deprecate :MaxTpsPerNamespace, :none, 2026, 1
|
|
12192
|
+
deprecate :MaxTpsPerNamespace=, :none, 2026, 1
|
|
12045
12193
|
|
|
12046
12194
|
def initialize(maxtpspernamespace=nil, maxnamespacenum=nil, usednamespacenum=nil, maxtopicnum=nil, usedtopicnum=nil, maxgroupnum=nil, usedgroupnum=nil, maxretentiontime=nil, maxlatencytime=nil, maxqueuespertopic=nil, topicdistribution=nil, maxrolenum=nil, maxtpslimit=nil)
|
|
12047
12195
|
@MaxTpsPerNamespace = maxtpspernamespace
|
|
@@ -12447,10 +12595,10 @@ module TencentCloud
|
|
|
12447
12595
|
|
|
12448
12596
|
attr_accessor :Name, :ConsumerNum, :TPS, :TotalAccumulative, :ConsumptionMode, :ReadEnabled, :RetryPartitionNum, :CreateTime, :UpdateTime, :ClientProtocol, :Remark, :ConsumerType, :BroadcastEnabled, :GroupType, :RetryMaxTimes, :InstanceId, :Namespace, :SubscribeTopicNum, :TagList
|
|
12449
12597
|
extend Gem::Deprecate
|
|
12450
|
-
deprecate :TPS, :none,
|
|
12451
|
-
deprecate :TPS=, :none,
|
|
12452
|
-
deprecate :TotalAccumulative, :none,
|
|
12453
|
-
deprecate :TotalAccumulative=, :none,
|
|
12598
|
+
deprecate :TPS, :none, 2026, 1
|
|
12599
|
+
deprecate :TPS=, :none, 2026, 1
|
|
12600
|
+
deprecate :TotalAccumulative, :none, 2026, 1
|
|
12601
|
+
deprecate :TotalAccumulative=, :none, 2026, 1
|
|
12454
12602
|
|
|
12455
12603
|
def initialize(name=nil, consumernum=nil, tps=nil, totalaccumulative=nil, consumptionmode=nil, readenabled=nil, retrypartitionnum=nil, createtime=nil, updatetime=nil, clientprotocol=nil, remark=nil, consumertype=nil, broadcastenabled=nil, grouptype=nil, retrymaxtimes=nil, instanceid=nil, namespace=nil, subscribetopicnum=nil, taglist=nil)
|
|
12456
12604
|
@Name = name
|
|
@@ -14237,15 +14385,18 @@ module TencentCloud
|
|
|
14237
14385
|
# @type VpcDataStreamEndpointStatus: String
|
|
14238
14386
|
# @param VpcTlsEndpoint: TLS加密的数据流接入点
|
|
14239
14387
|
# @type VpcTlsEndpoint: String
|
|
14388
|
+
# @param VpcErrorMessage: VPC 接入点操作失败的错误信息
|
|
14389
|
+
# @type VpcErrorMessage: String
|
|
14240
14390
|
|
|
14241
|
-
attr_accessor :VpcId, :SubnetId, :VpcEndpoint, :VpcDataStreamEndpointStatus, :VpcTlsEndpoint
|
|
14391
|
+
attr_accessor :VpcId, :SubnetId, :VpcEndpoint, :VpcDataStreamEndpointStatus, :VpcTlsEndpoint, :VpcErrorMessage
|
|
14242
14392
|
|
|
14243
|
-
def initialize(vpcid=nil, subnetid=nil, vpcendpoint=nil, vpcdatastreamendpointstatus=nil, vpctlsendpoint=nil)
|
|
14393
|
+
def initialize(vpcid=nil, subnetid=nil, vpcendpoint=nil, vpcdatastreamendpointstatus=nil, vpctlsendpoint=nil, vpcerrormessage=nil)
|
|
14244
14394
|
@VpcId = vpcid
|
|
14245
14395
|
@SubnetId = subnetid
|
|
14246
14396
|
@VpcEndpoint = vpcendpoint
|
|
14247
14397
|
@VpcDataStreamEndpointStatus = vpcdatastreamendpointstatus
|
|
14248
14398
|
@VpcTlsEndpoint = vpctlsendpoint
|
|
14399
|
+
@VpcErrorMessage = vpcerrormessage
|
|
14249
14400
|
end
|
|
14250
14401
|
|
|
14251
14402
|
def deserialize(params)
|
|
@@ -14254,6 +14405,7 @@ module TencentCloud
|
|
|
14254
14405
|
@VpcEndpoint = params['VpcEndpoint']
|
|
14255
14406
|
@VpcDataStreamEndpointStatus = params['VpcDataStreamEndpointStatus']
|
|
14256
14407
|
@VpcTlsEndpoint = params['VpcTlsEndpoint']
|
|
14408
|
+
@VpcErrorMessage = params['VpcErrorMessage']
|
|
14257
14409
|
end
|
|
14258
14410
|
end
|
|
14259
14411
|
|
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.1201
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|