tencentcloud-sdk-nodejs 4.0.1005 → 4.0.1007

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 (92) hide show
  1. package/CHANGELOG.md +303 -0
  2. package/SERVICE_CHANGELOG.md +343 -134
  3. package/package.json +1 -1
  4. package/products.md +24 -23
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +13 -1
  7. package/src/services/cdb/v20170320/cdb_models.ts +55 -19
  8. package/src/services/dbbrain/v20210527/dbbrain_client.ts +13 -0
  9. package/src/services/dbbrain/v20210527/dbbrain_models.ts +70 -0
  10. package/src/services/dbdc/v20201029/dbdc_models.ts +36 -36
  11. package/src/services/dcdb/v20180411/dcdb_models.ts +2 -2
  12. package/src/services/essbasic/v20210526/essbasic_client.ts +3 -3
  13. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -1
  14. package/src/services/index.ts +1 -0
  15. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +49 -1
  16. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +95 -11
  17. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  18. package/src/services/lke/v20231130/lke_models.ts +12 -0
  19. package/src/services/lkeap/index.ts +5 -0
  20. package/src/services/lkeap/v20240522/index.ts +6 -0
  21. package/src/services/lkeap/v20240522/lkeap_client.ts +342 -0
  22. package/src/services/lkeap/v20240522/lkeap_models.ts +1112 -0
  23. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  24. package/src/services/monitor/v20180724/monitor_models.ts +34 -0
  25. package/src/services/ocr/v20181119/ocr_client.ts +106 -92
  26. package/src/services/ocr/v20181119/ocr_models.ts +209 -113
  27. package/src/services/sqlserver/v20180328/sqlserver_models.ts +19 -2
  28. package/src/services/tcb/v20180608/tcb_models.ts +26 -26
  29. package/src/services/tcm/v20210413/tcm_models.ts +1 -1
  30. package/src/services/tcr/v20190924/tcr_models.ts +21 -21
  31. package/src/services/teo/v20220901/teo_models.ts +10 -7
  32. package/src/services/tke/v20180525/tke_models.ts +148 -133
  33. package/src/services/trocket/v20230308/trocket_client.ts +14 -0
  34. package/src/services/trocket/v20230308/trocket_models.ts +45 -0
  35. package/src/services/vclm/v20240523/vclm_models.ts +3 -2
  36. package/src/services/vpc/v20170312/vpc_client.ts +2 -2
  37. package/src/services/vpc/v20170312/vpc_models.ts +13 -13
  38. package/src/services/waf/v20180125/waf_models.ts +1 -1
  39. package/src/services/wedata/v20210820/wedata_models.ts +25 -1
  40. package/tencentcloud/common/sdk_version.d.ts +1 -1
  41. package/tencentcloud/common/sdk_version.js +1 -1
  42. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
  43. package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
  44. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +53 -19
  45. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  46. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  47. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +67 -0
  48. package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +36 -36
  49. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +2 -2
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -3
  51. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -3
  52. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -1
  53. package/tencentcloud/services/index.d.ts +1 -0
  54. package/tencentcloud/services/index.js +2 -0
  55. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +17 -1
  56. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +24 -0
  57. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +87 -11
  58. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  59. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +12 -0
  60. package/tencentcloud/services/lkeap/index.d.ts +6 -0
  61. package/tencentcloud/services/lkeap/index.js +7 -0
  62. package/tencentcloud/services/lkeap/v20240522/index.d.ts +6 -0
  63. package/tencentcloud/services/lkeap/v20240522/index.js +9 -0
  64. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +111 -0
  65. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +180 -0
  66. package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +1030 -0
  67. package/tencentcloud/services/lkeap/v20240522/lkeap_models.js +18 -0
  68. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +33 -0
  69. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +79 -73
  70. package/tencentcloud/services/ocr/v20181119/ocr_client.js +84 -76
  71. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +206 -112
  72. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +19 -2
  73. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +26 -26
  74. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +1 -1
  75. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +21 -21
  76. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +10 -7
  77. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +148 -133
  78. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +7 -1
  79. package/tencentcloud/services/trocket/v20230308/trocket_client.js +8 -0
  80. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +43 -0
  81. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +3 -2
  82. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -2
  83. package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -2
  84. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +13 -13
  85. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
  86. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +25 -1
  87. package/test/cdb.v20170320.test.js +10 -0
  88. package/test/dbbrain.v20210527.test.js +10 -0
  89. package/test/iotexplorer.v20190423.test.js +40 -0
  90. package/test/lkeap.v20240522.test.js +261 -0
  91. package/test/ocr.v20181119.test.js +24 -14
  92. package/test/trocket.v20230308.test.js +10 -0
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeProductSKUsRequest, DescribeRoleListResponse, DeleteMQTTTopicRequest, CreateInstanceResponse, ModifyRoleResponse, DescribeMessageListRequest, DeleteMQTTInsPublicEndpointRequest, ModifyInstanceRequest, CreateMQTTInsPublicEndpointResponse, ImportSourceClusterConsumerGroupsResponse, DeleteTopicRequest, ModifyMQTTInstanceRequest, DescribeMQTTProductSKUListResponse, DescribeRoleListRequest, DescribeMQTTClientResponse, DescribeMQTTMessageListResponse, ImportSourceClusterConsumerGroupsRequest, DescribeMQTTProductSKUListRequest, DescribeConsumerLagRequest, DescribeMessageListResponse, DescribeMQTTMessageResponse, DescribeMQTTInstanceListResponse, DescribeInstanceListResponse, ModifyInstanceResponse, CreateConsumerGroupRequest, DescribeMQTTClientRequest, DescribeMQTTInsVPCEndpointsResponse, DescribeMQTTInsPublicEndpointsResponse, DescribeInstanceListRequest, ResendDeadLetterMessageResponse, DeleteMQTTUserRequest, ModifyMQTTInstanceCertBindingRequest, CreateMQTTTopicResponse, DescribeMQTTInstanceRequest, ImportSourceClusterTopicsRequest, CreateMQTTUserResponse, DeleteInstanceResponse, DescribeTopicResponse, DeleteMQTTInsPublicEndpointResponse, DeleteInstanceRequest, ModifyRoleRequest, DescribeMQTTInsVPCEndpointsRequest, DescribeFusionInstanceListResponse, CreateTopicRequest, DescribeMessageRequest, DeleteRoleRequest, DeleteConsumerGroupRequest, CreateConsumerGroupResponse, DescribeMQTTUserListResponse, ModifyMQTTUserResponse, DescribeMessageTraceResponse, ModifyMQTTInsPublicEndpointRequest, ModifyMQTTInstanceCertBindingResponse, DeleteMQTTInstanceResponse, DescribeTopicRequest, DeleteMQTTInstanceRequest, DescribeMessageTraceRequest, CreateTopicResponse, DescribeMQTTInstanceListRequest, ModifyConsumerGroupResponse, CreateMQTTInstanceResponse, DescribeMQTTInstanceResponse, DescribeMessageResponse, DeleteMQTTUserResponse, ImportSourceClusterTopicsResponse, DescribeTopicListRequest, ModifyConsumerGroupRequest, DescribeConsumerGroupRequest, DescribeConsumerGroupListRequest, CreateInstanceRequest, DescribeConsumerGroupResponse, DescribeConsumerClientRequest, ModifyTopicResponse, DescribeConsumerLagResponse, DescribeMQTTInsPublicEndpointsRequest, DeleteRoleResponse, ModifyMQTTTopicResponse, DescribeMQTTTopicListRequest, ModifyTopicRequest, DescribeInstanceResponse, DeleteMQTTTopicResponse, DescribeConsumerClientResponse, DescribeMQTTInstanceCertRequest, ModifyMQTTInsPublicEndpointResponse, ResendDeadLetterMessageRequest, CreateMQTTUserRequest, DescribeFusionInstanceListRequest, DescribeMQTTMessageRequest, CreateRoleResponse, DescribeMQTTTopicListResponse, DescribeMQTTUserListRequest, ModifyMQTTInstanceResponse, CreateMQTTInstanceRequest, DescribeTopicListResponse, DescribeMQTTTopicRequest, CreateRoleRequest, DeleteConsumerGroupResponse, ModifyMQTTTopicRequest, DescribeConsumerGroupListResponse, ModifyMQTTUserRequest, CreateMQTTInsPublicEndpointRequest, CreateMQTTTopicRequest, DeleteTopicResponse, DescribeMQTTInstanceCertResponse, DescribeMQTTTopicResponse, DescribeInstanceRequest, DescribeProductSKUsResponse, DescribeMQTTMessageListRequest } from "./trocket_models";
3
+ import { DescribeProductSKUsRequest, DescribeRoleListResponse, DeleteMQTTTopicRequest, CreateInstanceResponse, ModifyRoleResponse, DescribeMessageListRequest, DeleteMQTTInsPublicEndpointRequest, ModifyInstanceRequest, CreateMQTTInsPublicEndpointResponse, ImportSourceClusterConsumerGroupsResponse, DeleteTopicRequest, ModifyMQTTInstanceRequest, DescribeMQTTProductSKUListResponse, DescribeRoleListRequest, DescribeMQTTClientResponse, DescribeMQTTMessageListResponse, ImportSourceClusterConsumerGroupsRequest, DescribeMQTTProductSKUListRequest, DescribeConsumerLagRequest, DescribeMessageListResponse, DescribeMQTTMessageResponse, DescribeMQTTInstanceListResponse, DescribeInstanceListResponse, ModifyInstanceResponse, CreateConsumerGroupRequest, DescribeMQTTClientRequest, DescribeMQTTInsVPCEndpointsResponse, DescribeMQTTInsPublicEndpointsResponse, DescribeInstanceListRequest, ResendDeadLetterMessageResponse, DeleteMQTTUserRequest, ModifyMQTTInstanceCertBindingRequest, CreateMQTTTopicResponse, DescribeMQTTInstanceRequest, ImportSourceClusterTopicsRequest, CreateMQTTUserResponse, DeleteInstanceResponse, DescribeTopicResponse, DeleteMQTTInsPublicEndpointResponse, DeleteInstanceRequest, ModifyRoleRequest, DescribeMQTTInsVPCEndpointsRequest, DescribeFusionInstanceListResponse, CreateTopicRequest, DescribeMessageRequest, DeleteRoleRequest, DeleteConsumerGroupRequest, CreateConsumerGroupResponse, DescribeMQTTUserListResponse, ModifyMQTTUserResponse, DescribeTopicListByGroupResponse, DescribeMessageTraceResponse, ModifyMQTTInsPublicEndpointRequest, ModifyMQTTInstanceCertBindingResponse, DeleteMQTTInstanceResponse, DescribeTopicRequest, DeleteMQTTInstanceRequest, DescribeMessageTraceRequest, CreateTopicResponse, DescribeMQTTInstanceListRequest, ModifyConsumerGroupResponse, CreateMQTTInstanceResponse, DescribeMQTTInstanceResponse, DescribeMessageResponse, DeleteMQTTUserResponse, ImportSourceClusterTopicsResponse, DescribeTopicListRequest, ModifyConsumerGroupRequest, DescribeConsumerGroupRequest, DescribeConsumerGroupListRequest, CreateInstanceRequest, DescribeConsumerGroupResponse, DescribeConsumerClientRequest, ModifyTopicResponse, DescribeConsumerLagResponse, DescribeMQTTInsPublicEndpointsRequest, DeleteRoleResponse, DescribeTopicListByGroupRequest, ModifyMQTTTopicResponse, DescribeMQTTTopicListRequest, ModifyTopicRequest, DescribeInstanceResponse, DeleteMQTTTopicResponse, DescribeConsumerClientResponse, DescribeMQTTInstanceCertRequest, ModifyMQTTInsPublicEndpointResponse, ResendDeadLetterMessageRequest, CreateMQTTUserRequest, DescribeFusionInstanceListRequest, DescribeMQTTMessageRequest, CreateRoleResponse, DescribeMQTTTopicListResponse, DescribeMQTTUserListRequest, ModifyMQTTInstanceResponse, CreateMQTTInstanceRequest, DescribeTopicListResponse, DescribeMQTTTopicRequest, CreateRoleRequest, DeleteConsumerGroupResponse, ModifyMQTTTopicRequest, DescribeConsumerGroupListResponse, ModifyMQTTUserRequest, CreateMQTTInsPublicEndpointRequest, CreateMQTTTopicRequest, DeleteTopicResponse, DescribeMQTTInstanceCertResponse, DescribeMQTTTopicResponse, DescribeInstanceRequest, DescribeProductSKUsResponse, DescribeMQTTMessageListRequest } from "./trocket_models";
4
4
  /**
5
5
  * trocket client
6
6
  * @class
@@ -24,6 +24,12 @@ export declare class Client extends AbstractClient {
24
24
  * 修改主题属性
25
25
  */
26
26
  ModifyTopic(req: ModifyTopicRequest, cb?: (error: string, rep: ModifyTopicResponse) => void): Promise<ModifyTopicResponse>;
27
+ /**
28
+ * 根据消费组获取主题列表,Filter参数使用说明如下:
29
+
30
+ TopicName,主题名称过滤
31
+ */
32
+ DescribeTopicListByGroup(req: DescribeTopicListByGroupRequest, cb?: (error: string, rep: DescribeTopicListByGroupResponse) => void): Promise<DescribeTopicListByGroupResponse>;
27
33
  /**
28
34
  * 修改主题属性
29
35
  */
@@ -52,6 +52,14 @@ class Client extends abstract_client_1.AbstractClient {
52
52
  async ModifyTopic(req, cb) {
53
53
  return this.request("ModifyTopic", req, cb);
54
54
  }
55
+ /**
56
+ * 根据消费组获取主题列表,Filter参数使用说明如下:
57
+
58
+ TopicName,主题名称过滤
59
+ */
60
+ async DescribeTopicListByGroup(req, cb) {
61
+ return this.request("DescribeTopicListByGroup", req, cb);
62
+ }
55
63
  /**
56
64
  * 修改主题属性
57
65
  */
@@ -1570,6 +1570,24 @@ export interface PriceTag {
1570
1570
  */
1571
1571
  Step?: number;
1572
1572
  }
1573
+ /**
1574
+ * DescribeTopicListByGroup返回参数结构体
1575
+ */
1576
+ export interface DescribeTopicListByGroupResponse {
1577
+ /**
1578
+ * 查询总数
1579
+ 注意:此字段可能返回 null,表示取不到有效值。
1580
+ */
1581
+ TotalCount?: number;
1582
+ /**
1583
+ * 主题列表
1584
+ */
1585
+ Data?: Array<SubscriptionData>;
1586
+ /**
1587
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1588
+ */
1589
+ RequestId?: string;
1590
+ }
1573
1591
  /**
1574
1592
  * DescribeMessageTrace返回参数结构体
1575
1593
  */
@@ -2488,6 +2506,31 @@ export interface DeleteRoleResponse {
2488
2506
  */
2489
2507
  RequestId?: string;
2490
2508
  }
2509
+ /**
2510
+ * DescribeTopicListByGroup请求参数结构体
2511
+ */
2512
+ export interface DescribeTopicListByGroupRequest {
2513
+ /**
2514
+ * 集群ID
2515
+ */
2516
+ InstanceId: string;
2517
+ /**
2518
+ * 查询起始位置
2519
+ */
2520
+ Offset?: number;
2521
+ /**
2522
+ * 查询结果限制数量
2523
+ */
2524
+ Limit?: number;
2525
+ /**
2526
+ * 消费组名称
2527
+ */
2528
+ ConsumerGroup?: string;
2529
+ /**
2530
+ * 查询条件列表
2531
+ */
2532
+ Filters?: Array<Filter>;
2533
+ }
2491
2534
  /**
2492
2535
  * 查询过滤器
2493
2536
  */
@@ -458,7 +458,7 @@ export interface SubmitVideoTranslateJobRequest {
458
458
  fps 要求:【15-60】fps
459
459
  分辨率要求:单边像素要求在 【360~4096】 之间。
460
460
  大小要求:不超过500MB
461
-
461
+ 请保证文件的下载速度,否则会下载失败。
462
462
  */
463
463
  VideoUrl: string;
464
464
  /**
@@ -471,10 +471,11 @@ export interface SubmitVideoTranslateJobRequest {
471
471
  格式要求:支持 mp3、m4a、aac、wav 格式。
472
472
  时长要求:【5~600】秒,音频时长要匹配视频时长。
473
473
  大小要求:不超过 100MB。
474
+ 请保证文件的下载速度,否则会下载失败。
474
475
  */
475
476
  AudioUrl?: string;
476
477
  /**
477
- * 输出视频中翻译语种
478
+ * 输出视频中翻译语种。默认是en(英语)。
478
479
  目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
479
480
  */
480
481
  DstLang?: string;
@@ -147,9 +147,9 @@ export declare class Client extends AbstractClient {
147
147
  */
148
148
  CreateVpnGatewaySslClient(req: CreateVpnGatewaySslClientRequest, cb?: (error: string, rep: CreateVpnGatewaySslClientResponse) => void): Promise<CreateVpnGatewaySslClientResponse>;
149
149
  /**
150
- * 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 实例开通 IPv6 公网带宽。
150
+ * 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 地址开通 IPv6 公网带宽。
151
151
 
152
- - 传统弹性公网 IPv6 实例默认仅具备 IPv6 内网通信能力,需为 IPv6 地址分配公网带宽后,才具备 IPv6 公网通信能力。
152
+ - 传统弹性公网 IPv6 地址默认仅具备内网通信能力,需通过控制台或 API 接口为其分配公网带宽后,才能具备 IPv6 公网通信能力、并于传统弹性公网 IPv6 列表页可见。
153
153
  - 支持为一个或多个传统弹性公网 IPv6 实例开通公网带宽。
154
154
  */
155
155
  AllocateIp6AddressesBandwidth(req: AllocateIp6AddressesBandwidthRequest, cb?: (error: string, rep: AllocateIp6AddressesBandwidthResponse) => void): Promise<AllocateIp6AddressesBandwidthResponse>;
@@ -219,9 +219,9 @@ class Client extends abstract_client_1.AbstractClient {
219
219
  return this.request("CreateVpnGatewaySslClient", req, cb);
220
220
  }
221
221
  /**
222
- * 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 实例开通 IPv6 公网带宽。
222
+ * 本接口(AllocateIp6AddressesBandwidth)用于为传统弹性公网 IPv6 地址开通 IPv6 公网带宽。
223
223
 
224
- - 传统弹性公网 IPv6 实例默认仅具备 IPv6 内网通信能力,需为 IPv6 地址分配公网带宽后,才具备 IPv6 公网通信能力。
224
+ - 传统弹性公网 IPv6 地址默认仅具备内网通信能力,需通过控制台或 API 接口为其分配公网带宽后,才能具备 IPv6 公网通信能力、并于传统弹性公网 IPv6 列表页可见。
225
225
  - 支持为一个或多个传统弹性公网 IPv6 实例开通公网带宽。
226
226
  */
227
227
  async AllocateIp6AddressesBandwidth(req, cb) {
@@ -3318,12 +3318,12 @@ export interface DescribeTenantCcnsRequest {
3318
3318
  */
3319
3319
  export interface DescribeIp6AddressesRequest {
3320
3320
  /**
3321
- * 标识 IPV6 的唯一 ID 列表。IPV6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。
3321
+ * 标识 IPv6 的唯一 ID 列表。IPv6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。
3322
3322
  */
3323
3323
  Ip6AddressIds?: Array<string>;
3324
3324
  /**
3325
3325
  * 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下:
3326
- <li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPV6 的 IP 地址过滤。</li>
3326
+ <li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPv6 的 IP 地址过滤。</li>
3327
3327
  <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。</li>
3328
3328
  */
3329
3329
  Filters?: Array<Filter>;
@@ -3637,11 +3637,11 @@ export interface ModifyIp6AddressesBandwidthRequest {
3637
3637
  */
3638
3638
  InternetMaxBandwidthOut: number;
3639
3639
  /**
3640
- * IPV6地址。Ip6Addresses和Ip6AddressId必须且只能传一个
3640
+ * IPv6地址。Ip6Addresses和Ip6AddressId必须且只能传一个
3641
3641
  */
3642
3642
  Ip6Addresses?: Array<string>;
3643
3643
  /**
3644
- * IPV6地址对应的唯一ID,形如eip-xxxxxxxx。Ip6Addresses和Ip6AddressId必须且只能传一个
3644
+ * IPv6地址对应的唯一ID,形如eip-xxxxxxxx。Ip6Addresses和Ip6AddressId必须且只能传一个
3645
3645
  */
3646
3646
  Ip6AddressIds?: Array<string>;
3647
3647
  }
@@ -4302,7 +4302,7 @@ export interface DeleteVpnGatewaySslServerRequest {
4302
4302
  */
4303
4303
  export interface AllocateIp6AddressesBandwidthResponse {
4304
4304
  /**
4305
- * 弹性公网 IPV6 的唯一 ID 列表。
4305
+ * 传统弹性公网 IPv6 的唯一 ID 列表。
4306
4306
  */
4307
4307
  AddressSet?: Array<string>;
4308
4308
  /**
@@ -5147,7 +5147,7 @@ export interface FlowLogStorage {
5147
5147
  */
5148
5148
  export interface AllocateIp6AddressesBandwidthRequest {
5149
5149
  /**
5150
- * 需要开通公网访问能力的IPV6地址
5150
+ * 需要开通公网访问能力的IPv6地址
5151
5151
  */
5152
5152
  Ip6Addresses: Array<string>;
5153
5153
  /**
@@ -5155,11 +5155,11 @@ export interface AllocateIp6AddressesBandwidthRequest {
5155
5155
  */
5156
5156
  InternetMaxBandwidthOut?: number;
5157
5157
  /**
5158
- * 网络计费模式。IPV6当前支持"TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。默认网络计费模式是"TRAFFIC_POSTPAID_BY_HOUR"。
5158
+ * 网络计费模式。IPv6当前支持"TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。默认网络计费模式是"TRAFFIC_POSTPAID_BY_HOUR"。
5159
5159
  */
5160
5160
  InternetChargeType?: string;
5161
5161
  /**
5162
- * 带宽包id,上移账号,申请带宽包计费模式的ipv6地址需要传入.
5162
+ * 带宽包id,上移账号,申请带宽包计费模式的IPv6地址需要传入.
5163
5163
  */
5164
5164
  BandwidthPackageId?: string;
5165
5165
  /**
@@ -7181,11 +7181,11 @@ export interface AddressTemplateItem {
7181
7181
  */
7182
7182
  export interface DescribeIp6AddressesResponse {
7183
7183
  /**
7184
- * 符合条件的 IPV6 数量。
7184
+ * 符合条件的 IPv6 数量。
7185
7185
  */
7186
7186
  TotalCount?: number;
7187
7187
  /**
7188
- * IPV6 详细信息列表。
7188
+ * IPv6 详细信息列表。
7189
7189
  */
7190
7190
  AddressSet?: Array<Address>;
7191
7191
  /**
@@ -16096,7 +16096,7 @@ export interface AssociateAddressRequest {
16096
16096
  */
16097
16097
  EipDirectConnection?: boolean;
16098
16098
  /**
16099
- * 要绑定的实例所在的地域
16099
+ * 要绑定的实例所在地域。默认无需填写,仅限GAAP特殊场景需指定实例所在地域。
16100
16100
  */
16101
16101
  InstanceRegion?: string;
16102
16102
  }
@@ -16952,11 +16952,11 @@ export interface DescribeClassicLinkInstancesRequest {
16952
16952
  */
16953
16953
  export interface ReleaseIp6AddressesBandwidthRequest {
16954
16954
  /**
16955
- * IPV6地址。Ip6Addresses和Ip6AddressIds必须且只能传一个
16955
+ * IPv6地址。Ip6Addresses和Ip6AddressIds必须且只能传一个
16956
16956
  */
16957
16957
  Ip6Addresses?: Array<string>;
16958
16958
  /**
16959
- * IPV6地址对应的唯一ID,形如eip-xxxxxxxx。Ip6Addresses和Ip6AddressIds必须且只能传一个。
16959
+ * IPv6地址对应的唯一ID,形如eip-xxxxxxxx。Ip6Addresses和Ip6AddressIds必须且只能传一个。
16960
16960
  */
16961
16961
  Ip6AddressIds?: Array<string>;
16962
16962
  }
@@ -1550,7 +1550,7 @@ export interface Rule {
1550
1550
  AddTime?: string;
1551
1551
  }
1552
1552
  /**
1553
- * 自定义规则的匹配条件结构体
1553
+ * 规则的匹配条件结构体
1554
1554
  */
1555
1555
  export interface Strategy {
1556
1556
  /**
@@ -2054,6 +2054,21 @@ export interface AlarmEventInfo {
2054
2054
  注意:此字段可能返回 null,表示取不到有效值。
2055
2055
  */
2056
2056
  AlarmReason?: string;
2057
+ /**
2058
+ * 近范围值
2059
+ 注意:此字段可能返回 null,表示取不到有效值。
2060
+ */
2061
+ IndicatorTimeRangeValue?: number;
2062
+ /**
2063
+ * 近范围单位
2064
+ 注意:此字段可能返回 null,表示取不到有效值。
2065
+ */
2066
+ IndicatorTimeRangeUnit?: string;
2067
+ /**
2068
+ * 同步类型
2069
+ 注意:此字段可能返回 null,表示取不到有效值。
2070
+ */
2071
+ SyncType?: number;
2057
2072
  }
2058
2073
  /**
2059
2074
  * DescribeTaskLineage请求参数结构体
@@ -9436,7 +9451,16 @@ export interface CreateTaskFolderRequest {
9436
9451
  */
9437
9452
  ParentFolderId?: string;
9438
9453
  /**
9439
- * 目录分类
9454
+ * 目录分类,该值必传,枚举值如下:
9455
+ ETL:数据集成
9456
+ EMR:EMR
9457
+ TBDS:TBDS
9458
+ DLC:DLC
9459
+ TDSQL:TDSQL
9460
+ TCHOUSE:TCHOUSE
9461
+ GENERAL:通用
9462
+ TI_ONE:TI-ONE机器学习
9463
+ ACROSS_WORKFLOWS:跨工作流
9440
9464
  */
9441
9465
  TaskNodeType?: string;
9442
9466
  }
@@ -48,6 +48,16 @@ it("cdb.v20170320.CreateAuditPolicy", async function () {
48
48
  }
49
49
  })
50
50
 
51
+ it("cdb.v20170320.DescribeTableColumns", async function () {
52
+ try {
53
+ const data = await client.DescribeTableColumns({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
51
61
  it("cdb.v20170320.OpenSSL", async function () {
52
62
  try {
53
63
  const data = await client.OpenSSL({})
@@ -118,6 +118,16 @@ it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("dbbrain.v20210527.DescribeRedisTopHotKeys", async function () {
122
+ try {
123
+ const data = await client.DescribeRedisTopHotKeys({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
121
131
  it("dbbrain.v20210527.UpdateMonitorSwitch", async function () {
122
132
  try {
123
133
  const data = await client.UpdateMonitorSwitch({})
@@ -458,6 +458,16 @@ it("iotexplorer.v20190423.InheritCloudStorageUser", async function () {
458
458
  }
459
459
  })
460
460
 
461
+ it("iotexplorer.v20190423.TransferTWeCallDevice", async function () {
462
+ try {
463
+ const data = await client.TransferTWeCallDevice({})
464
+ expect(data).to.be.ok
465
+ } catch(error) {
466
+ expect(error.requestId).to.be.ok
467
+ expect(error.code).to.be.ok
468
+ }
469
+ })
470
+
461
471
  it("iotexplorer.v20190423.ListFirmwares", async function () {
462
472
  try {
463
473
  const data = await client.ListFirmwares({})
@@ -928,6 +938,16 @@ it("iotexplorer.v20190423.AssignTWeCallLicense", async function () {
928
938
  }
929
939
  })
930
940
 
941
+ it("iotexplorer.v20190423.ResetTWeCallDevice", async function () {
942
+ try {
943
+ const data = await client.ResetTWeCallDevice({})
944
+ expect(data).to.be.ok
945
+ } catch(error) {
946
+ expect(error.requestId).to.be.ok
947
+ expect(error.code).to.be.ok
948
+ }
949
+ })
950
+
931
951
  it("iotexplorer.v20190423.ModifyTopicPolicy", async function () {
932
952
  try {
933
953
  const data = await client.ModifyTopicPolicy({})
@@ -1068,6 +1088,16 @@ it("iotexplorer.v20190423.ModifyCloudStorageAIService", async function () {
1068
1088
  }
1069
1089
  })
1070
1090
 
1091
+ it("iotexplorer.v20190423.ResumeWeCallDevice", async function () {
1092
+ try {
1093
+ const data = await client.ResumeWeCallDevice({})
1094
+ expect(data).to.be.ok
1095
+ } catch(error) {
1096
+ expect(error.requestId).to.be.ok
1097
+ expect(error.code).to.be.ok
1098
+ }
1099
+ })
1100
+
1071
1101
  it("iotexplorer.v20190423.GetStudioProductList", async function () {
1072
1102
  try {
1073
1103
  const data = await client.GetStudioProductList({})
@@ -1368,6 +1398,16 @@ it("iotexplorer.v20190423.DescribeCloudStorageStreamData", async function () {
1368
1398
  }
1369
1399
  })
1370
1400
 
1401
+ it("iotexplorer.v20190423.PauseTWeCallDevice", async function () {
1402
+ try {
1403
+ const data = await client.PauseTWeCallDevice({})
1404
+ expect(data).to.be.ok
1405
+ } catch(error) {
1406
+ expect(error.requestId).to.be.ok
1407
+ expect(error.code).to.be.ok
1408
+ }
1409
+ })
1410
+
1371
1411
  it("iotexplorer.v20190423.GetAuthMiniProgramAppList", async function () {
1372
1412
  try {
1373
1413
  const data = await client.GetAuthMiniProgramAppList({})
@@ -0,0 +1,261 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.lkeap.v20240522.Client({
5
+ credential: {
6
+ secretId: process.env.secretId,
7
+ secretKey: process.env.secretKey,
8
+ },
9
+ region: "ap-shanghai",
10
+ profile: {
11
+ signMethod: "TC3-HMAC-SHA256",
12
+ httpProfile: {
13
+ reqMethod: "POST",
14
+ reqTimeout: 30,
15
+ endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
16
+ },
17
+ },
18
+ })
19
+ describe("lkeap.v20240522.test.js", function () {
20
+
21
+ it("lkeap.v20240522.RetrieveKnowledge", async function () {
22
+ try {
23
+ const data = await client.RetrieveKnowledge({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("lkeap.v20240522.ModifyQA", async function () {
32
+ try {
33
+ const data = await client.ModifyQA({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("lkeap.v20240522.GetReconstructDocumentResult", async function () {
42
+ try {
43
+ const data = await client.GetReconstructDocumentResult({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
51
+ it("lkeap.v20240522.GetSplitDocumentResult", async function () {
52
+ try {
53
+ const data = await client.GetSplitDocumentResult({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("lkeap.v20240522.DescribeDoc", async function () {
62
+ try {
63
+ const data = await client.DescribeDoc({})
64
+ expect(data).to.be.ok
65
+ } catch(error) {
66
+ expect(error.requestId).to.be.ok
67
+ expect(error.code).to.be.ok
68
+ }
69
+ })
70
+
71
+ it("lkeap.v20240522.ReconstructDocumentSSE", async function () {
72
+ try {
73
+ const data = await client.ReconstructDocumentSSE({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("lkeap.v20240522.DeleteDocs", async function () {
82
+ try {
83
+ const data = await client.DeleteDocs({})
84
+ expect(data).to.be.ok
85
+ } catch(error) {
86
+ expect(error.requestId).to.be.ok
87
+ expect(error.code).to.be.ok
88
+ }
89
+ })
90
+
91
+ it("lkeap.v20240522.DeleteQAs", async function () {
92
+ try {
93
+ const data = await client.DeleteQAs({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("lkeap.v20240522.GetEmbedding", async function () {
102
+ try {
103
+ const data = await client.GetEmbedding({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
111
+ it("lkeap.v20240522.ModifyAttributeLabel", async function () {
112
+ try {
113
+ const data = await client.ModifyAttributeLabel({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("lkeap.v20240522.RunRerank", async function () {
122
+ try {
123
+ const data = await client.RunRerank({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("lkeap.v20240522.ListQAs", async function () {
132
+ try {
133
+ const data = await client.ListQAs({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
141
+ it("lkeap.v20240522.DeleteAttributeLabels", async function () {
142
+ try {
143
+ const data = await client.DeleteAttributeLabels({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("lkeap.v20240522.CreateAttributeLabel", async function () {
152
+ try {
153
+ const data = await client.CreateAttributeLabel({})
154
+ expect(data).to.be.ok
155
+ } catch(error) {
156
+ expect(error.requestId).to.be.ok
157
+ expect(error.code).to.be.ok
158
+ }
159
+ })
160
+
161
+ it("lkeap.v20240522.CreateReconstructDocumentFlow", async function () {
162
+ try {
163
+ const data = await client.CreateReconstructDocumentFlow({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
171
+ it("lkeap.v20240522.ListAttributeLabels", async function () {
172
+ try {
173
+ const data = await client.ListAttributeLabels({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("lkeap.v20240522.ListDocs", async function () {
182
+ try {
183
+ const data = await client.ListDocs({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
191
+ it("lkeap.v20240522.CreateKnowledgeBase", async function () {
192
+ try {
193
+ const data = await client.CreateKnowledgeBase({})
194
+ expect(data).to.be.ok
195
+ } catch(error) {
196
+ expect(error.requestId).to.be.ok
197
+ expect(error.code).to.be.ok
198
+ }
199
+ })
200
+
201
+ it("lkeap.v20240522.ImportQAs", async function () {
202
+ try {
203
+ const data = await client.ImportQAs({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
211
+ it("lkeap.v20240522.CreateQA", async function () {
212
+ try {
213
+ const data = await client.CreateQA({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
221
+ it("lkeap.v20240522.DeleteKnowledgeBase", async function () {
222
+ try {
223
+ const data = await client.DeleteKnowledgeBase({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("lkeap.v20240522.CreateSplitDocumentFlow", async function () {
232
+ try {
233
+ const data = await client.CreateSplitDocumentFlow({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
241
+ it("lkeap.v20240522.UploadDocRealtime", async function () {
242
+ try {
243
+ const data = await client.UploadDocRealtime({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
251
+ it("lkeap.v20240522.UploadDoc", async function () {
252
+ try {
253
+ const data = await client.UploadDoc({})
254
+ expect(data).to.be.ok
255
+ } catch(error) {
256
+ expect(error.requestId).to.be.ok
257
+ expect(error.code).to.be.ok
258
+ }
259
+ })
260
+
261
+ })