tencentcloud-sdk-trocket 3.0.751 → 3.0.753
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230308/client.rb +78 -0
- data/lib/v20230308/models.rb +375 -0
- 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: c01027907129f38d1b2271271b49f02baa4517dc
|
4
|
+
data.tar.gz: 5a046fb4e3c7b3e0fee627359f4761d637ab2e88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a48e537118a1faa5e8127f0bcc9f71d04f6d35533b60a7c3922f262e8f136467d6b08e985986db8dc6385a7f450becb8a5a63bc449044055aa50fee99549501
|
7
|
+
data.tar.gz: 49a8e4339029d75369ab2f7bfcccdc2d3bd1ce1dad2efa8444e28ba789dbfd6b27e4edc84f444e5d31ad2f8bcd926cf462ed97cdff052fd94c50028c27cab1ad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.753
|
data/lib/v20230308/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 购买新的MQTT实例
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateMQTTInstance.
|
83
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::CreateMQTTInstanceRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::CreateMQTTInstanceResponse`
|
85
|
+
def CreateMQTTInstance(request)
|
86
|
+
body = send_request('CreateMQTTInstance', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateMQTTInstanceResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 添加角色
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateRole.
|
@@ -326,6 +350,60 @@ module TencentCloud
|
|
326
350
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
327
351
|
end
|
328
352
|
|
353
|
+
# 获取实例列表,Filters参数使用说明如下:
|
354
|
+
# 1. InstanceName, 名称模糊查询
|
355
|
+
# 2. InstanceId,实例ID查询
|
356
|
+
# 3. InstanceType, 实例类型查询,支持多选
|
357
|
+
# 3. InstanceStatus,实例状态查询,支持多选
|
358
|
+
|
359
|
+
# 当使用TagFilters查询时,Filters参数失效。
|
360
|
+
|
361
|
+
# @param request: Request instance for DescribeMQTTInstanceList.
|
362
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMQTTInstanceListRequest`
|
363
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMQTTInstanceListResponse`
|
364
|
+
def DescribeMQTTInstanceList(request)
|
365
|
+
body = send_request('DescribeMQTTInstanceList', request.serialize)
|
366
|
+
response = JSON.parse(body)
|
367
|
+
if response['Response'].key?('Error') == false
|
368
|
+
model = DescribeMQTTInstanceListResponse.new
|
369
|
+
model.deserialize(response['Response'])
|
370
|
+
model
|
371
|
+
else
|
372
|
+
code = response['Response']['Error']['Code']
|
373
|
+
message = response['Response']['Error']['Message']
|
374
|
+
reqid = response['Response']['RequestId']
|
375
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
376
|
+
end
|
377
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
378
|
+
raise e
|
379
|
+
rescue StandardError => e
|
380
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
381
|
+
end
|
382
|
+
|
383
|
+
# 非对外接口,获取产品售卖规格
|
384
|
+
|
385
|
+
# @param request: Request instance for DescribeMQTTProductSKUList.
|
386
|
+
# @type request: :class:`Tencentcloud::trocket::V20230308::DescribeMQTTProductSKUListRequest`
|
387
|
+
# @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeMQTTProductSKUListResponse`
|
388
|
+
def DescribeMQTTProductSKUList(request)
|
389
|
+
body = send_request('DescribeMQTTProductSKUList', request.serialize)
|
390
|
+
response = JSON.parse(body)
|
391
|
+
if response['Response'].key?('Error') == false
|
392
|
+
model = DescribeMQTTProductSKUListResponse.new
|
393
|
+
model.deserialize(response['Response'])
|
394
|
+
model
|
395
|
+
else
|
396
|
+
code = response['Response']['Error']['Code']
|
397
|
+
message = response['Response']['Error']['Message']
|
398
|
+
reqid = response['Response']['RequestId']
|
399
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
400
|
+
end
|
401
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
402
|
+
raise e
|
403
|
+
rescue StandardError => e
|
404
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
405
|
+
end
|
406
|
+
|
329
407
|
# 查询角色列表,Filter参数使用说明如下:
|
330
408
|
|
331
409
|
# 1. RoleName,角色名称模糊搜索
|
data/lib/v20230308/models.rb
CHANGED
@@ -217,6 +217,129 @@ module TencentCloud
|
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
220
|
+
# CreateMQTTInstance请求参数结构体
|
221
|
+
class CreateMQTTInstanceRequest < TencentCloud::Common::AbstractModel
|
222
|
+
# @param InstanceType: 实例类型,
|
223
|
+
# EXPERIMENT 体验版
|
224
|
+
# BASIC 基础版
|
225
|
+
# PRO 专业版
|
226
|
+
# PLATINUM 铂金版
|
227
|
+
# @type InstanceType: String
|
228
|
+
# @param Name: 实例名称
|
229
|
+
# @type Name: String
|
230
|
+
# @param SkuCode: 商品规格,可用规格如下:
|
231
|
+
# experiment_500,
|
232
|
+
# basic_1k,
|
233
|
+
# basic_2k,
|
234
|
+
# basic_4k,
|
235
|
+
# basic_6k,
|
236
|
+
# pro_4k,
|
237
|
+
# pro_6k,
|
238
|
+
# pro_1w,
|
239
|
+
# pro_2w,
|
240
|
+
# pro_3w,
|
241
|
+
# pro_4w,
|
242
|
+
# pro_5w,
|
243
|
+
# platinum_6k,
|
244
|
+
# platinum_1w,
|
245
|
+
# platinum_2w,
|
246
|
+
# platinum_4w,
|
247
|
+
# platinum_10w,
|
248
|
+
# platinum_15w,
|
249
|
+
# platinum_20w,
|
250
|
+
# platinum_40w,
|
251
|
+
# platinum_60w,
|
252
|
+
# platinum_100w
|
253
|
+
# @type SkuCode: String
|
254
|
+
# @param Remark: 备注信息
|
255
|
+
# @type Remark: String
|
256
|
+
# @param TagList: 标签列表
|
257
|
+
# @type TagList: Array
|
258
|
+
# @param VpcList: 实例绑定的VPC信息
|
259
|
+
# @type VpcList: Array
|
260
|
+
# @param EnablePublic: 是否开启公网
|
261
|
+
# @type EnablePublic: Boolean
|
262
|
+
# @param Bandwidth: 公网带宽(单位:兆)
|
263
|
+
# @type Bandwidth: Integer
|
264
|
+
# @param IpRules: 公网访问白名单
|
265
|
+
# @type IpRules: Array
|
266
|
+
# @param RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费)
|
267
|
+
# @type RenewFlag: Integer
|
268
|
+
# @param TimeSpan: 购买时长(单位:月)
|
269
|
+
# @type TimeSpan: Integer
|
270
|
+
|
271
|
+
attr_accessor :InstanceType, :Name, :SkuCode, :Remark, :TagList, :VpcList, :EnablePublic, :Bandwidth, :IpRules, :RenewFlag, :TimeSpan
|
272
|
+
|
273
|
+
def initialize(instancetype=nil, name=nil, skucode=nil, remark=nil, taglist=nil, vpclist=nil, enablepublic=nil, bandwidth=nil, iprules=nil, renewflag=nil, timespan=nil)
|
274
|
+
@InstanceType = instancetype
|
275
|
+
@Name = name
|
276
|
+
@SkuCode = skucode
|
277
|
+
@Remark = remark
|
278
|
+
@TagList = taglist
|
279
|
+
@VpcList = vpclist
|
280
|
+
@EnablePublic = enablepublic
|
281
|
+
@Bandwidth = bandwidth
|
282
|
+
@IpRules = iprules
|
283
|
+
@RenewFlag = renewflag
|
284
|
+
@TimeSpan = timespan
|
285
|
+
end
|
286
|
+
|
287
|
+
def deserialize(params)
|
288
|
+
@InstanceType = params['InstanceType']
|
289
|
+
@Name = params['Name']
|
290
|
+
@SkuCode = params['SkuCode']
|
291
|
+
@Remark = params['Remark']
|
292
|
+
unless params['TagList'].nil?
|
293
|
+
@TagList = []
|
294
|
+
params['TagList'].each do |i|
|
295
|
+
tag_tmp = Tag.new
|
296
|
+
tag_tmp.deserialize(i)
|
297
|
+
@TagList << tag_tmp
|
298
|
+
end
|
299
|
+
end
|
300
|
+
unless params['VpcList'].nil?
|
301
|
+
@VpcList = []
|
302
|
+
params['VpcList'].each do |i|
|
303
|
+
vpcinfo_tmp = VpcInfo.new
|
304
|
+
vpcinfo_tmp.deserialize(i)
|
305
|
+
@VpcList << vpcinfo_tmp
|
306
|
+
end
|
307
|
+
end
|
308
|
+
@EnablePublic = params['EnablePublic']
|
309
|
+
@Bandwidth = params['Bandwidth']
|
310
|
+
unless params['IpRules'].nil?
|
311
|
+
@IpRules = []
|
312
|
+
params['IpRules'].each do |i|
|
313
|
+
iprule_tmp = IpRule.new
|
314
|
+
iprule_tmp.deserialize(i)
|
315
|
+
@IpRules << iprule_tmp
|
316
|
+
end
|
317
|
+
end
|
318
|
+
@RenewFlag = params['RenewFlag']
|
319
|
+
@TimeSpan = params['TimeSpan']
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# CreateMQTTInstance返回参数结构体
|
324
|
+
class CreateMQTTInstanceResponse < TencentCloud::Common::AbstractModel
|
325
|
+
# @param InstanceId: 实例ID
|
326
|
+
# @type InstanceId: String
|
327
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
328
|
+
# @type RequestId: String
|
329
|
+
|
330
|
+
attr_accessor :InstanceId, :RequestId
|
331
|
+
|
332
|
+
def initialize(instanceid=nil, requestid=nil)
|
333
|
+
@InstanceId = instanceid
|
334
|
+
@RequestId = requestid
|
335
|
+
end
|
336
|
+
|
337
|
+
def deserialize(params)
|
338
|
+
@InstanceId = params['InstanceId']
|
339
|
+
@RequestId = params['RequestId']
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
220
343
|
# CreateRole请求参数结构体
|
221
344
|
class CreateRoleRequest < TencentCloud::Common::AbstractModel
|
222
345
|
# @param InstanceId: 实例ID
|
@@ -833,6 +956,113 @@ module TencentCloud
|
|
833
956
|
end
|
834
957
|
end
|
835
958
|
|
959
|
+
# DescribeMQTTInstanceList请求参数结构体
|
960
|
+
class DescribeMQTTInstanceListRequest < TencentCloud::Common::AbstractModel
|
961
|
+
# @param Filters: 查询条件列表
|
962
|
+
# @type Filters: Array
|
963
|
+
# @param Offset: 查询起始位置
|
964
|
+
# @type Offset: Integer
|
965
|
+
# @param Limit: 查询结果限制数量
|
966
|
+
# @type Limit: Integer
|
967
|
+
|
968
|
+
attr_accessor :Filters, :Offset, :Limit
|
969
|
+
|
970
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
971
|
+
@Filters = filters
|
972
|
+
@Offset = offset
|
973
|
+
@Limit = limit
|
974
|
+
end
|
975
|
+
|
976
|
+
def deserialize(params)
|
977
|
+
unless params['Filters'].nil?
|
978
|
+
@Filters = []
|
979
|
+
params['Filters'].each do |i|
|
980
|
+
filter_tmp = Filter.new
|
981
|
+
filter_tmp.deserialize(i)
|
982
|
+
@Filters << filter_tmp
|
983
|
+
end
|
984
|
+
end
|
985
|
+
@Offset = params['Offset']
|
986
|
+
@Limit = params['Limit']
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# DescribeMQTTInstanceList返回参数结构体
|
991
|
+
class DescribeMQTTInstanceListResponse < TencentCloud::Common::AbstractModel
|
992
|
+
# @param TotalCount: 查询总数
|
993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
994
|
+
# @type TotalCount: Integer
|
995
|
+
# @param Data: 实例列表
|
996
|
+
# @type Data: Array
|
997
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
998
|
+
# @type RequestId: String
|
999
|
+
|
1000
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
1001
|
+
|
1002
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
1003
|
+
@TotalCount = totalcount
|
1004
|
+
@Data = data
|
1005
|
+
@RequestId = requestid
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
def deserialize(params)
|
1009
|
+
@TotalCount = params['TotalCount']
|
1010
|
+
unless params['Data'].nil?
|
1011
|
+
@Data = []
|
1012
|
+
params['Data'].each do |i|
|
1013
|
+
mqttinstanceitem_tmp = MQTTInstanceItem.new
|
1014
|
+
mqttinstanceitem_tmp.deserialize(i)
|
1015
|
+
@Data << mqttinstanceitem_tmp
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
@RequestId = params['RequestId']
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# DescribeMQTTProductSKUList请求参数结构体
|
1023
|
+
class DescribeMQTTProductSKUListRequest < TencentCloud::Common::AbstractModel
|
1024
|
+
|
1025
|
+
|
1026
|
+
def initialize()
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
def deserialize(params)
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# DescribeMQTTProductSKUList返回参数结构体
|
1034
|
+
class DescribeMQTTProductSKUListResponse < TencentCloud::Common::AbstractModel
|
1035
|
+
# @param TotalCount: 查询总数
|
1036
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1037
|
+
# @type TotalCount: Integer
|
1038
|
+
# @param MQTTProductSkuList: mqtt商品配置信息
|
1039
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1040
|
+
# @type MQTTProductSkuList: Array
|
1041
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1042
|
+
# @type RequestId: String
|
1043
|
+
|
1044
|
+
attr_accessor :TotalCount, :MQTTProductSkuList, :RequestId
|
1045
|
+
|
1046
|
+
def initialize(totalcount=nil, mqttproductskulist=nil, requestid=nil)
|
1047
|
+
@TotalCount = totalcount
|
1048
|
+
@MQTTProductSkuList = mqttproductskulist
|
1049
|
+
@RequestId = requestid
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
def deserialize(params)
|
1053
|
+
@TotalCount = params['TotalCount']
|
1054
|
+
unless params['MQTTProductSkuList'].nil?
|
1055
|
+
@MQTTProductSkuList = []
|
1056
|
+
params['MQTTProductSkuList'].each do |i|
|
1057
|
+
mqttproductskuitem_tmp = MQTTProductSkuItem.new
|
1058
|
+
mqttproductskuitem_tmp.deserialize(i)
|
1059
|
+
@MQTTProductSkuList << mqttproductskuitem_tmp
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
@RequestId = params['RequestId']
|
1063
|
+
end
|
1064
|
+
end
|
1065
|
+
|
836
1066
|
# DescribeRoleList请求参数结构体
|
837
1067
|
class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
|
838
1068
|
# @param InstanceId: 实例ID
|
@@ -1407,6 +1637,151 @@ module TencentCloud
|
|
1407
1637
|
end
|
1408
1638
|
end
|
1409
1639
|
|
1640
|
+
# MQTT 实例信息
|
1641
|
+
class MQTTInstanceItem < TencentCloud::Common::AbstractModel
|
1642
|
+
# @param InstanceId: 实例ID
|
1643
|
+
# @type InstanceId: String
|
1644
|
+
# @param InstanceName: 实例名称
|
1645
|
+
# @type InstanceName: String
|
1646
|
+
# @param Version: 实例版本
|
1647
|
+
# @type Version: String
|
1648
|
+
# @param InstanceType: 实例类型,
|
1649
|
+
# EXPERIMENT,体验版
|
1650
|
+
# BASIC,基础版
|
1651
|
+
# PRO,专业版
|
1652
|
+
# PLATINUM,铂金版
|
1653
|
+
# @type InstanceType: String
|
1654
|
+
# @param InstanceStatus: 实例状态,
|
1655
|
+
# RUNNING, 运行中
|
1656
|
+
# MAINTAINING,维护中
|
1657
|
+
# ABNORMAL,异常
|
1658
|
+
# OVERDUE,欠费
|
1659
|
+
# DESTROYED,已删除
|
1660
|
+
# CREATING,创建中
|
1661
|
+
# MODIFYING,变配中
|
1662
|
+
# CREATE_FAILURE,创建失败
|
1663
|
+
# MODIFY_FAILURE,变配失败
|
1664
|
+
# DELETING,删除中
|
1665
|
+
# @type InstanceStatus: String
|
1666
|
+
# @param TopicNumLimit: 实例主题数上限
|
1667
|
+
# @type TopicNumLimit: Integer
|
1668
|
+
# @param Remark: 备注信息
|
1669
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1670
|
+
# @type Remark: String
|
1671
|
+
# @param TopicNum: 主题数量
|
1672
|
+
# @type TopicNum: Integer
|
1673
|
+
# @param SkuCode: 商品规格
|
1674
|
+
# @type SkuCode: String
|
1675
|
+
# @param TpsLimit: 弹性TPS限流值
|
1676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1677
|
+
# @type TpsLimit: Integer
|
1678
|
+
# @param CreateTime: 创建时间
|
1679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1680
|
+
# @type CreateTime: Integer
|
1681
|
+
# @param SubscriptionNumLimit: 订阅关系上限
|
1682
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1683
|
+
# @type SubscriptionNumLimit: Integer
|
1684
|
+
# @param ClientNumLimit: 客户端连接数上线
|
1685
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1686
|
+
# @type ClientNumLimit: Integer
|
1687
|
+
|
1688
|
+
attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :Remark, :TopicNum, :SkuCode, :TpsLimit, :CreateTime, :SubscriptionNumLimit, :ClientNumLimit
|
1689
|
+
|
1690
|
+
def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, remark=nil, topicnum=nil, skucode=nil, tpslimit=nil, createtime=nil, subscriptionnumlimit=nil, clientnumlimit=nil)
|
1691
|
+
@InstanceId = instanceid
|
1692
|
+
@InstanceName = instancename
|
1693
|
+
@Version = version
|
1694
|
+
@InstanceType = instancetype
|
1695
|
+
@InstanceStatus = instancestatus
|
1696
|
+
@TopicNumLimit = topicnumlimit
|
1697
|
+
@Remark = remark
|
1698
|
+
@TopicNum = topicnum
|
1699
|
+
@SkuCode = skucode
|
1700
|
+
@TpsLimit = tpslimit
|
1701
|
+
@CreateTime = createtime
|
1702
|
+
@SubscriptionNumLimit = subscriptionnumlimit
|
1703
|
+
@ClientNumLimit = clientnumlimit
|
1704
|
+
end
|
1705
|
+
|
1706
|
+
def deserialize(params)
|
1707
|
+
@InstanceId = params['InstanceId']
|
1708
|
+
@InstanceName = params['InstanceName']
|
1709
|
+
@Version = params['Version']
|
1710
|
+
@InstanceType = params['InstanceType']
|
1711
|
+
@InstanceStatus = params['InstanceStatus']
|
1712
|
+
@TopicNumLimit = params['TopicNumLimit']
|
1713
|
+
@Remark = params['Remark']
|
1714
|
+
@TopicNum = params['TopicNum']
|
1715
|
+
@SkuCode = params['SkuCode']
|
1716
|
+
@TpsLimit = params['TpsLimit']
|
1717
|
+
@CreateTime = params['CreateTime']
|
1718
|
+
@SubscriptionNumLimit = params['SubscriptionNumLimit']
|
1719
|
+
@ClientNumLimit = params['ClientNumLimit']
|
1720
|
+
end
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# MQTT ProductSkuItem
|
1724
|
+
class MQTTProductSkuItem < TencentCloud::Common::AbstractModel
|
1725
|
+
# @param InstanceType: 类型
|
1726
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1727
|
+
# @type InstanceType: String
|
1728
|
+
# @param SkuCode: cide
|
1729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1730
|
+
# @type SkuCode: String
|
1731
|
+
# @param OnSale: sale
|
1732
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1733
|
+
# @type OnSale: Boolean
|
1734
|
+
# @param TopicNumLimit: topic num限制
|
1735
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1736
|
+
# @type TopicNumLimit: Integer
|
1737
|
+
# @param TpsLimit: tps
|
1738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1739
|
+
# @type TpsLimit: Integer
|
1740
|
+
# @param ClientNumLimit: 客户端连接数
|
1741
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1742
|
+
# @type ClientNumLimit: Integer
|
1743
|
+
# @param SubscriptionNumLimit: 订阅数限制
|
1744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1745
|
+
# @type SubscriptionNumLimit: Integer
|
1746
|
+
# @param ProxySpecCore: 代理核
|
1747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1748
|
+
# @type ProxySpecCore: Integer
|
1749
|
+
# @param ProxySpecMemory: 代理内存
|
1750
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1751
|
+
# @type ProxySpecMemory: Integer
|
1752
|
+
# @param ProxySpecCount: 代理总数
|
1753
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1754
|
+
# @type ProxySpecCount: Integer
|
1755
|
+
|
1756
|
+
attr_accessor :InstanceType, :SkuCode, :OnSale, :TopicNumLimit, :TpsLimit, :ClientNumLimit, :SubscriptionNumLimit, :ProxySpecCore, :ProxySpecMemory, :ProxySpecCount
|
1757
|
+
|
1758
|
+
def initialize(instancetype=nil, skucode=nil, onsale=nil, topicnumlimit=nil, tpslimit=nil, clientnumlimit=nil, subscriptionnumlimit=nil, proxyspeccore=nil, proxyspecmemory=nil, proxyspeccount=nil)
|
1759
|
+
@InstanceType = instancetype
|
1760
|
+
@SkuCode = skucode
|
1761
|
+
@OnSale = onsale
|
1762
|
+
@TopicNumLimit = topicnumlimit
|
1763
|
+
@TpsLimit = tpslimit
|
1764
|
+
@ClientNumLimit = clientnumlimit
|
1765
|
+
@SubscriptionNumLimit = subscriptionnumlimit
|
1766
|
+
@ProxySpecCore = proxyspeccore
|
1767
|
+
@ProxySpecMemory = proxyspecmemory
|
1768
|
+
@ProxySpecCount = proxyspeccount
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
def deserialize(params)
|
1772
|
+
@InstanceType = params['InstanceType']
|
1773
|
+
@SkuCode = params['SkuCode']
|
1774
|
+
@OnSale = params['OnSale']
|
1775
|
+
@TopicNumLimit = params['TopicNumLimit']
|
1776
|
+
@TpsLimit = params['TpsLimit']
|
1777
|
+
@ClientNumLimit = params['ClientNumLimit']
|
1778
|
+
@SubscriptionNumLimit = params['SubscriptionNumLimit']
|
1779
|
+
@ProxySpecCore = params['ProxySpecCore']
|
1780
|
+
@ProxySpecMemory = params['ProxySpecMemory']
|
1781
|
+
@ProxySpecCount = params['ProxySpecCount']
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1410
1785
|
# ModifyConsumerGroup请求参数结构体
|
1411
1786
|
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
1412
1787
|
# @param InstanceId: 实例ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.753
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|