tencentcloud-sdk-nodejs 4.1.5 → 4.1.7

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.
Files changed (89) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/ocr/v20181119/ocr_client.js +4 -13
  3. package/es/services/partners/v20180321/partners_client.js +34 -31
  4. package/es/services/taf/v20200210/taf_client.js +3 -0
  5. package/es/services/tdmq/v20200217/tdmq_client.js +0 -3
  6. package/es/services/tke/v20180525/tke_client.js +5 -2
  7. package/package.json +1 -1
  8. package/tencentcloud/common/sdk_version.d.ts +1 -1
  9. package/tencentcloud/common/sdk_version.js +1 -1
  10. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -58
  11. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +2 -0
  12. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -15
  13. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +7 -9
  14. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +76 -20
  15. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +24 -24
  16. package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +10 -10
  17. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  18. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -3
  19. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  20. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -3
  21. package/tencentcloud/services/cme/v20191029/cme_client.js +1 -3
  22. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +174 -176
  23. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  24. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  25. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -0
  26. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +0 -7
  27. package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +26 -34
  28. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +66 -8
  29. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +7 -3
  30. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +0 -1
  31. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +0 -7
  32. package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
  33. package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
  34. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
  35. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -3
  36. package/tencentcloud/services/ess/v20201111/ess_client.js +5 -3
  37. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +24 -11
  38. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
  39. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
  40. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -5
  41. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +4 -0
  42. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +0 -26
  43. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +3 -2
  44. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +23 -23
  45. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +10 -0
  46. package/tencentcloud/services/iotvideo/v20191126/iotvideo_models.d.ts +10 -12
  47. package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +164 -159
  48. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +184 -174
  49. package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -14
  50. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -0
  51. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -0
  52. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +4 -0
  53. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -3
  54. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +4 -6
  55. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +25 -7
  56. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +78 -0
  57. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +4 -4
  58. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +4 -4
  59. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +147 -91
  60. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +72 -89
  61. package/tencentcloud/services/ocr/v20181119/ocr_client.js +73 -96
  62. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +68 -194
  63. package/tencentcloud/services/partners/v20180321/partners_client.d.ts +39 -35
  64. package/tencentcloud/services/partners/v20180321/partners_client.js +57 -51
  65. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +42 -0
  66. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +0 -11
  67. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +16 -0
  68. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +5 -1
  69. package/tencentcloud/services/taf/v20200210/taf_client.js +6 -0
  70. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +84 -14
  71. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +11 -11
  72. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1 -7
  73. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +11 -13
  74. package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +0 -5
  75. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -7
  76. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -8
  77. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +36 -63
  78. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +4 -0
  79. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +7 -3
  80. package/tencentcloud/services/tke/v20180525/tke_client.js +9 -3
  81. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +231 -205
  82. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +8 -0
  83. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +15 -7
  84. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -1
  85. package/tencentcloud/services/vod/v20180717/vod_client.js +2 -1
  86. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +281 -430
  87. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +8 -5
  88. package/tencentcloud/services/vpc/v20170312/vpc_client.js +8 -5
  89. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +113 -50
@@ -163,31 +163,31 @@ export interface ApplyRegistrationCodeRequest {
163
163
  */
164
164
  export interface DescribeMessageListRequest {
165
165
  /**
166
- * 实例ID
166
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
167
167
  */
168
168
  InstanceId: string;
169
169
  /**
170
- * 主题
170
+ * 要查询的一级Topic,可从 [查询MQTT主题列表](https://cloud.tencent.com/document/product/1778/111082) 获取。
171
171
  */
172
172
  Topic: string;
173
173
  /**
174
- * 开始时间
174
+ * 开始时间,毫秒级时间戳 。
175
175
  */
176
176
  StartTime: number;
177
177
  /**
178
- * 结束时间
178
+ * 结束时间,毫秒级时间戳 。
179
179
  */
180
180
  EndTime: number;
181
181
  /**
182
- * 请求任务id
182
+ * 请求任务id,用于相同查询参数下查询加速,第一次查询时无需传递,第一次查询会根据本次查询参数生成查询任务ID,保留查询条件,查询下一页消息时可传递第一次查询返回的任务ID。
183
183
  */
184
184
  TaskRequestId: string;
185
185
  /**
186
- * 查询起始位置
186
+ * 查询起始位置,默认0
187
187
  */
188
188
  Offset?: number;
189
189
  /**
190
- * 查询结果限制数量
190
+ * 查询结果限制数量,默认20,最大50
191
191
  */
192
192
  Limit?: number;
193
193
  }
@@ -313,27 +313,30 @@ export interface ModifyUserResponse {
313
313
  */
314
314
  export interface DescribeCaCertificateResponse {
315
315
  /**
316
- * 创建时间
316
+ * 创建时间,毫秒级时间戳 。
317
317
  */
318
318
  CreatedTime?: number;
319
319
  /**
320
- * 上次更新时间
320
+ * 上次更新时间,毫秒级时间戳 。
321
321
  */
322
322
  UpdateTime?: number;
323
323
  /**
324
- * 失效日期
324
+ * 失效日期,毫秒级时间戳 。
325
325
  */
326
326
  NotAfterTime?: number;
327
327
  /**
328
- * 上次激活时间
328
+ * 上次激活时间,毫秒级时间戳 。
329
329
  */
330
330
  LastActivationTime?: number;
331
331
  /**
332
- * 上次吊销时间
332
+ * 上次吊销时间,毫秒级时间戳 。
333
333
  */
334
334
  LastInactivationTime?: number;
335
335
  /**
336
- * 证书状态
336
+ * CA证书状态
337
+ ACTIVE:激活
338
+ INACTIVE:未激活
339
+
337
340
  */
338
341
  Status?: string;
339
342
  /**
@@ -341,7 +344,7 @@ export interface DescribeCaCertificateResponse {
341
344
  */
342
345
  CaSn?: string;
343
346
  /**
344
- * common name
347
+ * 证书的CN(Common Name),证书中用于标识主体的名称,通常是域名或组织名称
345
348
  */
346
349
  CaCn?: string;
347
350
  /**
@@ -349,7 +352,7 @@ export interface DescribeCaCertificateResponse {
349
352
  */
350
353
  CaCertificate?: string;
351
354
  /**
352
- * 证书格式
355
+ * 证书格式,当仅支持PEM格式
353
356
  */
354
357
  Format?: string;
355
358
  /**
@@ -357,7 +360,7 @@ export interface DescribeCaCertificateResponse {
357
360
  */
358
361
  CaIssuerCn?: string;
359
362
  /**
360
- * 生效开始时间
363
+ * 生效开始时间,毫秒级时间戳 。
361
364
  */
362
365
  NotBeforeTime?: number;
363
366
  /**
@@ -370,32 +373,33 @@ export interface DescribeCaCertificateResponse {
370
373
  */
371
374
  export interface DescribeDeviceCertificatesRequest {
372
375
  /**
373
- * 实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
376
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
374
377
  */
375
378
  InstanceId: string;
376
379
  /**
377
380
  * 支持搜索参数
378
- ClientId:客户端id
379
- CaSn:所属的CA证书SN
380
- DeviceCertificateSn:设备证书SN
381
- DeviceCertificateCn:设备证书CN
381
+ ClientId:客户端id,根据实际业务使用获取
382
+ CaSn:所属的CA证书SN序列号 可以从 [查询集群CA证书列表](https://cloud.tencent.com/document/api/1778/116206) 或者实际业务使用获取
383
+ DeviceCertificateSn:设备证书SN序列号 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
384
+ DeviceCertificateCn:设备证书CN 可从[查询设备证书详情](https://cloud.tencent.com/document/api/1778/113748) 获取
382
385
  OrganizationalUnit:证书OU
383
386
  NotAfterEnd:过期时间小于等于指定时间的证书
384
387
  NotAfterStart:过期时间大于等于指定时间的证书
385
- Status:证书状态
388
+ Status:设备证书状态 ACTIVE(激活); INACTIVE(未激活)REVOKED(吊销);PENDING_ACTIVATION(注册待激活)
386
389
 
387
390
  */
388
391
  Filters?: Array<Filter>;
389
392
  /**
390
- * 分页limit
393
+ * 分页limit,默认20,最大100
391
394
  */
392
395
  Limit?: number;
393
396
  /**
394
- * 分页偏移量
397
+ * 分页偏移量,默认0
395
398
  */
396
399
  Offset?: number;
397
400
  /**
398
- * CREATE_TIME_DESC, 创建时间降序
401
+ * 排序规则
402
+ CREATE_TIME_DESC, 创建时间降序
399
403
  CREATE_TIME_ASC,创建时间升序
400
404
  UPDATE_TIME_DESC,更新时间降序
401
405
  UPDATE_TIME_ASC,更新时间升序
@@ -547,7 +551,7 @@ export interface RegisterCaCertificateResponse {
547
551
  */
548
552
  export interface DeleteInstanceRequest {
549
553
  /**
550
- * 实例ID
554
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
551
555
  */
552
556
  InstanceId: string;
553
557
  }
@@ -556,19 +560,20 @@ export interface DeleteInstanceRequest {
556
560
  */
557
561
  export interface ModifyInstanceRequest {
558
562
  /**
559
- * 实例ID
563
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
560
564
  */
561
565
  InstanceId: string;
562
566
  /**
563
- * 要修改实例名称
567
+ * 要修改实例名称,不能为空, 3-64个字符,只能包含数字、字母、“-”和“_”。
564
568
  */
565
569
  Name?: string;
566
570
  /**
567
- * 要修改的备注信息
571
+ * 要修改的备注信息,最多64个字符。
568
572
  */
569
573
  Remark?: string;
570
574
  /**
571
- * 要变更的配置规格
575
+ * 需要变更的配置规格
576
+ 基础版和增强版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。
572
577
  */
573
578
  SkuCode?: string;
574
579
  /**
@@ -581,6 +586,10 @@ export interface ModifyInstanceRequest {
581
586
  * 自动注册证书是否自动激活
582
587
  */
583
588
  AutomaticActivation?: boolean;
589
+ /**
590
+ * 授权策略开关
591
+ */
592
+ AuthorizationPolicy?: boolean;
584
593
  }
585
594
  /**
586
595
  * RegisterDeviceCertificate返回参数结构体
@@ -603,16 +612,35 @@ export interface MQTTAuthenticatorItem {
603
612
  */
604
613
  Type?: string;
605
614
  /**
606
- * HTTP认证器
615
+ * JWT认证器字段说明
616
+ from(认证字段)
617
+ password:从password字段获取认证字段
618
+ username:从username字段获取认证字段
619
+ secret(签名方式)
620
+ hmac-based:hmac-based签名方式
621
+ public-key:public-key签名方式
622
+ secret(密钥),hmac-based需要配置密钥
623
+ public-key(公钥),public-key签名方式需要配置
624
+ 样例:{"from":"password","secret":"secret282698","algorithm":"hmac-based"}
625
+
626
+ JWKS认证器字段说明
627
+ endpoint(接入点):公钥获取服务器接入地址
628
+ refreshInterval(认证内容):公钥集合刷新周期
629
+ from(认证字段)
630
+ password:从password字段获取认证字段
631
+ username:从username字段获取认证字段
632
+ text:公钥集合
633
+ 样例:{"endpoint":"127.0.0.1","refreshInterval":60,"from":"password"}
634
+
635
+ HTTP认证器
607
636
  headers(请求头):标准请求头和自定义请求头
608
637
  endpoint(接入点):认证服务器接入点
609
638
  method(http请求方法):POST/GET
610
639
  readTimeout(读超时时间):读取认证服务器数据超时时间,单位秒
611
640
  connectTimeout(连接超时时间):连接认证服务器超时时间,单位秒
612
641
  body(请求体):http请求体
613
- concurrency(并发数):最大并发请求数
642
+ concurrency(并发数):最大并发请求数量
614
643
  样例:{"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}
615
-
616
644
  参考 [认证管理概述](https://cloud.tencent.com/document/product/1778/114813)
617
645
  */
618
646
  Config?: string;
@@ -761,7 +789,7 @@ export interface MQTTInstanceItem {
761
789
  */
762
790
  ClientNumLimit?: number;
763
791
  /**
764
- * 是否自动续费。仅包年包月就去那生效。
792
+ * 是否自动续费。仅包年包月集群生效。
765
793
  1:自动续费
766
794
  0:非自动续费
767
795
  */
@@ -873,7 +901,7 @@ export interface MQTTMessageItem {
873
901
  */
874
902
  ProducerAddr?: string;
875
903
  /**
876
- * 消息发送时间
904
+ * 消息发送时间,格式 日期时间:YYYY-MM-DD hh:mm:ss
877
905
  */
878
906
  ProduceTime?: string;
879
907
  /**
@@ -890,6 +918,9 @@ export interface MQTTMessageItem {
890
918
  SubTopic?: string;
891
919
  /**
892
920
  * 消息质量等级
921
+ 0:至多一次
922
+ 1:至少一次
923
+ 2:精确一次
893
924
  */
894
925
  Qos?: string;
895
926
  }
@@ -925,55 +956,66 @@ export interface CreateUserResponse {
925
956
  */
926
957
  export interface CreateAuthorizationPolicyRequest {
927
958
  /**
928
- * 实例ID
959
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
929
960
  */
930
961
  InstanceId: string;
931
962
  /**
932
- * 策略名称
963
+ * 策略名称,不能为空,3-64个字符,支持中文、字母、数字、“-”及“_”。
933
964
  */
934
965
  PolicyName: string;
935
966
  /**
936
- * 策略版本
967
+ * 策略版本,默认为1,当前仅支持1
937
968
  */
938
969
  PolicyVersion: number;
939
970
  /**
940
- * 策略优先级,越小越优先
971
+ * 策略优先级,越小越优先,不能重复
941
972
  */
942
973
  Priority: number;
943
974
  /**
944
- * allow、deny
975
+ * 决策:
976
+ allow 允许
977
+ deny 拒绝
945
978
  */
946
979
  Effect: string;
947
980
  /**
948
- * connect、pub、sub
981
+ * 操作
982
+ connect:连接
983
+ pub:发布
984
+ sub:订阅
949
985
  */
950
986
  Actions: string;
951
987
  /**
952
- * 1,匹配保留消息;2,匹配非保留消息,3.匹配所有消息
988
+ * 条件-保留消息
989
+ 1,匹配保留消息;
990
+ 2,匹配非保留消息,
991
+ 3.匹配保留和非保留消息
953
992
  */
954
993
  Retain: number;
955
994
  /**
956
- * 0、1、2
995
+ * 条件:服务质量
996
+ 0:最多一次
997
+ 1:最少一次
998
+ 2:精确一次
957
999
  */
958
1000
  Qos: string;
959
1001
  /**
960
- * 资源
1002
+ * 资源,需要匹配的订阅
961
1003
  */
962
1004
  Resources?: string;
963
1005
  /**
964
- * 用户名
1006
+ * 条件-用户名
965
1007
  */
966
1008
  Username?: string;
967
1009
  /**
968
- * 客户端
1010
+ * 条件:客户端ID,支持正则
969
1011
  */
970
1012
  ClientId?: string;
971
1013
  /**
972
- * IP地址
1014
+ * 条件:客户端IP地址,支持IP或者CIDR
973
1015
  */
974
1016
  Ip?: string;
975
1017
  /**
976
- * 备注信息
1018
+ * 备注信息,最长 128 字符
977
1019
  */
978
1020
  Remark?: string;
979
1021
  }
@@ -1017,7 +1059,7 @@ export interface DeleteCaCertificateRequest {
1017
1059
  */
1018
1060
  InstanceId: string;
1019
1061
  /**
1020
- * 证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
1062
+ * CA证书序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
1021
1063
  */
1022
1064
  CaSn: string;
1023
1065
  }
@@ -1291,11 +1333,11 @@ export interface MQTTUserItem {
1291
1333
  */
1292
1334
  export interface ActivateCaCertificateRequest {
1293
1335
  /**
1294
- * 集群id
1336
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1295
1337
  */
1296
1338
  InstanceId: string;
1297
1339
  /**
1298
- * 证书序列号
1340
+ * CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
1299
1341
  */
1300
1342
  CaSn: string;
1301
1343
  }
@@ -1419,7 +1461,6 @@ export interface AuthorizationPolicyItem {
1419
1461
  ClientId?: string;
1420
1462
  /**
1421
1463
  * 条件-用户名,可参考 [数据面授权策略说明](https://cloud.tencent.com/document/product/1778/109715)。
1422
-
1423
1464
  */
1424
1465
  Username?: string;
1425
1466
  /**
@@ -1459,7 +1500,7 @@ export interface DescribeClientListRequest {
1459
1500
  */
1460
1501
  InstanceId: string;
1461
1502
  /**
1462
- * 客户端名
1503
+ * 客户端ID
1463
1504
  */
1464
1505
  ClientId?: string;
1465
1506
  /**
@@ -1536,7 +1577,7 @@ export interface DescribeTopicListRequest {
1536
1577
  */
1537
1578
  Offset?: number;
1538
1579
  /**
1539
- * 查询结果限制数量,默认0,最大20
1580
+ * 查询结果限制数量,默认20,最大20
1540
1581
  */
1541
1582
  Limit?: number;
1542
1583
  }
@@ -1574,6 +1615,14 @@ export interface RevokedDeviceCertificateRequest {
1574
1615
  * CreateAuthorizationPolicy返回参数结构体
1575
1616
  */
1576
1617
  export interface CreateAuthorizationPolicyResponse {
1618
+ /**
1619
+ * 集群Id
1620
+ */
1621
+ InstanceId?: string;
1622
+ /**
1623
+ * 策略id
1624
+ */
1625
+ Id?: number;
1577
1626
  /**
1578
1627
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1579
1628
  */
@@ -1600,27 +1649,25 @@ export interface DescribeAuthenticatorRequest {
1600
1649
  */
1601
1650
  export interface RegisterCaCertificateRequest {
1602
1651
  /**
1603
- * 集群id
1652
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1604
1653
  */
1605
1654
  InstanceId: string;
1606
1655
  /**
1607
- * CA证书
1656
+ * CA证书内容,自签CA可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 签发自签CA
1608
1657
  */
1609
1658
  CaCertificate: string;
1610
1659
  /**
1611
- * 验证证书
1660
+ * 验证证书内容,可参考 [自定义 X.509 证书实现 “一机一证”](https://cloud.tencent.com/document/product/1778/114817) 手动注册CA证书章节
1612
1661
  */
1613
1662
  VerificationCertificate: string;
1614
1663
  /**
1615
- * 证书格式,不传默认PEM格式
1664
+ * 证书格式,不传默认PEM格式,当前仅支持PEM格式
1616
1665
  */
1617
1666
  Format?: string;
1618
1667
  /**
1619
1668
  * 证书状态,不传默认ACTIVE状态
1620
- ACTIVE,//激活
1621
- INACTIVE,//未激活
1622
- REVOKED,//吊销
1623
- PENDING_ACTIVATION,//注册待激活
1669
+ ACTIVE:激活
1670
+ INACTIVE:未激活
1624
1671
  */
1625
1672
  Status?: string;
1626
1673
  }
@@ -1701,11 +1748,11 @@ export interface CreateInsPublicEndpointRequest {
1701
1748
  */
1702
1749
  export interface RegisterDeviceCertificateRequest {
1703
1750
  /**
1704
- * 集群id
1751
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
1705
1752
  */
1706
1753
  InstanceId: string;
1707
1754
  /**
1708
- * 设备证书
1755
+ * 设备证书内容,可参考 [使用 CA 证书生成服务端/客户端证书](https://cloud.tencent.com/document/product/1778/114817#aab79cc8-a148-412e-beb8-9c9e158eb944) 生成
1709
1756
  */
1710
1757
  DeviceCertificate: string;
1711
1758
  /**
@@ -1713,15 +1760,19 @@ export interface RegisterDeviceCertificateRequest {
1713
1760
  */
1714
1761
  CaSn: string;
1715
1762
  /**
1716
- * 客户端ID
1763
+ * 客户端ID,需要关联该证书的客户端ID。根据实际业务使用填写
1717
1764
  */
1718
1765
  ClientId?: string;
1719
1766
  /**
1720
- * 证书格式
1767
+ * 证书格式,默认为PEM,当前仅支持PEM格式
1721
1768
  */
1722
1769
  Format?: string;
1723
1770
  /**
1724
- * ACTIVE,//激活 INACTIVE,//未激活 REVOKED,//吊销 PENDING_ACTIVATION,//注册待激活
1771
+ * 客户端证书状态,默认激活状态(ACTIVE
1772
+ ACTIVE:激活
1773
+ INACTIVE:未激活
1774
+ REVOKED:吊销
1775
+ PENDING_ACTIVATION:注册待激活
1725
1776
  */
1726
1777
  Status?: string;
1727
1778
  }
@@ -1760,7 +1811,7 @@ export interface DescribeDeviceCertificatesResponse {
1760
1811
  */
1761
1812
  TotalCount?: number;
1762
1813
  /**
1763
- * 设备证书
1814
+ * 设备证书列表
1764
1815
  */
1765
1816
  Data?: Array<DeviceCertificateItem>;
1766
1817
  /**
@@ -1798,7 +1849,7 @@ export interface CreateUserRequest {
1798
1849
  */
1799
1850
  Username: string;
1800
1851
  /**
1801
- * 密码,该字段为空时候则后端会默认生成
1852
+ * 密码,该字段为空时候则后端会默认生成。用户自定义密码时,不能为空,只支持数字 大小写字母 分隔符("_","-"),不能超过 64 个字符。
1802
1853
  */
1803
1854
  Password?: string;
1804
1855
  /**
@@ -1814,6 +1865,7 @@ export interface DescribeInstanceResponse {
1814
1865
  * 实例类型
1815
1866
  BASIC 基础版
1816
1867
  PRO 专业版
1868
+ PLATINUM 铂金版
1817
1869
  */
1818
1870
  InstanceType?: string;
1819
1871
  /**
@@ -1845,7 +1897,7 @@ export interface DescribeInstanceResponse {
1845
1897
  */
1846
1898
  Remark?: string;
1847
1899
  /**
1848
- * 实例状态
1900
+ * 实例状态, RUNNING, 运行中 MAINTAINING,维护中 ABNORMAL,异常 OVERDUE,欠费 DESTROYED,已删除 CREATING,创建中 MODIFYING,变配中 CREATE_FAILURE,创建失败 MODIFY_FAILURE,变配失败 DELETING,删除中
1849
1901
  */
1850
1902
  InstanceStatus?: string;
1851
1903
  /**
@@ -1875,7 +1927,7 @@ export interface DescribeInstanceResponse {
1875
1927
  */
1876
1928
  AutomaticActivation?: boolean;
1877
1929
  /**
1878
- * 是否自动续费
1930
+ * 是否自动续费。仅包年包月集群生效。 1:自动续费 0:非自动续费
1879
1931
  */
1880
1932
  RenewFlag?: number;
1881
1933
  /**
@@ -1883,11 +1935,11 @@ export interface DescribeInstanceResponse {
1883
1935
  */
1884
1936
  PayMode?: string;
1885
1937
  /**
1886
- * 到期时间,秒为单位
1938
+ * 到期时间,毫秒级时间戳
1887
1939
  */
1888
1940
  ExpiryTime?: number;
1889
1941
  /**
1890
- * 预销毁时间
1942
+ * 预销毁时间,毫秒级时间戳
1891
1943
  */
1892
1944
  DestroyTime?: number;
1893
1945
  /**
@@ -1906,6 +1958,10 @@ export interface DescribeInstanceResponse {
1906
1958
  * 集群最大订阅数
1907
1959
  */
1908
1960
  MaxSubscription?: number;
1961
+ /**
1962
+ * 授权策略开关
1963
+ */
1964
+ AuthorizationPolicy?: boolean;
1909
1965
  /**
1910
1966
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1911
1967
  */
@@ -1999,11 +2055,11 @@ export interface DescribeUserListRequest {
1999
2055
  */
2000
2056
  export interface DescribeCaCertificateRequest {
2001
2057
  /**
2002
- * ca证书sn
2058
+ * CA证书的SN序列号,可以从 [DescribeCaCertificates](https://cloud.tencent.com/document/api/1778/116206)接口、控制台、证书文件中获得。
2003
2059
  */
2004
2060
  CaSn: string;
2005
2061
  /**
2006
- * 集群id
2062
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2007
2063
  */
2008
2064
  InstanceId: string;
2009
2065
  }
@@ -2293,7 +2349,7 @@ export interface DeviceCertificateItem {
2293
2349
  */
2294
2350
  DeviceCertificate?: string;
2295
2351
  /**
2296
- * 设备证书Sn
2352
+ * 设备证书SN序列号,用于唯一标识一个设备证书
2297
2353
  */
2298
2354
  DeviceCertificateSn?: string;
2299
2355
  /**
@@ -2301,19 +2357,19 @@ export interface DeviceCertificateItem {
2301
2357
  */
2302
2358
  DeviceCertificateCn?: string;
2303
2359
  /**
2304
- * 签发ca的序列号
2360
+ * 签发该证书的CA证书的序列号
2305
2361
  */
2306
2362
  CaSn?: string;
2307
2363
  /**
2308
- * 证书格式
2364
+ * 证书格式,当前仅支持PEM
2309
2365
  */
2310
2366
  Format?: string;
2311
2367
  /**
2312
- * 证书状态
2313
- ACTIVE,//激活
2314
- INACTIVE,//未激活
2315
- REVOKED,//吊销
2316
- PENDING_ACTIVATION,//注册待激活
2368
+ * 设备证书状态
2369
+ ACTIVE:激活
2370
+ INACTIVE:未激活
2371
+ REVOKED:吊销
2372
+ PENDING_ACTIVATION:注册待激活
2317
2373
  */
2318
2374
  Status?: string;
2319
2375
  /**
@@ -2321,19 +2377,19 @@ export interface DeviceCertificateItem {
2321
2377
  */
2322
2378
  OrganizationalUnit?: string;
2323
2379
  /**
2324
- * 上次激活时间
2380
+ * 上次激活时间,毫秒级时间戳 。
2325
2381
  */
2326
2382
  LastActivationTime?: number;
2327
2383
  /**
2328
- * 上次取消激活时间
2384
+ * 上次取消激活时间,毫秒级时间戳 。
2329
2385
  */
2330
2386
  LastInactivationTime?: number;
2331
2387
  /**
2332
- * 创建时间
2388
+ * 创建时间,毫秒级时间戳 。
2333
2389
  */
2334
2390
  CreatedTime?: number;
2335
2391
  /**
2336
- * 预销毁时间
2392
+ * 更新时间,毫秒级时间戳 。
2337
2393
  */
2338
2394
  UpdateTime?: number;
2339
2395
  /**
@@ -2343,11 +2399,11 @@ export interface DeviceCertificateItem {
2343
2399
  */
2344
2400
  CertificateSource?: string;
2345
2401
  /**
2346
- * 证书失效日期
2402
+ * 证书失效日期,毫秒级时间戳 。
2347
2403
  */
2348
2404
  NotAfterTime?: number;
2349
2405
  /**
2350
- * 证书生效开始日期
2406
+ * 证书生效开始日期,毫秒级时间戳 。
2351
2407
  */
2352
2408
  NotBeforeTime?: number;
2353
2409
  }
@@ -2367,7 +2423,7 @@ export interface MQTTClientInfo {
2367
2423
  * MQTT 协议版本
2368
2424
  3:表示MQTT 3.1版本
2369
2425
  4:表示 MQTT 3.1.1
2370
- 5: 标识MQTT 5.0协议
2426
+ 5:表示MQTT 5.0协议
2371
2427
  */
2372
2428
  ProtocolVersion?: number;
2373
2429
  /**
@@ -2600,7 +2656,7 @@ export interface ModifyHttpAuthenticatorRequest {
2600
2656
  */
2601
2657
  export interface DescribeInstanceRequest {
2602
2658
  /**
2603
- * 实例ID
2659
+ * 实例ID [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)
2604
2660
  */
2605
2661
  InstanceId: string;
2606
2662
  }