tencentcloud-sdk-trocket 3.0.752 → 3.0.754

Sign up to get free protection for your applications and to get access to all the features.
@@ -217,6 +217,276 @@ module TencentCloud
217
217
  end
218
218
  end
219
219
 
220
+ # CreateMQTTInsPublicEndpoint请求参数结构体
221
+ class CreateMQTTInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
222
+ # @param InstanceId: 实例ID
223
+ # @type InstanceId: String
224
+ # @param Bandwidth: 带宽
225
+ # @type Bandwidth: Integer
226
+ # @param Rules: 公网访问规则
227
+ # @type Rules: Array
228
+
229
+ attr_accessor :InstanceId, :Bandwidth, :Rules
230
+
231
+ def initialize(instanceid=nil, bandwidth=nil, rules=nil)
232
+ @InstanceId = instanceid
233
+ @Bandwidth = bandwidth
234
+ @Rules = rules
235
+ end
236
+
237
+ def deserialize(params)
238
+ @InstanceId = params['InstanceId']
239
+ @Bandwidth = params['Bandwidth']
240
+ unless params['Rules'].nil?
241
+ @Rules = []
242
+ params['Rules'].each do |i|
243
+ publicaccessrule_tmp = PublicAccessRule.new
244
+ publicaccessrule_tmp.deserialize(i)
245
+ @Rules << publicaccessrule_tmp
246
+ end
247
+ end
248
+ end
249
+ end
250
+
251
+ # CreateMQTTInsPublicEndpoint返回参数结构体
252
+ class CreateMQTTInsPublicEndpointResponse < TencentCloud::Common::AbstractModel
253
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
254
+ # @type RequestId: String
255
+
256
+ attr_accessor :RequestId
257
+
258
+ def initialize(requestid=nil)
259
+ @RequestId = requestid
260
+ end
261
+
262
+ def deserialize(params)
263
+ @RequestId = params['RequestId']
264
+ end
265
+ end
266
+
267
+ # CreateMQTTInstance请求参数结构体
268
+ class CreateMQTTInstanceRequest < TencentCloud::Common::AbstractModel
269
+ # @param InstanceType: 实例类型,
270
+ # EXPERIMENT 体验版
271
+ # BASIC 基础版
272
+ # PRO 专业版
273
+ # PLATINUM 铂金版
274
+ # @type InstanceType: String
275
+ # @param Name: 实例名称
276
+ # @type Name: String
277
+ # @param SkuCode: 商品规格,可用规格如下:
278
+ # experiment_500,
279
+ # basic_1k,
280
+ # basic_2k,
281
+ # basic_4k,
282
+ # basic_6k,
283
+ # pro_4k,
284
+ # pro_6k,
285
+ # pro_1w,
286
+ # pro_2w,
287
+ # pro_3w,
288
+ # pro_4w,
289
+ # pro_5w,
290
+ # platinum_6k,
291
+ # platinum_1w,
292
+ # platinum_2w,
293
+ # platinum_4w,
294
+ # platinum_10w,
295
+ # platinum_15w,
296
+ # platinum_20w,
297
+ # platinum_40w,
298
+ # platinum_60w,
299
+ # platinum_100w
300
+ # @type SkuCode: String
301
+ # @param Remark: 备注信息
302
+ # @type Remark: String
303
+ # @param TagList: 标签列表
304
+ # @type TagList: Array
305
+ # @param VpcList: 实例绑定的VPC信息
306
+ # @type VpcList: Array
307
+ # @param EnablePublic: 是否开启公网
308
+ # @type EnablePublic: Boolean
309
+ # @param Bandwidth: 公网带宽(单位:兆)
310
+ # @type Bandwidth: Integer
311
+ # @param IpRules: 公网访问白名单
312
+ # @type IpRules: Array
313
+ # @param RenewFlag: 是否自动续费(0: 不自动续费;1: 自动续费)
314
+ # @type RenewFlag: Integer
315
+ # @param TimeSpan: 购买时长(单位:月)
316
+ # @type TimeSpan: Integer
317
+
318
+ attr_accessor :InstanceType, :Name, :SkuCode, :Remark, :TagList, :VpcList, :EnablePublic, :Bandwidth, :IpRules, :RenewFlag, :TimeSpan
319
+
320
+ def initialize(instancetype=nil, name=nil, skucode=nil, remark=nil, taglist=nil, vpclist=nil, enablepublic=nil, bandwidth=nil, iprules=nil, renewflag=nil, timespan=nil)
321
+ @InstanceType = instancetype
322
+ @Name = name
323
+ @SkuCode = skucode
324
+ @Remark = remark
325
+ @TagList = taglist
326
+ @VpcList = vpclist
327
+ @EnablePublic = enablepublic
328
+ @Bandwidth = bandwidth
329
+ @IpRules = iprules
330
+ @RenewFlag = renewflag
331
+ @TimeSpan = timespan
332
+ end
333
+
334
+ def deserialize(params)
335
+ @InstanceType = params['InstanceType']
336
+ @Name = params['Name']
337
+ @SkuCode = params['SkuCode']
338
+ @Remark = params['Remark']
339
+ unless params['TagList'].nil?
340
+ @TagList = []
341
+ params['TagList'].each do |i|
342
+ tag_tmp = Tag.new
343
+ tag_tmp.deserialize(i)
344
+ @TagList << tag_tmp
345
+ end
346
+ end
347
+ unless params['VpcList'].nil?
348
+ @VpcList = []
349
+ params['VpcList'].each do |i|
350
+ vpcinfo_tmp = VpcInfo.new
351
+ vpcinfo_tmp.deserialize(i)
352
+ @VpcList << vpcinfo_tmp
353
+ end
354
+ end
355
+ @EnablePublic = params['EnablePublic']
356
+ @Bandwidth = params['Bandwidth']
357
+ unless params['IpRules'].nil?
358
+ @IpRules = []
359
+ params['IpRules'].each do |i|
360
+ iprule_tmp = IpRule.new
361
+ iprule_tmp.deserialize(i)
362
+ @IpRules << iprule_tmp
363
+ end
364
+ end
365
+ @RenewFlag = params['RenewFlag']
366
+ @TimeSpan = params['TimeSpan']
367
+ end
368
+ end
369
+
370
+ # CreateMQTTInstance返回参数结构体
371
+ class CreateMQTTInstanceResponse < TencentCloud::Common::AbstractModel
372
+ # @param InstanceId: 实例ID
373
+ # @type InstanceId: String
374
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
375
+ # @type RequestId: String
376
+
377
+ attr_accessor :InstanceId, :RequestId
378
+
379
+ def initialize(instanceid=nil, requestid=nil)
380
+ @InstanceId = instanceid
381
+ @RequestId = requestid
382
+ end
383
+
384
+ def deserialize(params)
385
+ @InstanceId = params['InstanceId']
386
+ @RequestId = params['RequestId']
387
+ end
388
+ end
389
+
390
+ # CreateMQTTTopic请求参数结构体
391
+ class CreateMQTTTopicRequest < TencentCloud::Common::AbstractModel
392
+ # @param InstanceId: 实例ID
393
+ # @type InstanceId: String
394
+ # @param Topic: 主题
395
+ # @type Topic: String
396
+ # @param Remark: 备注
397
+ # @type Remark: String
398
+
399
+ attr_accessor :InstanceId, :Topic, :Remark
400
+
401
+ def initialize(instanceid=nil, topic=nil, remark=nil)
402
+ @InstanceId = instanceid
403
+ @Topic = topic
404
+ @Remark = remark
405
+ end
406
+
407
+ def deserialize(params)
408
+ @InstanceId = params['InstanceId']
409
+ @Topic = params['Topic']
410
+ @Remark = params['Remark']
411
+ end
412
+ end
413
+
414
+ # CreateMQTTTopic返回参数结构体
415
+ class CreateMQTTTopicResponse < TencentCloud::Common::AbstractModel
416
+ # @param InstanceId: 实例ID
417
+ # @type InstanceId: String
418
+ # @param Topic: 主题
419
+ # @type Topic: String
420
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
421
+ # @type RequestId: String
422
+
423
+ attr_accessor :InstanceId, :Topic, :RequestId
424
+
425
+ def initialize(instanceid=nil, topic=nil, requestid=nil)
426
+ @InstanceId = instanceid
427
+ @Topic = topic
428
+ @RequestId = requestid
429
+ end
430
+
431
+ def deserialize(params)
432
+ @InstanceId = params['InstanceId']
433
+ @Topic = params['Topic']
434
+ @RequestId = params['RequestId']
435
+ end
436
+ end
437
+
438
+ # CreateMQTTUser请求参数结构体
439
+ class CreateMQTTUserRequest < TencentCloud::Common::AbstractModel
440
+ # @param InstanceId: 实例ID
441
+ # @type InstanceId: String
442
+ # @param Remark: 备注
443
+ # @type Remark: String
444
+ # @param PermWrite: 是否开启生产权限
445
+ # @type PermWrite: Boolean
446
+ # @param PermRead: 是否开启消费权限
447
+ # @type PermRead: Boolean
448
+ # @param Username: 用户名
449
+ # @type Username: String
450
+ # @param Password: 密码,该字段为空时候则后端会默认生成
451
+ # @type Password: String
452
+
453
+ attr_accessor :InstanceId, :Remark, :PermWrite, :PermRead, :Username, :Password
454
+
455
+ def initialize(instanceid=nil, remark=nil, permwrite=nil, permread=nil, username=nil, password=nil)
456
+ @InstanceId = instanceid
457
+ @Remark = remark
458
+ @PermWrite = permwrite
459
+ @PermRead = permread
460
+ @Username = username
461
+ @Password = password
462
+ end
463
+
464
+ def deserialize(params)
465
+ @InstanceId = params['InstanceId']
466
+ @Remark = params['Remark']
467
+ @PermWrite = params['PermWrite']
468
+ @PermRead = params['PermRead']
469
+ @Username = params['Username']
470
+ @Password = params['Password']
471
+ end
472
+ end
473
+
474
+ # CreateMQTTUser返回参数结构体
475
+ class CreateMQTTUserResponse < TencentCloud::Common::AbstractModel
476
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
477
+ # @type RequestId: String
478
+
479
+ attr_accessor :RequestId
480
+
481
+ def initialize(requestid=nil)
482
+ @RequestId = requestid
483
+ end
484
+
485
+ def deserialize(params)
486
+ @RequestId = params['RequestId']
487
+ end
488
+ end
489
+
220
490
  # CreateRole请求参数结构体
221
491
  class CreateRoleRequest < TencentCloud::Common::AbstractModel
222
492
  # @param InstanceId: 实例ID
@@ -330,6 +600,28 @@ module TencentCloud
330
600
  end
331
601
  end
332
602
 
603
+ # map结构返回
604
+ class CustomMapEntry < TencentCloud::Common::AbstractModel
605
+ # @param Key: key
606
+ # 注意:此字段可能返回 null,表示取不到有效值。
607
+ # @type Key: String
608
+ # @param Value: value
609
+ # 注意:此字段可能返回 null,表示取不到有效值。
610
+ # @type Value: String
611
+
612
+ attr_accessor :Key, :Value
613
+
614
+ def initialize(key=nil, value=nil)
615
+ @Key = key
616
+ @Value = value
617
+ end
618
+
619
+ def deserialize(params)
620
+ @Key = params['Key']
621
+ @Value = params['Value']
622
+ end
623
+ end
624
+
333
625
  # DeleteConsumerGroup请求参数结构体
334
626
  class DeleteConsumerGroupRequest < TencentCloud::Common::AbstractModel
335
627
  # @param InstanceId: 实例ID
@@ -398,28 +690,24 @@ module TencentCloud
398
690
  end
399
691
  end
400
692
 
401
- # DeleteRole请求参数结构体
402
- class DeleteRoleRequest < TencentCloud::Common::AbstractModel
693
+ # DeleteMQTTInsPublicEndpoint请求参数结构体
694
+ class DeleteMQTTInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
403
695
  # @param InstanceId: 实例ID
404
696
  # @type InstanceId: String
405
- # @param Role: 角色名称
406
- # @type Role: String
407
697
 
408
- attr_accessor :InstanceId, :Role
698
+ attr_accessor :InstanceId
409
699
 
410
- def initialize(instanceid=nil, role=nil)
700
+ def initialize(instanceid=nil)
411
701
  @InstanceId = instanceid
412
- @Role = role
413
702
  end
414
703
 
415
704
  def deserialize(params)
416
705
  @InstanceId = params['InstanceId']
417
- @Role = params['Role']
418
706
  end
419
707
  end
420
708
 
421
- # DeleteRole返回参数结构体
422
- class DeleteRoleResponse < TencentCloud::Common::AbstractModel
709
+ # DeleteMQTTInsPublicEndpoint返回参数结构体
710
+ class DeleteMQTTInsPublicEndpointResponse < TencentCloud::Common::AbstractModel
423
711
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
424
712
  # @type RequestId: String
425
713
 
@@ -434,28 +722,24 @@ module TencentCloud
434
722
  end
435
723
  end
436
724
 
437
- # DeleteTopic请求参数结构体
438
- class DeleteTopicRequest < TencentCloud::Common::AbstractModel
725
+ # DeleteMQTTInstance请求参数结构体
726
+ class DeleteMQTTInstanceRequest < TencentCloud::Common::AbstractModel
439
727
  # @param InstanceId: 实例ID
440
728
  # @type InstanceId: String
441
- # @param Topic: 主题
442
- # @type Topic: String
443
729
 
444
- attr_accessor :InstanceId, :Topic
730
+ attr_accessor :InstanceId
445
731
 
446
- def initialize(instanceid=nil, topic=nil)
732
+ def initialize(instanceid=nil)
447
733
  @InstanceId = instanceid
448
- @Topic = topic
449
734
  end
450
735
 
451
736
  def deserialize(params)
452
737
  @InstanceId = params['InstanceId']
453
- @Topic = params['Topic']
454
738
  end
455
739
  end
456
740
 
457
- # DeleteTopic返回参数结构体
458
- class DeleteTopicResponse < TencentCloud::Common::AbstractModel
741
+ # DeleteMQTTInstance返回参数结构体
742
+ class DeleteMQTTInstanceResponse < TencentCloud::Common::AbstractModel
459
743
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
460
744
  # @type RequestId: String
461
745
 
@@ -470,27 +754,171 @@ module TencentCloud
470
754
  end
471
755
  end
472
756
 
473
- # DescribeConsumerGroupList请求参数结构体
474
- class DescribeConsumerGroupListRequest < TencentCloud::Common::AbstractModel
757
+ # DeleteMQTTTopic请求参数结构体
758
+ class DeleteMQTTTopicRequest < TencentCloud::Common::AbstractModel
475
759
  # @param InstanceId: 实例ID
476
760
  # @type InstanceId: String
477
- # @param Offset: 查询起始位置
478
- # @type Offset: Integer
479
- # @param Limit: 查询结果限制数量
480
- # @type Limit: Integer
481
- # @param Filters: 查询条件列表
482
- # @type Filters: Array
483
- # @param FromTopic: 查询指定主题下的消费组
484
- # @type FromTopic: String
761
+ # @param Topic: 主题
762
+ # @type Topic: String
485
763
 
486
- attr_accessor :InstanceId, :Offset, :Limit, :Filters, :FromTopic
764
+ attr_accessor :InstanceId, :Topic
487
765
 
488
- def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil, fromtopic=nil)
766
+ def initialize(instanceid=nil, topic=nil)
489
767
  @InstanceId = instanceid
490
- @Offset = offset
491
- @Limit = limit
492
- @Filters = filters
493
- @FromTopic = fromtopic
768
+ @Topic = topic
769
+ end
770
+
771
+ def deserialize(params)
772
+ @InstanceId = params['InstanceId']
773
+ @Topic = params['Topic']
774
+ end
775
+ end
776
+
777
+ # DeleteMQTTTopic返回参数结构体
778
+ class DeleteMQTTTopicResponse < TencentCloud::Common::AbstractModel
779
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
780
+ # @type RequestId: String
781
+
782
+ attr_accessor :RequestId
783
+
784
+ def initialize(requestid=nil)
785
+ @RequestId = requestid
786
+ end
787
+
788
+ def deserialize(params)
789
+ @RequestId = params['RequestId']
790
+ end
791
+ end
792
+
793
+ # DeleteMQTTUser请求参数结构体
794
+ class DeleteMQTTUserRequest < TencentCloud::Common::AbstractModel
795
+ # @param InstanceId: 实例ID
796
+ # @type InstanceId: String
797
+ # @param Username: 用户名
798
+ # @type Username: String
799
+
800
+ attr_accessor :InstanceId, :Username
801
+
802
+ def initialize(instanceid=nil, username=nil)
803
+ @InstanceId = instanceid
804
+ @Username = username
805
+ end
806
+
807
+ def deserialize(params)
808
+ @InstanceId = params['InstanceId']
809
+ @Username = params['Username']
810
+ end
811
+ end
812
+
813
+ # DeleteMQTTUser返回参数结构体
814
+ class DeleteMQTTUserResponse < TencentCloud::Common::AbstractModel
815
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
816
+ # @type RequestId: String
817
+
818
+ attr_accessor :RequestId
819
+
820
+ def initialize(requestid=nil)
821
+ @RequestId = requestid
822
+ end
823
+
824
+ def deserialize(params)
825
+ @RequestId = params['RequestId']
826
+ end
827
+ end
828
+
829
+ # DeleteRole请求参数结构体
830
+ class DeleteRoleRequest < TencentCloud::Common::AbstractModel
831
+ # @param InstanceId: 实例ID
832
+ # @type InstanceId: String
833
+ # @param Role: 角色名称
834
+ # @type Role: String
835
+
836
+ attr_accessor :InstanceId, :Role
837
+
838
+ def initialize(instanceid=nil, role=nil)
839
+ @InstanceId = instanceid
840
+ @Role = role
841
+ end
842
+
843
+ def deserialize(params)
844
+ @InstanceId = params['InstanceId']
845
+ @Role = params['Role']
846
+ end
847
+ end
848
+
849
+ # DeleteRole返回参数结构体
850
+ class DeleteRoleResponse < TencentCloud::Common::AbstractModel
851
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
852
+ # @type RequestId: String
853
+
854
+ attr_accessor :RequestId
855
+
856
+ def initialize(requestid=nil)
857
+ @RequestId = requestid
858
+ end
859
+
860
+ def deserialize(params)
861
+ @RequestId = params['RequestId']
862
+ end
863
+ end
864
+
865
+ # DeleteTopic请求参数结构体
866
+ class DeleteTopicRequest < TencentCloud::Common::AbstractModel
867
+ # @param InstanceId: 实例ID
868
+ # @type InstanceId: String
869
+ # @param Topic: 主题
870
+ # @type Topic: String
871
+
872
+ attr_accessor :InstanceId, :Topic
873
+
874
+ def initialize(instanceid=nil, topic=nil)
875
+ @InstanceId = instanceid
876
+ @Topic = topic
877
+ end
878
+
879
+ def deserialize(params)
880
+ @InstanceId = params['InstanceId']
881
+ @Topic = params['Topic']
882
+ end
883
+ end
884
+
885
+ # DeleteTopic返回参数结构体
886
+ class DeleteTopicResponse < TencentCloud::Common::AbstractModel
887
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
888
+ # @type RequestId: String
889
+
890
+ attr_accessor :RequestId
891
+
892
+ def initialize(requestid=nil)
893
+ @RequestId = requestid
894
+ end
895
+
896
+ def deserialize(params)
897
+ @RequestId = params['RequestId']
898
+ end
899
+ end
900
+
901
+ # DescribeConsumerGroupList请求参数结构体
902
+ class DescribeConsumerGroupListRequest < TencentCloud::Common::AbstractModel
903
+ # @param InstanceId: 实例ID
904
+ # @type InstanceId: String
905
+ # @param Offset: 查询起始位置
906
+ # @type Offset: Integer
907
+ # @param Limit: 查询结果限制数量
908
+ # @type Limit: Integer
909
+ # @param Filters: 查询条件列表
910
+ # @type Filters: Array
911
+ # @param FromTopic: 查询指定主题下的消费组
912
+ # @type FromTopic: String
913
+
914
+ attr_accessor :InstanceId, :Offset, :Limit, :Filters, :FromTopic
915
+
916
+ def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil, fromtopic=nil)
917
+ @InstanceId = instanceid
918
+ @Offset = offset
919
+ @Limit = limit
920
+ @Filters = filters
921
+ @FromTopic = fromtopic
494
922
  end
495
923
 
496
924
  def deserialize(params)
@@ -833,169 +1261,926 @@ module TencentCloud
833
1261
  end
834
1262
  end
835
1263
 
836
- # DescribeRoleList请求参数结构体
837
- class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
1264
+ # DescribeMQTTClient请求参数结构体
1265
+ class DescribeMQTTClientRequest < TencentCloud::Common::AbstractModel
838
1266
  # @param InstanceId: 实例ID
839
1267
  # @type InstanceId: String
840
- # @param Offset: 查询起始位置
841
- # @type Offset: Integer
842
- # @param Limit: 查询结果限制数量
843
- # @type Limit: Integer
844
- # @param Filters: 查询条件列表
845
- # @type Filters: Array
1268
+ # @param ClientId: 客户端详情
1269
+ # @type ClientId: String
846
1270
 
847
- attr_accessor :InstanceId, :Offset, :Limit, :Filters
1271
+ attr_accessor :InstanceId, :ClientId
848
1272
 
849
- def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
1273
+ def initialize(instanceid=nil, clientid=nil)
850
1274
  @InstanceId = instanceid
851
- @Offset = offset
852
- @Limit = limit
853
- @Filters = filters
1275
+ @ClientId = clientid
854
1276
  end
855
1277
 
856
1278
  def deserialize(params)
857
1279
  @InstanceId = params['InstanceId']
858
- @Offset = params['Offset']
859
- @Limit = params['Limit']
860
- unless params['Filters'].nil?
861
- @Filters = []
862
- params['Filters'].each do |i|
863
- filter_tmp = Filter.new
864
- filter_tmp.deserialize(i)
865
- @Filters << filter_tmp
866
- end
867
- end
1280
+ @ClientId = params['ClientId']
868
1281
  end
869
1282
  end
870
1283
 
871
- # DescribeRoleList返回参数结构体
872
- class DescribeRoleListResponse < TencentCloud::Common::AbstractModel
873
- # @param TotalCount: 查询总数
874
- # 注意:此字段可能返回 null,表示取不到有效值。
875
- # @type TotalCount: Integer
876
- # @param Data: 角色信息列表
877
- # @type Data: Array
1284
+ # DescribeMQTTClient返回参数结构体
1285
+ class DescribeMQTTClientResponse < TencentCloud::Common::AbstractModel
1286
+ # @param ClientId: 客户端唯一标识
1287
+ # @type ClientId: String
1288
+ # @param ClientAddress: 客户端网络地址
1289
+ # @type ClientAddress: String
1290
+ # @param ProtocolVersion: MQTT 协议版本,4 表示 MQTT 3.1.1
1291
+ # @type ProtocolVersion: Integer
1292
+ # @param Keepalive: 保持连接时间,单位:秒
1293
+ # @type Keepalive: Integer
1294
+ # @param ConnectionStatus: 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
1295
+ # @type ConnectionStatus: String
1296
+ # @param CreateTime: 客户端创建时间
1297
+ # @type CreateTime: Integer
1298
+ # @param ConnectTime: 上次建立连接时间
1299
+ # @type ConnectTime: Integer
1300
+ # @param DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义
1301
+ # @type DisconnectTime: Integer
1302
+ # @param MQTTClientSubscriptions: 客户端的订阅列表
1303
+ # @type MQTTClientSubscriptions: Array
878
1304
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
879
1305
  # @type RequestId: String
880
1306
 
881
- attr_accessor :TotalCount, :Data, :RequestId
882
-
883
- def initialize(totalcount=nil, data=nil, requestid=nil)
884
- @TotalCount = totalcount
885
- @Data = data
1307
+ attr_accessor :ClientId, :ClientAddress, :ProtocolVersion, :Keepalive, :ConnectionStatus, :CreateTime, :ConnectTime, :DisconnectTime, :MQTTClientSubscriptions, :RequestId
1308
+
1309
+ def initialize(clientid=nil, clientaddress=nil, protocolversion=nil, keepalive=nil, connectionstatus=nil, createtime=nil, connecttime=nil, disconnecttime=nil, mqttclientsubscriptions=nil, requestid=nil)
1310
+ @ClientId = clientid
1311
+ @ClientAddress = clientaddress
1312
+ @ProtocolVersion = protocolversion
1313
+ @Keepalive = keepalive
1314
+ @ConnectionStatus = connectionstatus
1315
+ @CreateTime = createtime
1316
+ @ConnectTime = connecttime
1317
+ @DisconnectTime = disconnecttime
1318
+ @MQTTClientSubscriptions = mqttclientsubscriptions
886
1319
  @RequestId = requestid
887
1320
  end
888
1321
 
889
1322
  def deserialize(params)
890
- @TotalCount = params['TotalCount']
891
- unless params['Data'].nil?
892
- @Data = []
893
- params['Data'].each do |i|
894
- roleitem_tmp = RoleItem.new
895
- roleitem_tmp.deserialize(i)
896
- @Data << roleitem_tmp
1323
+ @ClientId = params['ClientId']
1324
+ @ClientAddress = params['ClientAddress']
1325
+ @ProtocolVersion = params['ProtocolVersion']
1326
+ @Keepalive = params['Keepalive']
1327
+ @ConnectionStatus = params['ConnectionStatus']
1328
+ @CreateTime = params['CreateTime']
1329
+ @ConnectTime = params['ConnectTime']
1330
+ @DisconnectTime = params['DisconnectTime']
1331
+ unless params['MQTTClientSubscriptions'].nil?
1332
+ @MQTTClientSubscriptions = []
1333
+ params['MQTTClientSubscriptions'].each do |i|
1334
+ mqttclientsubscription_tmp = MQTTClientSubscription.new
1335
+ mqttclientsubscription_tmp.deserialize(i)
1336
+ @MQTTClientSubscriptions << mqttclientsubscription_tmp
897
1337
  end
898
1338
  end
899
1339
  @RequestId = params['RequestId']
900
1340
  end
901
1341
  end
902
1342
 
903
- # DescribeTopicList请求参数结构体
904
- class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
1343
+ # DescribeMQTTInsPublicEndpoints请求参数结构体
1344
+ class DescribeMQTTInsPublicEndpointsRequest < TencentCloud::Common::AbstractModel
905
1345
  # @param InstanceId: 实例ID
906
1346
  # @type InstanceId: String
907
- # @param Offset: 查询起始位置
908
- # @type Offset: Integer
909
- # @param Limit: 查询结果限制数量
910
- # @type Limit: Integer
911
- # @param Filters: 查询条件列表
912
- # @type Filters: Array
913
1347
 
914
- attr_accessor :InstanceId, :Offset, :Limit, :Filters
1348
+ attr_accessor :InstanceId
915
1349
 
916
- def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
1350
+ def initialize(instanceid=nil)
917
1351
  @InstanceId = instanceid
918
- @Offset = offset
919
- @Limit = limit
920
- @Filters = filters
921
1352
  end
922
1353
 
923
1354
  def deserialize(params)
924
1355
  @InstanceId = params['InstanceId']
925
- @Offset = params['Offset']
926
- @Limit = params['Limit']
927
- unless params['Filters'].nil?
928
- @Filters = []
929
- params['Filters'].each do |i|
930
- filter_tmp = Filter.new
931
- filter_tmp.deserialize(i)
932
- @Filters << filter_tmp
933
- end
934
- end
935
1356
  end
936
1357
  end
937
1358
 
938
- # DescribeTopicList返回参数结构体
939
- class DescribeTopicListResponse < TencentCloud::Common::AbstractModel
940
- # @param TotalCount: 查询总数
941
- # 注意:此字段可能返回 null,表示取不到有效值。
942
- # @type TotalCount: Integer
943
- # @param Data: 主题列表
944
- # @type Data: Array
1359
+ # DescribeMQTTInsPublicEndpoints返回参数结构体
1360
+ class DescribeMQTTInsPublicEndpointsResponse < TencentCloud::Common::AbstractModel
1361
+ # @param Endpoints: 接入点
1362
+ # @type Endpoints: Array
1363
+ # @param InstanceId: 实例id
1364
+ # @type InstanceId: String
1365
+ # @param Bandwidth: 带宽
1366
+ # @type Bandwidth: Integer
1367
+ # @param Rules: 公网访问规则
1368
+ # @type Rules: Array
945
1369
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
946
1370
  # @type RequestId: String
947
1371
 
948
- attr_accessor :TotalCount, :Data, :RequestId
1372
+ attr_accessor :Endpoints, :InstanceId, :Bandwidth, :Rules, :RequestId
949
1373
 
950
- def initialize(totalcount=nil, data=nil, requestid=nil)
951
- @TotalCount = totalcount
952
- @Data = data
1374
+ def initialize(endpoints=nil, instanceid=nil, bandwidth=nil, rules=nil, requestid=nil)
1375
+ @Endpoints = endpoints
1376
+ @InstanceId = instanceid
1377
+ @Bandwidth = bandwidth
1378
+ @Rules = rules
953
1379
  @RequestId = requestid
954
1380
  end
955
1381
 
956
1382
  def deserialize(params)
957
- @TotalCount = params['TotalCount']
958
- unless params['Data'].nil?
959
- @Data = []
960
- params['Data'].each do |i|
961
- topicitem_tmp = TopicItem.new
962
- topicitem_tmp.deserialize(i)
963
- @Data << topicitem_tmp
1383
+ unless params['Endpoints'].nil?
1384
+ @Endpoints = []
1385
+ params['Endpoints'].each do |i|
1386
+ mqttendpointitem_tmp = MQTTEndpointItem.new
1387
+ mqttendpointitem_tmp.deserialize(i)
1388
+ @Endpoints << mqttendpointitem_tmp
1389
+ end
1390
+ end
1391
+ @InstanceId = params['InstanceId']
1392
+ @Bandwidth = params['Bandwidth']
1393
+ unless params['Rules'].nil?
1394
+ @Rules = []
1395
+ params['Rules'].each do |i|
1396
+ publicaccessrule_tmp = PublicAccessRule.new
1397
+ publicaccessrule_tmp.deserialize(i)
1398
+ @Rules << publicaccessrule_tmp
964
1399
  end
965
1400
  end
966
1401
  @RequestId = params['RequestId']
967
1402
  end
968
1403
  end
969
1404
 
970
- # DescribeTopic请求参数结构体
971
- class DescribeTopicRequest < TencentCloud::Common::AbstractModel
1405
+ # DescribeMQTTInsVPCEndpoints请求参数结构体
1406
+ class DescribeMQTTInsVPCEndpointsRequest < TencentCloud::Common::AbstractModel
972
1407
  # @param InstanceId: 实例ID
973
1408
  # @type InstanceId: String
974
- # @param Topic: 主题
975
- # @type Topic: String
976
- # @param Offset: 查询起始位置
977
- # @type Offset: Integer
978
- # @param Limit: 查询结果限制数量
979
- # @type Limit: Integer
980
- # @param Filters: 查询条件列表
981
- # @type Filters: Array
982
1409
 
983
- attr_accessor :InstanceId, :Topic, :Offset, :Limit, :Filters
1410
+ attr_accessor :InstanceId
984
1411
 
985
- def initialize(instanceid=nil, topic=nil, offset=nil, limit=nil, filters=nil)
1412
+ def initialize(instanceid=nil)
986
1413
  @InstanceId = instanceid
987
- @Topic = topic
988
- @Offset = offset
989
- @Limit = limit
990
- @Filters = filters
991
1414
  end
992
1415
 
993
1416
  def deserialize(params)
994
1417
  @InstanceId = params['InstanceId']
995
- @Topic = params['Topic']
996
- @Offset = params['Offset']
997
- @Limit = params['Limit']
998
- unless params['Filters'].nil?
1418
+ end
1419
+ end
1420
+
1421
+ # DescribeMQTTInsVPCEndpoints返回参数结构体
1422
+ class DescribeMQTTInsVPCEndpointsResponse < TencentCloud::Common::AbstractModel
1423
+ # @param Endpoints: 接入点
1424
+ # @type Endpoints: Array
1425
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1426
+ # @type RequestId: String
1427
+
1428
+ attr_accessor :Endpoints, :RequestId
1429
+
1430
+ def initialize(endpoints=nil, requestid=nil)
1431
+ @Endpoints = endpoints
1432
+ @RequestId = requestid
1433
+ end
1434
+
1435
+ def deserialize(params)
1436
+ unless params['Endpoints'].nil?
1437
+ @Endpoints = []
1438
+ params['Endpoints'].each do |i|
1439
+ mqttendpointitem_tmp = MQTTEndpointItem.new
1440
+ mqttendpointitem_tmp.deserialize(i)
1441
+ @Endpoints << mqttendpointitem_tmp
1442
+ end
1443
+ end
1444
+ @RequestId = params['RequestId']
1445
+ end
1446
+ end
1447
+
1448
+ # DescribeMQTTInstanceCert请求参数结构体
1449
+ class DescribeMQTTInstanceCertRequest < TencentCloud::Common::AbstractModel
1450
+ # @param InstanceId: 实例ID
1451
+ # @type InstanceId: String
1452
+
1453
+ attr_accessor :InstanceId
1454
+
1455
+ def initialize(instanceid=nil)
1456
+ @InstanceId = instanceid
1457
+ end
1458
+
1459
+ def deserialize(params)
1460
+ @InstanceId = params['InstanceId']
1461
+ end
1462
+ end
1463
+
1464
+ # DescribeMQTTInstanceCert返回参数结构体
1465
+ class DescribeMQTTInstanceCertResponse < TencentCloud::Common::AbstractModel
1466
+ # @param InstanceId: 集群id
1467
+ # 注意:此字段可能返回 null,表示取不到有效值。
1468
+ # @type InstanceId: String
1469
+ # @param SSLServerCertId: 服务端证书id
1470
+ # 注意:此字段可能返回 null,表示取不到有效值。
1471
+ # @type SSLServerCertId: String
1472
+ # @param SSLCaCertId: CA证书id
1473
+ # 注意:此字段可能返回 null,表示取不到有效值。
1474
+ # @type SSLCaCertId: String
1475
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1476
+ # @type RequestId: String
1477
+
1478
+ attr_accessor :InstanceId, :SSLServerCertId, :SSLCaCertId, :RequestId
1479
+
1480
+ def initialize(instanceid=nil, sslservercertid=nil, sslcacertid=nil, requestid=nil)
1481
+ @InstanceId = instanceid
1482
+ @SSLServerCertId = sslservercertid
1483
+ @SSLCaCertId = sslcacertid
1484
+ @RequestId = requestid
1485
+ end
1486
+
1487
+ def deserialize(params)
1488
+ @InstanceId = params['InstanceId']
1489
+ @SSLServerCertId = params['SSLServerCertId']
1490
+ @SSLCaCertId = params['SSLCaCertId']
1491
+ @RequestId = params['RequestId']
1492
+ end
1493
+ end
1494
+
1495
+ # DescribeMQTTInstanceList请求参数结构体
1496
+ class DescribeMQTTInstanceListRequest < TencentCloud::Common::AbstractModel
1497
+ # @param Filters: 查询条件列表
1498
+ # @type Filters: Array
1499
+ # @param Offset: 查询起始位置
1500
+ # @type Offset: Integer
1501
+ # @param Limit: 查询结果限制数量
1502
+ # @type Limit: Integer
1503
+
1504
+ attr_accessor :Filters, :Offset, :Limit
1505
+
1506
+ def initialize(filters=nil, offset=nil, limit=nil)
1507
+ @Filters = filters
1508
+ @Offset = offset
1509
+ @Limit = limit
1510
+ end
1511
+
1512
+ def deserialize(params)
1513
+ unless params['Filters'].nil?
1514
+ @Filters = []
1515
+ params['Filters'].each do |i|
1516
+ filter_tmp = Filter.new
1517
+ filter_tmp.deserialize(i)
1518
+ @Filters << filter_tmp
1519
+ end
1520
+ end
1521
+ @Offset = params['Offset']
1522
+ @Limit = params['Limit']
1523
+ end
1524
+ end
1525
+
1526
+ # DescribeMQTTInstanceList返回参数结构体
1527
+ class DescribeMQTTInstanceListResponse < TencentCloud::Common::AbstractModel
1528
+ # @param TotalCount: 查询总数
1529
+ # 注意:此字段可能返回 null,表示取不到有效值。
1530
+ # @type TotalCount: Integer
1531
+ # @param Data: 实例列表
1532
+ # @type Data: Array
1533
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1534
+ # @type RequestId: String
1535
+
1536
+ attr_accessor :TotalCount, :Data, :RequestId
1537
+
1538
+ def initialize(totalcount=nil, data=nil, requestid=nil)
1539
+ @TotalCount = totalcount
1540
+ @Data = data
1541
+ @RequestId = requestid
1542
+ end
1543
+
1544
+ def deserialize(params)
1545
+ @TotalCount = params['TotalCount']
1546
+ unless params['Data'].nil?
1547
+ @Data = []
1548
+ params['Data'].each do |i|
1549
+ mqttinstanceitem_tmp = MQTTInstanceItem.new
1550
+ mqttinstanceitem_tmp.deserialize(i)
1551
+ @Data << mqttinstanceitem_tmp
1552
+ end
1553
+ end
1554
+ @RequestId = params['RequestId']
1555
+ end
1556
+ end
1557
+
1558
+ # DescribeMQTTInstance请求参数结构体
1559
+ class DescribeMQTTInstanceRequest < TencentCloud::Common::AbstractModel
1560
+ # @param InstanceId: 实例ID
1561
+ # @type InstanceId: String
1562
+
1563
+ attr_accessor :InstanceId
1564
+
1565
+ def initialize(instanceid=nil)
1566
+ @InstanceId = instanceid
1567
+ end
1568
+
1569
+ def deserialize(params)
1570
+ @InstanceId = params['InstanceId']
1571
+ end
1572
+ end
1573
+
1574
+ # DescribeMQTTInstance返回参数结构体
1575
+ class DescribeMQTTInstanceResponse < TencentCloud::Common::AbstractModel
1576
+ # @param InstanceType: 实例类型,
1577
+ # EXPERIMENT 体验版
1578
+ # BASIC 基础版
1579
+ # PRO 专业版
1580
+ # PLATINUM 铂金版
1581
+ # @type InstanceType: String
1582
+ # @param InstanceId: 实例ID
1583
+ # @type InstanceId: String
1584
+ # @param InstanceName: 实例名称
1585
+ # @type InstanceName: String
1586
+ # @param TopicNum: 主题数量
1587
+ # @type TopicNum: Integer
1588
+ # @param TopicNumLimit: 实例最大主题数量
1589
+ # @type TopicNumLimit: Integer
1590
+ # @param TpsLimit: TPS限流值
1591
+ # @type TpsLimit: Integer
1592
+ # @param CreatedTime: 创建时间,秒为单位
1593
+ # @type CreatedTime: Integer
1594
+ # @param Remark: 备注信息
1595
+ # @type Remark: String
1596
+ # @param InstanceStatus: 实例状态
1597
+ # @type InstanceStatus: String
1598
+ # @param SkuCode: 实例规格
1599
+ # @type SkuCode: String
1600
+ # @param SubscriptionNumLimit: 订阅数上限
1601
+ # @type SubscriptionNumLimit: Integer
1602
+ # @param ClientNumLimit: 客户端数量上限
1603
+ # @type ClientNumLimit: Integer
1604
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1605
+ # @type RequestId: String
1606
+
1607
+ attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :SubscriptionNumLimit, :ClientNumLimit, :RequestId
1608
+
1609
+ def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, subscriptionnumlimit=nil, clientnumlimit=nil, requestid=nil)
1610
+ @InstanceType = instancetype
1611
+ @InstanceId = instanceid
1612
+ @InstanceName = instancename
1613
+ @TopicNum = topicnum
1614
+ @TopicNumLimit = topicnumlimit
1615
+ @TpsLimit = tpslimit
1616
+ @CreatedTime = createdtime
1617
+ @Remark = remark
1618
+ @InstanceStatus = instancestatus
1619
+ @SkuCode = skucode
1620
+ @SubscriptionNumLimit = subscriptionnumlimit
1621
+ @ClientNumLimit = clientnumlimit
1622
+ @RequestId = requestid
1623
+ end
1624
+
1625
+ def deserialize(params)
1626
+ @InstanceType = params['InstanceType']
1627
+ @InstanceId = params['InstanceId']
1628
+ @InstanceName = params['InstanceName']
1629
+ @TopicNum = params['TopicNum']
1630
+ @TopicNumLimit = params['TopicNumLimit']
1631
+ @TpsLimit = params['TpsLimit']
1632
+ @CreatedTime = params['CreatedTime']
1633
+ @Remark = params['Remark']
1634
+ @InstanceStatus = params['InstanceStatus']
1635
+ @SkuCode = params['SkuCode']
1636
+ @SubscriptionNumLimit = params['SubscriptionNumLimit']
1637
+ @ClientNumLimit = params['ClientNumLimit']
1638
+ @RequestId = params['RequestId']
1639
+ end
1640
+ end
1641
+
1642
+ # DescribeMQTTMessageList请求参数结构体
1643
+ class DescribeMQTTMessageListRequest < TencentCloud::Common::AbstractModel
1644
+ # @param InstanceId: 实例ID
1645
+ # @type InstanceId: String
1646
+ # @param Topic: 主题
1647
+ # @type Topic: String
1648
+ # @param StartTime: 开始时间
1649
+ # @type StartTime: Integer
1650
+ # @param EndTime: 结束时间
1651
+ # @type EndTime: Integer
1652
+ # @param TaskRequestId: 请求任务id
1653
+ # @type TaskRequestId: String
1654
+ # @param Offset: 查询起始位置
1655
+ # @type Offset: Integer
1656
+ # @param Limit: 查询结果限制数量
1657
+ # @type Limit: Integer
1658
+
1659
+ attr_accessor :InstanceId, :Topic, :StartTime, :EndTime, :TaskRequestId, :Offset, :Limit
1660
+
1661
+ def initialize(instanceid=nil, topic=nil, starttime=nil, endtime=nil, taskrequestid=nil, offset=nil, limit=nil)
1662
+ @InstanceId = instanceid
1663
+ @Topic = topic
1664
+ @StartTime = starttime
1665
+ @EndTime = endtime
1666
+ @TaskRequestId = taskrequestid
1667
+ @Offset = offset
1668
+ @Limit = limit
1669
+ end
1670
+
1671
+ def deserialize(params)
1672
+ @InstanceId = params['InstanceId']
1673
+ @Topic = params['Topic']
1674
+ @StartTime = params['StartTime']
1675
+ @EndTime = params['EndTime']
1676
+ @TaskRequestId = params['TaskRequestId']
1677
+ @Offset = params['Offset']
1678
+ @Limit = params['Limit']
1679
+ end
1680
+ end
1681
+
1682
+ # DescribeMQTTMessageList返回参数结构体
1683
+ class DescribeMQTTMessageListResponse < TencentCloud::Common::AbstractModel
1684
+ # @param TotalCount: 查询总数
1685
+ # 注意:此字段可能返回 null,表示取不到有效值。
1686
+ # @type TotalCount: Integer
1687
+ # @param Data: 消息记录列表
1688
+ # 注意:此字段可能返回 null,表示取不到有效值。
1689
+ # @type Data: Array
1690
+ # @param TaskRequestId: 请求任务id
1691
+ # @type TaskRequestId: String
1692
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1693
+ # @type RequestId: String
1694
+
1695
+ attr_accessor :TotalCount, :Data, :TaskRequestId, :RequestId
1696
+
1697
+ def initialize(totalcount=nil, data=nil, taskrequestid=nil, requestid=nil)
1698
+ @TotalCount = totalcount
1699
+ @Data = data
1700
+ @TaskRequestId = taskrequestid
1701
+ @RequestId = requestid
1702
+ end
1703
+
1704
+ def deserialize(params)
1705
+ @TotalCount = params['TotalCount']
1706
+ unless params['Data'].nil?
1707
+ @Data = []
1708
+ params['Data'].each do |i|
1709
+ mqttmessageitem_tmp = MQTTMessageItem.new
1710
+ mqttmessageitem_tmp.deserialize(i)
1711
+ @Data << mqttmessageitem_tmp
1712
+ end
1713
+ end
1714
+ @TaskRequestId = params['TaskRequestId']
1715
+ @RequestId = params['RequestId']
1716
+ end
1717
+ end
1718
+
1719
+ # DescribeMQTTMessage请求参数结构体
1720
+ class DescribeMQTTMessageRequest < TencentCloud::Common::AbstractModel
1721
+ # @param InstanceId: 实例ID
1722
+ # @type InstanceId: String
1723
+ # @param Topic: 主题
1724
+ # @type Topic: String
1725
+ # @param MsgId: 消息ID
1726
+ # @type MsgId: String
1727
+
1728
+ attr_accessor :InstanceId, :Topic, :MsgId
1729
+
1730
+ def initialize(instanceid=nil, topic=nil, msgid=nil)
1731
+ @InstanceId = instanceid
1732
+ @Topic = topic
1733
+ @MsgId = msgid
1734
+ end
1735
+
1736
+ def deserialize(params)
1737
+ @InstanceId = params['InstanceId']
1738
+ @Topic = params['Topic']
1739
+ @MsgId = params['MsgId']
1740
+ end
1741
+ end
1742
+
1743
+ # DescribeMQTTMessage返回参数结构体
1744
+ class DescribeMQTTMessageResponse < TencentCloud::Common::AbstractModel
1745
+ # @param Body: 消息体
1746
+ # @type Body: String
1747
+ # @param Properties: 详情参数
1748
+ # @type Properties: Array
1749
+ # @param ProduceTime: 生产时间
1750
+ # @type ProduceTime: String
1751
+ # @param MessageId: 消息ID
1752
+ # 注意:此字段可能返回 null,表示取不到有效值。
1753
+ # @type MessageId: String
1754
+ # @param ProducerAddr: 生产者地址
1755
+ # @type ProducerAddr: String
1756
+ # @param ShowTopicName: Topic
1757
+ # @type ShowTopicName: String
1758
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1759
+ # @type RequestId: String
1760
+
1761
+ attr_accessor :Body, :Properties, :ProduceTime, :MessageId, :ProducerAddr, :ShowTopicName, :RequestId
1762
+
1763
+ def initialize(body=nil, properties=nil, producetime=nil, messageid=nil, produceraddr=nil, showtopicname=nil, requestid=nil)
1764
+ @Body = body
1765
+ @Properties = properties
1766
+ @ProduceTime = producetime
1767
+ @MessageId = messageid
1768
+ @ProducerAddr = produceraddr
1769
+ @ShowTopicName = showtopicname
1770
+ @RequestId = requestid
1771
+ end
1772
+
1773
+ def deserialize(params)
1774
+ @Body = params['Body']
1775
+ unless params['Properties'].nil?
1776
+ @Properties = []
1777
+ params['Properties'].each do |i|
1778
+ custommapentry_tmp = CustomMapEntry.new
1779
+ custommapentry_tmp.deserialize(i)
1780
+ @Properties << custommapentry_tmp
1781
+ end
1782
+ end
1783
+ @ProduceTime = params['ProduceTime']
1784
+ @MessageId = params['MessageId']
1785
+ @ProducerAddr = params['ProducerAddr']
1786
+ @ShowTopicName = params['ShowTopicName']
1787
+ @RequestId = params['RequestId']
1788
+ end
1789
+ end
1790
+
1791
+ # DescribeMQTTProductSKUList请求参数结构体
1792
+ class DescribeMQTTProductSKUListRequest < TencentCloud::Common::AbstractModel
1793
+
1794
+
1795
+ def initialize()
1796
+ end
1797
+
1798
+ def deserialize(params)
1799
+ end
1800
+ end
1801
+
1802
+ # DescribeMQTTProductSKUList返回参数结构体
1803
+ class DescribeMQTTProductSKUListResponse < TencentCloud::Common::AbstractModel
1804
+ # @param TotalCount: 查询总数
1805
+ # 注意:此字段可能返回 null,表示取不到有效值。
1806
+ # @type TotalCount: Integer
1807
+ # @param MQTTProductSkuList: mqtt商品配置信息
1808
+ # 注意:此字段可能返回 null,表示取不到有效值。
1809
+ # @type MQTTProductSkuList: Array
1810
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1811
+ # @type RequestId: String
1812
+
1813
+ attr_accessor :TotalCount, :MQTTProductSkuList, :RequestId
1814
+
1815
+ def initialize(totalcount=nil, mqttproductskulist=nil, requestid=nil)
1816
+ @TotalCount = totalcount
1817
+ @MQTTProductSkuList = mqttproductskulist
1818
+ @RequestId = requestid
1819
+ end
1820
+
1821
+ def deserialize(params)
1822
+ @TotalCount = params['TotalCount']
1823
+ unless params['MQTTProductSkuList'].nil?
1824
+ @MQTTProductSkuList = []
1825
+ params['MQTTProductSkuList'].each do |i|
1826
+ mqttproductskuitem_tmp = MQTTProductSkuItem.new
1827
+ mqttproductskuitem_tmp.deserialize(i)
1828
+ @MQTTProductSkuList << mqttproductskuitem_tmp
1829
+ end
1830
+ end
1831
+ @RequestId = params['RequestId']
1832
+ end
1833
+ end
1834
+
1835
+ # DescribeMQTTTopicList请求参数结构体
1836
+ class DescribeMQTTTopicListRequest < TencentCloud::Common::AbstractModel
1837
+ # @param InstanceId: 实例ID
1838
+ # @type InstanceId: String
1839
+ # @param Filters: 查询条件列表
1840
+ # @type Filters: Array
1841
+ # @param Offset: 查询起始位置
1842
+ # @type Offset: Integer
1843
+ # @param Limit: 查询结果限制数量
1844
+ # @type Limit: Integer
1845
+
1846
+ attr_accessor :InstanceId, :Filters, :Offset, :Limit
1847
+
1848
+ def initialize(instanceid=nil, filters=nil, offset=nil, limit=nil)
1849
+ @InstanceId = instanceid
1850
+ @Filters = filters
1851
+ @Offset = offset
1852
+ @Limit = limit
1853
+ end
1854
+
1855
+ def deserialize(params)
1856
+ @InstanceId = params['InstanceId']
1857
+ unless params['Filters'].nil?
1858
+ @Filters = []
1859
+ params['Filters'].each do |i|
1860
+ filter_tmp = Filter.new
1861
+ filter_tmp.deserialize(i)
1862
+ @Filters << filter_tmp
1863
+ end
1864
+ end
1865
+ @Offset = params['Offset']
1866
+ @Limit = params['Limit']
1867
+ end
1868
+ end
1869
+
1870
+ # DescribeMQTTTopicList返回参数结构体
1871
+ class DescribeMQTTTopicListResponse < TencentCloud::Common::AbstractModel
1872
+ # @param TotalCount: 查询总数
1873
+ # 注意:此字段可能返回 null,表示取不到有效值。
1874
+ # @type TotalCount: Integer
1875
+ # @param Data: 主题列表
1876
+ # @type Data: Array
1877
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1878
+ # @type RequestId: String
1879
+
1880
+ attr_accessor :TotalCount, :Data, :RequestId
1881
+
1882
+ def initialize(totalcount=nil, data=nil, requestid=nil)
1883
+ @TotalCount = totalcount
1884
+ @Data = data
1885
+ @RequestId = requestid
1886
+ end
1887
+
1888
+ def deserialize(params)
1889
+ @TotalCount = params['TotalCount']
1890
+ unless params['Data'].nil?
1891
+ @Data = []
1892
+ params['Data'].each do |i|
1893
+ mqtttopicitem_tmp = MQTTTopicItem.new
1894
+ mqtttopicitem_tmp.deserialize(i)
1895
+ @Data << mqtttopicitem_tmp
1896
+ end
1897
+ end
1898
+ @RequestId = params['RequestId']
1899
+ end
1900
+ end
1901
+
1902
+ # DescribeMQTTTopic请求参数结构体
1903
+ class DescribeMQTTTopicRequest < TencentCloud::Common::AbstractModel
1904
+ # @param InstanceId: 实例ID
1905
+ # @type InstanceId: String
1906
+ # @param Topic: 主题
1907
+ # @type Topic: String
1908
+
1909
+ attr_accessor :InstanceId, :Topic
1910
+
1911
+ def initialize(instanceid=nil, topic=nil)
1912
+ @InstanceId = instanceid
1913
+ @Topic = topic
1914
+ end
1915
+
1916
+ def deserialize(params)
1917
+ @InstanceId = params['InstanceId']
1918
+ @Topic = params['Topic']
1919
+ end
1920
+ end
1921
+
1922
+ # DescribeMQTTTopic返回参数结构体
1923
+ class DescribeMQTTTopicResponse < TencentCloud::Common::AbstractModel
1924
+ # @param InstanceId: 实例ID
1925
+ # @type InstanceId: String
1926
+ # @param Topic: 主题名称
1927
+ # @type Topic: String
1928
+ # @param Remark: 备注
1929
+ # @type Remark: String
1930
+ # @param CreatedTime: 创建时间,秒为单位
1931
+ # @type CreatedTime: Integer
1932
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1933
+ # @type RequestId: String
1934
+
1935
+ attr_accessor :InstanceId, :Topic, :Remark, :CreatedTime, :RequestId
1936
+
1937
+ def initialize(instanceid=nil, topic=nil, remark=nil, createdtime=nil, requestid=nil)
1938
+ @InstanceId = instanceid
1939
+ @Topic = topic
1940
+ @Remark = remark
1941
+ @CreatedTime = createdtime
1942
+ @RequestId = requestid
1943
+ end
1944
+
1945
+ def deserialize(params)
1946
+ @InstanceId = params['InstanceId']
1947
+ @Topic = params['Topic']
1948
+ @Remark = params['Remark']
1949
+ @CreatedTime = params['CreatedTime']
1950
+ @RequestId = params['RequestId']
1951
+ end
1952
+ end
1953
+
1954
+ # DescribeMQTTUserList请求参数结构体
1955
+ class DescribeMQTTUserListRequest < TencentCloud::Common::AbstractModel
1956
+ # @param InstanceId: 实例ID
1957
+ # @type InstanceId: String
1958
+ # @param Filters: 查询条件列表
1959
+ # @type Filters: Array
1960
+ # @param Offset: 查询起始位置
1961
+ # @type Offset: Integer
1962
+ # @param Limit: 查询结果限制数量
1963
+ # @type Limit: Integer
1964
+
1965
+ attr_accessor :InstanceId, :Filters, :Offset, :Limit
1966
+
1967
+ def initialize(instanceid=nil, filters=nil, offset=nil, limit=nil)
1968
+ @InstanceId = instanceid
1969
+ @Filters = filters
1970
+ @Offset = offset
1971
+ @Limit = limit
1972
+ end
1973
+
1974
+ def deserialize(params)
1975
+ @InstanceId = params['InstanceId']
1976
+ unless params['Filters'].nil?
1977
+ @Filters = []
1978
+ params['Filters'].each do |i|
1979
+ filter_tmp = Filter.new
1980
+ filter_tmp.deserialize(i)
1981
+ @Filters << filter_tmp
1982
+ end
1983
+ end
1984
+ @Offset = params['Offset']
1985
+ @Limit = params['Limit']
1986
+ end
1987
+ end
1988
+
1989
+ # DescribeMQTTUserList返回参数结构体
1990
+ class DescribeMQTTUserListResponse < TencentCloud::Common::AbstractModel
1991
+ # @param TotalCount: 查询总数
1992
+ # 注意:此字段可能返回 null,表示取不到有效值。
1993
+ # @type TotalCount: Integer
1994
+ # @param Data: 角色信息列表
1995
+ # @type Data: Array
1996
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1997
+ # @type RequestId: String
1998
+
1999
+ attr_accessor :TotalCount, :Data, :RequestId
2000
+
2001
+ def initialize(totalcount=nil, data=nil, requestid=nil)
2002
+ @TotalCount = totalcount
2003
+ @Data = data
2004
+ @RequestId = requestid
2005
+ end
2006
+
2007
+ def deserialize(params)
2008
+ @TotalCount = params['TotalCount']
2009
+ unless params['Data'].nil?
2010
+ @Data = []
2011
+ params['Data'].each do |i|
2012
+ mqttuseritem_tmp = MQTTUserItem.new
2013
+ mqttuseritem_tmp.deserialize(i)
2014
+ @Data << mqttuseritem_tmp
2015
+ end
2016
+ end
2017
+ @RequestId = params['RequestId']
2018
+ end
2019
+ end
2020
+
2021
+ # DescribeRoleList请求参数结构体
2022
+ class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
2023
+ # @param InstanceId: 实例ID
2024
+ # @type InstanceId: String
2025
+ # @param Offset: 查询起始位置
2026
+ # @type Offset: Integer
2027
+ # @param Limit: 查询结果限制数量
2028
+ # @type Limit: Integer
2029
+ # @param Filters: 查询条件列表
2030
+ # @type Filters: Array
2031
+
2032
+ attr_accessor :InstanceId, :Offset, :Limit, :Filters
2033
+
2034
+ def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
2035
+ @InstanceId = instanceid
2036
+ @Offset = offset
2037
+ @Limit = limit
2038
+ @Filters = filters
2039
+ end
2040
+
2041
+ def deserialize(params)
2042
+ @InstanceId = params['InstanceId']
2043
+ @Offset = params['Offset']
2044
+ @Limit = params['Limit']
2045
+ unless params['Filters'].nil?
2046
+ @Filters = []
2047
+ params['Filters'].each do |i|
2048
+ filter_tmp = Filter.new
2049
+ filter_tmp.deserialize(i)
2050
+ @Filters << filter_tmp
2051
+ end
2052
+ end
2053
+ end
2054
+ end
2055
+
2056
+ # DescribeRoleList返回参数结构体
2057
+ class DescribeRoleListResponse < TencentCloud::Common::AbstractModel
2058
+ # @param TotalCount: 查询总数
2059
+ # 注意:此字段可能返回 null,表示取不到有效值。
2060
+ # @type TotalCount: Integer
2061
+ # @param Data: 角色信息列表
2062
+ # @type Data: Array
2063
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2064
+ # @type RequestId: String
2065
+
2066
+ attr_accessor :TotalCount, :Data, :RequestId
2067
+
2068
+ def initialize(totalcount=nil, data=nil, requestid=nil)
2069
+ @TotalCount = totalcount
2070
+ @Data = data
2071
+ @RequestId = requestid
2072
+ end
2073
+
2074
+ def deserialize(params)
2075
+ @TotalCount = params['TotalCount']
2076
+ unless params['Data'].nil?
2077
+ @Data = []
2078
+ params['Data'].each do |i|
2079
+ roleitem_tmp = RoleItem.new
2080
+ roleitem_tmp.deserialize(i)
2081
+ @Data << roleitem_tmp
2082
+ end
2083
+ end
2084
+ @RequestId = params['RequestId']
2085
+ end
2086
+ end
2087
+
2088
+ # DescribeTopicList请求参数结构体
2089
+ class DescribeTopicListRequest < TencentCloud::Common::AbstractModel
2090
+ # @param InstanceId: 实例ID
2091
+ # @type InstanceId: String
2092
+ # @param Offset: 查询起始位置
2093
+ # @type Offset: Integer
2094
+ # @param Limit: 查询结果限制数量
2095
+ # @type Limit: Integer
2096
+ # @param Filters: 查询条件列表
2097
+ # @type Filters: Array
2098
+
2099
+ attr_accessor :InstanceId, :Offset, :Limit, :Filters
2100
+
2101
+ def initialize(instanceid=nil, offset=nil, limit=nil, filters=nil)
2102
+ @InstanceId = instanceid
2103
+ @Offset = offset
2104
+ @Limit = limit
2105
+ @Filters = filters
2106
+ end
2107
+
2108
+ def deserialize(params)
2109
+ @InstanceId = params['InstanceId']
2110
+ @Offset = params['Offset']
2111
+ @Limit = params['Limit']
2112
+ unless params['Filters'].nil?
2113
+ @Filters = []
2114
+ params['Filters'].each do |i|
2115
+ filter_tmp = Filter.new
2116
+ filter_tmp.deserialize(i)
2117
+ @Filters << filter_tmp
2118
+ end
2119
+ end
2120
+ end
2121
+ end
2122
+
2123
+ # DescribeTopicList返回参数结构体
2124
+ class DescribeTopicListResponse < TencentCloud::Common::AbstractModel
2125
+ # @param TotalCount: 查询总数
2126
+ # 注意:此字段可能返回 null,表示取不到有效值。
2127
+ # @type TotalCount: Integer
2128
+ # @param Data: 主题列表
2129
+ # @type Data: Array
2130
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2131
+ # @type RequestId: String
2132
+
2133
+ attr_accessor :TotalCount, :Data, :RequestId
2134
+
2135
+ def initialize(totalcount=nil, data=nil, requestid=nil)
2136
+ @TotalCount = totalcount
2137
+ @Data = data
2138
+ @RequestId = requestid
2139
+ end
2140
+
2141
+ def deserialize(params)
2142
+ @TotalCount = params['TotalCount']
2143
+ unless params['Data'].nil?
2144
+ @Data = []
2145
+ params['Data'].each do |i|
2146
+ topicitem_tmp = TopicItem.new
2147
+ topicitem_tmp.deserialize(i)
2148
+ @Data << topicitem_tmp
2149
+ end
2150
+ end
2151
+ @RequestId = params['RequestId']
2152
+ end
2153
+ end
2154
+
2155
+ # DescribeTopic请求参数结构体
2156
+ class DescribeTopicRequest < TencentCloud::Common::AbstractModel
2157
+ # @param InstanceId: 实例ID
2158
+ # @type InstanceId: String
2159
+ # @param Topic: 主题
2160
+ # @type Topic: String
2161
+ # @param Offset: 查询起始位置
2162
+ # @type Offset: Integer
2163
+ # @param Limit: 查询结果限制数量
2164
+ # @type Limit: Integer
2165
+ # @param Filters: 查询条件列表
2166
+ # @type Filters: Array
2167
+
2168
+ attr_accessor :InstanceId, :Topic, :Offset, :Limit, :Filters
2169
+
2170
+ def initialize(instanceid=nil, topic=nil, offset=nil, limit=nil, filters=nil)
2171
+ @InstanceId = instanceid
2172
+ @Topic = topic
2173
+ @Offset = offset
2174
+ @Limit = limit
2175
+ @Filters = filters
2176
+ end
2177
+
2178
+ def deserialize(params)
2179
+ @InstanceId = params['InstanceId']
2180
+ @Topic = params['Topic']
2181
+ @Offset = params['Offset']
2182
+ @Limit = params['Limit']
2183
+ unless params['Filters'].nil?
999
2184
  @Filters = []
1000
2185
  params['Filters'].each do |i|
1001
2186
  filter_tmp = Filter.new
@@ -1328,82 +2513,411 @@ module TencentCloud
1328
2513
  # @type MessageRetention: Integer
1329
2514
  # @param MaxMessageDelay: 延迟消息最大时长,小时为单位
1330
2515
  # 注意:此字段可能返回 null,表示取不到有效值。
1331
- # @type MaxMessageDelay: Integer
2516
+ # @type MaxMessageDelay: Integer
2517
+
2518
+ attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :GroupNumLimit, :PayMode, :ExpiryTime, :Remark, :TopicNum, :GroupNum, :TagList, :SkuCode, :TpsLimit, :ScaledTpsLimit, :MessageRetention, :MaxMessageDelay
2519
+
2520
+ def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, groupnumlimit=nil, paymode=nil, expirytime=nil, remark=nil, topicnum=nil, groupnum=nil, taglist=nil, skucode=nil, tpslimit=nil, scaledtpslimit=nil, messageretention=nil, maxmessagedelay=nil)
2521
+ @InstanceId = instanceid
2522
+ @InstanceName = instancename
2523
+ @Version = version
2524
+ @InstanceType = instancetype
2525
+ @InstanceStatus = instancestatus
2526
+ @TopicNumLimit = topicnumlimit
2527
+ @GroupNumLimit = groupnumlimit
2528
+ @PayMode = paymode
2529
+ @ExpiryTime = expirytime
2530
+ @Remark = remark
2531
+ @TopicNum = topicnum
2532
+ @GroupNum = groupnum
2533
+ @TagList = taglist
2534
+ @SkuCode = skucode
2535
+ @TpsLimit = tpslimit
2536
+ @ScaledTpsLimit = scaledtpslimit
2537
+ @MessageRetention = messageretention
2538
+ @MaxMessageDelay = maxmessagedelay
2539
+ end
2540
+
2541
+ def deserialize(params)
2542
+ @InstanceId = params['InstanceId']
2543
+ @InstanceName = params['InstanceName']
2544
+ @Version = params['Version']
2545
+ @InstanceType = params['InstanceType']
2546
+ @InstanceStatus = params['InstanceStatus']
2547
+ @TopicNumLimit = params['TopicNumLimit']
2548
+ @GroupNumLimit = params['GroupNumLimit']
2549
+ @PayMode = params['PayMode']
2550
+ @ExpiryTime = params['ExpiryTime']
2551
+ @Remark = params['Remark']
2552
+ @TopicNum = params['TopicNum']
2553
+ @GroupNum = params['GroupNum']
2554
+ unless params['TagList'].nil?
2555
+ @TagList = []
2556
+ params['TagList'].each do |i|
2557
+ tag_tmp = Tag.new
2558
+ tag_tmp.deserialize(i)
2559
+ @TagList << tag_tmp
2560
+ end
2561
+ end
2562
+ @SkuCode = params['SkuCode']
2563
+ @TpsLimit = params['TpsLimit']
2564
+ @ScaledTpsLimit = params['ScaledTpsLimit']
2565
+ @MessageRetention = params['MessageRetention']
2566
+ @MaxMessageDelay = params['MaxMessageDelay']
2567
+ end
2568
+ end
2569
+
2570
+ # IP规则
2571
+ class IpRule < TencentCloud::Common::AbstractModel
2572
+ # @param Ip: IP地址
2573
+ # @type Ip: String
2574
+ # @param Allow: 是否允许放行
2575
+ # @type Allow: Boolean
2576
+ # @param Remark: 备注信息
2577
+ # 注意:此字段可能返回 null,表示取不到有效值。
2578
+ # @type Remark: String
2579
+
2580
+ attr_accessor :Ip, :Allow, :Remark
2581
+
2582
+ def initialize(ip=nil, allow=nil, remark=nil)
2583
+ @Ip = ip
2584
+ @Allow = allow
2585
+ @Remark = remark
2586
+ end
2587
+
2588
+ def deserialize(params)
2589
+ @Ip = params['Ip']
2590
+ @Allow = params['Allow']
2591
+ @Remark = params['Remark']
2592
+ end
2593
+ end
2594
+
2595
+ # MQTT 订阅关系
2596
+ class MQTTClientSubscription < TencentCloud::Common::AbstractModel
2597
+ # @param TopicFilter: topic 订阅
2598
+ # @type TopicFilter: String
2599
+ # @param Qos: 服务质量等级
2600
+ # @type Qos: Integer
2601
+
2602
+ attr_accessor :TopicFilter, :Qos
2603
+
2604
+ def initialize(topicfilter=nil, qos=nil)
2605
+ @TopicFilter = topicfilter
2606
+ @Qos = qos
2607
+ end
2608
+
2609
+ def deserialize(params)
2610
+ @TopicFilter = params['TopicFilter']
2611
+ @Qos = params['Qos']
2612
+ end
2613
+ end
2614
+
2615
+ # MQTTEndpoint
2616
+ class MQTTEndpointItem < TencentCloud::Common::AbstractModel
2617
+ # @param Type: 类型
2618
+ # 注意:此字段可能返回 null,表示取不到有效值。
2619
+ # @type Type: String
2620
+ # @param Url: 接入点
2621
+ # 注意:此字段可能返回 null,表示取不到有效值。
2622
+ # @type Url: String
2623
+ # @param VpcId: vpc信息
2624
+ # 注意:此字段可能返回 null,表示取不到有效值。
2625
+ # @type VpcId: String
2626
+ # @param SubnetId: 子网信息
2627
+ # 注意:此字段可能返回 null,表示取不到有效值。
2628
+ # @type SubnetId: String
2629
+ # @param Host: 主机
2630
+ # 注意:此字段可能返回 null,表示取不到有效值。
2631
+ # @type Host: String
2632
+ # @param Port: 端口
2633
+ # 注意:此字段可能返回 null,表示取不到有效值。
2634
+ # @type Port: Integer
2635
+
2636
+ attr_accessor :Type, :Url, :VpcId, :SubnetId, :Host, :Port
2637
+
2638
+ def initialize(type=nil, url=nil, vpcid=nil, subnetid=nil, host=nil, port=nil)
2639
+ @Type = type
2640
+ @Url = url
2641
+ @VpcId = vpcid
2642
+ @SubnetId = subnetid
2643
+ @Host = host
2644
+ @Port = port
2645
+ end
2646
+
2647
+ def deserialize(params)
2648
+ @Type = params['Type']
2649
+ @Url = params['Url']
2650
+ @VpcId = params['VpcId']
2651
+ @SubnetId = params['SubnetId']
2652
+ @Host = params['Host']
2653
+ @Port = params['Port']
2654
+ end
2655
+ end
2656
+
2657
+ # MQTT 实例信息
2658
+ class MQTTInstanceItem < TencentCloud::Common::AbstractModel
2659
+ # @param InstanceId: 实例ID
2660
+ # @type InstanceId: String
2661
+ # @param InstanceName: 实例名称
2662
+ # @type InstanceName: String
2663
+ # @param Version: 实例版本
2664
+ # @type Version: String
2665
+ # @param InstanceType: 实例类型,
2666
+ # EXPERIMENT,体验版
2667
+ # BASIC,基础版
2668
+ # PRO,专业版
2669
+ # PLATINUM,铂金版
2670
+ # @type InstanceType: String
2671
+ # @param InstanceStatus: 实例状态,
2672
+ # RUNNING, 运行中
2673
+ # MAINTAINING,维护中
2674
+ # ABNORMAL,异常
2675
+ # OVERDUE,欠费
2676
+ # DESTROYED,已删除
2677
+ # CREATING,创建中
2678
+ # MODIFYING,变配中
2679
+ # CREATE_FAILURE,创建失败
2680
+ # MODIFY_FAILURE,变配失败
2681
+ # DELETING,删除中
2682
+ # @type InstanceStatus: String
2683
+ # @param TopicNumLimit: 实例主题数上限
2684
+ # @type TopicNumLimit: Integer
2685
+ # @param Remark: 备注信息
2686
+ # 注意:此字段可能返回 null,表示取不到有效值。
2687
+ # @type Remark: String
2688
+ # @param TopicNum: 主题数量
2689
+ # @type TopicNum: Integer
2690
+ # @param SkuCode: 商品规格
2691
+ # @type SkuCode: String
2692
+ # @param TpsLimit: 弹性TPS限流值
2693
+ # 注意:此字段可能返回 null,表示取不到有效值。
2694
+ # @type TpsLimit: Integer
2695
+ # @param CreateTime: 创建时间
2696
+ # 注意:此字段可能返回 null,表示取不到有效值。
2697
+ # @type CreateTime: Integer
2698
+ # @param SubscriptionNumLimit: 订阅关系上限
2699
+ # 注意:此字段可能返回 null,表示取不到有效值。
2700
+ # @type SubscriptionNumLimit: Integer
2701
+ # @param ClientNumLimit: 客户端连接数上线
2702
+ # 注意:此字段可能返回 null,表示取不到有效值。
2703
+ # @type ClientNumLimit: Integer
2704
+
2705
+ attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :Remark, :TopicNum, :SkuCode, :TpsLimit, :CreateTime, :SubscriptionNumLimit, :ClientNumLimit
2706
+
2707
+ 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)
2708
+ @InstanceId = instanceid
2709
+ @InstanceName = instancename
2710
+ @Version = version
2711
+ @InstanceType = instancetype
2712
+ @InstanceStatus = instancestatus
2713
+ @TopicNumLimit = topicnumlimit
2714
+ @Remark = remark
2715
+ @TopicNum = topicnum
2716
+ @SkuCode = skucode
2717
+ @TpsLimit = tpslimit
2718
+ @CreateTime = createtime
2719
+ @SubscriptionNumLimit = subscriptionnumlimit
2720
+ @ClientNumLimit = clientnumlimit
2721
+ end
2722
+
2723
+ def deserialize(params)
2724
+ @InstanceId = params['InstanceId']
2725
+ @InstanceName = params['InstanceName']
2726
+ @Version = params['Version']
2727
+ @InstanceType = params['InstanceType']
2728
+ @InstanceStatus = params['InstanceStatus']
2729
+ @TopicNumLimit = params['TopicNumLimit']
2730
+ @Remark = params['Remark']
2731
+ @TopicNum = params['TopicNum']
2732
+ @SkuCode = params['SkuCode']
2733
+ @TpsLimit = params['TpsLimit']
2734
+ @CreateTime = params['CreateTime']
2735
+ @SubscriptionNumLimit = params['SubscriptionNumLimit']
2736
+ @ClientNumLimit = params['ClientNumLimit']
2737
+ end
2738
+ end
2739
+
2740
+ # 消息记录
2741
+ class MQTTMessageItem < TencentCloud::Common::AbstractModel
2742
+ # @param MsgId: 消息ID
2743
+ # 注意:此字段可能返回 null,表示取不到有效值。
2744
+ # @type MsgId: String
2745
+ # @param Tags: 消息tag
2746
+ # 注意:此字段可能返回 null,表示取不到有效值。
2747
+ # @type Tags: String
2748
+ # @param Keys: 消息key
2749
+ # 注意:此字段可能返回 null,表示取不到有效值。
2750
+ # @type Keys: String
2751
+ # @param ProducerAddr: 客户端地址
2752
+ # 注意:此字段可能返回 null,表示取不到有效值。
2753
+ # @type ProducerAddr: String
2754
+ # @param ProduceTime: 消息发送时间
2755
+ # 注意:此字段可能返回 null,表示取不到有效值。
2756
+ # @type ProduceTime: String
2757
+ # @param DeadLetterResendTimes: 死信重发次数
2758
+ # 注意:此字段可能返回 null,表示取不到有效值。
2759
+ # @type DeadLetterResendTimes: Integer
2760
+ # @param DeadLetterResendSuccessTimes: 死信重发成功次数
2761
+ # 注意:此字段可能返回 null,表示取不到有效值。
2762
+ # @type DeadLetterResendSuccessTimes: Integer
2763
+ # @param SubTopic: 子topic
2764
+ # 注意:此字段可能返回 null,表示取不到有效值。
2765
+ # @type SubTopic: String
2766
+ # @param Qos: 消息质量等级
2767
+ # 注意:此字段可能返回 null,表示取不到有效值。
2768
+ # @type Qos: String
2769
+
2770
+ attr_accessor :MsgId, :Tags, :Keys, :ProducerAddr, :ProduceTime, :DeadLetterResendTimes, :DeadLetterResendSuccessTimes, :SubTopic, :Qos
2771
+
2772
+ def initialize(msgid=nil, tags=nil, keys=nil, produceraddr=nil, producetime=nil, deadletterresendtimes=nil, deadletterresendsuccesstimes=nil, subtopic=nil, qos=nil)
2773
+ @MsgId = msgid
2774
+ @Tags = tags
2775
+ @Keys = keys
2776
+ @ProducerAddr = produceraddr
2777
+ @ProduceTime = producetime
2778
+ @DeadLetterResendTimes = deadletterresendtimes
2779
+ @DeadLetterResendSuccessTimes = deadletterresendsuccesstimes
2780
+ @SubTopic = subtopic
2781
+ @Qos = qos
2782
+ end
2783
+
2784
+ def deserialize(params)
2785
+ @MsgId = params['MsgId']
2786
+ @Tags = params['Tags']
2787
+ @Keys = params['Keys']
2788
+ @ProducerAddr = params['ProducerAddr']
2789
+ @ProduceTime = params['ProduceTime']
2790
+ @DeadLetterResendTimes = params['DeadLetterResendTimes']
2791
+ @DeadLetterResendSuccessTimes = params['DeadLetterResendSuccessTimes']
2792
+ @SubTopic = params['SubTopic']
2793
+ @Qos = params['Qos']
2794
+ end
2795
+ end
2796
+
2797
+ # MQTT ProductSkuItem
2798
+ class MQTTProductSkuItem < TencentCloud::Common::AbstractModel
2799
+ # @param InstanceType: 类型
2800
+ # 注意:此字段可能返回 null,表示取不到有效值。
2801
+ # @type InstanceType: String
2802
+ # @param SkuCode: cide
2803
+ # 注意:此字段可能返回 null,表示取不到有效值。
2804
+ # @type SkuCode: String
2805
+ # @param OnSale: sale
2806
+ # 注意:此字段可能返回 null,表示取不到有效值。
2807
+ # @type OnSale: Boolean
2808
+ # @param TopicNumLimit: topic num限制
2809
+ # 注意:此字段可能返回 null,表示取不到有效值。
2810
+ # @type TopicNumLimit: Integer
2811
+ # @param TpsLimit: tps
2812
+ # 注意:此字段可能返回 null,表示取不到有效值。
2813
+ # @type TpsLimit: Integer
2814
+ # @param ClientNumLimit: 客户端连接数
2815
+ # 注意:此字段可能返回 null,表示取不到有效值。
2816
+ # @type ClientNumLimit: Integer
2817
+ # @param SubscriptionNumLimit: 订阅数限制
2818
+ # 注意:此字段可能返回 null,表示取不到有效值。
2819
+ # @type SubscriptionNumLimit: Integer
2820
+ # @param ProxySpecCore: 代理核
2821
+ # 注意:此字段可能返回 null,表示取不到有效值。
2822
+ # @type ProxySpecCore: Integer
2823
+ # @param ProxySpecMemory: 代理内存
2824
+ # 注意:此字段可能返回 null,表示取不到有效值。
2825
+ # @type ProxySpecMemory: Integer
2826
+ # @param ProxySpecCount: 代理总数
2827
+ # 注意:此字段可能返回 null,表示取不到有效值。
2828
+ # @type ProxySpecCount: Integer
2829
+
2830
+ attr_accessor :InstanceType, :SkuCode, :OnSale, :TopicNumLimit, :TpsLimit, :ClientNumLimit, :SubscriptionNumLimit, :ProxySpecCore, :ProxySpecMemory, :ProxySpecCount
2831
+
2832
+ def initialize(instancetype=nil, skucode=nil, onsale=nil, topicnumlimit=nil, tpslimit=nil, clientnumlimit=nil, subscriptionnumlimit=nil, proxyspeccore=nil, proxyspecmemory=nil, proxyspeccount=nil)
2833
+ @InstanceType = instancetype
2834
+ @SkuCode = skucode
2835
+ @OnSale = onsale
2836
+ @TopicNumLimit = topicnumlimit
2837
+ @TpsLimit = tpslimit
2838
+ @ClientNumLimit = clientnumlimit
2839
+ @SubscriptionNumLimit = subscriptionnumlimit
2840
+ @ProxySpecCore = proxyspeccore
2841
+ @ProxySpecMemory = proxyspecmemory
2842
+ @ProxySpecCount = proxyspeccount
2843
+ end
2844
+
2845
+ def deserialize(params)
2846
+ @InstanceType = params['InstanceType']
2847
+ @SkuCode = params['SkuCode']
2848
+ @OnSale = params['OnSale']
2849
+ @TopicNumLimit = params['TopicNumLimit']
2850
+ @TpsLimit = params['TpsLimit']
2851
+ @ClientNumLimit = params['ClientNumLimit']
2852
+ @SubscriptionNumLimit = params['SubscriptionNumLimit']
2853
+ @ProxySpecCore = params['ProxySpecCore']
2854
+ @ProxySpecMemory = params['ProxySpecMemory']
2855
+ @ProxySpecCount = params['ProxySpecCount']
2856
+ end
2857
+ end
2858
+
2859
+ # MQTT 主题详情
2860
+ class MQTTTopicItem < TencentCloud::Common::AbstractModel
2861
+ # @param InstanceId: 实例 ID
2862
+ # @type InstanceId: String
2863
+ # @param Topic: 主题名称
2864
+ # @type Topic: String
2865
+ # @param Remark: 主题描述
2866
+ # 注意:此字段可能返回 null,表示取不到有效值。
2867
+ # @type Remark: String
1332
2868
 
1333
- attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :GroupNumLimit, :PayMode, :ExpiryTime, :Remark, :TopicNum, :GroupNum, :TagList, :SkuCode, :TpsLimit, :ScaledTpsLimit, :MessageRetention, :MaxMessageDelay
2869
+ attr_accessor :InstanceId, :Topic, :Remark
1334
2870
 
1335
- def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, groupnumlimit=nil, paymode=nil, expirytime=nil, remark=nil, topicnum=nil, groupnum=nil, taglist=nil, skucode=nil, tpslimit=nil, scaledtpslimit=nil, messageretention=nil, maxmessagedelay=nil)
2871
+ def initialize(instanceid=nil, topic=nil, remark=nil)
1336
2872
  @InstanceId = instanceid
1337
- @InstanceName = instancename
1338
- @Version = version
1339
- @InstanceType = instancetype
1340
- @InstanceStatus = instancestatus
1341
- @TopicNumLimit = topicnumlimit
1342
- @GroupNumLimit = groupnumlimit
1343
- @PayMode = paymode
1344
- @ExpiryTime = expirytime
2873
+ @Topic = topic
1345
2874
  @Remark = remark
1346
- @TopicNum = topicnum
1347
- @GroupNum = groupnum
1348
- @TagList = taglist
1349
- @SkuCode = skucode
1350
- @TpsLimit = tpslimit
1351
- @ScaledTpsLimit = scaledtpslimit
1352
- @MessageRetention = messageretention
1353
- @MaxMessageDelay = maxmessagedelay
1354
2875
  end
1355
2876
 
1356
2877
  def deserialize(params)
1357
2878
  @InstanceId = params['InstanceId']
1358
- @InstanceName = params['InstanceName']
1359
- @Version = params['Version']
1360
- @InstanceType = params['InstanceType']
1361
- @InstanceStatus = params['InstanceStatus']
1362
- @TopicNumLimit = params['TopicNumLimit']
1363
- @GroupNumLimit = params['GroupNumLimit']
1364
- @PayMode = params['PayMode']
1365
- @ExpiryTime = params['ExpiryTime']
2879
+ @Topic = params['Topic']
1366
2880
  @Remark = params['Remark']
1367
- @TopicNum = params['TopicNum']
1368
- @GroupNum = params['GroupNum']
1369
- unless params['TagList'].nil?
1370
- @TagList = []
1371
- params['TagList'].each do |i|
1372
- tag_tmp = Tag.new
1373
- tag_tmp.deserialize(i)
1374
- @TagList << tag_tmp
1375
- end
1376
- end
1377
- @SkuCode = params['SkuCode']
1378
- @TpsLimit = params['TpsLimit']
1379
- @ScaledTpsLimit = params['ScaledTpsLimit']
1380
- @MessageRetention = params['MessageRetention']
1381
- @MaxMessageDelay = params['MaxMessageDelay']
1382
2881
  end
1383
2882
  end
1384
2883
 
1385
- # IP规则
1386
- class IpRule < TencentCloud::Common::AbstractModel
1387
- # @param Ip: IP地址
1388
- # @type Ip: String
1389
- # @param Allow: 是否允许放行
1390
- # @type Allow: Boolean
2884
+ # MQTT集群用户信息
2885
+ class MQTTUserItem < TencentCloud::Common::AbstractModel
2886
+ # @param Username: 用户名
2887
+ # @type Username: String
2888
+ # @param Password: 密码
2889
+ # @type Password: String
2890
+ # @param PermRead: 是否开启消费
2891
+ # @type PermRead: Boolean
2892
+ # @param PermWrite: 是否开启生产
2893
+ # @type PermWrite: Boolean
1391
2894
  # @param Remark: 备注信息
1392
- # 注意:此字段可能返回 null,表示取不到有效值。
1393
2895
  # @type Remark: String
2896
+ # @param CreatedTime: 创建时间,秒为单位
2897
+ # @type CreatedTime: Integer
2898
+ # @param ModifiedTime: 修改时间,秒为单位
2899
+ # @type ModifiedTime: Integer
1394
2900
 
1395
- attr_accessor :Ip, :Allow, :Remark
2901
+ attr_accessor :Username, :Password, :PermRead, :PermWrite, :Remark, :CreatedTime, :ModifiedTime
1396
2902
 
1397
- def initialize(ip=nil, allow=nil, remark=nil)
1398
- @Ip = ip
1399
- @Allow = allow
2903
+ def initialize(username=nil, password=nil, permread=nil, permwrite=nil, remark=nil, createdtime=nil, modifiedtime=nil)
2904
+ @Username = username
2905
+ @Password = password
2906
+ @PermRead = permread
2907
+ @PermWrite = permwrite
1400
2908
  @Remark = remark
2909
+ @CreatedTime = createdtime
2910
+ @ModifiedTime = modifiedtime
1401
2911
  end
1402
2912
 
1403
2913
  def deserialize(params)
1404
- @Ip = params['Ip']
1405
- @Allow = params['Allow']
2914
+ @Username = params['Username']
2915
+ @Password = params['Password']
2916
+ @PermRead = params['PermRead']
2917
+ @PermWrite = params['PermWrite']
1406
2918
  @Remark = params['Remark']
2919
+ @CreatedTime = params['CreatedTime']
2920
+ @ModifiedTime = params['ModifiedTime']
1407
2921
  end
1408
2922
  end
1409
2923
 
@@ -1516,6 +3030,221 @@ module TencentCloud
1516
3030
  end
1517
3031
  end
1518
3032
 
3033
+ # ModifyMQTTInsPublicEndpoint请求参数结构体
3034
+ class ModifyMQTTInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
3035
+ # @param InstanceId: 实例ID
3036
+ # @type InstanceId: String
3037
+ # @param Bandwidth: 带宽
3038
+ # @type Bandwidth: Integer
3039
+ # @param Rules: 公网访问规则
3040
+ # @type Rules: Array
3041
+
3042
+ attr_accessor :InstanceId, :Bandwidth, :Rules
3043
+
3044
+ def initialize(instanceid=nil, bandwidth=nil, rules=nil)
3045
+ @InstanceId = instanceid
3046
+ @Bandwidth = bandwidth
3047
+ @Rules = rules
3048
+ end
3049
+
3050
+ def deserialize(params)
3051
+ @InstanceId = params['InstanceId']
3052
+ @Bandwidth = params['Bandwidth']
3053
+ unless params['Rules'].nil?
3054
+ @Rules = []
3055
+ params['Rules'].each do |i|
3056
+ publicaccessrule_tmp = PublicAccessRule.new
3057
+ publicaccessrule_tmp.deserialize(i)
3058
+ @Rules << publicaccessrule_tmp
3059
+ end
3060
+ end
3061
+ end
3062
+ end
3063
+
3064
+ # ModifyMQTTInsPublicEndpoint返回参数结构体
3065
+ class ModifyMQTTInsPublicEndpointResponse < TencentCloud::Common::AbstractModel
3066
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3067
+ # @type RequestId: String
3068
+
3069
+ attr_accessor :RequestId
3070
+
3071
+ def initialize(requestid=nil)
3072
+ @RequestId = requestid
3073
+ end
3074
+
3075
+ def deserialize(params)
3076
+ @RequestId = params['RequestId']
3077
+ end
3078
+ end
3079
+
3080
+ # ModifyMQTTInstanceCertBinding请求参数结构体
3081
+ class ModifyMQTTInstanceCertBindingRequest < TencentCloud::Common::AbstractModel
3082
+ # @param InstanceId: 实例ID
3083
+ # @type InstanceId: String
3084
+ # @param SSLServerCertId: 服务端证书id
3085
+ # @type SSLServerCertId: String
3086
+ # @param SSLCaCertId: CA证书id
3087
+ # @type SSLCaCertId: String
3088
+
3089
+ attr_accessor :InstanceId, :SSLServerCertId, :SSLCaCertId
3090
+
3091
+ def initialize(instanceid=nil, sslservercertid=nil, sslcacertid=nil)
3092
+ @InstanceId = instanceid
3093
+ @SSLServerCertId = sslservercertid
3094
+ @SSLCaCertId = sslcacertid
3095
+ end
3096
+
3097
+ def deserialize(params)
3098
+ @InstanceId = params['InstanceId']
3099
+ @SSLServerCertId = params['SSLServerCertId']
3100
+ @SSLCaCertId = params['SSLCaCertId']
3101
+ end
3102
+ end
3103
+
3104
+ # ModifyMQTTInstanceCertBinding返回参数结构体
3105
+ class ModifyMQTTInstanceCertBindingResponse < TencentCloud::Common::AbstractModel
3106
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3107
+ # @type RequestId: String
3108
+
3109
+ attr_accessor :RequestId
3110
+
3111
+ def initialize(requestid=nil)
3112
+ @RequestId = requestid
3113
+ end
3114
+
3115
+ def deserialize(params)
3116
+ @RequestId = params['RequestId']
3117
+ end
3118
+ end
3119
+
3120
+ # ModifyMQTTInstance请求参数结构体
3121
+ class ModifyMQTTInstanceRequest < TencentCloud::Common::AbstractModel
3122
+ # @param InstanceId: 实例ID
3123
+ # @type InstanceId: String
3124
+ # @param Name: 实例名称
3125
+ # @type Name: String
3126
+ # @param Remark: 备注信息
3127
+ # @type Remark: String
3128
+
3129
+ attr_accessor :InstanceId, :Name, :Remark
3130
+
3131
+ def initialize(instanceid=nil, name=nil, remark=nil)
3132
+ @InstanceId = instanceid
3133
+ @Name = name
3134
+ @Remark = remark
3135
+ end
3136
+
3137
+ def deserialize(params)
3138
+ @InstanceId = params['InstanceId']
3139
+ @Name = params['Name']
3140
+ @Remark = params['Remark']
3141
+ end
3142
+ end
3143
+
3144
+ # ModifyMQTTInstance返回参数结构体
3145
+ class ModifyMQTTInstanceResponse < TencentCloud::Common::AbstractModel
3146
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3147
+ # @type RequestId: String
3148
+
3149
+ attr_accessor :RequestId
3150
+
3151
+ def initialize(requestid=nil)
3152
+ @RequestId = requestid
3153
+ end
3154
+
3155
+ def deserialize(params)
3156
+ @RequestId = params['RequestId']
3157
+ end
3158
+ end
3159
+
3160
+ # ModifyMQTTTopic请求参数结构体
3161
+ class ModifyMQTTTopicRequest < TencentCloud::Common::AbstractModel
3162
+ # @param InstanceId: 实例ID
3163
+ # @type InstanceId: String
3164
+ # @param Topic: 主题
3165
+ # @type Topic: String
3166
+ # @param Remark: 备注信息
3167
+ # @type Remark: String
3168
+
3169
+ attr_accessor :InstanceId, :Topic, :Remark
3170
+
3171
+ def initialize(instanceid=nil, topic=nil, remark=nil)
3172
+ @InstanceId = instanceid
3173
+ @Topic = topic
3174
+ @Remark = remark
3175
+ end
3176
+
3177
+ def deserialize(params)
3178
+ @InstanceId = params['InstanceId']
3179
+ @Topic = params['Topic']
3180
+ @Remark = params['Remark']
3181
+ end
3182
+ end
3183
+
3184
+ # ModifyMQTTTopic返回参数结构体
3185
+ class ModifyMQTTTopicResponse < TencentCloud::Common::AbstractModel
3186
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3187
+ # @type RequestId: String
3188
+
3189
+ attr_accessor :RequestId
3190
+
3191
+ def initialize(requestid=nil)
3192
+ @RequestId = requestid
3193
+ end
3194
+
3195
+ def deserialize(params)
3196
+ @RequestId = params['RequestId']
3197
+ end
3198
+ end
3199
+
3200
+ # ModifyMQTTUser请求参数结构体
3201
+ class ModifyMQTTUserRequest < TencentCloud::Common::AbstractModel
3202
+ # @param InstanceId: 实例ID
3203
+ # @type InstanceId: String
3204
+ # @param Username: 用户名
3205
+ # @type Username: String
3206
+ # @param PermRead: 是否开启消费
3207
+ # @type PermRead: Boolean
3208
+ # @param PermWrite: 是否开启生产
3209
+ # @type PermWrite: Boolean
3210
+ # @param Remark: 备注
3211
+ # @type Remark: String
3212
+
3213
+ attr_accessor :InstanceId, :Username, :PermRead, :PermWrite, :Remark
3214
+
3215
+ def initialize(instanceid=nil, username=nil, permread=nil, permwrite=nil, remark=nil)
3216
+ @InstanceId = instanceid
3217
+ @Username = username
3218
+ @PermRead = permread
3219
+ @PermWrite = permwrite
3220
+ @Remark = remark
3221
+ end
3222
+
3223
+ def deserialize(params)
3224
+ @InstanceId = params['InstanceId']
3225
+ @Username = params['Username']
3226
+ @PermRead = params['PermRead']
3227
+ @PermWrite = params['PermWrite']
3228
+ @Remark = params['Remark']
3229
+ end
3230
+ end
3231
+
3232
+ # ModifyMQTTUser返回参数结构体
3233
+ class ModifyMQTTUserResponse < TencentCloud::Common::AbstractModel
3234
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3235
+ # @type RequestId: String
3236
+
3237
+ attr_accessor :RequestId
3238
+
3239
+ def initialize(requestid=nil)
3240
+ @RequestId = requestid
3241
+ end
3242
+
3243
+ def deserialize(params)
3244
+ @RequestId = params['RequestId']
3245
+ end
3246
+ end
3247
+
1519
3248
  # ModifyRole请求参数结构体
1520
3249
  class ModifyRoleRequest < TencentCloud::Common::AbstractModel
1521
3250
  # @param InstanceId: 实例ID
@@ -1608,6 +3337,33 @@ module TencentCloud
1608
3337
  end
1609
3338
  end
1610
3339
 
3340
+ # 公网访问安全规则
3341
+ class PublicAccessRule < TencentCloud::Common::AbstractModel
3342
+ # @param IpRule: ip网段信息
3343
+ # 注意:此字段可能返回 null,表示取不到有效值。
3344
+ # @type IpRule: String
3345
+ # @param Allow: 允许或者拒绝
3346
+ # 注意:此字段可能返回 null,表示取不到有效值。
3347
+ # @type Allow: Boolean
3348
+ # @param Remark: 备注信息
3349
+ # 注意:此字段可能返回 null,表示取不到有效值。
3350
+ # @type Remark: String
3351
+
3352
+ attr_accessor :IpRule, :Allow, :Remark
3353
+
3354
+ def initialize(iprule=nil, allow=nil, remark=nil)
3355
+ @IpRule = iprule
3356
+ @Allow = allow
3357
+ @Remark = remark
3358
+ end
3359
+
3360
+ def deserialize(params)
3361
+ @IpRule = params['IpRule']
3362
+ @Allow = params['Allow']
3363
+ @Remark = params['Remark']
3364
+ end
3365
+ end
3366
+
1611
3367
  # 角色信息
1612
3368
  class RoleItem < TencentCloud::Common::AbstractModel
1613
3369
  # @param RoleName: 角色名称