tencentcloud-sdk-nodejs 4.0.919 → 4.0.920
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/CHANGELOG.md +187 -0
- package/SERVICE_CHANGELOG.md +214 -119
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +19 -7
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +54 -8
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +3 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +71 -1
- package/src/services/ess/v20201111/ess_models.ts +4 -0
- package/src/services/faceid/v20180301/faceid_models.ts +10 -2
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +1 -1
- package/src/services/ims/v20201229/ims_client.ts +1 -1
- package/src/services/ims/v20201229/ims_models.ts +1 -1
- package/src/services/lke/v20231130/lke_models.ts +12 -0
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +17 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +125 -69
- package/src/services/tiia/v20190529/tiia_client.ts +11 -33
- package/src/services/tiia/v20190529/tiia_models.ts +38 -196
- package/src/services/vod/v20180717/vod_models.ts +29 -7
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +7 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +9 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +52 -8
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +68 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
- package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +12 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +120 -68
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +4 -14
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +4 -16
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +38 -190
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +29 -7
- package/test/cdwdoris.v20211228.test.js +12 -2
- package/test/sqlserver.v20180328.test.js +10 -0
- package/test/tiia.v20190529.test.js +2 -12
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
|
|
46
46
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
|
|
47
47
|
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 |
|
|
48
|
-
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-
|
|
48
|
+
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-19 01:15:05 |
|
|
49
49
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
50
50
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 |
|
|
51
51
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-08-16 01:16:30 |
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 |
|
|
79
79
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
80
80
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
81
|
-
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-08-
|
|
81
|
+
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-08-19 01:29:38 |
|
|
82
82
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-07-08 01:12:54 |
|
|
83
83
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-07-15 01:09:18 |
|
|
84
84
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-07-11 01:14:04 |
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-08-06 01:35:34 |
|
|
91
91
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
92
92
|
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-07-24 01:36:02 |
|
|
93
|
-
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-08-
|
|
93
|
+
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-08-19 01:36:09 |
|
|
94
94
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-03-20 01:15:51 |
|
|
95
95
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-03-20 01:15:52 |
|
|
96
96
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-07-26 01:38:19 |
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
99
99
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-08-12 01:41:17 |
|
|
100
100
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-08-14 01:44:38 |
|
|
101
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-
|
|
101
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-19 01:39:34 |
|
|
102
102
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-15 01:42:34 |
|
|
103
103
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-08-16 01:43:31 |
|
|
104
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-
|
|
104
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-19 01:41:40 |
|
|
105
105
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 |
|
|
106
106
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
|
|
107
107
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-23 01:36:12 |
|
|
@@ -114,14 +114,14 @@
|
|
|
114
114
|
| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-05-29 01:43:09 |
|
|
115
115
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
116
116
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 |
|
|
117
|
-
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-08-
|
|
117
|
+
| hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-08-19 01:43:55 |
|
|
118
118
|
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2024-03-20 01:17:43 |
|
|
119
119
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
120
120
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2024-04-22 01:17:48 |
|
|
121
121
|
| ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 |
|
|
122
122
|
| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-06-20 01:46:44 |
|
|
123
123
|
| iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 |
|
|
124
|
-
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-
|
|
124
|
+
| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-08-19 01:45:43 |
|
|
125
125
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-08-13 01:52:20 |
|
|
126
126
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
127
127
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-01 01:53:15 |
|
|
138
138
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-08-16 01:55:21 |
|
|
139
139
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-08-14 02:01:47 |
|
|
140
|
-
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-
|
|
140
|
+
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-19 01:55:11 |
|
|
141
141
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
142
142
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
143
143
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
|
|
158
158
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
159
159
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-07-23 01:53:12 |
|
|
160
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-
|
|
160
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-19 02:02:13 |
|
|
161
161
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
|
|
162
162
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-16 02:06:49 |
|
|
163
163
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 |
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-08-13 02:19:06 |
|
|
180
180
|
| soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-04-11 01:20:45 |
|
|
181
181
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
182
|
-
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-
|
|
182
|
+
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-19 02:09:32 |
|
|
183
183
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
|
184
184
|
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-08-16 02:14:20 |
|
|
185
185
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
216
216
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2024-03-20 01:27:08 |
|
|
217
217
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
218
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-
|
|
218
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2024-08-19 02:22:39 |
|
|
219
219
|
| tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2024-06-07 02:37:51 |
|
|
220
220
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2024-03-20 01:27:28 |
|
|
221
221
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-07-24 02:19:34 |
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-08-15 02:35:35 |
|
|
240
240
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
|
|
241
241
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
242
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-
|
|
242
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-19 02:30:58 |
|
|
243
243
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-16 02:37:46 |
|
|
244
244
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-08-07 02:38:54 |
|
|
245
245
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.920"
|
|
@@ -119,6 +119,7 @@ import {
|
|
|
119
119
|
ModifySecurityGroupsResponse,
|
|
120
120
|
InstanceInfo,
|
|
121
121
|
DescribeUserBindWorkloadGroupRequest,
|
|
122
|
+
ScaleUpInstanceRequest,
|
|
122
123
|
DescribeInstancesRequest,
|
|
123
124
|
DescribeBackUpSchedulesRequest,
|
|
124
125
|
DescribeClusterConfigsRequest,
|
|
@@ -140,6 +141,7 @@ import {
|
|
|
140
141
|
ModifyMetricFileStructNew,
|
|
141
142
|
DescribeBackUpJobDetailResponse,
|
|
142
143
|
DescribeBackUpJobDetailRequest,
|
|
144
|
+
DescribeTableListRequest,
|
|
143
145
|
DescribeWorkloadGroupResponse,
|
|
144
146
|
ModifyMetricFileStruct,
|
|
145
147
|
DescribeInstanceRequest,
|
|
@@ -161,7 +163,7 @@ import {
|
|
|
161
163
|
BackUpJobDisplay,
|
|
162
164
|
ModifyUserBindWorkloadGroupResponse,
|
|
163
165
|
RecoverBackUpJobResponse,
|
|
164
|
-
|
|
166
|
+
DescribeTableListResponse,
|
|
165
167
|
DescribeReplicaVersionRequest,
|
|
166
168
|
NodesSummary,
|
|
167
169
|
DescribeDatabaseAuditDownloadRequest,
|
|
@@ -288,6 +290,16 @@ export class Client extends AbstractClient {
|
|
|
288
290
|
return this.request("DescribeDatabaseAuditDownload", req, cb)
|
|
289
291
|
}
|
|
290
292
|
|
|
293
|
+
/**
|
|
294
|
+
* 获取当前集群各用户绑定的资源信息
|
|
295
|
+
*/
|
|
296
|
+
async DescribeUserBindWorkloadGroup(
|
|
297
|
+
req: DescribeUserBindWorkloadGroupRequest,
|
|
298
|
+
cb?: (error: string, rep: DescribeUserBindWorkloadGroupResponse) => void
|
|
299
|
+
): Promise<DescribeUserBindWorkloadGroupResponse> {
|
|
300
|
+
return this.request("DescribeUserBindWorkloadGroup", req, cb)
|
|
301
|
+
}
|
|
302
|
+
|
|
291
303
|
/**
|
|
292
304
|
* 获取BE/FE节点角色
|
|
293
305
|
*/
|
|
@@ -309,13 +321,13 @@ export class Client extends AbstractClient {
|
|
|
309
321
|
}
|
|
310
322
|
|
|
311
323
|
/**
|
|
312
|
-
*
|
|
324
|
+
* 获取指定数据源和库下的表列表
|
|
313
325
|
*/
|
|
314
|
-
async
|
|
315
|
-
req:
|
|
316
|
-
cb?: (error: string, rep:
|
|
317
|
-
): Promise<
|
|
318
|
-
return this.request("
|
|
326
|
+
async DescribeTableList(
|
|
327
|
+
req: DescribeTableListRequest,
|
|
328
|
+
cb?: (error: string, rep: DescribeTableListResponse) => void
|
|
329
|
+
): Promise<DescribeTableListResponse> {
|
|
330
|
+
return this.request("DescribeTableList", req, cb)
|
|
319
331
|
}
|
|
320
332
|
|
|
321
333
|
/**
|
|
@@ -2588,6 +2588,24 @@ export interface DescribeUserBindWorkloadGroupRequest {
|
|
|
2588
2588
|
InstanceId?: string
|
|
2589
2589
|
}
|
|
2590
2590
|
|
|
2591
|
+
/**
|
|
2592
|
+
* ScaleUpInstance请求参数结构体
|
|
2593
|
+
*/
|
|
2594
|
+
export interface ScaleUpInstanceRequest {
|
|
2595
|
+
/**
|
|
2596
|
+
* 集群ID
|
|
2597
|
+
*/
|
|
2598
|
+
InstanceId: string
|
|
2599
|
+
/**
|
|
2600
|
+
* 节点规格
|
|
2601
|
+
*/
|
|
2602
|
+
SpecName: string
|
|
2603
|
+
/**
|
|
2604
|
+
* 角色(MATER/CORE),MASTER 对应 FE,CORE对应BE
|
|
2605
|
+
*/
|
|
2606
|
+
Type: string
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2591
2609
|
/**
|
|
2592
2610
|
* DescribeInstances请求参数结构体
|
|
2593
2611
|
*/
|
|
@@ -3043,6 +3061,32 @@ export interface DescribeBackUpJobDetailRequest {
|
|
|
3043
3061
|
BackUpJobId: number
|
|
3044
3062
|
}
|
|
3045
3063
|
|
|
3064
|
+
/**
|
|
3065
|
+
* DescribeTableList请求参数结构体
|
|
3066
|
+
*/
|
|
3067
|
+
export interface DescribeTableListRequest {
|
|
3068
|
+
/**
|
|
3069
|
+
* 资源ID,建表所用的TCHouse-D资源ID。
|
|
3070
|
+
*/
|
|
3071
|
+
InstanceId: string
|
|
3072
|
+
/**
|
|
3073
|
+
* 需要获取表列表的库
|
|
3074
|
+
*/
|
|
3075
|
+
DbName: string
|
|
3076
|
+
/**
|
|
3077
|
+
* 使用该用户进行操作,该用户需要有对应的权限。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
|
3078
|
+
*/
|
|
3079
|
+
UserName?: string
|
|
3080
|
+
/**
|
|
3081
|
+
* 用户对应的密码。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写
|
|
3082
|
+
*/
|
|
3083
|
+
PassWord?: string
|
|
3084
|
+
/**
|
|
3085
|
+
* 查询库所在的数据源,不填则默认为内部数据源(internal)。
|
|
3086
|
+
*/
|
|
3087
|
+
CatalogName?: string
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3046
3090
|
/**
|
|
3047
3091
|
* DescribeWorkloadGroup返回参数结构体
|
|
3048
3092
|
*/
|
|
@@ -3629,21 +3673,23 @@ export interface RecoverBackUpJobResponse {
|
|
|
3629
3673
|
}
|
|
3630
3674
|
|
|
3631
3675
|
/**
|
|
3632
|
-
*
|
|
3676
|
+
* DescribeTableList返回参数结构体
|
|
3633
3677
|
*/
|
|
3634
|
-
export interface
|
|
3678
|
+
export interface DescribeTableListResponse {
|
|
3635
3679
|
/**
|
|
3636
|
-
*
|
|
3680
|
+
* 表名列表
|
|
3681
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3637
3682
|
*/
|
|
3638
|
-
|
|
3683
|
+
TableNames?: Array<string>
|
|
3639
3684
|
/**
|
|
3640
|
-
*
|
|
3685
|
+
* 错误信息
|
|
3686
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3641
3687
|
*/
|
|
3642
|
-
|
|
3688
|
+
Message?: string
|
|
3643
3689
|
/**
|
|
3644
|
-
*
|
|
3690
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3645
3691
|
*/
|
|
3646
|
-
|
|
3692
|
+
RequestId?: string
|
|
3647
3693
|
}
|
|
3648
3694
|
|
|
3649
3695
|
/**
|
|
@@ -56,6 +56,7 @@ import {
|
|
|
56
56
|
DescribeMySqlProcessListResponse,
|
|
57
57
|
UpdateMonitorSwitchRequest,
|
|
58
58
|
SessionItem,
|
|
59
|
+
StatisticDataInfo,
|
|
59
60
|
HealthStatus,
|
|
60
61
|
DescribeTopSpaceTablesResponse,
|
|
61
62
|
TaskInfo,
|
|
@@ -133,6 +134,7 @@ import {
|
|
|
133
134
|
MySqlProcess,
|
|
134
135
|
DescribeDBDiagEventRequest,
|
|
135
136
|
DescribeNoPrimaryKeyTablesRequest,
|
|
137
|
+
StatDimension,
|
|
136
138
|
AlarmProfileList,
|
|
137
139
|
InstanceInfo,
|
|
138
140
|
TemplateInfo,
|
|
@@ -169,6 +171,7 @@ import {
|
|
|
169
171
|
VerifyUserAccountResponse,
|
|
170
172
|
DescribeSlowLogTimeSeriesStatsResponse,
|
|
171
173
|
DescribeProxyProcessStatisticsRequest,
|
|
174
|
+
StatisticInfo,
|
|
172
175
|
MonitorFloatMetric,
|
|
173
176
|
ModifyAlarmPolicyRequest,
|
|
174
177
|
DescribeRedisTopKeyPrefixListResponse,
|
|
@@ -1018,7 +1018,12 @@ export interface DescribeMySqlProcessListResponse {
|
|
|
1018
1018
|
/**
|
|
1019
1019
|
* 实时线程列表。
|
|
1020
1020
|
*/
|
|
1021
|
-
ProcessList
|
|
1021
|
+
ProcessList?: Array<MySqlProcess>
|
|
1022
|
+
/**
|
|
1023
|
+
* sql会话统计信息。
|
|
1024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1025
|
+
*/
|
|
1026
|
+
Statistics?: Array<StatisticInfo>
|
|
1022
1027
|
/**
|
|
1023
1028
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1024
1029
|
*/
|
|
@@ -1061,6 +1066,32 @@ export interface SessionItem {
|
|
|
1061
1066
|
AllConn: number
|
|
1062
1067
|
}
|
|
1063
1068
|
|
|
1069
|
+
/**
|
|
1070
|
+
* 统计分析维度下的统计数据详情
|
|
1071
|
+
*/
|
|
1072
|
+
export interface StatisticDataInfo {
|
|
1073
|
+
/**
|
|
1074
|
+
* 统计维度的值。
|
|
1075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1076
|
+
*/
|
|
1077
|
+
Name?: string
|
|
1078
|
+
/**
|
|
1079
|
+
* 平均时间。
|
|
1080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1081
|
+
*/
|
|
1082
|
+
TimeAvg?: number
|
|
1083
|
+
/**
|
|
1084
|
+
* 总时间。
|
|
1085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1086
|
+
*/
|
|
1087
|
+
TimeSum?: number
|
|
1088
|
+
/**
|
|
1089
|
+
* 数量。
|
|
1090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1091
|
+
*/
|
|
1092
|
+
Count?: number
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1064
1095
|
/**
|
|
1065
1096
|
* 实例健康详情。
|
|
1066
1097
|
*/
|
|
@@ -2745,6 +2776,25 @@ export interface DescribeNoPrimaryKeyTablesRequest {
|
|
|
2745
2776
|
Product?: string
|
|
2746
2777
|
}
|
|
2747
2778
|
|
|
2779
|
+
/**
|
|
2780
|
+
* 会话统计的维度信息,可以多个维度
|
|
2781
|
+
*/
|
|
2782
|
+
export interface StatDimension {
|
|
2783
|
+
/**
|
|
2784
|
+
* 维度名称,目前仅支持:SqlTag。
|
|
2785
|
+
*/
|
|
2786
|
+
Dimension: string
|
|
2787
|
+
/**
|
|
2788
|
+
* SQL 标签过滤与统计信息
|
|
2789
|
+
示例:
|
|
2790
|
+
|
|
2791
|
+
示例 1:[p=position] 统计包含 p=position 标签的 SQL 会话。
|
|
2792
|
+
示例 2:[p] 统计包含 p 标签的 SQL 会话。
|
|
2793
|
+
示例 3:[p=position, c=idCard] 统计同时包含 p=position 标签和 c=idCard 标签的 SQL 会话。
|
|
2794
|
+
*/
|
|
2795
|
+
Data?: Array<string>
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2748
2798
|
/**
|
|
2749
2799
|
* 通知模板
|
|
2750
2800
|
*/
|
|
@@ -3745,6 +3795,22 @@ export interface DescribeProxyProcessStatisticsRequest {
|
|
|
3745
3795
|
OrderDirection?: string
|
|
3746
3796
|
}
|
|
3747
3797
|
|
|
3798
|
+
/**
|
|
3799
|
+
* sql会话统计信息
|
|
3800
|
+
*/
|
|
3801
|
+
export interface StatisticInfo {
|
|
3802
|
+
/**
|
|
3803
|
+
* 统计分析的维度。
|
|
3804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3805
|
+
*/
|
|
3806
|
+
Dimension?: string
|
|
3807
|
+
/**
|
|
3808
|
+
* 统计分析的维度下的统计数据详情。
|
|
3809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3810
|
+
*/
|
|
3811
|
+
Data?: Array<StatisticDataInfo>
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3748
3814
|
/**
|
|
3749
3815
|
* 监控数据(浮点型)
|
|
3750
3816
|
*/
|
|
@@ -4539,6 +4605,10 @@ export interface DescribeMySqlProcessListRequest {
|
|
|
4539
4605
|
* 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
|
4540
4606
|
*/
|
|
4541
4607
|
Product?: string
|
|
4608
|
+
/**
|
|
4609
|
+
* 会话统计的维度信息,可以多个维度。
|
|
4610
|
+
*/
|
|
4611
|
+
StatDimensions?: Array<StatDimension>
|
|
4542
4612
|
}
|
|
4543
4613
|
|
|
4544
4614
|
/**
|
|
@@ -2977,6 +2977,10 @@ export interface OrganizationAuthUrl {
|
|
|
2977
2977
|
* 企业批量注册的错误信息,例如:企业三要素不通过
|
|
2978
2978
|
*/
|
|
2979
2979
|
ErrorMessage?: string
|
|
2980
|
+
/**
|
|
2981
|
+
* 企业批量注册的唯一 Id, 此 Id 可以用在[创建企业批量认证链接-单链接](https://qian.tencent.com/developers/companyApis/organizations/CreateBatchOrganizationAuthorizationUrl)。
|
|
2982
|
+
*/
|
|
2983
|
+
SubTaskId?: string
|
|
2980
2984
|
}
|
|
2981
2985
|
|
|
2982
2986
|
/**
|
|
@@ -842,14 +842,22 @@ Base64编码后的大小不超过8M,支持mp4、avi、flv格式。
|
|
|
842
842
|
视频时长最大支持20s,建议时长2~5s。
|
|
843
843
|
建议视频分辨率为480x640,帧率在25fps~30fps之间。
|
|
844
844
|
*/
|
|
845
|
-
FaceInput
|
|
845
|
+
FaceInput?: string
|
|
846
846
|
/**
|
|
847
847
|
* 传入的类型
|
|
848
848
|
1- 传入的是图片类型
|
|
849
849
|
2- 传入的是视频类型
|
|
850
850
|
其他 - 返回错误码InvalidParameter
|
|
851
851
|
*/
|
|
852
|
-
FaceInputType
|
|
852
|
+
FaceInputType?: number
|
|
853
|
+
/**
|
|
854
|
+
* 是否需要对请求信息进行全包体加密; 支持的加密算法:AES-256-CBC、SM4-GCM; 有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
855
|
+
*/
|
|
856
|
+
Encryption?: Encryption
|
|
857
|
+
/**
|
|
858
|
+
* 加密后的密文; 加密前的数据格式如下:{"FaceInput":"AAAAA","FaceInputType":1}
|
|
859
|
+
*/
|
|
860
|
+
EncryptedBody?: string
|
|
853
861
|
}
|
|
854
862
|
|
|
855
863
|
/**
|
|
@@ -102,7 +102,7 @@ export class Client extends AbstractClient {
|
|
|
102
102
|
* 腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
103
103
|
|
|
104
104
|
1. 本接口暂不支持返回图片内容。
|
|
105
|
-
2.
|
|
105
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
106
106
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
107
107
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
108
108
|
*/
|
|
@@ -86,7 +86,7 @@ export class Client extends AbstractClient {
|
|
|
86
86
|
|
|
87
87
|
### 接口功能说明:
|
|
88
88
|
- 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;
|
|
89
|
-
-
|
|
89
|
+
- 支持对长图进行拆分检测;
|
|
90
90
|
- 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;
|
|
91
91
|
- 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;
|
|
92
92
|
- 支持根据不同的业务场景配置自定义的审核策略;
|
|
@@ -32,7 +32,7 @@ export interface ImageModerationRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
FileContent?: string
|
|
34
34
|
/**
|
|
35
|
-
* 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过
|
|
35
|
+
* 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过30MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。<br>备注:该字段与FileContent必须选择输入其中一个。
|
|
36
36
|
*/
|
|
37
37
|
FileUrl?: string
|
|
38
38
|
/**
|
|
@@ -782,6 +782,18 @@ export interface CreateReconstructDocumentFlowConfig {
|
|
|
782
782
|
默认为1
|
|
783
783
|
*/
|
|
784
784
|
TableResultType?: string
|
|
785
|
+
/**
|
|
786
|
+
* 智能文档解析返回结果的格式
|
|
787
|
+
0:只返回全文MD;
|
|
788
|
+
1:只返回每一页的OCR原始Json;
|
|
789
|
+
2:只返回每一页的MD,
|
|
790
|
+
3:返回全文MD + 每一页的OCR原始Json;
|
|
791
|
+
4:返回全文MD + 每一页的MD,
|
|
792
|
+
默认值为3(返回全文MD + 每一页的OCR原始Json)
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
*/
|
|
796
|
+
ResultType?: string
|
|
785
797
|
}
|
|
786
798
|
|
|
787
799
|
/**
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
DatabaseTupleStatus,
|
|
32
32
|
DescribeDatabasesNormalRequest,
|
|
33
33
|
DescribeInquiryPriceParameterResponse,
|
|
34
|
+
ModifyDatabasePrivilegeRequest,
|
|
34
35
|
DescribeCollationTimeZoneResponse,
|
|
35
36
|
CreateBusinessIntelligenceFileResponse,
|
|
36
37
|
ParamRecord,
|
|
@@ -80,6 +81,7 @@ import {
|
|
|
80
81
|
ModifyDBInstanceRenewFlagRequest,
|
|
81
82
|
DescribeUpgradeInstanceCheckResponse,
|
|
82
83
|
DescribeRestoreTimeRangeResponse,
|
|
84
|
+
ModifyDatabasePrivilegeResponse,
|
|
83
85
|
CreateIncrementalMigrationResponse,
|
|
84
86
|
DescribeZonesResponse,
|
|
85
87
|
UpgradeDBInstanceRequest,
|
|
@@ -210,7 +212,7 @@ import {
|
|
|
210
212
|
ModifyBackupMigrationRequest,
|
|
211
213
|
CloneDBResponse,
|
|
212
214
|
CreateBasicDBInstancesResponse,
|
|
213
|
-
|
|
215
|
+
DataBasePrivilegeModifyInfo,
|
|
214
216
|
DescribeMaintenanceSpanResponse,
|
|
215
217
|
DatabaseTuple,
|
|
216
218
|
CreateCloudDBInstancesResponse,
|
|
@@ -279,6 +281,7 @@ import {
|
|
|
279
281
|
MigrationStep,
|
|
280
282
|
RenewPostpaidDBInstanceRequest,
|
|
281
283
|
DescribeMigrationDetailRequest,
|
|
284
|
+
SelectAllDB,
|
|
282
285
|
DescribeReadOnlyGroupDetailsRequest,
|
|
283
286
|
CreateDBInstancesRequest,
|
|
284
287
|
ModifyCrossBackupStrategyRequest,
|
|
@@ -319,7 +322,6 @@ import {
|
|
|
319
322
|
ModifyDatabaseShrinkMDFResponse,
|
|
320
323
|
DescribeDatabaseNamesResponse,
|
|
321
324
|
RecycleReadOnlyGroupResponse,
|
|
322
|
-
DescribeDBPrivilegeByAccountRequest,
|
|
323
325
|
DescribeHASwitchLogRequest,
|
|
324
326
|
SlowlogInfo,
|
|
325
327
|
DescribeMigrationsResponse,
|
|
@@ -331,6 +333,7 @@ import {
|
|
|
331
333
|
DealInstance,
|
|
332
334
|
DescribeBackupUploadSizeResponse,
|
|
333
335
|
DescribeUploadIncrementalInfoRequest,
|
|
336
|
+
DescribeAccountsRequest,
|
|
334
337
|
DescribeBackupByFlowIdResponse,
|
|
335
338
|
DescribeRegionsRequest,
|
|
336
339
|
AccountPrivilege,
|
|
@@ -342,10 +345,11 @@ import {
|
|
|
342
345
|
RemoveBackupsResponse,
|
|
343
346
|
ModifyCloseWanIpResponse,
|
|
344
347
|
ModifyDBInstanceSecurityGroupsResponse,
|
|
345
|
-
|
|
348
|
+
DescribeDBPrivilegeByAccountRequest,
|
|
346
349
|
ReadOnlyInstance,
|
|
347
350
|
MigrateDetail,
|
|
348
351
|
DescribeBackupMigrationRequest,
|
|
352
|
+
SecurityGroup,
|
|
349
353
|
InstanceDBDetail,
|
|
350
354
|
BalanceReadOnlyGroupRequest,
|
|
351
355
|
ModifyInstanceParamResponse,
|
|
@@ -978,6 +982,16 @@ export class Client extends AbstractClient {
|
|
|
978
982
|
return this.request("DescribeInstanceParams", req, cb)
|
|
979
983
|
}
|
|
980
984
|
|
|
985
|
+
/**
|
|
986
|
+
* 本接口(ModifyDatabasePrivilege)用于修改实例数据库权限。
|
|
987
|
+
*/
|
|
988
|
+
async ModifyDatabasePrivilege(
|
|
989
|
+
req: ModifyDatabasePrivilegeRequest,
|
|
990
|
+
cb?: (error: string, rep: ModifyDatabasePrivilegeResponse) => void
|
|
991
|
+
): Promise<ModifyDatabasePrivilegeResponse> {
|
|
992
|
+
return this.request("ModifyDatabasePrivilege", req, cb)
|
|
993
|
+
}
|
|
994
|
+
|
|
981
995
|
/**
|
|
982
996
|
* 本接口(ModifyCloseWanIp)用于关闭实例外网。
|
|
983
997
|
*/
|