tencentcloud-sdk-trocket 3.0.753 → 3.0.754
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20230308/client.rb +534 -0
- data/lib/v20230308/models.rb +1402 -21
- metadata +2 -2
data/lib/v20230308/models.rb
CHANGED
@@ -217,6 +217,53 @@ 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
|
+
|
220
267
|
# CreateMQTTInstance请求参数结构体
|
221
268
|
class CreateMQTTInstanceRequest < TencentCloud::Common::AbstractModel
|
222
269
|
# @param InstanceType: 实例类型,
|
@@ -340,6 +387,106 @@ module TencentCloud
|
|
340
387
|
end
|
341
388
|
end
|
342
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
|
+
|
343
490
|
# CreateRole请求参数结构体
|
344
491
|
class CreateRoleRequest < TencentCloud::Common::AbstractModel
|
345
492
|
# @param InstanceId: 实例ID
|
@@ -453,6 +600,28 @@ module TencentCloud
|
|
453
600
|
end
|
454
601
|
end
|
455
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
|
+
|
456
625
|
# DeleteConsumerGroup请求参数结构体
|
457
626
|
class DeleteConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
458
627
|
# @param InstanceId: 实例ID
|
@@ -521,6 +690,142 @@ module TencentCloud
|
|
521
690
|
end
|
522
691
|
end
|
523
692
|
|
693
|
+
# DeleteMQTTInsPublicEndpoint请求参数结构体
|
694
|
+
class DeleteMQTTInsPublicEndpointRequest < TencentCloud::Common::AbstractModel
|
695
|
+
# @param InstanceId: 实例ID
|
696
|
+
# @type InstanceId: String
|
697
|
+
|
698
|
+
attr_accessor :InstanceId
|
699
|
+
|
700
|
+
def initialize(instanceid=nil)
|
701
|
+
@InstanceId = instanceid
|
702
|
+
end
|
703
|
+
|
704
|
+
def deserialize(params)
|
705
|
+
@InstanceId = params['InstanceId']
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
# DeleteMQTTInsPublicEndpoint返回参数结构体
|
710
|
+
class DeleteMQTTInsPublicEndpointResponse < TencentCloud::Common::AbstractModel
|
711
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
712
|
+
# @type RequestId: String
|
713
|
+
|
714
|
+
attr_accessor :RequestId
|
715
|
+
|
716
|
+
def initialize(requestid=nil)
|
717
|
+
@RequestId = requestid
|
718
|
+
end
|
719
|
+
|
720
|
+
def deserialize(params)
|
721
|
+
@RequestId = params['RequestId']
|
722
|
+
end
|
723
|
+
end
|
724
|
+
|
725
|
+
# DeleteMQTTInstance请求参数结构体
|
726
|
+
class DeleteMQTTInstanceRequest < TencentCloud::Common::AbstractModel
|
727
|
+
# @param InstanceId: 实例ID
|
728
|
+
# @type InstanceId: String
|
729
|
+
|
730
|
+
attr_accessor :InstanceId
|
731
|
+
|
732
|
+
def initialize(instanceid=nil)
|
733
|
+
@InstanceId = instanceid
|
734
|
+
end
|
735
|
+
|
736
|
+
def deserialize(params)
|
737
|
+
@InstanceId = params['InstanceId']
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# DeleteMQTTInstance返回参数结构体
|
742
|
+
class DeleteMQTTInstanceResponse < TencentCloud::Common::AbstractModel
|
743
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
744
|
+
# @type RequestId: String
|
745
|
+
|
746
|
+
attr_accessor :RequestId
|
747
|
+
|
748
|
+
def initialize(requestid=nil)
|
749
|
+
@RequestId = requestid
|
750
|
+
end
|
751
|
+
|
752
|
+
def deserialize(params)
|
753
|
+
@RequestId = params['RequestId']
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
# DeleteMQTTTopic请求参数结构体
|
758
|
+
class DeleteMQTTTopicRequest < TencentCloud::Common::AbstractModel
|
759
|
+
# @param InstanceId: 实例ID
|
760
|
+
# @type InstanceId: String
|
761
|
+
# @param Topic: 主题
|
762
|
+
# @type Topic: String
|
763
|
+
|
764
|
+
attr_accessor :InstanceId, :Topic
|
765
|
+
|
766
|
+
def initialize(instanceid=nil, topic=nil)
|
767
|
+
@InstanceId = instanceid
|
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
|
+
|
524
829
|
# DeleteRole请求参数结构体
|
525
830
|
class DeleteRoleRequest < TencentCloud::Common::AbstractModel
|
526
831
|
# @param InstanceId: 实例ID
|
@@ -956,29 +1261,260 @@ module TencentCloud
|
|
956
1261
|
end
|
957
1262
|
end
|
958
1263
|
|
959
|
-
#
|
960
|
-
class
|
961
|
-
# @param
|
962
|
-
# @type
|
963
|
-
# @param
|
964
|
-
# @type
|
965
|
-
# @param Limit: 查询结果限制数量
|
966
|
-
# @type Limit: Integer
|
1264
|
+
# DescribeMQTTClient请求参数结构体
|
1265
|
+
class DescribeMQTTClientRequest < TencentCloud::Common::AbstractModel
|
1266
|
+
# @param InstanceId: 实例ID
|
1267
|
+
# @type InstanceId: String
|
1268
|
+
# @param ClientId: 客户端详情
|
1269
|
+
# @type ClientId: String
|
967
1270
|
|
968
|
-
attr_accessor :
|
1271
|
+
attr_accessor :InstanceId, :ClientId
|
969
1272
|
|
970
|
-
def initialize(
|
971
|
-
@
|
972
|
-
@
|
973
|
-
@Limit = limit
|
1273
|
+
def initialize(instanceid=nil, clientid=nil)
|
1274
|
+
@InstanceId = instanceid
|
1275
|
+
@ClientId = clientid
|
974
1276
|
end
|
975
1277
|
|
976
1278
|
def deserialize(params)
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
1279
|
+
@InstanceId = params['InstanceId']
|
1280
|
+
@ClientId = params['ClientId']
|
1281
|
+
end
|
1282
|
+
end
|
1283
|
+
|
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
|
1304
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1305
|
+
# @type RequestId: String
|
1306
|
+
|
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
|
1319
|
+
@RequestId = requestid
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
def deserialize(params)
|
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
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
@RequestId = params['RequestId']
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# DescribeMQTTInsPublicEndpoints请求参数结构体
|
1344
|
+
class DescribeMQTTInsPublicEndpointsRequest < TencentCloud::Common::AbstractModel
|
1345
|
+
# @param InstanceId: 实例ID
|
1346
|
+
# @type InstanceId: String
|
1347
|
+
|
1348
|
+
attr_accessor :InstanceId
|
1349
|
+
|
1350
|
+
def initialize(instanceid=nil)
|
1351
|
+
@InstanceId = instanceid
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
def deserialize(params)
|
1355
|
+
@InstanceId = params['InstanceId']
|
1356
|
+
end
|
1357
|
+
end
|
1358
|
+
|
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
|
1369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1370
|
+
# @type RequestId: String
|
1371
|
+
|
1372
|
+
attr_accessor :Endpoints, :InstanceId, :Bandwidth, :Rules, :RequestId
|
1373
|
+
|
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
|
1379
|
+
@RequestId = requestid
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
def deserialize(params)
|
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
|
1399
|
+
end
|
1400
|
+
end
|
1401
|
+
@RequestId = params['RequestId']
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# DescribeMQTTInsVPCEndpoints请求参数结构体
|
1406
|
+
class DescribeMQTTInsVPCEndpointsRequest < TencentCloud::Common::AbstractModel
|
1407
|
+
# @param InstanceId: 实例ID
|
1408
|
+
# @type InstanceId: String
|
1409
|
+
|
1410
|
+
attr_accessor :InstanceId
|
1411
|
+
|
1412
|
+
def initialize(instanceid=nil)
|
1413
|
+
@InstanceId = instanceid
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
def deserialize(params)
|
1417
|
+
@InstanceId = params['InstanceId']
|
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)
|
982
1518
|
@Filters << filter_tmp
|
983
1519
|
end
|
984
1520
|
end
|
@@ -1019,6 +1555,239 @@ module TencentCloud
|
|
1019
1555
|
end
|
1020
1556
|
end
|
1021
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
|
+
|
1022
1791
|
# DescribeMQTTProductSKUList请求参数结构体
|
1023
1792
|
class DescribeMQTTProductSKUListRequest < TencentCloud::Common::AbstractModel
|
1024
1793
|
|
@@ -1063,6 +1832,192 @@ module TencentCloud
|
|
1063
1832
|
end
|
1064
1833
|
end
|
1065
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
|
+
|
1066
2021
|
# DescribeRoleList请求参数结构体
|
1067
2022
|
class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
|
1068
2023
|
# @param InstanceId: 实例ID
|
@@ -1631,9 +2586,71 @@ module TencentCloud
|
|
1631
2586
|
end
|
1632
2587
|
|
1633
2588
|
def deserialize(params)
|
1634
|
-
@Ip = params['Ip']
|
1635
|
-
@Allow = params['Allow']
|
1636
|
-
@Remark = params['Remark']
|
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']
|
1637
2654
|
end
|
1638
2655
|
end
|
1639
2656
|
|
@@ -1720,6 +2737,63 @@ module TencentCloud
|
|
1720
2737
|
end
|
1721
2738
|
end
|
1722
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
|
+
|
1723
2797
|
# MQTT ProductSkuItem
|
1724
2798
|
class MQTTProductSkuItem < TencentCloud::Common::AbstractModel
|
1725
2799
|
# @param InstanceType: 类型
|
@@ -1782,6 +2856,71 @@ module TencentCloud
|
|
1782
2856
|
end
|
1783
2857
|
end
|
1784
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
|
2868
|
+
|
2869
|
+
attr_accessor :InstanceId, :Topic, :Remark
|
2870
|
+
|
2871
|
+
def initialize(instanceid=nil, topic=nil, remark=nil)
|
2872
|
+
@InstanceId = instanceid
|
2873
|
+
@Topic = topic
|
2874
|
+
@Remark = remark
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
def deserialize(params)
|
2878
|
+
@InstanceId = params['InstanceId']
|
2879
|
+
@Topic = params['Topic']
|
2880
|
+
@Remark = params['Remark']
|
2881
|
+
end
|
2882
|
+
end
|
2883
|
+
|
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
|
2894
|
+
# @param Remark: 备注信息
|
2895
|
+
# @type Remark: String
|
2896
|
+
# @param CreatedTime: 创建时间,秒为单位
|
2897
|
+
# @type CreatedTime: Integer
|
2898
|
+
# @param ModifiedTime: 修改时间,秒为单位
|
2899
|
+
# @type ModifiedTime: Integer
|
2900
|
+
|
2901
|
+
attr_accessor :Username, :Password, :PermRead, :PermWrite, :Remark, :CreatedTime, :ModifiedTime
|
2902
|
+
|
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
|
2908
|
+
@Remark = remark
|
2909
|
+
@CreatedTime = createdtime
|
2910
|
+
@ModifiedTime = modifiedtime
|
2911
|
+
end
|
2912
|
+
|
2913
|
+
def deserialize(params)
|
2914
|
+
@Username = params['Username']
|
2915
|
+
@Password = params['Password']
|
2916
|
+
@PermRead = params['PermRead']
|
2917
|
+
@PermWrite = params['PermWrite']
|
2918
|
+
@Remark = params['Remark']
|
2919
|
+
@CreatedTime = params['CreatedTime']
|
2920
|
+
@ModifiedTime = params['ModifiedTime']
|
2921
|
+
end
|
2922
|
+
end
|
2923
|
+
|
1785
2924
|
# ModifyConsumerGroup请求参数结构体
|
1786
2925
|
class ModifyConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
1787
2926
|
# @param InstanceId: 实例ID
|
@@ -1891,6 +3030,221 @@ module TencentCloud
|
|
1891
3030
|
end
|
1892
3031
|
end
|
1893
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
|
+
|
1894
3248
|
# ModifyRole请求参数结构体
|
1895
3249
|
class ModifyRoleRequest < TencentCloud::Common::AbstractModel
|
1896
3250
|
# @param InstanceId: 实例ID
|
@@ -1983,6 +3337,33 @@ module TencentCloud
|
|
1983
3337
|
end
|
1984
3338
|
end
|
1985
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
|
+
|
1986
3367
|
# 角色信息
|
1987
3368
|
class RoleItem < TencentCloud::Common::AbstractModel
|
1988
3369
|
# @param RoleName: 角色名称
|