tencentcloud-sdk-python 3.0.1347__py2.py3-none-any.whl → 3.0.1348__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/bh/v20230418/models.py +61 -23
- tencentcloud/cam/v20190116/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +300 -0
- tencentcloud/cdwpg/v20201230/models.py +96 -84
- tencentcloud/chc/v20230418/models.py +0 -30
- tencentcloud/clb/v20180317/models.py +46 -16
- tencentcloud/dbbrain/v20210527/models.py +0 -8
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +0 -64
- tencentcloud/emr/v20190103/models.py +15 -54
- tencentcloud/ess/v20201111/models.py +4 -4
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/models.py +4 -58
- tencentcloud/hai/v20230812/models.py +0 -44
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +1 -1
- tencentcloud/iotvideoindustry/v20201201/models.py +0 -30
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lcic/v20220817/models.py +56 -68
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -0
- tencentcloud/mariadb/v20170312/models.py +2 -70
- tencentcloud/mqtt/v20240516/models.py +296 -188
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/tbaas/v20180416/models.py +0 -46
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcr/v20190924/models.py +0 -134
- tencentcloud/tdmq/v20200217/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +34 -0
- tencentcloud/tke/v20180525/models.py +0 -66
- tencentcloud/trocket/v20230308/models.py +0 -24
- tencentcloud/tsf/v20180326/models.py +196 -182
- tencentcloud/vcube/v20220410/models.py +51 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vod/v20180717/models.py +8 -46
- tencentcloud/wedata/v20210820/models.py +17 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1347.dist-info → tencentcloud_sdk_python-3.0.1348.dist-info}/top_level.txt +0 -0
@@ -104,9 +104,9 @@ class ActivateDeviceCertificateRequest(AbstractModel):
|
|
104
104
|
|
105
105
|
def __init__(self):
|
106
106
|
r"""
|
107
|
-
:param _InstanceId:
|
107
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
108
108
|
:type InstanceId: str
|
109
|
-
:param _DeviceCertificateSn:
|
109
|
+
:param _DeviceCertificateSn: 设备证书的SN序列号,可以从 [DescribeDeviceCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
110
110
|
:type DeviceCertificateSn: str
|
111
111
|
"""
|
112
112
|
self._InstanceId = None
|
@@ -114,7 +114,7 @@ class ActivateDeviceCertificateRequest(AbstractModel):
|
|
114
114
|
|
115
115
|
@property
|
116
116
|
def InstanceId(self):
|
117
|
-
"""
|
117
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
118
118
|
:rtype: str
|
119
119
|
"""
|
120
120
|
return self._InstanceId
|
@@ -125,7 +125,7 @@ class ActivateDeviceCertificateRequest(AbstractModel):
|
|
125
125
|
|
126
126
|
@property
|
127
127
|
def DeviceCertificateSn(self):
|
128
|
-
"""
|
128
|
+
"""设备证书的SN序列号,可以从 [DescribeDeviceCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
129
129
|
:rtype: str
|
130
130
|
"""
|
131
131
|
return self._DeviceCertificateSn
|
@@ -183,14 +183,14 @@ class ApplyRegistrationCodeRequest(AbstractModel):
|
|
183
183
|
|
184
184
|
def __init__(self):
|
185
185
|
r"""
|
186
|
-
:param _InstanceId:
|
186
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
187
187
|
:type InstanceId: str
|
188
188
|
"""
|
189
189
|
self._InstanceId = None
|
190
190
|
|
191
191
|
@property
|
192
192
|
def InstanceId(self):
|
193
|
-
"""
|
193
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
194
194
|
:rtype: str
|
195
195
|
"""
|
196
196
|
return self._InstanceId
|
@@ -277,39 +277,48 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
277
277
|
|
278
278
|
def __init__(self):
|
279
279
|
r"""
|
280
|
-
:param _Id:
|
280
|
+
:param _Id: 策略规则ID
|
281
281
|
:type Id: int
|
282
|
-
:param _InstanceId: 集群ID
|
282
|
+
:param _InstanceId: MQTT集群ID
|
283
283
|
:type InstanceId: str
|
284
|
-
:param _PolicyName:
|
284
|
+
:param _PolicyName: 策略规则名
|
285
285
|
:type PolicyName: str
|
286
|
-
:param _Version:
|
286
|
+
:param _Version: 规则语法版本,当前仅支持1,默认为1
|
287
287
|
:type Version: int
|
288
|
-
:param _Priority:
|
288
|
+
:param _Priority: 策略优先级,优先级ID越小表示策略越优先检查生效。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
289
289
|
:type Priority: int
|
290
|
-
:param _Effect:
|
290
|
+
:param _Effect: 决策
|
291
|
+
allow:允许符合该策略的设备的访问请求。
|
292
|
+
deny:拒绝覆盖该策略的设备的访问请求。
|
293
|
+
可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
291
294
|
:type Effect: str
|
292
|
-
:param _Actions:
|
295
|
+
:param _Actions: 操作
|
296
|
+
connect:连接
|
297
|
+
pub:发布mqtt消息
|
298
|
+
sub:订阅mqtt消息
|
299
|
+
可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
293
300
|
:type Actions: str
|
294
|
-
:param _Resources:
|
301
|
+
:param _Resources: 资源,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
295
302
|
:type Resources: str
|
296
|
-
:param _ClientId:
|
303
|
+
:param _ClientId: 条件-连接设备ID,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
297
304
|
:type ClientId: str
|
298
|
-
:param _Username:
|
305
|
+
:param _Username: 条件-用户名,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
306
|
+
|
299
307
|
:type Username: str
|
300
|
-
:param _Ip: IP
|
308
|
+
:param _Ip: 条件-客户端IP地址,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
301
309
|
:type Ip: str
|
302
|
-
:param _Qos:
|
310
|
+
:param _Qos: 条件-服务质量,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
303
311
|
:type Qos: str
|
304
|
-
:param _Retain:
|
312
|
+
:param _Retain: 条件-保留消息,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
313
|
+
1:表示匹配retain消息
|
305
314
|
2:表示匹配非retain消息
|
306
315
|
3:表示匹配retain和非retain消息
|
307
316
|
:type Retain: int
|
308
|
-
:param _Remark:
|
317
|
+
:param _Remark: 备注,长度不超过128个字符。
|
309
318
|
:type Remark: str
|
310
|
-
:param _CreatedTime:
|
319
|
+
:param _CreatedTime: 创建时间。毫秒级时间戳 。
|
311
320
|
:type CreatedTime: int
|
312
|
-
:param _UpdateTime:
|
321
|
+
:param _UpdateTime: 更新时间。毫秒级时间戳 。
|
313
322
|
:type UpdateTime: int
|
314
323
|
"""
|
315
324
|
self._Id = None
|
@@ -331,7 +340,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
331
340
|
|
332
341
|
@property
|
333
342
|
def Id(self):
|
334
|
-
"""
|
343
|
+
"""策略规则ID
|
335
344
|
:rtype: int
|
336
345
|
"""
|
337
346
|
return self._Id
|
@@ -342,7 +351,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
342
351
|
|
343
352
|
@property
|
344
353
|
def InstanceId(self):
|
345
|
-
"""集群ID
|
354
|
+
"""MQTT集群ID
|
346
355
|
:rtype: str
|
347
356
|
"""
|
348
357
|
return self._InstanceId
|
@@ -353,7 +362,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
353
362
|
|
354
363
|
@property
|
355
364
|
def PolicyName(self):
|
356
|
-
"""
|
365
|
+
"""策略规则名
|
357
366
|
:rtype: str
|
358
367
|
"""
|
359
368
|
return self._PolicyName
|
@@ -364,7 +373,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
364
373
|
|
365
374
|
@property
|
366
375
|
def Version(self):
|
367
|
-
"""
|
376
|
+
"""规则语法版本,当前仅支持1,默认为1
|
368
377
|
:rtype: int
|
369
378
|
"""
|
370
379
|
return self._Version
|
@@ -375,7 +384,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
375
384
|
|
376
385
|
@property
|
377
386
|
def Priority(self):
|
378
|
-
"""
|
387
|
+
"""策略优先级,优先级ID越小表示策略越优先检查生效。可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
379
388
|
:rtype: int
|
380
389
|
"""
|
381
390
|
return self._Priority
|
@@ -386,7 +395,10 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
386
395
|
|
387
396
|
@property
|
388
397
|
def Effect(self):
|
389
|
-
"""
|
398
|
+
"""决策
|
399
|
+
allow:允许符合该策略的设备的访问请求。
|
400
|
+
deny:拒绝覆盖该策略的设备的访问请求。
|
401
|
+
可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
390
402
|
:rtype: str
|
391
403
|
"""
|
392
404
|
return self._Effect
|
@@ -397,7 +409,11 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
397
409
|
|
398
410
|
@property
|
399
411
|
def Actions(self):
|
400
|
-
"""
|
412
|
+
"""操作
|
413
|
+
connect:连接
|
414
|
+
pub:发布mqtt消息
|
415
|
+
sub:订阅mqtt消息
|
416
|
+
可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
401
417
|
:rtype: str
|
402
418
|
"""
|
403
419
|
return self._Actions
|
@@ -408,7 +424,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
408
424
|
|
409
425
|
@property
|
410
426
|
def Resources(self):
|
411
|
-
"""
|
427
|
+
"""资源,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
412
428
|
:rtype: str
|
413
429
|
"""
|
414
430
|
return self._Resources
|
@@ -419,7 +435,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
419
435
|
|
420
436
|
@property
|
421
437
|
def ClientId(self):
|
422
|
-
"""
|
438
|
+
"""条件-连接设备ID,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
423
439
|
:rtype: str
|
424
440
|
"""
|
425
441
|
return self._ClientId
|
@@ -430,7 +446,8 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
430
446
|
|
431
447
|
@property
|
432
448
|
def Username(self):
|
433
|
-
"""
|
449
|
+
"""条件-用户名,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
450
|
+
|
434
451
|
:rtype: str
|
435
452
|
"""
|
436
453
|
return self._Username
|
@@ -441,7 +458,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
441
458
|
|
442
459
|
@property
|
443
460
|
def Ip(self):
|
444
|
-
"""IP
|
461
|
+
"""条件-客户端IP地址,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
445
462
|
:rtype: str
|
446
463
|
"""
|
447
464
|
return self._Ip
|
@@ -452,7 +469,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
452
469
|
|
453
470
|
@property
|
454
471
|
def Qos(self):
|
455
|
-
"""
|
472
|
+
"""条件-服务质量,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
456
473
|
:rtype: str
|
457
474
|
"""
|
458
475
|
return self._Qos
|
@@ -463,7 +480,8 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
463
480
|
|
464
481
|
@property
|
465
482
|
def Retain(self):
|
466
|
-
"""
|
483
|
+
"""条件-保留消息,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
484
|
+
1:表示匹配retain消息
|
467
485
|
2:表示匹配非retain消息
|
468
486
|
3:表示匹配retain和非retain消息
|
469
487
|
:rtype: int
|
@@ -476,7 +494,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
476
494
|
|
477
495
|
@property
|
478
496
|
def Remark(self):
|
479
|
-
"""
|
497
|
+
"""备注,长度不超过128个字符。
|
480
498
|
:rtype: str
|
481
499
|
"""
|
482
500
|
return self._Remark
|
@@ -487,7 +505,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
487
505
|
|
488
506
|
@property
|
489
507
|
def CreatedTime(self):
|
490
|
-
"""
|
508
|
+
"""创建时间。毫秒级时间戳 。
|
491
509
|
:rtype: int
|
492
510
|
"""
|
493
511
|
return self._CreatedTime
|
@@ -498,7 +516,7 @@ class AuthorizationPolicyItem(AbstractModel):
|
|
498
516
|
|
499
517
|
@property
|
500
518
|
def UpdateTime(self):
|
501
|
-
"""
|
519
|
+
"""更新时间。毫秒级时间戳 。
|
502
520
|
:rtype: int
|
503
521
|
"""
|
504
522
|
return self._UpdateTime
|
@@ -542,7 +560,7 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
542
560
|
|
543
561
|
def __init__(self):
|
544
562
|
r"""
|
545
|
-
:param _Id:
|
563
|
+
:param _Id: 授权策略规则id,可以从 [DescribeAuthorizationPolicies](https://cloud.tencent.com/document/api/1778/111074)接口获得。
|
546
564
|
:type Id: int
|
547
565
|
:param _Priority: 优先级
|
548
566
|
:type Priority: int
|
@@ -552,7 +570,7 @@ class AuthorizationPolicyPriority(AbstractModel):
|
|
552
570
|
|
553
571
|
@property
|
554
572
|
def Id(self):
|
555
|
-
"""
|
573
|
+
"""授权策略规则id,可以从 [DescribeAuthorizationPolicies](https://cloud.tencent.com/document/api/1778/111074)接口获得。
|
556
574
|
:rtype: int
|
557
575
|
"""
|
558
576
|
return self._Id
|
@@ -644,31 +662,35 @@ class CaCertificateItem(AbstractModel):
|
|
644
662
|
|
645
663
|
def __init__(self):
|
646
664
|
r"""
|
647
|
-
:param _CaCn:
|
665
|
+
:param _CaCn: 证书的公用名(Common Name)
|
648
666
|
:type CaCn: str
|
649
667
|
:param _CaCertificate: 证书内容
|
650
668
|
:type CaCertificate: str
|
651
669
|
:param _CaSn: 证书序列号
|
652
670
|
:type CaSn: str
|
653
|
-
:param _Format:
|
671
|
+
:param _Format: 证书格式,当前仅支持 PEM 格式
|
654
672
|
:type Format: str
|
655
673
|
:param _VerificationCertificate: 验证证书内容
|
656
674
|
:type VerificationCertificate: str
|
657
|
-
:param _Status:
|
675
|
+
:param _Status: CA证书的状态
|
676
|
+
ACTIVE:激活
|
677
|
+
INACTIVE:未激活
|
678
|
+
REVOKED:吊销
|
679
|
+
PENDING_ACTIVATION:注册待激活
|
658
680
|
:type Status: str
|
659
|
-
:param _LastActivationTime:
|
681
|
+
:param _LastActivationTime: 上次激活时间,毫秒级时间戳 。
|
660
682
|
:type LastActivationTime: int
|
661
|
-
:param _CreatedTime:
|
683
|
+
:param _CreatedTime: 创建时间,毫秒级时间戳 。
|
662
684
|
:type CreatedTime: int
|
663
|
-
:param _UpdateTime:
|
685
|
+
:param _UpdateTime: 更新时间,毫秒级时间戳 。
|
664
686
|
:type UpdateTime: int
|
665
|
-
:param _LastInactivationTime:
|
687
|
+
:param _LastInactivationTime: 上次去激活时间,毫秒级时间戳 。
|
666
688
|
:type LastInactivationTime: int
|
667
689
|
:param _CaIssuerCn: Ca证书颁发者CN
|
668
690
|
:type CaIssuerCn: str
|
669
|
-
:param _NotBeforeTime:
|
691
|
+
:param _NotBeforeTime: 生效时间,毫秒级时间戳 。
|
670
692
|
:type NotBeforeTime: int
|
671
|
-
:param _NotAfterTime:
|
693
|
+
:param _NotAfterTime: 失效时间,毫秒级时间戳 。
|
672
694
|
:type NotAfterTime: int
|
673
695
|
"""
|
674
696
|
self._CaCn = None
|
@@ -687,7 +709,7 @@ class CaCertificateItem(AbstractModel):
|
|
687
709
|
|
688
710
|
@property
|
689
711
|
def CaCn(self):
|
690
|
-
"""
|
712
|
+
"""证书的公用名(Common Name)
|
691
713
|
:rtype: str
|
692
714
|
"""
|
693
715
|
return self._CaCn
|
@@ -720,7 +742,7 @@ class CaCertificateItem(AbstractModel):
|
|
720
742
|
|
721
743
|
@property
|
722
744
|
def Format(self):
|
723
|
-
"""
|
745
|
+
"""证书格式,当前仅支持 PEM 格式
|
724
746
|
:rtype: str
|
725
747
|
"""
|
726
748
|
return self._Format
|
@@ -742,7 +764,11 @@ class CaCertificateItem(AbstractModel):
|
|
742
764
|
|
743
765
|
@property
|
744
766
|
def Status(self):
|
745
|
-
"""
|
767
|
+
"""CA证书的状态
|
768
|
+
ACTIVE:激活
|
769
|
+
INACTIVE:未激活
|
770
|
+
REVOKED:吊销
|
771
|
+
PENDING_ACTIVATION:注册待激活
|
746
772
|
:rtype: str
|
747
773
|
"""
|
748
774
|
return self._Status
|
@@ -753,7 +779,7 @@ class CaCertificateItem(AbstractModel):
|
|
753
779
|
|
754
780
|
@property
|
755
781
|
def LastActivationTime(self):
|
756
|
-
"""
|
782
|
+
"""上次激活时间,毫秒级时间戳 。
|
757
783
|
:rtype: int
|
758
784
|
"""
|
759
785
|
return self._LastActivationTime
|
@@ -764,7 +790,7 @@ class CaCertificateItem(AbstractModel):
|
|
764
790
|
|
765
791
|
@property
|
766
792
|
def CreatedTime(self):
|
767
|
-
"""
|
793
|
+
"""创建时间,毫秒级时间戳 。
|
768
794
|
:rtype: int
|
769
795
|
"""
|
770
796
|
return self._CreatedTime
|
@@ -775,7 +801,7 @@ class CaCertificateItem(AbstractModel):
|
|
775
801
|
|
776
802
|
@property
|
777
803
|
def UpdateTime(self):
|
778
|
-
"""
|
804
|
+
"""更新时间,毫秒级时间戳 。
|
779
805
|
:rtype: int
|
780
806
|
"""
|
781
807
|
return self._UpdateTime
|
@@ -786,7 +812,7 @@ class CaCertificateItem(AbstractModel):
|
|
786
812
|
|
787
813
|
@property
|
788
814
|
def LastInactivationTime(self):
|
789
|
-
"""
|
815
|
+
"""上次去激活时间,毫秒级时间戳 。
|
790
816
|
:rtype: int
|
791
817
|
"""
|
792
818
|
return self._LastInactivationTime
|
@@ -808,7 +834,7 @@ class CaCertificateItem(AbstractModel):
|
|
808
834
|
|
809
835
|
@property
|
810
836
|
def NotBeforeTime(self):
|
811
|
-
"""
|
837
|
+
"""生效时间,毫秒级时间戳 。
|
812
838
|
:rtype: int
|
813
839
|
"""
|
814
840
|
return self._NotBeforeTime
|
@@ -819,7 +845,7 @@ class CaCertificateItem(AbstractModel):
|
|
819
845
|
|
820
846
|
@property
|
821
847
|
def NotAfterTime(self):
|
822
|
-
"""
|
848
|
+
"""失效时间,毫秒级时间戳 。
|
823
849
|
:rtype: int
|
824
850
|
"""
|
825
851
|
return self._NotAfterTime
|
@@ -1987,11 +2013,11 @@ class CreateTopicRequest(AbstractModel):
|
|
1987
2013
|
|
1988
2014
|
def __init__(self):
|
1989
2015
|
r"""
|
1990
|
-
:param _InstanceId: 实例ID
|
2016
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
1991
2017
|
:type InstanceId: str
|
1992
|
-
:param _Topic:
|
2018
|
+
:param _Topic: 主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
1993
2019
|
:type Topic: str
|
1994
|
-
:param _Remark:
|
2020
|
+
:param _Remark: 备注,最长 128 字符
|
1995
2021
|
:type Remark: str
|
1996
2022
|
"""
|
1997
2023
|
self._InstanceId = None
|
@@ -2000,7 +2026,7 @@ class CreateTopicRequest(AbstractModel):
|
|
2000
2026
|
|
2001
2027
|
@property
|
2002
2028
|
def InstanceId(self):
|
2003
|
-
"""实例ID
|
2029
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2004
2030
|
:rtype: str
|
2005
2031
|
"""
|
2006
2032
|
return self._InstanceId
|
@@ -2011,7 +2037,7 @@ class CreateTopicRequest(AbstractModel):
|
|
2011
2037
|
|
2012
2038
|
@property
|
2013
2039
|
def Topic(self):
|
2014
|
-
"""
|
2040
|
+
"""主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
2015
2041
|
:rtype: str
|
2016
2042
|
"""
|
2017
2043
|
return self._Topic
|
@@ -2022,7 +2048,7 @@ class CreateTopicRequest(AbstractModel):
|
|
2022
2048
|
|
2023
2049
|
@property
|
2024
2050
|
def Remark(self):
|
2025
|
-
"""
|
2051
|
+
"""备注,最长 128 字符
|
2026
2052
|
:rtype: str
|
2027
2053
|
"""
|
2028
2054
|
return self._Remark
|
@@ -2111,13 +2137,13 @@ class CreateUserRequest(AbstractModel):
|
|
2111
2137
|
|
2112
2138
|
def __init__(self):
|
2113
2139
|
r"""
|
2114
|
-
:param _InstanceId: 实例ID
|
2140
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2115
2141
|
:type InstanceId: str
|
2116
|
-
:param _Username:
|
2142
|
+
:param _Username: 用户名,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 32 个字符
|
2117
2143
|
:type Username: str
|
2118
2144
|
:param _Password: 密码,该字段为空时候则后端会默认生成
|
2119
2145
|
:type Password: str
|
2120
|
-
:param _Remark:
|
2146
|
+
:param _Remark: 备注,长度不超过128个字符。
|
2121
2147
|
:type Remark: str
|
2122
2148
|
"""
|
2123
2149
|
self._InstanceId = None
|
@@ -2127,7 +2153,7 @@ class CreateUserRequest(AbstractModel):
|
|
2127
2153
|
|
2128
2154
|
@property
|
2129
2155
|
def InstanceId(self):
|
2130
|
-
"""实例ID
|
2156
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2131
2157
|
:rtype: str
|
2132
2158
|
"""
|
2133
2159
|
return self._InstanceId
|
@@ -2138,7 +2164,7 @@ class CreateUserRequest(AbstractModel):
|
|
2138
2164
|
|
2139
2165
|
@property
|
2140
2166
|
def Username(self):
|
2141
|
-
"""
|
2167
|
+
"""用户名,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 32 个字符
|
2142
2168
|
:rtype: str
|
2143
2169
|
"""
|
2144
2170
|
return self._Username
|
@@ -2160,7 +2186,7 @@ class CreateUserRequest(AbstractModel):
|
|
2160
2186
|
|
2161
2187
|
@property
|
2162
2188
|
def Remark(self):
|
2163
|
-
"""
|
2189
|
+
"""备注,长度不超过128个字符。
|
2164
2190
|
:rtype: str
|
2165
2191
|
"""
|
2166
2192
|
return self._Remark
|
@@ -2220,9 +2246,9 @@ class DeactivateCaCertificateRequest(AbstractModel):
|
|
2220
2246
|
|
2221
2247
|
def __init__(self):
|
2222
2248
|
r"""
|
2223
|
-
:param _InstanceId:
|
2249
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2224
2250
|
:type InstanceId: str
|
2225
|
-
:param _CaSn:
|
2251
|
+
:param _CaSn: 证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2226
2252
|
:type CaSn: str
|
2227
2253
|
"""
|
2228
2254
|
self._InstanceId = None
|
@@ -2230,7 +2256,7 @@ class DeactivateCaCertificateRequest(AbstractModel):
|
|
2230
2256
|
|
2231
2257
|
@property
|
2232
2258
|
def InstanceId(self):
|
2233
|
-
"""
|
2259
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2234
2260
|
:rtype: str
|
2235
2261
|
"""
|
2236
2262
|
return self._InstanceId
|
@@ -2241,7 +2267,7 @@ class DeactivateCaCertificateRequest(AbstractModel):
|
|
2241
2267
|
|
2242
2268
|
@property
|
2243
2269
|
def CaSn(self):
|
2244
|
-
"""
|
2270
|
+
"""证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2245
2271
|
:rtype: str
|
2246
2272
|
"""
|
2247
2273
|
return self._CaSn
|
@@ -2299,9 +2325,9 @@ class DeactivateDeviceCertificateRequest(AbstractModel):
|
|
2299
2325
|
|
2300
2326
|
def __init__(self):
|
2301
2327
|
r"""
|
2302
|
-
:param _InstanceId:
|
2328
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2303
2329
|
:type InstanceId: str
|
2304
|
-
:param _DeviceCertificateSn:
|
2330
|
+
:param _DeviceCertificateSn: 设备证书的SN序列号,可以从 [DescribeDeviceCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、设备证书文件中获得。
|
2305
2331
|
:type DeviceCertificateSn: str
|
2306
2332
|
"""
|
2307
2333
|
self._InstanceId = None
|
@@ -2309,7 +2335,7 @@ class DeactivateDeviceCertificateRequest(AbstractModel):
|
|
2309
2335
|
|
2310
2336
|
@property
|
2311
2337
|
def InstanceId(self):
|
2312
|
-
"""
|
2338
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2313
2339
|
:rtype: str
|
2314
2340
|
"""
|
2315
2341
|
return self._InstanceId
|
@@ -2320,7 +2346,7 @@ class DeactivateDeviceCertificateRequest(AbstractModel):
|
|
2320
2346
|
|
2321
2347
|
@property
|
2322
2348
|
def DeviceCertificateSn(self):
|
2323
|
-
"""
|
2349
|
+
"""设备证书的SN序列号,可以从 [DescribeDeviceCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、设备证书文件中获得。
|
2324
2350
|
:rtype: str
|
2325
2351
|
"""
|
2326
2352
|
return self._DeviceCertificateSn
|
@@ -2378,12 +2404,12 @@ class DeleteAuthenticatorRequest(AbstractModel):
|
|
2378
2404
|
|
2379
2405
|
def __init__(self):
|
2380
2406
|
r"""
|
2381
|
-
:param _InstanceId: 实例ID
|
2407
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2382
2408
|
:type InstanceId: str
|
2383
2409
|
:param _Type: 认证器类型:
|
2384
2410
|
JWT:JWT认证器
|
2385
2411
|
JWKS:JWKS认证器
|
2386
|
-
|
2412
|
+
HTTP:HTTP认证器
|
2387
2413
|
:type Type: str
|
2388
2414
|
"""
|
2389
2415
|
self._InstanceId = None
|
@@ -2391,7 +2417,7 @@ BYOC:一端一证认证器
|
|
2391
2417
|
|
2392
2418
|
@property
|
2393
2419
|
def InstanceId(self):
|
2394
|
-
"""实例ID
|
2420
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2395
2421
|
:rtype: str
|
2396
2422
|
"""
|
2397
2423
|
return self._InstanceId
|
@@ -2405,7 +2431,7 @@ BYOC:一端一证认证器
|
|
2405
2431
|
"""认证器类型:
|
2406
2432
|
JWT:JWT认证器
|
2407
2433
|
JWKS:JWKS认证器
|
2408
|
-
|
2434
|
+
HTTP:HTTP认证器
|
2409
2435
|
:rtype: str
|
2410
2436
|
"""
|
2411
2437
|
return self._Type
|
@@ -2463,9 +2489,9 @@ class DeleteAuthorizationPolicyRequest(AbstractModel):
|
|
2463
2489
|
|
2464
2490
|
def __init__(self):
|
2465
2491
|
r"""
|
2466
|
-
:param _InstanceId: 实例ID
|
2492
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2467
2493
|
:type InstanceId: str
|
2468
|
-
:param _Id:
|
2494
|
+
:param _Id: 授权策略规则id,可以从 [DescribeAuthorizationPolicies](https://cloud.tencent.com/document/api/1778/111074)接口获得。
|
2469
2495
|
:type Id: int
|
2470
2496
|
"""
|
2471
2497
|
self._InstanceId = None
|
@@ -2473,7 +2499,7 @@ class DeleteAuthorizationPolicyRequest(AbstractModel):
|
|
2473
2499
|
|
2474
2500
|
@property
|
2475
2501
|
def InstanceId(self):
|
2476
|
-
"""实例ID
|
2502
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2477
2503
|
:rtype: str
|
2478
2504
|
"""
|
2479
2505
|
return self._InstanceId
|
@@ -2484,7 +2510,7 @@ class DeleteAuthorizationPolicyRequest(AbstractModel):
|
|
2484
2510
|
|
2485
2511
|
@property
|
2486
2512
|
def Id(self):
|
2487
|
-
"""
|
2513
|
+
"""授权策略规则id,可以从 [DescribeAuthorizationPolicies](https://cloud.tencent.com/document/api/1778/111074)接口获得。
|
2488
2514
|
:rtype: int
|
2489
2515
|
"""
|
2490
2516
|
return self._Id
|
@@ -2542,9 +2568,9 @@ class DeleteCaCertificateRequest(AbstractModel):
|
|
2542
2568
|
|
2543
2569
|
def __init__(self):
|
2544
2570
|
r"""
|
2545
|
-
:param _InstanceId:
|
2571
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2546
2572
|
:type InstanceId: str
|
2547
|
-
:param _CaSn:
|
2573
|
+
:param _CaSn: 证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2548
2574
|
:type CaSn: str
|
2549
2575
|
"""
|
2550
2576
|
self._InstanceId = None
|
@@ -2552,7 +2578,7 @@ class DeleteCaCertificateRequest(AbstractModel):
|
|
2552
2578
|
|
2553
2579
|
@property
|
2554
2580
|
def InstanceId(self):
|
2555
|
-
"""
|
2581
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2556
2582
|
:rtype: str
|
2557
2583
|
"""
|
2558
2584
|
return self._InstanceId
|
@@ -2563,7 +2589,7 @@ class DeleteCaCertificateRequest(AbstractModel):
|
|
2563
2589
|
|
2564
2590
|
@property
|
2565
2591
|
def CaSn(self):
|
2566
|
-
"""
|
2592
|
+
"""证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2567
2593
|
:rtype: str
|
2568
2594
|
"""
|
2569
2595
|
return self._CaSn
|
@@ -2700,14 +2726,14 @@ class DeleteInsPublicEndpointRequest(AbstractModel):
|
|
2700
2726
|
|
2701
2727
|
def __init__(self):
|
2702
2728
|
r"""
|
2703
|
-
:param _InstanceId: 实例ID
|
2729
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2704
2730
|
:type InstanceId: str
|
2705
2731
|
"""
|
2706
2732
|
self._InstanceId = None
|
2707
2733
|
|
2708
2734
|
@property
|
2709
2735
|
def InstanceId(self):
|
2710
|
-
"""实例ID
|
2736
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2711
2737
|
:rtype: str
|
2712
2738
|
"""
|
2713
2739
|
return self._InstanceId
|
@@ -2986,9 +3012,12 @@ class DescribeAuthenticatorRequest(AbstractModel):
|
|
2986
3012
|
|
2987
3013
|
def __init__(self):
|
2988
3014
|
r"""
|
2989
|
-
:param _InstanceId: 实例ID
|
3015
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2990
3016
|
:type InstanceId: str
|
2991
|
-
:param _Type: 认证器类型:
|
3017
|
+
:param _Type: 认证器类型:
|
3018
|
+
JWT:JWT认证器
|
3019
|
+
JWKS:JWKS认证器
|
3020
|
+
HTTP:HTTP认证器
|
2992
3021
|
:type Type: str
|
2993
3022
|
"""
|
2994
3023
|
self._InstanceId = None
|
@@ -2996,7 +3025,7 @@ class DescribeAuthenticatorRequest(AbstractModel):
|
|
2996
3025
|
|
2997
3026
|
@property
|
2998
3027
|
def InstanceId(self):
|
2999
|
-
"""实例ID
|
3028
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3000
3029
|
:rtype: str
|
3001
3030
|
"""
|
3002
3031
|
return self._InstanceId
|
@@ -3007,7 +3036,10 @@ class DescribeAuthenticatorRequest(AbstractModel):
|
|
3007
3036
|
|
3008
3037
|
@property
|
3009
3038
|
def Type(self):
|
3010
|
-
"""认证器类型:
|
3039
|
+
"""认证器类型:
|
3040
|
+
JWT:JWT认证器
|
3041
|
+
JWKS:JWKS认证器
|
3042
|
+
HTTP:HTTP认证器
|
3011
3043
|
:rtype: str
|
3012
3044
|
"""
|
3013
3045
|
return self._Type
|
@@ -3085,14 +3117,14 @@ class DescribeAuthorizationPoliciesRequest(AbstractModel):
|
|
3085
3117
|
|
3086
3118
|
def __init__(self):
|
3087
3119
|
r"""
|
3088
|
-
:param _InstanceId:
|
3120
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3089
3121
|
:type InstanceId: str
|
3090
3122
|
"""
|
3091
3123
|
self._InstanceId = None
|
3092
3124
|
|
3093
3125
|
@property
|
3094
3126
|
def InstanceId(self):
|
3095
|
-
"""
|
3127
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3096
3128
|
:rtype: str
|
3097
3129
|
"""
|
3098
3130
|
return self._InstanceId
|
@@ -3428,14 +3460,14 @@ class DescribeCaCertificatesRequest(AbstractModel):
|
|
3428
3460
|
|
3429
3461
|
def __init__(self):
|
3430
3462
|
r"""
|
3431
|
-
:param _InstanceId:
|
3463
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3432
3464
|
:type InstanceId: str
|
3433
3465
|
"""
|
3434
3466
|
self._InstanceId = None
|
3435
3467
|
|
3436
3468
|
@property
|
3437
3469
|
def InstanceId(self):
|
3438
|
-
"""
|
3470
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3439
3471
|
:rtype: str
|
3440
3472
|
"""
|
3441
3473
|
return self._InstanceId
|
@@ -3512,7 +3544,7 @@ class DescribeClientListRequest(AbstractModel):
|
|
3512
3544
|
|
3513
3545
|
def __init__(self):
|
3514
3546
|
r"""
|
3515
|
-
:param _InstanceId: 实例ID
|
3547
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3516
3548
|
:type InstanceId: str
|
3517
3549
|
:param _ClientId: 客户端名
|
3518
3550
|
:type ClientId: str
|
@@ -3525,7 +3557,7 @@ class DescribeClientListRequest(AbstractModel):
|
|
3525
3557
|
|
3526
3558
|
@property
|
3527
3559
|
def InstanceId(self):
|
3528
|
-
"""实例ID
|
3560
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3529
3561
|
:rtype: str
|
3530
3562
|
"""
|
3531
3563
|
return self._InstanceId
|
@@ -3626,9 +3658,9 @@ class DescribeDeviceCertificateRequest(AbstractModel):
|
|
3626
3658
|
|
3627
3659
|
def __init__(self):
|
3628
3660
|
r"""
|
3629
|
-
:param _DeviceCertificateSn:
|
3661
|
+
:param _DeviceCertificateSn: 设备证书的SN序列号,用于唯一标识一个设备证书。
|
3630
3662
|
:type DeviceCertificateSn: str
|
3631
|
-
:param _InstanceId:
|
3663
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3632
3664
|
:type InstanceId: str
|
3633
3665
|
"""
|
3634
3666
|
self._DeviceCertificateSn = None
|
@@ -3636,7 +3668,7 @@ class DescribeDeviceCertificateRequest(AbstractModel):
|
|
3636
3668
|
|
3637
3669
|
@property
|
3638
3670
|
def DeviceCertificateSn(self):
|
3639
|
-
"""
|
3671
|
+
"""设备证书的SN序列号,用于唯一标识一个设备证书。
|
3640
3672
|
:rtype: str
|
3641
3673
|
"""
|
3642
3674
|
return self._DeviceCertificateSn
|
@@ -3647,7 +3679,7 @@ class DescribeDeviceCertificateRequest(AbstractModel):
|
|
3647
3679
|
|
3648
3680
|
@property
|
3649
3681
|
def InstanceId(self):
|
3650
|
-
"""
|
3682
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3651
3683
|
:rtype: str
|
3652
3684
|
"""
|
3653
3685
|
return self._InstanceId
|
@@ -3677,17 +3709,21 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3677
3709
|
|
3678
3710
|
def __init__(self):
|
3679
3711
|
r"""
|
3680
|
-
:param _CreatedTime:
|
3712
|
+
:param _CreatedTime: 创建时间,毫秒级时间戳 。
|
3681
3713
|
:type CreatedTime: int
|
3682
|
-
:param _UpdateTime:
|
3714
|
+
:param _UpdateTime: 上次更新时间,毫秒级时间戳 。
|
3683
3715
|
:type UpdateTime: int
|
3684
|
-
:param _NotAfterTime:
|
3716
|
+
:param _NotAfterTime: 证书失效日期,毫秒级时间戳 。
|
3685
3717
|
:type NotAfterTime: int
|
3686
|
-
:param _LastActivationTime:
|
3718
|
+
:param _LastActivationTime: 上次激活时间,毫秒级时间戳 。
|
3687
3719
|
:type LastActivationTime: int
|
3688
|
-
:param _LastInactivationTime:
|
3720
|
+
:param _LastInactivationTime: 上次取消激活时间,毫秒级时间戳 。
|
3689
3721
|
:type LastInactivationTime: int
|
3690
|
-
:param _Status:
|
3722
|
+
:param _Status: 设备证书的状态
|
3723
|
+
ACTIVE:激活
|
3724
|
+
INACTIVE:未激活
|
3725
|
+
REVOKED:吊销
|
3726
|
+
PENDING_ACTIVATION:注册待激活
|
3691
3727
|
:type Status: str
|
3692
3728
|
:param _CaSn: Ca证书序列号
|
3693
3729
|
:type CaSn: str
|
@@ -3697,14 +3733,15 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3697
3733
|
:type DeviceCertificate: str
|
3698
3734
|
:param _DeviceCertificateCn: 设备证书common name
|
3699
3735
|
:type DeviceCertificateCn: str
|
3700
|
-
:param _Format:
|
3736
|
+
:param _Format: 证书格式,当前仅支持PEM格式
|
3701
3737
|
:type Format: str
|
3702
3738
|
:param _ClientId: 客户端id
|
3703
3739
|
:type ClientId: str
|
3704
|
-
:param _CertificateSource:
|
3705
|
-
|
3740
|
+
:param _CertificateSource: 证书来源
|
3741
|
+
API:手动注册
|
3742
|
+
JITP:自动注册
|
3706
3743
|
:type CertificateSource: str
|
3707
|
-
:param _NotBeforeTime:
|
3744
|
+
:param _NotBeforeTime: 证书生效开始时间,毫秒级时间戳 。
|
3708
3745
|
:type NotBeforeTime: int
|
3709
3746
|
:param _OrganizationalUnit: 组织单位
|
3710
3747
|
:type OrganizationalUnit: str
|
@@ -3730,7 +3767,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3730
3767
|
|
3731
3768
|
@property
|
3732
3769
|
def CreatedTime(self):
|
3733
|
-
"""
|
3770
|
+
"""创建时间,毫秒级时间戳 。
|
3734
3771
|
:rtype: int
|
3735
3772
|
"""
|
3736
3773
|
return self._CreatedTime
|
@@ -3741,7 +3778,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3741
3778
|
|
3742
3779
|
@property
|
3743
3780
|
def UpdateTime(self):
|
3744
|
-
"""
|
3781
|
+
"""上次更新时间,毫秒级时间戳 。
|
3745
3782
|
:rtype: int
|
3746
3783
|
"""
|
3747
3784
|
return self._UpdateTime
|
@@ -3752,7 +3789,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3752
3789
|
|
3753
3790
|
@property
|
3754
3791
|
def NotAfterTime(self):
|
3755
|
-
"""
|
3792
|
+
"""证书失效日期,毫秒级时间戳 。
|
3756
3793
|
:rtype: int
|
3757
3794
|
"""
|
3758
3795
|
return self._NotAfterTime
|
@@ -3763,7 +3800,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3763
3800
|
|
3764
3801
|
@property
|
3765
3802
|
def LastActivationTime(self):
|
3766
|
-
"""
|
3803
|
+
"""上次激活时间,毫秒级时间戳 。
|
3767
3804
|
:rtype: int
|
3768
3805
|
"""
|
3769
3806
|
return self._LastActivationTime
|
@@ -3774,7 +3811,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3774
3811
|
|
3775
3812
|
@property
|
3776
3813
|
def LastInactivationTime(self):
|
3777
|
-
"""
|
3814
|
+
"""上次取消激活时间,毫秒级时间戳 。
|
3778
3815
|
:rtype: int
|
3779
3816
|
"""
|
3780
3817
|
return self._LastInactivationTime
|
@@ -3785,7 +3822,11 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3785
3822
|
|
3786
3823
|
@property
|
3787
3824
|
def Status(self):
|
3788
|
-
"""
|
3825
|
+
"""设备证书的状态
|
3826
|
+
ACTIVE:激活
|
3827
|
+
INACTIVE:未激活
|
3828
|
+
REVOKED:吊销
|
3829
|
+
PENDING_ACTIVATION:注册待激活
|
3789
3830
|
:rtype: str
|
3790
3831
|
"""
|
3791
3832
|
return self._Status
|
@@ -3840,7 +3881,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3840
3881
|
|
3841
3882
|
@property
|
3842
3883
|
def Format(self):
|
3843
|
-
"""
|
3884
|
+
"""证书格式,当前仅支持PEM格式
|
3844
3885
|
:rtype: str
|
3845
3886
|
"""
|
3846
3887
|
return self._Format
|
@@ -3862,8 +3903,9 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3862
3903
|
|
3863
3904
|
@property
|
3864
3905
|
def CertificateSource(self):
|
3865
|
-
"""
|
3866
|
-
|
3906
|
+
"""证书来源
|
3907
|
+
API:手动注册
|
3908
|
+
JITP:自动注册
|
3867
3909
|
:rtype: str
|
3868
3910
|
"""
|
3869
3911
|
return self._CertificateSource
|
@@ -3874,7 +3916,7 @@ class DescribeDeviceCertificateResponse(AbstractModel):
|
|
3874
3916
|
|
3875
3917
|
@property
|
3876
3918
|
def NotBeforeTime(self):
|
3877
|
-
"""
|
3919
|
+
"""证书生效开始时间,毫秒级时间戳 。
|
3878
3920
|
:rtype: int
|
3879
3921
|
"""
|
3880
3922
|
return self._NotBeforeTime
|
@@ -3932,9 +3974,18 @@ class DescribeDeviceCertificatesRequest(AbstractModel):
|
|
3932
3974
|
|
3933
3975
|
def __init__(self):
|
3934
3976
|
r"""
|
3935
|
-
:param _InstanceId:
|
3977
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3936
3978
|
:type InstanceId: str
|
3937
|
-
:param _Filters:
|
3979
|
+
:param _Filters: 支持搜索参数
|
3980
|
+
ClientId:客户端id
|
3981
|
+
CaSn:所属的CA证书SN
|
3982
|
+
DeviceCertificateSn:设备证书SN
|
3983
|
+
DeviceCertificateCn:设备证书CN
|
3984
|
+
OrganizationalUnit:证书OU
|
3985
|
+
NotAfterEnd:过期时间小于等于指定时间的证书
|
3986
|
+
NotAfterStart:过期时间大于等于指定时间的证书
|
3987
|
+
Status:证书状态
|
3988
|
+
|
3938
3989
|
:type Filters: list of Filter
|
3939
3990
|
:param _Limit: 分页limit
|
3940
3991
|
:type Limit: int
|
@@ -3954,7 +4005,7 @@ class DescribeDeviceCertificatesRequest(AbstractModel):
|
|
3954
4005
|
|
3955
4006
|
@property
|
3956
4007
|
def InstanceId(self):
|
3957
|
-
"""
|
4008
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3958
4009
|
:rtype: str
|
3959
4010
|
"""
|
3960
4011
|
return self._InstanceId
|
@@ -3965,7 +4016,16 @@ class DescribeDeviceCertificatesRequest(AbstractModel):
|
|
3965
4016
|
|
3966
4017
|
@property
|
3967
4018
|
def Filters(self):
|
3968
|
-
"""
|
4019
|
+
"""支持搜索参数
|
4020
|
+
ClientId:客户端id
|
4021
|
+
CaSn:所属的CA证书SN
|
4022
|
+
DeviceCertificateSn:设备证书SN
|
4023
|
+
DeviceCertificateCn:设备证书CN
|
4024
|
+
OrganizationalUnit:证书OU
|
4025
|
+
NotAfterEnd:过期时间小于等于指定时间的证书
|
4026
|
+
NotAfterStart:过期时间大于等于指定时间的证书
|
4027
|
+
Status:证书状态
|
4028
|
+
|
3969
4029
|
:rtype: list of Filter
|
3970
4030
|
"""
|
3971
4031
|
return self._Filters
|
@@ -4102,14 +4162,14 @@ class DescribeInsPublicEndpointsRequest(AbstractModel):
|
|
4102
4162
|
|
4103
4163
|
def __init__(self):
|
4104
4164
|
r"""
|
4105
|
-
:param _InstanceId: 实例ID
|
4165
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4106
4166
|
:type InstanceId: str
|
4107
4167
|
"""
|
4108
4168
|
self._InstanceId = None
|
4109
4169
|
|
4110
4170
|
@property
|
4111
4171
|
def InstanceId(self):
|
4112
|
-
"""实例ID
|
4172
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4113
4173
|
:rtype: str
|
4114
4174
|
"""
|
4115
4175
|
return self._InstanceId
|
@@ -4142,7 +4202,7 @@ class DescribeInsPublicEndpointsResponse(AbstractModel):
|
|
4142
4202
|
:type Endpoints: list of MQTTEndpointItem
|
4143
4203
|
:param _InstanceId: 实例id
|
4144
4204
|
:type InstanceId: str
|
4145
|
-
:param _Bandwidth:
|
4205
|
+
:param _Bandwidth: 带宽,单位Mbps
|
4146
4206
|
:type Bandwidth: int
|
4147
4207
|
:param _Rules: 公网访问规则
|
4148
4208
|
:type Rules: list of PublicAccessRule
|
@@ -4187,7 +4247,7 @@ class DescribeInsPublicEndpointsResponse(AbstractModel):
|
|
4187
4247
|
|
4188
4248
|
@property
|
4189
4249
|
def Bandwidth(self):
|
4190
|
-
"""
|
4250
|
+
"""带宽,单位Mbps
|
4191
4251
|
:rtype: int
|
4192
4252
|
"""
|
4193
4253
|
return self._Bandwidth
|
@@ -4261,14 +4321,14 @@ class DescribeInsVPCEndpointsRequest(AbstractModel):
|
|
4261
4321
|
|
4262
4322
|
def __init__(self):
|
4263
4323
|
r"""
|
4264
|
-
:param _InstanceId: 实例ID
|
4324
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4265
4325
|
:type InstanceId: str
|
4266
4326
|
"""
|
4267
4327
|
self._InstanceId = None
|
4268
4328
|
|
4269
4329
|
@property
|
4270
4330
|
def InstanceId(self):
|
4271
|
-
"""实例ID
|
4331
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4272
4332
|
:rtype: str
|
4273
4333
|
"""
|
4274
4334
|
return self._InstanceId
|
@@ -5289,14 +5349,14 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5289
5349
|
|
5290
5350
|
def __init__(self):
|
5291
5351
|
r"""
|
5292
|
-
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5352
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5293
5353
|
:type InstanceId: str
|
5294
5354
|
:param _Filters: 查询条件列表:
|
5295
5355
|
支持TopicName模糊查询
|
5296
5356
|
:type Filters: list of Filter
|
5297
|
-
:param _Offset:
|
5357
|
+
:param _Offset: 查询起始位置,默认0。
|
5298
5358
|
:type Offset: int
|
5299
|
-
:param _Limit:
|
5359
|
+
:param _Limit: 查询结果限制数量,默认0,最大20
|
5300
5360
|
:type Limit: int
|
5301
5361
|
"""
|
5302
5362
|
self._InstanceId = None
|
@@ -5306,7 +5366,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5306
5366
|
|
5307
5367
|
@property
|
5308
5368
|
def InstanceId(self):
|
5309
|
-
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5369
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5310
5370
|
:rtype: str
|
5311
5371
|
"""
|
5312
5372
|
return self._InstanceId
|
@@ -5329,7 +5389,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5329
5389
|
|
5330
5390
|
@property
|
5331
5391
|
def Offset(self):
|
5332
|
-
"""
|
5392
|
+
"""查询起始位置,默认0。
|
5333
5393
|
:rtype: int
|
5334
5394
|
"""
|
5335
5395
|
return self._Offset
|
@@ -5340,7 +5400,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5340
5400
|
|
5341
5401
|
@property
|
5342
5402
|
def Limit(self):
|
5343
|
-
"""
|
5403
|
+
"""查询结果限制数量,默认0,最大20
|
5344
5404
|
:rtype: int
|
5345
5405
|
"""
|
5346
5406
|
return self._Limit
|
@@ -5579,14 +5639,14 @@ class DescribeUserListRequest(AbstractModel):
|
|
5579
5639
|
|
5580
5640
|
def __init__(self):
|
5581
5641
|
r"""
|
5582
|
-
:param _InstanceId: 实例ID
|
5642
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5583
5643
|
:type InstanceId: str
|
5584
5644
|
:param _Filters: 查询条件列表支持字段
|
5585
|
-
Username
|
5645
|
+
Username:按照【用户名】进行过滤,支持模糊过滤,类型:String
|
5586
5646
|
:type Filters: list of Filter
|
5587
|
-
:param _Offset:
|
5647
|
+
:param _Offset: 查询起始位置,默认值0
|
5588
5648
|
:type Offset: int
|
5589
|
-
:param _Limit:
|
5649
|
+
:param _Limit: 查询结果限制数量,默认值20,最大值100
|
5590
5650
|
:type Limit: int
|
5591
5651
|
"""
|
5592
5652
|
self._InstanceId = None
|
@@ -5596,7 +5656,7 @@ Username:Username模糊查询
|
|
5596
5656
|
|
5597
5657
|
@property
|
5598
5658
|
def InstanceId(self):
|
5599
|
-
"""实例ID
|
5659
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
5600
5660
|
:rtype: str
|
5601
5661
|
"""
|
5602
5662
|
return self._InstanceId
|
@@ -5608,7 +5668,7 @@ Username:Username模糊查询
|
|
5608
5668
|
@property
|
5609
5669
|
def Filters(self):
|
5610
5670
|
"""查询条件列表支持字段
|
5611
|
-
Username
|
5671
|
+
Username:按照【用户名】进行过滤,支持模糊过滤,类型:String
|
5612
5672
|
:rtype: list of Filter
|
5613
5673
|
"""
|
5614
5674
|
return self._Filters
|
@@ -5619,7 +5679,7 @@ Username:Username模糊查询
|
|
5619
5679
|
|
5620
5680
|
@property
|
5621
5681
|
def Offset(self):
|
5622
|
-
"""
|
5682
|
+
"""查询起始位置,默认值0
|
5623
5683
|
:rtype: int
|
5624
5684
|
"""
|
5625
5685
|
return self._Offset
|
@@ -5630,7 +5690,7 @@ Username:Username模糊查询
|
|
5630
5690
|
|
5631
5691
|
@property
|
5632
5692
|
def Limit(self):
|
5633
|
-
"""
|
5693
|
+
"""查询结果限制数量,默认值20,最大值100
|
5634
5694
|
:rtype: int
|
5635
5695
|
"""
|
5636
5696
|
return self._Limit
|
@@ -6156,15 +6216,30 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6156
6216
|
|
6157
6217
|
def __init__(self):
|
6158
6218
|
r"""
|
6159
|
-
:param _Type:
|
6219
|
+
:param _Type: 认证器类型
|
6220
|
+
JWT:JWT认证器
|
6221
|
+
JWKS:JWKS认证器
|
6222
|
+
HTTP:HTTP认证器
|
6160
6223
|
:type Type: str
|
6161
|
-
:param _Config:
|
6224
|
+
:param _Config: HTTP认证器
|
6225
|
+
headers(请求头):标准请求头和自定义请求头
|
6226
|
+
endpoint(接入点):认证服务器接入点
|
6227
|
+
method(http请求方法):POST/GET
|
6228
|
+
readTimeout(读超时时间):读取认证服务器数据超时时间,单位秒
|
6229
|
+
connectTimeout(连接超时时间):连接认证服务器超时时间,单位秒
|
6230
|
+
body(请求体):http请求体
|
6231
|
+
concurrency(并发数):最大并发请求数
|
6232
|
+
样例:{"headers":[{"key":"Content-type","value":"application/json"},{"key":"username","value":"${Username}"}],"endpoint":"https://127.0.0.1:443","method":"POST","readTimeout":10,"connectTimeout":10,"body":[{"key":"client-id","value":"${ClientId}"}],"concurrency":8}
|
6233
|
+
|
6234
|
+
参考 [认证管理概述](https://cloud.tencent.com/document/product/1778/114813)
|
6162
6235
|
:type Config: str
|
6163
6236
|
:param _Status: 认证器状态
|
6237
|
+
open:认证器打开
|
6238
|
+
close:认证器关闭
|
6164
6239
|
:type Status: str
|
6165
|
-
:param _CreateTime:
|
6240
|
+
:param _CreateTime: 创建时间,毫秒级时间戳 。
|
6166
6241
|
:type CreateTime: int
|
6167
|
-
:param _Remark:
|
6242
|
+
:param _Remark: 说明,最长 128 字符。
|
6168
6243
|
:type Remark: str
|
6169
6244
|
"""
|
6170
6245
|
self._Type = None
|
@@ -6175,7 +6250,10 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6175
6250
|
|
6176
6251
|
@property
|
6177
6252
|
def Type(self):
|
6178
|
-
"""
|
6253
|
+
"""认证器类型
|
6254
|
+
JWT:JWT认证器
|
6255
|
+
JWKS:JWKS认证器
|
6256
|
+
HTTP:HTTP认证器
|
6179
6257
|
:rtype: str
|
6180
6258
|
"""
|
6181
6259
|
return self._Type
|
@@ -6186,7 +6264,17 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6186
6264
|
|
6187
6265
|
@property
|
6188
6266
|
def Config(self):
|
6189
|
-
"""
|
6267
|
+
"""HTTP认证器
|
6268
|
+
headers(请求头):标准请求头和自定义请求头
|
6269
|
+
endpoint(接入点):认证服务器接入点
|
6270
|
+
method(http请求方法):POST/GET
|
6271
|
+
readTimeout(读超时时间):读取认证服务器数据超时时间,单位秒
|
6272
|
+
connectTimeout(连接超时时间):连接认证服务器超时时间,单位秒
|
6273
|
+
body(请求体):http请求体
|
6274
|
+
concurrency(并发数):最大并发请求数
|
6275
|
+
样例:{"headers":[{"key":"Content-type","value":"application/json"},{"key":"username","value":"${Username}"}],"endpoint":"https://127.0.0.1:443","method":"POST","readTimeout":10,"connectTimeout":10,"body":[{"key":"client-id","value":"${ClientId}"}],"concurrency":8}
|
6276
|
+
|
6277
|
+
参考 [认证管理概述](https://cloud.tencent.com/document/product/1778/114813)
|
6190
6278
|
:rtype: str
|
6191
6279
|
"""
|
6192
6280
|
return self._Config
|
@@ -6198,6 +6286,8 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6198
6286
|
@property
|
6199
6287
|
def Status(self):
|
6200
6288
|
"""认证器状态
|
6289
|
+
open:认证器打开
|
6290
|
+
close:认证器关闭
|
6201
6291
|
:rtype: str
|
6202
6292
|
"""
|
6203
6293
|
return self._Status
|
@@ -6208,7 +6298,7 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6208
6298
|
|
6209
6299
|
@property
|
6210
6300
|
def CreateTime(self):
|
6211
|
-
"""
|
6301
|
+
"""创建时间,毫秒级时间戳 。
|
6212
6302
|
:rtype: int
|
6213
6303
|
"""
|
6214
6304
|
return self._CreateTime
|
@@ -6219,7 +6309,7 @@ class MQTTAuthenticatorItem(AbstractModel):
|
|
6219
6309
|
|
6220
6310
|
@property
|
6221
6311
|
def Remark(self):
|
6222
|
-
"""
|
6312
|
+
"""说明,最长 128 字符。
|
6223
6313
|
:rtype: str
|
6224
6314
|
"""
|
6225
6315
|
return self._Remark
|
@@ -6252,21 +6342,24 @@ class MQTTClientInfo(AbstractModel):
|
|
6252
6342
|
|
6253
6343
|
def __init__(self):
|
6254
6344
|
r"""
|
6255
|
-
:param _ClientId:
|
6345
|
+
:param _ClientId: 客户端ID
|
6256
6346
|
:type ClientId: str
|
6257
6347
|
:param _ClientAddress: 客户端网络地址
|
6258
6348
|
:type ClientAddress: str
|
6259
|
-
:param _ProtocolVersion: MQTT
|
6349
|
+
:param _ProtocolVersion: MQTT 协议版本
|
6350
|
+
3:表示MQTT 3.1版本
|
6351
|
+
4:表示 MQTT 3.1.1
|
6352
|
+
5: 标识MQTT 5.0协议
|
6260
6353
|
:type ProtocolVersion: int
|
6261
6354
|
:param _Keepalive: 保持连接时间,单位:秒
|
6262
6355
|
:type Keepalive: int
|
6263
6356
|
:param _ConnectionStatus: 连接状态,CONNECTED 已连接,DISCONNECTED 未连接
|
6264
6357
|
:type ConnectionStatus: str
|
6265
|
-
:param _CreateTime:
|
6358
|
+
:param _CreateTime: 客户端创建时间,毫秒级时间戳 。
|
6266
6359
|
:type CreateTime: int
|
6267
|
-
:param _ConnectTime:
|
6360
|
+
:param _ConnectTime: 上次建立连接时间,毫秒级时间戳 。
|
6268
6361
|
:type ConnectTime: int
|
6269
|
-
:param _DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false
|
6362
|
+
:param _DisconnectTime: 上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义,毫秒级时间戳 。
|
6270
6363
|
:type DisconnectTime: int
|
6271
6364
|
:param _MQTTClientSubscriptions: 客户端的订阅列表
|
6272
6365
|
:type MQTTClientSubscriptions: list of MQTTClientSubscription
|
@@ -6283,7 +6376,7 @@ class MQTTClientInfo(AbstractModel):
|
|
6283
6376
|
|
6284
6377
|
@property
|
6285
6378
|
def ClientId(self):
|
6286
|
-
"""
|
6379
|
+
"""客户端ID
|
6287
6380
|
:rtype: str
|
6288
6381
|
"""
|
6289
6382
|
return self._ClientId
|
@@ -6305,7 +6398,10 @@ class MQTTClientInfo(AbstractModel):
|
|
6305
6398
|
|
6306
6399
|
@property
|
6307
6400
|
def ProtocolVersion(self):
|
6308
|
-
"""MQTT
|
6401
|
+
"""MQTT 协议版本
|
6402
|
+
3:表示MQTT 3.1版本
|
6403
|
+
4:表示 MQTT 3.1.1
|
6404
|
+
5: 标识MQTT 5.0协议
|
6309
6405
|
:rtype: int
|
6310
6406
|
"""
|
6311
6407
|
return self._ProtocolVersion
|
@@ -6338,7 +6434,7 @@ class MQTTClientInfo(AbstractModel):
|
|
6338
6434
|
|
6339
6435
|
@property
|
6340
6436
|
def CreateTime(self):
|
6341
|
-
"""
|
6437
|
+
"""客户端创建时间,毫秒级时间戳 。
|
6342
6438
|
:rtype: int
|
6343
6439
|
"""
|
6344
6440
|
return self._CreateTime
|
@@ -6349,7 +6445,7 @@ class MQTTClientInfo(AbstractModel):
|
|
6349
6445
|
|
6350
6446
|
@property
|
6351
6447
|
def ConnectTime(self):
|
6352
|
-
"""
|
6448
|
+
"""上次建立连接时间,毫秒级时间戳 。
|
6353
6449
|
:rtype: int
|
6354
6450
|
"""
|
6355
6451
|
return self._ConnectTime
|
@@ -6360,7 +6456,7 @@ class MQTTClientInfo(AbstractModel):
|
|
6360
6456
|
|
6361
6457
|
@property
|
6362
6458
|
def DisconnectTime(self):
|
6363
|
-
"""上次断开连接时间,仅对持久会话(cleanSession=false
|
6459
|
+
"""上次断开连接时间,仅对持久会话(cleanSession=false)并且客户端当前未连接时有意义,毫秒级时间戳 。
|
6364
6460
|
:rtype: int
|
6365
6461
|
"""
|
6366
6462
|
return self._DisconnectTime
|
@@ -6416,6 +6512,9 @@ class MQTTClientSubscription(AbstractModel):
|
|
6416
6512
|
:param _TopicFilter: topic 订阅
|
6417
6513
|
:type TopicFilter: str
|
6418
6514
|
:param _Qos: 服务质量等级
|
6515
|
+
0: 至多一次
|
6516
|
+
1: 至少一次
|
6517
|
+
2: 恰好一次
|
6419
6518
|
:type Qos: int
|
6420
6519
|
:param _Lag: 堆积数量
|
6421
6520
|
:type Lag: int
|
@@ -6441,6 +6540,9 @@ class MQTTClientSubscription(AbstractModel):
|
|
6441
6540
|
@property
|
6442
6541
|
def Qos(self):
|
6443
6542
|
"""服务质量等级
|
6543
|
+
0: 至多一次
|
6544
|
+
1: 至少一次
|
6545
|
+
2: 恰好一次
|
6444
6546
|
:rtype: int
|
6445
6547
|
"""
|
6446
6548
|
return self._Qos
|
@@ -7199,9 +7301,9 @@ class MQTTUserItem(AbstractModel):
|
|
7199
7301
|
:type Password: str
|
7200
7302
|
:param _Remark: 备注信息
|
7201
7303
|
:type Remark: str
|
7202
|
-
:param _CreatedTime:
|
7304
|
+
:param _CreatedTime: 创建时间,毫秒级时间戳 。
|
7203
7305
|
:type CreatedTime: int
|
7204
|
-
:param _ModifiedTime:
|
7306
|
+
:param _ModifiedTime: 修改时间,毫秒级时间戳 。
|
7205
7307
|
:type ModifiedTime: int
|
7206
7308
|
"""
|
7207
7309
|
self._Username = None
|
@@ -7245,7 +7347,7 @@ class MQTTUserItem(AbstractModel):
|
|
7245
7347
|
|
7246
7348
|
@property
|
7247
7349
|
def CreatedTime(self):
|
7248
|
-
"""
|
7350
|
+
"""创建时间,毫秒级时间戳 。
|
7249
7351
|
:rtype: int
|
7250
7352
|
"""
|
7251
7353
|
return self._CreatedTime
|
@@ -7256,7 +7358,7 @@ class MQTTUserItem(AbstractModel):
|
|
7256
7358
|
|
7257
7359
|
@property
|
7258
7360
|
def ModifiedTime(self):
|
7259
|
-
"""
|
7361
|
+
"""修改时间,毫秒级时间戳 。
|
7260
7362
|
:rtype: int
|
7261
7363
|
"""
|
7262
7364
|
return self._ModifiedTime
|
@@ -8460,11 +8562,11 @@ class ModifyTopicRequest(AbstractModel):
|
|
8460
8562
|
|
8461
8563
|
def __init__(self):
|
8462
8564
|
r"""
|
8463
|
-
:param _InstanceId: 实例ID
|
8565
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8464
8566
|
:type InstanceId: str
|
8465
|
-
:param _Topic:
|
8567
|
+
:param _Topic: 主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
8466
8568
|
:type Topic: str
|
8467
|
-
:param _Remark:
|
8569
|
+
:param _Remark: 备注信息,最长 128 字符
|
8468
8570
|
:type Remark: str
|
8469
8571
|
"""
|
8470
8572
|
self._InstanceId = None
|
@@ -8473,7 +8575,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
8473
8575
|
|
8474
8576
|
@property
|
8475
8577
|
def InstanceId(self):
|
8476
|
-
"""实例ID
|
8578
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8477
8579
|
:rtype: str
|
8478
8580
|
"""
|
8479
8581
|
return self._InstanceId
|
@@ -8484,7 +8586,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
8484
8586
|
|
8485
8587
|
@property
|
8486
8588
|
def Topic(self):
|
8487
|
-
"""
|
8589
|
+
"""主题,不能为空,只能包含字母、数字、“-”及“_”,3-100 字符。
|
8488
8590
|
:rtype: str
|
8489
8591
|
"""
|
8490
8592
|
return self._Topic
|
@@ -8495,7 +8597,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
8495
8597
|
|
8496
8598
|
@property
|
8497
8599
|
def Remark(self):
|
8498
|
-
"""
|
8600
|
+
"""备注信息,最长 128 字符
|
8499
8601
|
:rtype: str
|
8500
8602
|
"""
|
8501
8603
|
return self._Remark
|
@@ -8554,11 +8656,11 @@ class ModifyUserRequest(AbstractModel):
|
|
8554
8656
|
|
8555
8657
|
def __init__(self):
|
8556
8658
|
r"""
|
8557
|
-
:param _InstanceId: 实例ID
|
8659
|
+
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8558
8660
|
:type InstanceId: str
|
8559
8661
|
:param _Username: 用户名
|
8560
8662
|
:type Username: str
|
8561
|
-
:param _Remark:
|
8663
|
+
:param _Remark: 备注,长度不超过128个字符。
|
8562
8664
|
:type Remark: str
|
8563
8665
|
"""
|
8564
8666
|
self._InstanceId = None
|
@@ -8567,7 +8669,7 @@ class ModifyUserRequest(AbstractModel):
|
|
8567
8669
|
|
8568
8670
|
@property
|
8569
8671
|
def InstanceId(self):
|
8570
|
-
"""实例ID
|
8672
|
+
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8571
8673
|
:rtype: str
|
8572
8674
|
"""
|
8573
8675
|
return self._InstanceId
|
@@ -8589,7 +8691,7 @@ class ModifyUserRequest(AbstractModel):
|
|
8589
8691
|
|
8590
8692
|
@property
|
8591
8693
|
def Remark(self):
|
8592
|
-
"""
|
8694
|
+
"""备注,长度不超过128个字符。
|
8593
8695
|
:rtype: str
|
8594
8696
|
"""
|
8595
8697
|
return self._Remark
|
@@ -8960,9 +9062,9 @@ class PublishMessageRequest(AbstractModel):
|
|
8960
9062
|
|
8961
9063
|
def __init__(self):
|
8962
9064
|
r"""
|
8963
|
-
:param _InstanceId: 实例ID
|
9065
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8964
9066
|
:type InstanceId: str
|
8965
|
-
:param _Payload:
|
9067
|
+
:param _Payload: 消息负载 Payload,是消息的实际内容,需要按 encoding 指定的编码方式进行编码
|
8966
9068
|
:type Payload: str
|
8967
9069
|
:param _TargetTopic: 消息目的主题,该参数与 TargetClientId 二选一
|
8968
9070
|
:type TargetTopic: str
|
@@ -8971,6 +9073,9 @@ class PublishMessageRequest(AbstractModel):
|
|
8971
9073
|
:param _Encoding: 消息 payload 编码,可选 plain 或 base64,默认为 plain(即不编码)
|
8972
9074
|
:type Encoding: str
|
8973
9075
|
:param _Qos: 消息的服务质量等级,默认为 1
|
9076
|
+
QoS 0(至多一次)消息发送后,不保证接收方一定收到,也不要求接收方确认。
|
9077
|
+
QoS 1(至少一次)消息至少被接收方成功接收一次,但可能重复。
|
9078
|
+
QoS 2(恰好一次)消息确保被接收方接收且仅接收一次,无重复。
|
8974
9079
|
:type Qos: int
|
8975
9080
|
:param _Retain: 是否为保留消息,默认为 false,且仅支持发布到主题的消息设置为 true
|
8976
9081
|
:type Retain: bool
|
@@ -8985,7 +9090,7 @@ class PublishMessageRequest(AbstractModel):
|
|
8985
9090
|
|
8986
9091
|
@property
|
8987
9092
|
def InstanceId(self):
|
8988
|
-
"""实例ID
|
9093
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
8989
9094
|
:rtype: str
|
8990
9095
|
"""
|
8991
9096
|
return self._InstanceId
|
@@ -8996,7 +9101,7 @@ class PublishMessageRequest(AbstractModel):
|
|
8996
9101
|
|
8997
9102
|
@property
|
8998
9103
|
def Payload(self):
|
8999
|
-
"""
|
9104
|
+
"""消息负载 Payload,是消息的实际内容,需要按 encoding 指定的编码方式进行编码
|
9000
9105
|
:rtype: str
|
9001
9106
|
"""
|
9002
9107
|
return self._Payload
|
@@ -9041,6 +9146,9 @@ class PublishMessageRequest(AbstractModel):
|
|
9041
9146
|
@property
|
9042
9147
|
def Qos(self):
|
9043
9148
|
"""消息的服务质量等级,默认为 1
|
9149
|
+
QoS 0(至多一次)消息发送后,不保证接收方一定收到,也不要求接收方确认。
|
9150
|
+
QoS 1(至少一次)消息至少被接收方成功接收一次,但可能重复。
|
9151
|
+
QoS 2(恰好一次)消息确保被接收方接收且仅接收一次,无重复。
|
9044
9152
|
:rtype: int
|
9045
9153
|
"""
|
9046
9154
|
return self._Qos
|
@@ -9566,7 +9674,7 @@ class UpdateAuthorizationPolicyPriorityRequest(AbstractModel):
|
|
9566
9674
|
|
9567
9675
|
def __init__(self):
|
9568
9676
|
r"""
|
9569
|
-
:param _InstanceId: 实例ID
|
9677
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9570
9678
|
:type InstanceId: str
|
9571
9679
|
:param _Priorities: 策略ID和优先级
|
9572
9680
|
:type Priorities: list of AuthorizationPolicyPriority
|
@@ -9576,7 +9684,7 @@ class UpdateAuthorizationPolicyPriorityRequest(AbstractModel):
|
|
9576
9684
|
|
9577
9685
|
@property
|
9578
9686
|
def InstanceId(self):
|
9579
|
-
"""实例ID
|
9687
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9580
9688
|
:rtype: str
|
9581
9689
|
"""
|
9582
9690
|
return self._InstanceId
|