tencentcloud-sdk-trocket 3.0.654 → 3.0.656

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e50de570a6df83f2714df4d3fc715c8fdbc2be9
4
- data.tar.gz: 7ca116d4930621638bd0d54eb7a8a3f08a2f4a70
3
+ metadata.gz: 7abbbc38bbddedc5582902abeed14372ca98480b
4
+ data.tar.gz: c837946dac6b54b76d1851c9a7a91da1b839b882
5
5
  SHA512:
6
- metadata.gz: 46c4ecb1aab203353b807ed93781dd262e4c73e11c0c2d842735ce44e4def603ad62ad3368918af1f87729dd6de58f116c1201264cb7dfd5322aafd969d56853
7
- data.tar.gz: b351c82c0f9bd7e919fa8ff793f89885ddd3fcc81689ddd31133225ba485ea0d6a25a98d1750232d81812b1b14168f6c62b6fb43f7c30f0ab78e61188a3a8540
6
+ metadata.gz: 83154744ca1fdff6b2f60b938522e0c8982ebb329b10422bad18f8b9b5bd489483024d35774d5ffcabef9bedd5cfb46b66159860584e005ca16da5c9aa55830f
7
+ data.tar.gz: 4220362827bfbeff1a7467bb661c8933e453622257e480f165aeb9f3ade1071eb8c4092859d7238f116a379d3a980013f9bc36993c6908741b45dcf7a0ef8a83
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.654
1
+ 3.0.656
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 购买新实例
33
+
34
+ # @param request: Request instance for CreateInstance.
35
+ # @type request: :class:`Tencentcloud::trocket::V20230308::CreateInstanceRequest`
36
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::CreateInstanceResponse`
37
+ def CreateInstance(request)
38
+ body = send_request('CreateInstance', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateInstanceResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 删除实例
57
+
58
+ # @param request: Request instance for DeleteInstance.
59
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DeleteInstanceRequest`
60
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DeleteInstanceResponse`
61
+ def DeleteInstance(request)
62
+ body = send_request('DeleteInstance', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DeleteInstanceResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 查询实例信息
81
+
82
+ # @param request: Request instance for DescribeInstance.
83
+ # @type request: :class:`Tencentcloud::trocket::V20230308::DescribeInstanceRequest`
84
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::DescribeInstanceResponse`
85
+ def DescribeInstance(request)
86
+ body = send_request('DescribeInstance', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeInstanceResponse.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
+
32
104
  # 获取实例列表,Filters参数使用说明如下:
33
105
  # 1. InstanceName, 名称模糊查询
34
106
  # 2. InstanceId,实例ID查询
@@ -86,6 +158,30 @@ module TencentCloud
86
158
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
87
159
  end
88
160
 
161
+ # 修改实例属性
162
+
163
+ # @param request: Request instance for ModifyInstance.
164
+ # @type request: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceRequest`
165
+ # @rtype: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceResponse`
166
+ def ModifyInstance(request)
167
+ body = send_request('ModifyInstance', request.serialize)
168
+ response = JSON.parse(body)
169
+ if response['Response'].key?('Error') == false
170
+ model = ModifyInstanceResponse.new
171
+ model.deserialize(response['Response'])
172
+ model
173
+ else
174
+ code = response['Response']['Error']['Code']
175
+ message = response['Response']['Error']['Message']
176
+ reqid = response['Response']['RequestId']
177
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
178
+ end
179
+ rescue TencentCloud::Common::TencentCloudSDKException => e
180
+ raise e
181
+ rescue StandardError => e
182
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
183
+ end
184
+
89
185
 
90
186
  end
91
187
  end
@@ -17,6 +17,140 @@
17
17
  module TencentCloud
18
18
  module Trocket
19
19
  module V20230308
20
+ # CreateInstance请求参数结构体
21
+ class CreateInstanceRequest < TencentCloud::Common::AbstractModel
22
+ # @param InstanceType: 实例类型,
23
+ # EXPERIMENT 体验版
24
+ # BASIC 基础版
25
+ # PRO 专业版
26
+ # PLATINUM 铂金版
27
+ # @type InstanceType: String
28
+ # @param Name: 实例名称
29
+ # @type Name: String
30
+ # @param SkuCode: 商品规格,可用规格如下:
31
+ # experiment_500,
32
+ # basic_1k,
33
+ # basic_2k,
34
+ # basic_4k,
35
+ # basic_6k
36
+ # @type SkuCode: String
37
+ # @param Remark: 备注信息
38
+ # @type Remark: String
39
+ # @param TagList: 标签列表
40
+ # @type TagList: Array
41
+ # @param VpcList: 实例绑定的VPC信息
42
+ # @type VpcList: Array
43
+ # @param EnablePublic: 是否开启公网
44
+ # @type EnablePublic: Boolean
45
+ # @param Bandwidth: 公网带宽
46
+ # @type Bandwidth: Integer
47
+ # @param IpRules: 公网访问白名单
48
+ # @type IpRules: Array
49
+ # @param MessageRetention: 消息保留时长,小时为单位
50
+ # @type MessageRetention: Integer
51
+
52
+ attr_accessor :InstanceType, :Name, :SkuCode, :Remark, :TagList, :VpcList, :EnablePublic, :Bandwidth, :IpRules, :MessageRetention
53
+
54
+ def initialize(instancetype=nil, name=nil, skucode=nil, remark=nil, taglist=nil, vpclist=nil, enablepublic=nil, bandwidth=nil, iprules=nil, messageretention=nil)
55
+ @InstanceType = instancetype
56
+ @Name = name
57
+ @SkuCode = skucode
58
+ @Remark = remark
59
+ @TagList = taglist
60
+ @VpcList = vpclist
61
+ @EnablePublic = enablepublic
62
+ @Bandwidth = bandwidth
63
+ @IpRules = iprules
64
+ @MessageRetention = messageretention
65
+ end
66
+
67
+ def deserialize(params)
68
+ @InstanceType = params['InstanceType']
69
+ @Name = params['Name']
70
+ @SkuCode = params['SkuCode']
71
+ @Remark = params['Remark']
72
+ unless params['TagList'].nil?
73
+ @TagList = []
74
+ params['TagList'].each do |i|
75
+ tag_tmp = Tag.new
76
+ tag_tmp.deserialize(i)
77
+ @TagList << tag_tmp
78
+ end
79
+ end
80
+ unless params['VpcList'].nil?
81
+ @VpcList = []
82
+ params['VpcList'].each do |i|
83
+ vpcinfo_tmp = VpcInfo.new
84
+ vpcinfo_tmp.deserialize(i)
85
+ @VpcList << vpcinfo_tmp
86
+ end
87
+ end
88
+ @EnablePublic = params['EnablePublic']
89
+ @Bandwidth = params['Bandwidth']
90
+ unless params['IpRules'].nil?
91
+ @IpRules = []
92
+ params['IpRules'].each do |i|
93
+ iprule_tmp = IpRule.new
94
+ iprule_tmp.deserialize(i)
95
+ @IpRules << iprule_tmp
96
+ end
97
+ end
98
+ @MessageRetention = params['MessageRetention']
99
+ end
100
+ end
101
+
102
+ # CreateInstance返回参数结构体
103
+ class CreateInstanceResponse < TencentCloud::Common::AbstractModel
104
+ # @param InstanceId: 实例ID
105
+ # @type InstanceId: String
106
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
107
+ # @type RequestId: String
108
+
109
+ attr_accessor :InstanceId, :RequestId
110
+
111
+ def initialize(instanceid=nil, requestid=nil)
112
+ @InstanceId = instanceid
113
+ @RequestId = requestid
114
+ end
115
+
116
+ def deserialize(params)
117
+ @InstanceId = params['InstanceId']
118
+ @RequestId = params['RequestId']
119
+ end
120
+ end
121
+
122
+ # DeleteInstance请求参数结构体
123
+ class DeleteInstanceRequest < TencentCloud::Common::AbstractModel
124
+ # @param InstanceId: 实例ID
125
+ # @type InstanceId: String
126
+
127
+ attr_accessor :InstanceId
128
+
129
+ def initialize(instanceid=nil)
130
+ @InstanceId = instanceid
131
+ end
132
+
133
+ def deserialize(params)
134
+ @InstanceId = params['InstanceId']
135
+ end
136
+ end
137
+
138
+ # DeleteInstance返回参数结构体
139
+ class DeleteInstanceResponse < TencentCloud::Common::AbstractModel
140
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
141
+ # @type RequestId: String
142
+
143
+ attr_accessor :RequestId
144
+
145
+ def initialize(requestid=nil)
146
+ @RequestId = requestid
147
+ end
148
+
149
+ def deserialize(params)
150
+ @RequestId = params['RequestId']
151
+ end
152
+ end
153
+
20
154
  # DescribeInstanceList请求参数结构体
21
155
  class DescribeInstanceListRequest < TencentCloud::Common::AbstractModel
22
156
  # @param Offset: 查询起始位置
@@ -91,6 +225,151 @@ module TencentCloud
91
225
  end
92
226
  end
93
227
 
228
+ # DescribeInstance请求参数结构体
229
+ class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
230
+ # @param InstanceId: 实例ID
231
+ # @type InstanceId: String
232
+
233
+ attr_accessor :InstanceId
234
+
235
+ def initialize(instanceid=nil)
236
+ @InstanceId = instanceid
237
+ end
238
+
239
+ def deserialize(params)
240
+ @InstanceId = params['InstanceId']
241
+ end
242
+ end
243
+
244
+ # DescribeInstance返回参数结构体
245
+ class DescribeInstanceResponse < TencentCloud::Common::AbstractModel
246
+ # @param InstanceType: 实例类型,
247
+ # EXPERIMENT 体验版
248
+ # BASIC 基础版
249
+ # PRO 专业版
250
+ # PLATINUM 铂金版
251
+ # 注意:此字段可能返回 null,表示取不到有效值。
252
+ # @type InstanceType: String
253
+ # @param InstanceId: 实例ID
254
+ # @type InstanceId: String
255
+ # @param InstanceName: 实例名称
256
+ # @type InstanceName: String
257
+ # @param TopicNum: 主题数量
258
+ # @type TopicNum: Integer
259
+ # @param TopicNumLimit: 实例最大主题数量
260
+ # @type TopicNumLimit: Integer
261
+ # @param GroupNum: 消费组数量
262
+ # @type GroupNum: Integer
263
+ # @param GroupNumLimit: 实例最大消费组数量
264
+ # @type GroupNumLimit: Integer
265
+ # @param MessageRetention: 消息保留时间,小时为单位
266
+ # @type MessageRetention: Integer
267
+ # @param RetentionUpperLimit: 最大可调整消息保留时间,小时为单位
268
+ # @type RetentionUpperLimit: Integer
269
+ # @param RetentionLowerLimit: 最小可调整消息保留时间,小时为单位
270
+ # @type RetentionLowerLimit: Integer
271
+ # @param TpsLimit: TPS限流值
272
+ # @type TpsLimit: Integer
273
+ # @param ScaledTpsLimit: 弹性TPS限流值
274
+ # @type ScaledTpsLimit: Integer
275
+ # @param MaxMessageDelay: 延迟消息最长时间,小时为单位
276
+ # @type MaxMessageDelay: Integer
277
+ # @param CreatedTime: 创建时间,秒为单位
278
+ # @type CreatedTime: Integer
279
+ # @param SendReceiveRatio: 消息发送接收比例
280
+ # @type SendReceiveRatio: Float
281
+ # @param TagList: 标签
282
+ # 注意:此字段可能返回 null,表示取不到有效值。
283
+ # @type TagList: Array
284
+ # @param EndpointList: 接入点列表
285
+ # 注意:此字段可能返回 null,表示取不到有效值。
286
+ # @type EndpointList: Array
287
+ # @param TopicQueueNumUpperLimit: 主题队列数上限
288
+ # @type TopicQueueNumUpperLimit: Integer
289
+ # @param TopicQueueNumLowerLimit: 主题队列数下限
290
+ # @type TopicQueueNumLowerLimit: Integer
291
+ # @param Remark: 备注信息
292
+ # @type Remark: String
293
+ # @param InstanceStatus: 实例状态
294
+ # @type InstanceStatus: String
295
+ # @param SkuCode: 实例规格
296
+ # @type SkuCode: String
297
+ # @param PayMode: 计费模式
298
+ # @type PayMode: String
299
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
300
+ # @type RequestId: String
301
+
302
+ attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :GroupNum, :GroupNumLimit, :MessageRetention, :RetentionUpperLimit, :RetentionLowerLimit, :TpsLimit, :ScaledTpsLimit, :MaxMessageDelay, :CreatedTime, :SendReceiveRatio, :TagList, :EndpointList, :TopicQueueNumUpperLimit, :TopicQueueNumLowerLimit, :Remark, :InstanceStatus, :SkuCode, :PayMode, :RequestId
303
+
304
+ def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, groupnum=nil, groupnumlimit=nil, messageretention=nil, retentionupperlimit=nil, retentionlowerlimit=nil, tpslimit=nil, scaledtpslimit=nil, maxmessagedelay=nil, createdtime=nil, sendreceiveratio=nil, taglist=nil, endpointlist=nil, topicqueuenumupperlimit=nil, topicqueuenumlowerlimit=nil, remark=nil, instancestatus=nil, skucode=nil, paymode=nil, requestid=nil)
305
+ @InstanceType = instancetype
306
+ @InstanceId = instanceid
307
+ @InstanceName = instancename
308
+ @TopicNum = topicnum
309
+ @TopicNumLimit = topicnumlimit
310
+ @GroupNum = groupnum
311
+ @GroupNumLimit = groupnumlimit
312
+ @MessageRetention = messageretention
313
+ @RetentionUpperLimit = retentionupperlimit
314
+ @RetentionLowerLimit = retentionlowerlimit
315
+ @TpsLimit = tpslimit
316
+ @ScaledTpsLimit = scaledtpslimit
317
+ @MaxMessageDelay = maxmessagedelay
318
+ @CreatedTime = createdtime
319
+ @SendReceiveRatio = sendreceiveratio
320
+ @TagList = taglist
321
+ @EndpointList = endpointlist
322
+ @TopicQueueNumUpperLimit = topicqueuenumupperlimit
323
+ @TopicQueueNumLowerLimit = topicqueuenumlowerlimit
324
+ @Remark = remark
325
+ @InstanceStatus = instancestatus
326
+ @SkuCode = skucode
327
+ @PayMode = paymode
328
+ @RequestId = requestid
329
+ end
330
+
331
+ def deserialize(params)
332
+ @InstanceType = params['InstanceType']
333
+ @InstanceId = params['InstanceId']
334
+ @InstanceName = params['InstanceName']
335
+ @TopicNum = params['TopicNum']
336
+ @TopicNumLimit = params['TopicNumLimit']
337
+ @GroupNum = params['GroupNum']
338
+ @GroupNumLimit = params['GroupNumLimit']
339
+ @MessageRetention = params['MessageRetention']
340
+ @RetentionUpperLimit = params['RetentionUpperLimit']
341
+ @RetentionLowerLimit = params['RetentionLowerLimit']
342
+ @TpsLimit = params['TpsLimit']
343
+ @ScaledTpsLimit = params['ScaledTpsLimit']
344
+ @MaxMessageDelay = params['MaxMessageDelay']
345
+ @CreatedTime = params['CreatedTime']
346
+ @SendReceiveRatio = params['SendReceiveRatio']
347
+ unless params['TagList'].nil?
348
+ @TagList = []
349
+ params['TagList'].each do |i|
350
+ tag_tmp = Tag.new
351
+ tag_tmp.deserialize(i)
352
+ @TagList << tag_tmp
353
+ end
354
+ end
355
+ unless params['EndpointList'].nil?
356
+ @EndpointList = []
357
+ params['EndpointList'].each do |i|
358
+ endpoint_tmp = Endpoint.new
359
+ endpoint_tmp.deserialize(i)
360
+ @EndpointList << endpoint_tmp
361
+ end
362
+ end
363
+ @TopicQueueNumUpperLimit = params['TopicQueueNumUpperLimit']
364
+ @TopicQueueNumLowerLimit = params['TopicQueueNumLowerLimit']
365
+ @Remark = params['Remark']
366
+ @InstanceStatus = params['InstanceStatus']
367
+ @SkuCode = params['SkuCode']
368
+ @PayMode = params['PayMode']
369
+ @RequestId = params['RequestId']
370
+ end
371
+ end
372
+
94
373
  # DescribeTopicList请求参数结构体
95
374
  class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
96
375
  # @param InstanceId: 实例ID
@@ -158,6 +437,70 @@ module TencentCloud
158
437
  end
159
438
  end
160
439
 
440
+ # 接入点信息
441
+ class Endpoint < TencentCloud::Common::AbstractModel
442
+ # @param Type: 接入点类型,
443
+ # VPC,
444
+ # PUBLIC 公网
445
+ # @type Type: String
446
+ # @param Status: 状态,
447
+ # OPEN 开启,
448
+ # CLOSE 关闭,
449
+ # PROCESSING 操作中,
450
+ # @type Status: String
451
+ # @param PayMode: 付费类型,仅公网
452
+ # PREPAID 包年包月
453
+ # POSTPAID 按量付费
454
+ # 注意:此字段可能返回 null,表示取不到有效值。
455
+ # @type PayMode: String
456
+ # @param EndpointUrl: 接入点地址
457
+ # 注意:此字段可能返回 null,表示取不到有效值。
458
+ # @type EndpointUrl: String
459
+ # @param VpcId: VPC ID
460
+ # 注意:此字段可能返回 null,表示取不到有效值。
461
+ # @type VpcId: String
462
+ # @param SubnetId: 子网ID
463
+ # 注意:此字段可能返回 null,表示取不到有效值。
464
+ # @type SubnetId: String
465
+ # @param Bandwidth: 公网带宽,Mbps为单位
466
+ # 注意:此字段可能返回 null,表示取不到有效值。
467
+ # @type Bandwidth: Integer
468
+ # @param IpRules: 公网放通规则
469
+ # 注意:此字段可能返回 null,表示取不到有效值。
470
+ # @type IpRules: Array
471
+
472
+ attr_accessor :Type, :Status, :PayMode, :EndpointUrl, :VpcId, :SubnetId, :Bandwidth, :IpRules
473
+
474
+ def initialize(type=nil, status=nil, paymode=nil, endpointurl=nil, vpcid=nil, subnetid=nil, bandwidth=nil, iprules=nil)
475
+ @Type = type
476
+ @Status = status
477
+ @PayMode = paymode
478
+ @EndpointUrl = endpointurl
479
+ @VpcId = vpcid
480
+ @SubnetId = subnetid
481
+ @Bandwidth = bandwidth
482
+ @IpRules = iprules
483
+ end
484
+
485
+ def deserialize(params)
486
+ @Type = params['Type']
487
+ @Status = params['Status']
488
+ @PayMode = params['PayMode']
489
+ @EndpointUrl = params['EndpointUrl']
490
+ @VpcId = params['VpcId']
491
+ @SubnetId = params['SubnetId']
492
+ @Bandwidth = params['Bandwidth']
493
+ unless params['IpRules'].nil?
494
+ @IpRules = []
495
+ params['IpRules'].each do |i|
496
+ iprule_tmp = IpRule.new
497
+ iprule_tmp.deserialize(i)
498
+ @IpRules << iprule_tmp
499
+ end
500
+ end
501
+ end
502
+ end
503
+
161
504
  # 查询过滤器
162
505
  class Filter < TencentCloud::Common::AbstractModel
163
506
  # @param Name: 过滤条件名
@@ -292,6 +635,87 @@ module TencentCloud
292
635
  end
293
636
  end
294
637
 
638
+ # IP规则
639
+ class IpRule < TencentCloud::Common::AbstractModel
640
+ # @param Ip: IP地址
641
+ # @type Ip: String
642
+ # @param Allow: 是否允许放行
643
+ # @type Allow: Boolean
644
+ # @param Remark: 备注信息
645
+ # 注意:此字段可能返回 null,表示取不到有效值。
646
+ # @type Remark: String
647
+
648
+ attr_accessor :Ip, :Allow, :Remark
649
+
650
+ def initialize(ip=nil, allow=nil, remark=nil)
651
+ @Ip = ip
652
+ @Allow = allow
653
+ @Remark = remark
654
+ end
655
+
656
+ def deserialize(params)
657
+ @Ip = params['Ip']
658
+ @Allow = params['Allow']
659
+ @Remark = params['Remark']
660
+ end
661
+ end
662
+
663
+ # ModifyInstance请求参数结构体
664
+ class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
665
+ # @param InstanceId: 实例ID
666
+ # @type InstanceId: String
667
+ # @param Name: 实例名称
668
+ # @type Name: String
669
+ # @param Remark: 备注信息
670
+ # @type Remark: String
671
+ # @param SendReceiveRatio: 消息发送和接收的比例
672
+ # @type SendReceiveRatio: Float
673
+ # @param SkuCode: 调整实例规格的商品代号
674
+ # @type SkuCode: String
675
+ # @param MessageRetention: 消息保留时长,小时为单位
676
+ # @type MessageRetention: Integer
677
+ # @param ScaledTpsEnabled: 是否开启弹性TPS
678
+ # @type ScaledTpsEnabled: Boolean
679
+
680
+ attr_accessor :InstanceId, :Name, :Remark, :SendReceiveRatio, :SkuCode, :MessageRetention, :ScaledTpsEnabled
681
+
682
+ def initialize(instanceid=nil, name=nil, remark=nil, sendreceiveratio=nil, skucode=nil, messageretention=nil, scaledtpsenabled=nil)
683
+ @InstanceId = instanceid
684
+ @Name = name
685
+ @Remark = remark
686
+ @SendReceiveRatio = sendreceiveratio
687
+ @SkuCode = skucode
688
+ @MessageRetention = messageretention
689
+ @ScaledTpsEnabled = scaledtpsenabled
690
+ end
691
+
692
+ def deserialize(params)
693
+ @InstanceId = params['InstanceId']
694
+ @Name = params['Name']
695
+ @Remark = params['Remark']
696
+ @SendReceiveRatio = params['SendReceiveRatio']
697
+ @SkuCode = params['SkuCode']
698
+ @MessageRetention = params['MessageRetention']
699
+ @ScaledTpsEnabled = params['ScaledTpsEnabled']
700
+ end
701
+ end
702
+
703
+ # ModifyInstance返回参数结构体
704
+ class ModifyInstanceResponse < TencentCloud::Common::AbstractModel
705
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
706
+ # @type RequestId: String
707
+
708
+ attr_accessor :RequestId
709
+
710
+ def initialize(requestid=nil)
711
+ @RequestId = requestid
712
+ end
713
+
714
+ def deserialize(params)
715
+ @RequestId = params['RequestId']
716
+ end
717
+ end
718
+
295
719
  # 标签数据
296
720
  class Tag < TencentCloud::Common::AbstractModel
297
721
  # @param TagKey: 标签名称
@@ -367,6 +791,26 @@ module TencentCloud
367
791
  end
368
792
  end
369
793
 
794
+ # VPC信息
795
+ class VpcInfo < TencentCloud::Common::AbstractModel
796
+ # @param VpcId: VPC ID
797
+ # @type VpcId: String
798
+ # @param SubnetId: 子网ID
799
+ # @type SubnetId: String
800
+
801
+ attr_accessor :VpcId, :SubnetId
802
+
803
+ def initialize(vpcid=nil, subnetid=nil)
804
+ @VpcId = vpcid
805
+ @SubnetId = subnetid
806
+ end
807
+
808
+ def deserialize(params)
809
+ @VpcId = params['VpcId']
810
+ @SubnetId = params['SubnetId']
811
+ end
812
+ end
813
+
370
814
  end
371
815
  end
372
816
  end
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.654
4
+ version: 3.0.656
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common