tencentcloud-sdk-nodejs-mqtt 4.1.8 → 4.1.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mqtt",
3
- "version": "4.1.8",
3
+ "version": "4.1.10",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -446,11 +446,11 @@ export interface VpcInfo {
446
446
  /**
447
447
  * VPC ID
448
448
  */
449
- VpcId: string;
449
+ VpcId?: string;
450
450
  /**
451
451
  * 子网ID
452
452
  */
453
- SubnetId: string;
453
+ SubnetId?: string;
454
454
  }
455
455
  /**
456
456
  * DeleteAuthorizationPolicy返回参数结构体
@@ -469,6 +469,7 @@ export interface ProductSkuItem {
469
469
  * 规格类型
470
470
  BASIC:基础版
471
471
  PRO :专业版
472
+ PLATINUM: 铂金版
472
473
  */
473
474
  InstanceType?: string;
474
475
  /**
@@ -477,6 +478,8 @@ export interface ProductSkuItem {
477
478
  SkuCode?: string;
478
479
  /**
479
480
  * 是否售卖
481
+ 1: 可售卖
482
+ 0: 不可售卖
480
483
  */
481
484
  OnSale?: boolean;
482
485
  /**
@@ -484,7 +487,7 @@ export interface ProductSkuItem {
484
487
  */
485
488
  TopicNumLimit?: number;
486
489
  /**
487
- * tps
490
+ * MQTT 集群下每秒钟生产消息量和消费消息量之和。详细计算方式参考 [计费概述](https://cloud.tencent.com/document/product/1778/109698)
488
491
  */
489
492
  TpsLimit?: number;
490
493
  /**
@@ -541,6 +544,14 @@ export interface ModifyJWKSAuthenticatorRequest {
541
544
  * RegisterCaCertificate返回参数结构体
542
545
  */
543
546
  export interface RegisterCaCertificateResponse {
547
+ /**
548
+ * mqtt实例ID
549
+ */
550
+ InstanceId?: string;
551
+ /**
552
+ * ca 证书的序列号
553
+ */
554
+ CaSn?: string;
544
555
  /**
545
556
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
546
557
  */
@@ -573,7 +584,7 @@ export interface ModifyInstanceRequest {
573
584
  Remark?: string;
574
585
  /**
575
586
  * 需要变更的配置规格
576
- 基础版和增强版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。
587
+ 基础版和专业版集群不能升配到铂金版规格,铂金版集群不能降配至基础版和增强版规格。
577
588
  */
578
589
  SkuCode?: string;
579
590
  /**
@@ -595,6 +606,18 @@ export interface ModifyInstanceRequest {
595
606
  * RegisterDeviceCertificate返回参数结构体
596
607
  */
597
608
  export interface RegisterDeviceCertificateResponse {
609
+ /**
610
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
611
+ */
612
+ InstanceId?: string;
613
+ /**
614
+ * 关联的CA证书SN
615
+ */
616
+ CaSn?: string;
617
+ /**
618
+ * 设备证书的SN
619
+ */
620
+ DeviceCertificateSn?: string;
598
621
  /**
599
622
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
600
623
  */
@@ -2473,19 +2496,20 @@ export interface MQTTTopicItem {
2473
2496
  */
2474
2497
  export interface PriceTag {
2475
2498
  /**
2476
- * 计价名称
2499
+ * 计价名称,表示规格的计费项项目分类,具体规格的计价名称可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/product/1778/116232) 接口的返回结果。
2477
2500
  */
2478
2501
  Name?: string;
2479
2502
  /**
2480
- * 计价类别
2503
+ * 计价类别,计价名称子类,具体规格的计价类别可参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/product/1778/116232) 的返回结果。
2481
2504
  */
2482
2505
  Category?: string;
2483
2506
  /**
2484
- * 计费项标签
2507
+ * 计费项标签,为计价名称(Name)下计价类别(Category)的子项目,表示一个具体的收费项。规格的计费项标签可参考
2508
+ [获取MQTT产品售卖规格](https://cloud.tencent.com/document/product/1778/116232) 接口的返回结果。
2485
2509
  */
2486
2510
  Code?: string;
2487
2511
  /**
2488
- * 步长
2512
+ * 计费步长,表示该规格在 计价名称(Name)下的计价类别(Category)的计费项标签(Code)计费数量。具体规格该字段取值参考 [获取MQTT产品售卖规格](https://cloud.tencent.com/document/product/1778/116232)
2489
2513
  */
2490
2514
  Step?: number;
2491
2515
  }
@@ -2656,7 +2680,7 @@ export interface ModifyHttpAuthenticatorRequest {
2656
2680
  */
2657
2681
  export interface DescribeInstanceRequest {
2658
2682
  /**
2659
- * 实例ID [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)
2683
+ * 腾讯云MQTT实例ID,从 [DescribeInstanceList](https://cloud.tencent.com/document/api/1778/111029)接口或控制台获得。
2660
2684
  */
2661
2685
  InstanceId: string;
2662
2686
  }