tencentcloud-sdk-python 3.0.1348__py2.py3-none-any.whl → 3.0.1349__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/captcha/v20190722/models.py +15 -30
- tencentcloud/cbs/v20170312/models.py +0 -4
- tencentcloud/ccc/v20200210/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +159 -2
- tencentcloud/cdwpg/v20201230/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dlc/v20210125/models.py +256 -16
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/models.py +8 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +6 -6
- tencentcloud/hai/v20230812/models.py +0 -52
- tencentcloud/hunyuan/v20230901/models.py +6 -4
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/live/v20180801/models.py +8 -24
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -0
- tencentcloud/mariadb/v20170312/models.py +2 -6
- tencentcloud/monitor/v20180724/models.py +95 -14
- tencentcloud/mps/v20190612/models.py +260 -0
- tencentcloud/mqtt/v20240516/models.py +124 -114
- tencentcloud/mqtt/v20240516/mqtt_client.py +2 -2
- tencentcloud/privatedns/v20201028/models.py +0 -22
- tencentcloud/taf/v20200210/models.py +270 -0
- tencentcloud/taf/v20200210/taf_client.py +23 -0
- tencentcloud/tbaas/v20180416/models.py +0 -12
- tencentcloud/tcr/v20190924/models.py +30 -20
- tencentcloud/tdmq/v20200217/models.py +0 -2
- tencentcloud/tke/v20180525/models.py +692 -556
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tsf/v20180326/models.py +56 -14
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +20 -214
- tencentcloud/vpc/v20170312/models.py +135 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1348.dist-info → tencentcloud_sdk_python-3.0.1349.dist-info}/top_level.txt +0 -0
@@ -25,9 +25,9 @@ class ActivateCaCertificateRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _InstanceId:
|
28
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
29
29
|
:type InstanceId: str
|
30
|
-
:param _CaSn:
|
30
|
+
:param _CaSn: CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
31
31
|
:type CaSn: str
|
32
32
|
"""
|
33
33
|
self._InstanceId = None
|
@@ -35,7 +35,7 @@ class ActivateCaCertificateRequest(AbstractModel):
|
|
35
35
|
|
36
36
|
@property
|
37
37
|
def InstanceId(self):
|
38
|
-
"""
|
38
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
39
39
|
:rtype: str
|
40
40
|
"""
|
41
41
|
return self._InstanceId
|
@@ -46,7 +46,7 @@ class ActivateCaCertificateRequest(AbstractModel):
|
|
46
46
|
|
47
47
|
@property
|
48
48
|
def CaSn(self):
|
49
|
-
"""
|
49
|
+
"""CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
50
50
|
:rtype: str
|
51
51
|
"""
|
52
52
|
return self._CaSn
|
@@ -303,7 +303,6 @@ sub:订阅mqtt消息
|
|
303
303
|
:param _ClientId: 条件-连接设备ID,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
304
304
|
:type ClientId: str
|
305
305
|
:param _Username: 条件-用户名,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
306
|
-
|
307
306
|
:type Username: str
|
308
307
|
:param _Ip: 条件-客户端IP地址,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
309
308
|
:type Ip: str
|
@@ -447,7 +446,6 @@ sub:订阅mqtt消息
|
|
447
446
|
@property
|
448
447
|
def Username(self):
|
449
448
|
"""条件-用户名,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
|
450
|
-
|
451
449
|
:rtype: str
|
452
450
|
"""
|
453
451
|
return self._Username
|
@@ -2141,7 +2139,7 @@ class CreateUserRequest(AbstractModel):
|
|
2141
2139
|
:type InstanceId: str
|
2142
2140
|
:param _Username: 用户名,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 32 个字符
|
2143
2141
|
:type Username: str
|
2144
|
-
:param _Password:
|
2142
|
+
:param _Password: 密码,该字段为空时候则后端会默认生成。用户自定义密码时,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 64 个字符。
|
2145
2143
|
:type Password: str
|
2146
2144
|
:param _Remark: 备注,长度不超过128个字符。
|
2147
2145
|
:type Remark: str
|
@@ -2175,7 +2173,7 @@ class CreateUserRequest(AbstractModel):
|
|
2175
2173
|
|
2176
2174
|
@property
|
2177
2175
|
def Password(self):
|
2178
|
-
"""
|
2176
|
+
"""密码,该字段为空时候则后端会默认生成。用户自定义密码时,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 64 个字符。
|
2179
2177
|
:rtype: str
|
2180
2178
|
"""
|
2181
2179
|
return self._Password
|
@@ -2570,7 +2568,7 @@ class DeleteCaCertificateRequest(AbstractModel):
|
|
2570
2568
|
r"""
|
2571
2569
|
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2572
2570
|
:type InstanceId: str
|
2573
|
-
:param _CaSn: 证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2571
|
+
:param _CaSn: CA证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2574
2572
|
:type CaSn: str
|
2575
2573
|
"""
|
2576
2574
|
self._InstanceId = None
|
@@ -2589,7 +2587,7 @@ class DeleteCaCertificateRequest(AbstractModel):
|
|
2589
2587
|
|
2590
2588
|
@property
|
2591
2589
|
def CaSn(self):
|
2592
|
-
"""证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2590
|
+
"""CA证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
2593
2591
|
:rtype: str
|
2594
2592
|
"""
|
2595
2593
|
return self._CaSn
|
@@ -2790,14 +2788,14 @@ class DeleteInstanceRequest(AbstractModel):
|
|
2790
2788
|
|
2791
2789
|
def __init__(self):
|
2792
2790
|
r"""
|
2793
|
-
:param _InstanceId: 实例ID
|
2791
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2794
2792
|
:type InstanceId: str
|
2795
2793
|
"""
|
2796
2794
|
self._InstanceId = None
|
2797
2795
|
|
2798
2796
|
@property
|
2799
2797
|
def InstanceId(self):
|
2800
|
-
"""实例ID
|
2798
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
2801
2799
|
:rtype: str
|
2802
2800
|
"""
|
2803
2801
|
return self._InstanceId
|
@@ -3201,9 +3199,9 @@ class DescribeCaCertificateRequest(AbstractModel):
|
|
3201
3199
|
|
3202
3200
|
def __init__(self):
|
3203
3201
|
r"""
|
3204
|
-
:param _CaSn:
|
3202
|
+
:param _CaSn: CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
3205
3203
|
:type CaSn: str
|
3206
|
-
:param _InstanceId:
|
3204
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3207
3205
|
:type InstanceId: str
|
3208
3206
|
"""
|
3209
3207
|
self._CaSn = None
|
@@ -3211,7 +3209,7 @@ class DescribeCaCertificateRequest(AbstractModel):
|
|
3211
3209
|
|
3212
3210
|
@property
|
3213
3211
|
def CaSn(self):
|
3214
|
-
"""
|
3212
|
+
"""CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
|
3215
3213
|
:rtype: str
|
3216
3214
|
"""
|
3217
3215
|
return self._CaSn
|
@@ -3222,7 +3220,7 @@ class DescribeCaCertificateRequest(AbstractModel):
|
|
3222
3220
|
|
3223
3221
|
@property
|
3224
3222
|
def InstanceId(self):
|
3225
|
-
"""
|
3223
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3226
3224
|
:rtype: str
|
3227
3225
|
"""
|
3228
3226
|
return self._InstanceId
|
@@ -3252,29 +3250,32 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3252
3250
|
|
3253
3251
|
def __init__(self):
|
3254
3252
|
r"""
|
3255
|
-
:param _CreatedTime:
|
3253
|
+
:param _CreatedTime: 创建时间,毫秒级时间戳 。
|
3256
3254
|
:type CreatedTime: int
|
3257
|
-
:param _UpdateTime:
|
3255
|
+
:param _UpdateTime: 上次更新时间,毫秒级时间戳 。
|
3258
3256
|
:type UpdateTime: int
|
3259
|
-
:param _NotAfterTime:
|
3257
|
+
:param _NotAfterTime: 失效日期,毫秒级时间戳 。
|
3260
3258
|
:type NotAfterTime: int
|
3261
|
-
:param _LastActivationTime:
|
3259
|
+
:param _LastActivationTime: 上次激活时间,毫秒级时间戳 。
|
3262
3260
|
:type LastActivationTime: int
|
3263
|
-
:param _LastInactivationTime:
|
3261
|
+
:param _LastInactivationTime: 上次吊销时间,毫秒级时间戳 。
|
3264
3262
|
:type LastInactivationTime: int
|
3265
|
-
:param _Status: 证书状态
|
3263
|
+
:param _Status: CA证书状态
|
3264
|
+
ACTIVE:激活
|
3265
|
+
INACTIVE:未激活
|
3266
|
+
|
3266
3267
|
:type Status: str
|
3267
3268
|
:param _CaSn: 证书序列号
|
3268
3269
|
:type CaSn: str
|
3269
|
-
:param _CaCn:
|
3270
|
+
:param _CaCn: 证书的CN(Common Name),证书中用于标识主体的名称,通常是域名或组织名称
|
3270
3271
|
:type CaCn: str
|
3271
3272
|
:param _CaCertificate: 证书内容
|
3272
3273
|
:type CaCertificate: str
|
3273
|
-
:param _Format:
|
3274
|
+
:param _Format: 证书格式,当仅支持PEM格式
|
3274
3275
|
:type Format: str
|
3275
3276
|
:param _CaIssuerCn: Ca证书颁发者CN
|
3276
3277
|
:type CaIssuerCn: str
|
3277
|
-
:param _NotBeforeTime:
|
3278
|
+
:param _NotBeforeTime: 生效开始时间,毫秒级时间戳 。
|
3278
3279
|
:type NotBeforeTime: int
|
3279
3280
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3280
3281
|
:type RequestId: str
|
@@ -3295,7 +3296,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3295
3296
|
|
3296
3297
|
@property
|
3297
3298
|
def CreatedTime(self):
|
3298
|
-
"""
|
3299
|
+
"""创建时间,毫秒级时间戳 。
|
3299
3300
|
:rtype: int
|
3300
3301
|
"""
|
3301
3302
|
return self._CreatedTime
|
@@ -3306,7 +3307,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3306
3307
|
|
3307
3308
|
@property
|
3308
3309
|
def UpdateTime(self):
|
3309
|
-
"""
|
3310
|
+
"""上次更新时间,毫秒级时间戳 。
|
3310
3311
|
:rtype: int
|
3311
3312
|
"""
|
3312
3313
|
return self._UpdateTime
|
@@ -3317,7 +3318,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3317
3318
|
|
3318
3319
|
@property
|
3319
3320
|
def NotAfterTime(self):
|
3320
|
-
"""
|
3321
|
+
"""失效日期,毫秒级时间戳 。
|
3321
3322
|
:rtype: int
|
3322
3323
|
"""
|
3323
3324
|
return self._NotAfterTime
|
@@ -3328,7 +3329,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3328
3329
|
|
3329
3330
|
@property
|
3330
3331
|
def LastActivationTime(self):
|
3331
|
-
"""
|
3332
|
+
"""上次激活时间,毫秒级时间戳 。
|
3332
3333
|
:rtype: int
|
3333
3334
|
"""
|
3334
3335
|
return self._LastActivationTime
|
@@ -3339,7 +3340,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3339
3340
|
|
3340
3341
|
@property
|
3341
3342
|
def LastInactivationTime(self):
|
3342
|
-
"""
|
3343
|
+
"""上次吊销时间,毫秒级时间戳 。
|
3343
3344
|
:rtype: int
|
3344
3345
|
"""
|
3345
3346
|
return self._LastInactivationTime
|
@@ -3350,7 +3351,10 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3350
3351
|
|
3351
3352
|
@property
|
3352
3353
|
def Status(self):
|
3353
|
-
"""证书状态
|
3354
|
+
"""CA证书状态
|
3355
|
+
ACTIVE:激活
|
3356
|
+
INACTIVE:未激活
|
3357
|
+
|
3354
3358
|
:rtype: str
|
3355
3359
|
"""
|
3356
3360
|
return self._Status
|
@@ -3372,7 +3376,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3372
3376
|
|
3373
3377
|
@property
|
3374
3378
|
def CaCn(self):
|
3375
|
-
"""
|
3379
|
+
"""证书的CN(Common Name),证书中用于标识主体的名称,通常是域名或组织名称
|
3376
3380
|
:rtype: str
|
3377
3381
|
"""
|
3378
3382
|
return self._CaCn
|
@@ -3394,7 +3398,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3394
3398
|
|
3395
3399
|
@property
|
3396
3400
|
def Format(self):
|
3397
|
-
"""
|
3401
|
+
"""证书格式,当仅支持PEM格式
|
3398
3402
|
:rtype: str
|
3399
3403
|
"""
|
3400
3404
|
return self._Format
|
@@ -3416,7 +3420,7 @@ class DescribeCaCertificateResponse(AbstractModel):
|
|
3416
3420
|
|
3417
3421
|
@property
|
3418
3422
|
def NotBeforeTime(self):
|
3419
|
-
"""
|
3423
|
+
"""生效开始时间,毫秒级时间戳 。
|
3420
3424
|
:rtype: int
|
3421
3425
|
"""
|
3422
3426
|
return self._NotBeforeTime
|
@@ -3546,7 +3550,7 @@ class DescribeClientListRequest(AbstractModel):
|
|
3546
3550
|
r"""
|
3547
3551
|
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3548
3552
|
:type InstanceId: str
|
3549
|
-
:param _ClientId:
|
3553
|
+
:param _ClientId: 客户端ID
|
3550
3554
|
:type ClientId: str
|
3551
3555
|
:param _Number: 客户端数量限制,最大1024,默认1024
|
3552
3556
|
:type Number: str
|
@@ -3568,7 +3572,7 @@ class DescribeClientListRequest(AbstractModel):
|
|
3568
3572
|
|
3569
3573
|
@property
|
3570
3574
|
def ClientId(self):
|
3571
|
-
"""
|
3575
|
+
"""客户端ID
|
3572
3576
|
:rtype: str
|
3573
3577
|
"""
|
3574
3578
|
return self._ClientId
|
@@ -3974,24 +3978,25 @@ class DescribeDeviceCertificatesRequest(AbstractModel):
|
|
3974
3978
|
|
3975
3979
|
def __init__(self):
|
3976
3980
|
r"""
|
3977
|
-
:param _InstanceId: 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3981
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
3978
3982
|
:type InstanceId: str
|
3979
3983
|
:param _Filters: 支持搜索参数
|
3980
|
-
ClientId:客户端id
|
3981
|
-
CaSn:所属的CA证书SN
|
3982
|
-
DeviceCertificateSn:设备证书SN
|
3983
|
-
DeviceCertificateCn:设备证书CN
|
3984
|
+
ClientId:客户端id,根据实际业务使用获取
|
3985
|
+
CaSn:所属的CA证书SN序列号 可以从 [查询集群CA证书列表](https://cloud.tencent.com/document/api/1778/116206) 或者实际业务使用获取
|
3986
|
+
DeviceCertificateSn:设备证书SN序列号 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
|
3987
|
+
DeviceCertificateCn:设备证书CN 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
|
3984
3988
|
OrganizationalUnit:证书OU
|
3985
3989
|
NotAfterEnd:过期时间小于等于指定时间的证书
|
3986
3990
|
NotAfterStart:过期时间大于等于指定时间的证书
|
3987
|
-
Status
|
3991
|
+
Status:设备证书状态 ACTIVE(激活); INACTIVE(未激活)REVOKED(吊销);PENDING_ACTIVATION(注册待激活)
|
3988
3992
|
|
3989
3993
|
:type Filters: list of Filter
|
3990
|
-
:param _Limit: 分页limit
|
3994
|
+
:param _Limit: 分页limit,默认20,最大100
|
3991
3995
|
:type Limit: int
|
3992
|
-
:param _Offset:
|
3996
|
+
:param _Offset: 分页偏移量,默认0
|
3993
3997
|
:type Offset: int
|
3994
|
-
:param _OrderBy:
|
3998
|
+
:param _OrderBy: 排序规则
|
3999
|
+
CREATE_TIME_DESC, 创建时间降序
|
3995
4000
|
CREATE_TIME_ASC,创建时间升序
|
3996
4001
|
UPDATE_TIME_DESC,更新时间降序
|
3997
4002
|
UPDATE_TIME_ASC,更新时间升序
|
@@ -4005,7 +4010,7 @@ Status:证书状态
|
|
4005
4010
|
|
4006
4011
|
@property
|
4007
4012
|
def InstanceId(self):
|
4008
|
-
"""实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4013
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
4009
4014
|
:rtype: str
|
4010
4015
|
"""
|
4011
4016
|
return self._InstanceId
|
@@ -4017,14 +4022,14 @@ Status:证书状态
|
|
4017
4022
|
@property
|
4018
4023
|
def Filters(self):
|
4019
4024
|
"""支持搜索参数
|
4020
|
-
ClientId:客户端id
|
4021
|
-
CaSn:所属的CA证书SN
|
4022
|
-
DeviceCertificateSn:设备证书SN
|
4023
|
-
DeviceCertificateCn:设备证书CN
|
4025
|
+
ClientId:客户端id,根据实际业务使用获取
|
4026
|
+
CaSn:所属的CA证书SN序列号 可以从 [查询集群CA证书列表](https://cloud.tencent.com/document/api/1778/116206) 或者实际业务使用获取
|
4027
|
+
DeviceCertificateSn:设备证书SN序列号 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
|
4028
|
+
DeviceCertificateCn:设备证书CN 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
|
4024
4029
|
OrganizationalUnit:证书OU
|
4025
4030
|
NotAfterEnd:过期时间小于等于指定时间的证书
|
4026
4031
|
NotAfterStart:过期时间大于等于指定时间的证书
|
4027
|
-
Status
|
4032
|
+
Status:设备证书状态 ACTIVE(激活); INACTIVE(未激活)REVOKED(吊销);PENDING_ACTIVATION(注册待激活)
|
4028
4033
|
|
4029
4034
|
:rtype: list of Filter
|
4030
4035
|
"""
|
@@ -4036,7 +4041,7 @@ Status:证书状态
|
|
4036
4041
|
|
4037
4042
|
@property
|
4038
4043
|
def Limit(self):
|
4039
|
-
"""分页limit
|
4044
|
+
"""分页limit,默认20,最大100
|
4040
4045
|
:rtype: int
|
4041
4046
|
"""
|
4042
4047
|
return self._Limit
|
@@ -4047,7 +4052,7 @@ Status:证书状态
|
|
4047
4052
|
|
4048
4053
|
@property
|
4049
4054
|
def Offset(self):
|
4050
|
-
"""
|
4055
|
+
"""分页偏移量,默认0
|
4051
4056
|
:rtype: int
|
4052
4057
|
"""
|
4053
4058
|
return self._Offset
|
@@ -4058,7 +4063,8 @@ Status:证书状态
|
|
4058
4063
|
|
4059
4064
|
@property
|
4060
4065
|
def OrderBy(self):
|
4061
|
-
"""
|
4066
|
+
"""排序规则
|
4067
|
+
CREATE_TIME_DESC, 创建时间降序
|
4062
4068
|
CREATE_TIME_ASC,创建时间升序
|
4063
4069
|
UPDATE_TIME_DESC,更新时间降序
|
4064
4070
|
UPDATE_TIME_ASC,更新时间升序
|
@@ -4101,7 +4107,7 @@ class DescribeDeviceCertificatesResponse(AbstractModel):
|
|
4101
4107
|
r"""
|
4102
4108
|
:param _TotalCount: 总数
|
4103
4109
|
:type TotalCount: int
|
4104
|
-
:param _Data:
|
4110
|
+
:param _Data: 设备证书列表
|
4105
4111
|
:type Data: list of DeviceCertificateItem
|
4106
4112
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4107
4113
|
:type RequestId: str
|
@@ -4123,7 +4129,7 @@ class DescribeDeviceCertificatesResponse(AbstractModel):
|
|
4123
4129
|
|
4124
4130
|
@property
|
4125
4131
|
def Data(self):
|
4126
|
-
"""
|
4132
|
+
"""设备证书列表
|
4127
4133
|
:rtype: list of DeviceCertificateItem
|
4128
4134
|
"""
|
4129
4135
|
return self._Data
|
@@ -5356,7 +5362,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5356
5362
|
:type Filters: list of Filter
|
5357
5363
|
:param _Offset: 查询起始位置,默认0。
|
5358
5364
|
:type Offset: int
|
5359
|
-
:param _Limit: 查询结果限制数量,默认
|
5365
|
+
:param _Limit: 查询结果限制数量,默认20,最大20
|
5360
5366
|
:type Limit: int
|
5361
5367
|
"""
|
5362
5368
|
self._InstanceId = None
|
@@ -5400,7 +5406,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
5400
5406
|
|
5401
5407
|
@property
|
5402
5408
|
def Limit(self):
|
5403
|
-
"""查询结果限制数量,默认
|
5409
|
+
"""查询结果限制数量,默认20,最大20
|
5404
5410
|
:rtype: int
|
5405
5411
|
"""
|
5406
5412
|
return self._Limit
|
@@ -5794,37 +5800,37 @@ class DeviceCertificateItem(AbstractModel):
|
|
5794
5800
|
:type ClientId: str
|
5795
5801
|
:param _DeviceCertificate: 设备证书
|
5796
5802
|
:type DeviceCertificate: str
|
5797
|
-
:param _DeviceCertificateSn: 设备证书
|
5803
|
+
:param _DeviceCertificateSn: 设备证书SN序列号,用于唯一标识一个设备证书
|
5798
5804
|
:type DeviceCertificateSn: str
|
5799
5805
|
:param _DeviceCertificateCn: 设备证书Cn
|
5800
5806
|
:type DeviceCertificateCn: str
|
5801
|
-
:param _CaSn:
|
5807
|
+
:param _CaSn: 签发该证书的CA证书的序列号
|
5802
5808
|
:type CaSn: str
|
5803
|
-
:param _Format:
|
5809
|
+
:param _Format: 证书格式,当前仅支持PEM
|
5804
5810
|
:type Format: str
|
5805
|
-
:param _Status:
|
5806
|
-
ACTIVE
|
5807
|
-
INACTIVE
|
5808
|
-
REVOKED
|
5809
|
-
PENDING_ACTIVATION
|
5811
|
+
:param _Status: 设备证书状态
|
5812
|
+
ACTIVE:激活
|
5813
|
+
INACTIVE:未激活
|
5814
|
+
REVOKED:吊销
|
5815
|
+
PENDING_ACTIVATION:注册待激活
|
5810
5816
|
:type Status: str
|
5811
5817
|
:param _OrganizationalUnit: 组织单位
|
5812
5818
|
:type OrganizationalUnit: str
|
5813
|
-
:param _LastActivationTime:
|
5819
|
+
:param _LastActivationTime: 上次激活时间,毫秒级时间戳 。
|
5814
5820
|
:type LastActivationTime: int
|
5815
|
-
:param _LastInactivationTime:
|
5821
|
+
:param _LastInactivationTime: 上次取消激活时间,毫秒级时间戳 。
|
5816
5822
|
:type LastInactivationTime: int
|
5817
|
-
:param _CreatedTime:
|
5823
|
+
:param _CreatedTime: 创建时间,毫秒级时间戳 。
|
5818
5824
|
:type CreatedTime: int
|
5819
|
-
:param _UpdateTime:
|
5825
|
+
:param _UpdateTime: 更新时间,毫秒级时间戳 。
|
5820
5826
|
:type UpdateTime: int
|
5821
5827
|
:param _CertificateSource: 证书来源:
|
5822
5828
|
API, 手动注册
|
5823
5829
|
JITP 自动注册
|
5824
5830
|
:type CertificateSource: str
|
5825
|
-
:param _NotAfterTime:
|
5831
|
+
:param _NotAfterTime: 证书失效日期,毫秒级时间戳 。
|
5826
5832
|
:type NotAfterTime: int
|
5827
|
-
:param _NotBeforeTime:
|
5833
|
+
:param _NotBeforeTime: 证书生效开始日期,毫秒级时间戳 。
|
5828
5834
|
:type NotBeforeTime: int
|
5829
5835
|
"""
|
5830
5836
|
self._ClientId = None
|
@@ -5867,7 +5873,7 @@ JITP 自动注册
|
|
5867
5873
|
|
5868
5874
|
@property
|
5869
5875
|
def DeviceCertificateSn(self):
|
5870
|
-
"""设备证书
|
5876
|
+
"""设备证书SN序列号,用于唯一标识一个设备证书
|
5871
5877
|
:rtype: str
|
5872
5878
|
"""
|
5873
5879
|
return self._DeviceCertificateSn
|
@@ -5889,7 +5895,7 @@ JITP 自动注册
|
|
5889
5895
|
|
5890
5896
|
@property
|
5891
5897
|
def CaSn(self):
|
5892
|
-
"""
|
5898
|
+
"""签发该证书的CA证书的序列号
|
5893
5899
|
:rtype: str
|
5894
5900
|
"""
|
5895
5901
|
return self._CaSn
|
@@ -5900,7 +5906,7 @@ JITP 自动注册
|
|
5900
5906
|
|
5901
5907
|
@property
|
5902
5908
|
def Format(self):
|
5903
|
-
"""
|
5909
|
+
"""证书格式,当前仅支持PEM
|
5904
5910
|
:rtype: str
|
5905
5911
|
"""
|
5906
5912
|
return self._Format
|
@@ -5911,11 +5917,11 @@ JITP 自动注册
|
|
5911
5917
|
|
5912
5918
|
@property
|
5913
5919
|
def Status(self):
|
5914
|
-
"""
|
5915
|
-
ACTIVE
|
5916
|
-
INACTIVE
|
5917
|
-
REVOKED
|
5918
|
-
PENDING_ACTIVATION
|
5920
|
+
"""设备证书状态
|
5921
|
+
ACTIVE:激活
|
5922
|
+
INACTIVE:未激活
|
5923
|
+
REVOKED:吊销
|
5924
|
+
PENDING_ACTIVATION:注册待激活
|
5919
5925
|
:rtype: str
|
5920
5926
|
"""
|
5921
5927
|
return self._Status
|
@@ -5937,7 +5943,7 @@ JITP 自动注册
|
|
5937
5943
|
|
5938
5944
|
@property
|
5939
5945
|
def LastActivationTime(self):
|
5940
|
-
"""
|
5946
|
+
"""上次激活时间,毫秒级时间戳 。
|
5941
5947
|
:rtype: int
|
5942
5948
|
"""
|
5943
5949
|
return self._LastActivationTime
|
@@ -5948,7 +5954,7 @@ JITP 自动注册
|
|
5948
5954
|
|
5949
5955
|
@property
|
5950
5956
|
def LastInactivationTime(self):
|
5951
|
-
"""
|
5957
|
+
"""上次取消激活时间,毫秒级时间戳 。
|
5952
5958
|
:rtype: int
|
5953
5959
|
"""
|
5954
5960
|
return self._LastInactivationTime
|
@@ -5959,7 +5965,7 @@ JITP 自动注册
|
|
5959
5965
|
|
5960
5966
|
@property
|
5961
5967
|
def CreatedTime(self):
|
5962
|
-
"""
|
5968
|
+
"""创建时间,毫秒级时间戳 。
|
5963
5969
|
:rtype: int
|
5964
5970
|
"""
|
5965
5971
|
return self._CreatedTime
|
@@ -5970,7 +5976,7 @@ JITP 自动注册
|
|
5970
5976
|
|
5971
5977
|
@property
|
5972
5978
|
def UpdateTime(self):
|
5973
|
-
"""
|
5979
|
+
"""更新时间,毫秒级时间戳 。
|
5974
5980
|
:rtype: int
|
5975
5981
|
"""
|
5976
5982
|
return self._UpdateTime
|
@@ -5994,7 +6000,7 @@ JITP 自动注册
|
|
5994
6000
|
|
5995
6001
|
@property
|
5996
6002
|
def NotAfterTime(self):
|
5997
|
-
"""
|
6003
|
+
"""证书失效日期,毫秒级时间戳 。
|
5998
6004
|
:rtype: int
|
5999
6005
|
"""
|
6000
6006
|
return self._NotAfterTime
|
@@ -6005,7 +6011,7 @@ JITP 自动注册
|
|
6005
6011
|
|
6006
6012
|
@property
|
6007
6013
|
def NotBeforeTime(self):
|
6008
|
-
"""
|
6014
|
+
"""证书生效开始日期,毫秒级时间戳 。
|
6009
6015
|
:rtype: int
|
6010
6016
|
"""
|
6011
6017
|
return self._NotBeforeTime
|
@@ -6761,7 +6767,7 @@ DELETING,删除中
|
|
6761
6767
|
:type MaxSubscriptionPerClient: int
|
6762
6768
|
:param _ClientNumLimit: 客户端连接数上线
|
6763
6769
|
:type ClientNumLimit: int
|
6764
|
-
:param _RenewFlag:
|
6770
|
+
:param _RenewFlag: 是否自动续费。仅包年包月集群生效。
|
6765
6771
|
1:自动续费
|
6766
6772
|
0:非自动续费
|
6767
6773
|
:type RenewFlag: int
|
@@ -6957,7 +6963,7 @@ DELETING,删除中
|
|
6957
6963
|
|
6958
6964
|
@property
|
6959
6965
|
def RenewFlag(self):
|
6960
|
-
"""
|
6966
|
+
"""是否自动续费。仅包年包月集群生效。
|
6961
6967
|
1:自动续费
|
6962
6968
|
0:非自动续费
|
6963
6969
|
:rtype: int
|
@@ -9222,19 +9228,17 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9222
9228
|
|
9223
9229
|
def __init__(self):
|
9224
9230
|
r"""
|
9225
|
-
:param _InstanceId:
|
9231
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9226
9232
|
:type InstanceId: str
|
9227
|
-
:param _CaCertificate: CA
|
9233
|
+
:param _CaCertificate: CA证书内容,自签CA可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 签发自签CA
|
9228
9234
|
:type CaCertificate: str
|
9229
|
-
:param _VerificationCertificate:
|
9235
|
+
:param _VerificationCertificate: 验证证书内容,可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 手动注册CA证书章节
|
9230
9236
|
:type VerificationCertificate: str
|
9231
|
-
:param _Format: 证书格式,不传默认PEM格式
|
9237
|
+
:param _Format: 证书格式,不传默认PEM格式,当前仅支持PEM格式
|
9232
9238
|
:type Format: str
|
9233
9239
|
:param _Status: 证书状态,不传默认ACTIVE状态
|
9234
|
-
ACTIVE
|
9235
|
-
INACTIVE
|
9236
|
-
REVOKED,//吊销
|
9237
|
-
PENDING_ACTIVATION,//注册待激活
|
9240
|
+
ACTIVE:激活
|
9241
|
+
INACTIVE:未激活
|
9238
9242
|
:type Status: str
|
9239
9243
|
"""
|
9240
9244
|
self._InstanceId = None
|
@@ -9245,7 +9249,7 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9245
9249
|
|
9246
9250
|
@property
|
9247
9251
|
def InstanceId(self):
|
9248
|
-
"""
|
9252
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9249
9253
|
:rtype: str
|
9250
9254
|
"""
|
9251
9255
|
return self._InstanceId
|
@@ -9256,7 +9260,7 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9256
9260
|
|
9257
9261
|
@property
|
9258
9262
|
def CaCertificate(self):
|
9259
|
-
"""CA
|
9263
|
+
"""CA证书内容,自签CA可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 签发自签CA
|
9260
9264
|
:rtype: str
|
9261
9265
|
"""
|
9262
9266
|
return self._CaCertificate
|
@@ -9267,7 +9271,7 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9267
9271
|
|
9268
9272
|
@property
|
9269
9273
|
def VerificationCertificate(self):
|
9270
|
-
"""
|
9274
|
+
"""验证证书内容,可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 手动注册CA证书章节
|
9271
9275
|
:rtype: str
|
9272
9276
|
"""
|
9273
9277
|
return self._VerificationCertificate
|
@@ -9278,7 +9282,7 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9278
9282
|
|
9279
9283
|
@property
|
9280
9284
|
def Format(self):
|
9281
|
-
"""证书格式,不传默认PEM格式
|
9285
|
+
"""证书格式,不传默认PEM格式,当前仅支持PEM格式
|
9282
9286
|
:rtype: str
|
9283
9287
|
"""
|
9284
9288
|
return self._Format
|
@@ -9290,10 +9294,8 @@ class RegisterCaCertificateRequest(AbstractModel):
|
|
9290
9294
|
@property
|
9291
9295
|
def Status(self):
|
9292
9296
|
"""证书状态,不传默认ACTIVE状态
|
9293
|
-
ACTIVE
|
9294
|
-
INACTIVE
|
9295
|
-
REVOKED,//吊销
|
9296
|
-
PENDING_ACTIVATION,//注册待激活
|
9297
|
+
ACTIVE:激活
|
9298
|
+
INACTIVE:未激活
|
9297
9299
|
:rtype: str
|
9298
9300
|
"""
|
9299
9301
|
return self._Status
|
@@ -9354,17 +9356,21 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9354
9356
|
|
9355
9357
|
def __init__(self):
|
9356
9358
|
r"""
|
9357
|
-
:param _InstanceId:
|
9359
|
+
:param _InstanceId: 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9358
9360
|
:type InstanceId: str
|
9359
|
-
:param _DeviceCertificate:
|
9361
|
+
:param _DeviceCertificate: 设备证书内容,可参考 [使用 CA 证书生成服务端/客户端证书](https://cloud.tencent.com/document/product/1778/114817#aab79cc8-a148-412e-beb8-9c9e158eb944) 生成
|
9360
9362
|
:type DeviceCertificate: str
|
9361
9363
|
:param _CaSn: 关联的CA证书SN
|
9362
9364
|
:type CaSn: str
|
9363
|
-
:param _ClientId: 客户端ID
|
9365
|
+
:param _ClientId: 客户端ID,需要关联该证书的客户端ID。根据实际业务使用填写
|
9364
9366
|
:type ClientId: str
|
9365
|
-
:param _Format:
|
9367
|
+
:param _Format: 证书格式,默认为PEM,当前仅支持PEM格式
|
9366
9368
|
:type Format: str
|
9367
|
-
:param _Status:
|
9369
|
+
:param _Status: 客户端证书状态,默认激活状态(ACTIVE)
|
9370
|
+
ACTIVE:激活
|
9371
|
+
INACTIVE:未激活
|
9372
|
+
REVOKED:吊销
|
9373
|
+
PENDING_ACTIVATION:注册待激活
|
9368
9374
|
:type Status: str
|
9369
9375
|
"""
|
9370
9376
|
self._InstanceId = None
|
@@ -9376,7 +9382,7 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9376
9382
|
|
9377
9383
|
@property
|
9378
9384
|
def InstanceId(self):
|
9379
|
-
"""
|
9385
|
+
"""腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
|
9380
9386
|
:rtype: str
|
9381
9387
|
"""
|
9382
9388
|
return self._InstanceId
|
@@ -9387,7 +9393,7 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9387
9393
|
|
9388
9394
|
@property
|
9389
9395
|
def DeviceCertificate(self):
|
9390
|
-
"""
|
9396
|
+
"""设备证书内容,可参考 [使用 CA 证书生成服务端/客户端证书](https://cloud.tencent.com/document/product/1778/114817#aab79cc8-a148-412e-beb8-9c9e158eb944) 生成
|
9391
9397
|
:rtype: str
|
9392
9398
|
"""
|
9393
9399
|
return self._DeviceCertificate
|
@@ -9409,7 +9415,7 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9409
9415
|
|
9410
9416
|
@property
|
9411
9417
|
def ClientId(self):
|
9412
|
-
"""客户端ID
|
9418
|
+
"""客户端ID,需要关联该证书的客户端ID。根据实际业务使用填写
|
9413
9419
|
:rtype: str
|
9414
9420
|
"""
|
9415
9421
|
return self._ClientId
|
@@ -9420,7 +9426,7 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9420
9426
|
|
9421
9427
|
@property
|
9422
9428
|
def Format(self):
|
9423
|
-
"""
|
9429
|
+
"""证书格式,默认为PEM,当前仅支持PEM格式
|
9424
9430
|
:rtype: str
|
9425
9431
|
"""
|
9426
9432
|
return self._Format
|
@@ -9431,7 +9437,11 @@ class RegisterDeviceCertificateRequest(AbstractModel):
|
|
9431
9437
|
|
9432
9438
|
@property
|
9433
9439
|
def Status(self):
|
9434
|
-
"""
|
9440
|
+
""" 客户端证书状态,默认激活状态(ACTIVE)
|
9441
|
+
ACTIVE:激活
|
9442
|
+
INACTIVE:未激活
|
9443
|
+
REVOKED:吊销
|
9444
|
+
PENDING_ACTIVATION:注册待激活
|
9435
9445
|
:rtype: str
|
9436
9446
|
"""
|
9437
9447
|
return self._Status
|