tencentcloud-sdk-nodejs 4.0.786 → 4.0.787
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 +203 -0
- package/SERVICE_CHANGELOG.md +327 -83
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/cfs/v20190719/cfs_models.ts +44 -37
- package/src/services/facefusion/v20181201/facefusion_client.ts +2 -16
- package/src/services/facefusion/v20181201/facefusion_models.ts +37 -86
- package/src/services/iotvideo/v20211125/iotvideo_client.ts +12 -0
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +32 -0
- package/src/services/partners/v20180321/partners_models.ts +11 -6
- package/src/services/rum/v20210622/rum_client.ts +8 -69
- package/src/services/rum/v20210622/rum_models.ts +85 -292
- package/src/services/tcb/v20180608/tcb_models.ts +79 -43
- package/src/services/tke/index.ts +2 -0
- package/src/services/tke/v20220501/index.ts +6 -0
- package/src/services/tke/v20220501/tke_client.ts +77 -0
- package/src/services/tke/v20220501/tke_models.ts +795 -0
- package/src/services/trocket/v20230308/trocket_models.ts +1 -1
- package/src/services/tse/v20201207/tse_client.ts +2 -2
- package/src/services/ump/v20200918/ump_client.ts +62 -30
- package/src/services/vod/v20180717/vod_client.ts +3 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +44 -37
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.d.ts +1 -7
- package/tencentcloud/services/facefusion/v20181201/facefusion_client.js +0 -8
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +37 -84
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +5 -1
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +6 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +30 -0
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +11 -6
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +3 -31
- package/tencentcloud/services/rum/v20210622/rum_client.js +3 -39
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +85 -283
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +79 -43
- package/tencentcloud/services/tke/index.d.ts +4 -0
- package/tencentcloud/services/tke/index.js +2 -0
- package/tencentcloud/services/tke/v20220501/index.d.ts +6 -0
- package/tencentcloud/services/tke/v20220501/index.js +9 -0
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +18 -0
- package/tencentcloud/services/tke/v20220501/tke_client.js +43 -0
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +753 -0
- package/tencentcloud/services/tke/v20220501/tke_models.js +18 -0
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +1 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.js +2 -2
- package/tencentcloud/services/ump/v20200918/ump_client.d.ts +48 -16
- package/tencentcloud/services/ump/v20200918/ump_client.js +48 -16
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -0
- package/tencentcloud/services/vod/v20180717/vod_client.js +1 -0
- package/test/facefusion.v20181201.test.js +0 -10
- package/test/iotvideo.v20211125.test.js +10 -0
- package/test/rum.v20210622.test.js +2 -42
- package/test/tke.v20220501.test.js +41 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -204,7 +204,7 @@ export declare class Client extends AbstractClient {
|
|
|
204
204
|
*/
|
|
205
205
|
DeleteCloudNativeAPIGateway(req: DeleteCloudNativeAPIGatewayRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayResponse) => void): Promise<DeleteCloudNativeAPIGatewayResponse>;
|
|
206
206
|
/**
|
|
207
|
-
* 修改云原生API
|
|
207
|
+
* 修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
208
208
|
*/
|
|
209
209
|
ModifyNetworkBasicInfo(req: ModifyNetworkBasicInfoRequest, cb?: (error: string, rep: ModifyNetworkBasicInfoResponse) => void): Promise<ModifyNetworkBasicInfoResponse>;
|
|
210
210
|
/**
|
|
@@ -260,7 +260,7 @@ export declare class Client extends AbstractClient {
|
|
|
260
260
|
*/
|
|
261
261
|
DescribeCloudNativeAPIGatewayCanaryRules(req: DescribeCloudNativeAPIGatewayCanaryRulesRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayCanaryRulesResponse) => void): Promise<DescribeCloudNativeAPIGatewayCanaryRulesResponse>;
|
|
262
262
|
/**
|
|
263
|
-
* 修改云原生API
|
|
263
|
+
* 修改云原生API网关实例的节点规格信息,例如节点扩缩容或者升降配
|
|
264
264
|
*/
|
|
265
265
|
UpdateCloudNativeAPIGatewaySpec(req: UpdateCloudNativeAPIGatewaySpecRequest, cb?: (error: string, rep: UpdateCloudNativeAPIGatewaySpecResponse) => void): Promise<UpdateCloudNativeAPIGatewaySpecResponse>;
|
|
266
266
|
/**
|
|
@@ -322,7 +322,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
322
322
|
return this.request("DeleteCloudNativeAPIGateway", req, cb);
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
|
-
* 修改云原生API
|
|
325
|
+
* 修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
|
|
326
326
|
*/
|
|
327
327
|
async ModifyNetworkBasicInfo(req, cb) {
|
|
328
328
|
return this.request("ModifyNetworkBasicInfo", req, cb);
|
|
@@ -406,7 +406,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
406
406
|
return this.request("DescribeCloudNativeAPIGatewayCanaryRules", req, cb);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
* 修改云原生API
|
|
409
|
+
* 修改云原生API网关实例的节点规格信息,例如节点扩缩容或者升降配
|
|
410
410
|
*/
|
|
411
411
|
async UpdateCloudNativeAPIGatewaySpec(req, cb) {
|
|
412
412
|
return this.request("UpdateCloudNativeAPIGatewaySpec", req, cb);
|
|
@@ -8,71 +8,103 @@ import { ModifyMultiBizConfigResponse, CreateMultiBizAlertResponse, CreateServer
|
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* 优mall产品启动下线流程
|
|
12
|
+
|
|
13
|
+
上报服务注册自身的服务地址作为回调地址, 用于信息回传。
|
|
12
14
|
*/
|
|
13
15
|
ReportServiceRegister(req: ReportServiceRegisterRequest, cb?: (error: string, rep: ReportServiceRegisterResponse) => void): Promise<ReportServiceRegisterResponse>;
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
17
|
+
* 优mall产品启动下线流程
|
|
18
|
+
|
|
19
|
+
集团广场的多经点位配置更新
|
|
16
20
|
*/
|
|
17
21
|
ModifyMultiBizConfig(req: ModifyMultiBizConfigRequest, cb?: (error: string, rep: ModifyMultiBizConfigResponse) => void): Promise<ModifyMultiBizConfigResponse>;
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
23
|
+
* 优mall产品启动下线流程
|
|
24
|
+
|
|
25
|
+
上报相机移动、遮挡等告警信息
|
|
20
26
|
|
|
21
27
|
|
|
22
28
|
*/
|
|
23
29
|
CreateCameraAlerts(req: CreateCameraAlertsRequest, cb?: (error: string, rep: CreateCameraAlertsResponse) => void): Promise<CreateCameraAlertsResponse>;
|
|
24
30
|
/**
|
|
25
|
-
*
|
|
31
|
+
* 优mall产品启动下线流程
|
|
32
|
+
|
|
33
|
+
获取摄像头配置信息
|
|
26
34
|
mac不为空返回指定相机配置
|
|
27
35
|
mac为空返回对应GroupCode和MallId全量配置
|
|
28
36
|
*/
|
|
29
37
|
DescribeConfig(req: DescribeConfigRequest, cb?: (error: string, rep: DescribeConfigResponse) => void): Promise<DescribeConfigResponse>;
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* 优mall产品启动下线流程
|
|
40
|
+
|
|
41
|
+
实时获取底图接口
|
|
32
42
|
*/
|
|
33
43
|
DescribeImage(req: DescribeImageRequest, cb?: (error: string, rep: DescribeImageResponse) => void): Promise<DescribeImageResponse>;
|
|
34
44
|
/**
|
|
35
|
-
*
|
|
45
|
+
* 优mall产品启动下线流程
|
|
46
|
+
|
|
47
|
+
集团广场的多经点位消警
|
|
36
48
|
*/
|
|
37
49
|
DeleteMultiBizAlert(req: DeleteMultiBizAlertRequest, cb?: (error: string, rep: DeleteMultiBizAlertResponse) => void): Promise<DeleteMultiBizAlertResponse>;
|
|
38
50
|
/**
|
|
39
|
-
*
|
|
51
|
+
* 优mall产品启动下线流程
|
|
52
|
+
|
|
53
|
+
获取集团广场对应的摄像头列表
|
|
40
54
|
*/
|
|
41
55
|
DescribeCameras(req: DescribeCamerasRequest, cb?: (error: string, rep: DescribeCamerasResponse) => void): Promise<DescribeCamerasResponse>;
|
|
42
56
|
/**
|
|
43
|
-
*
|
|
57
|
+
* 优mall产品启动下线流程
|
|
58
|
+
|
|
59
|
+
获取集团广场的点位列表
|
|
44
60
|
*/
|
|
45
61
|
DescribeZones(req: DescribeZonesRequest, cb?: (error: string, rep: DescribeZonesResponse) => void): Promise<DescribeZonesResponse>;
|
|
46
62
|
/**
|
|
47
|
-
*
|
|
63
|
+
* 优mall产品启动下线流程
|
|
64
|
+
|
|
65
|
+
删除集团广场对应的任务
|
|
48
66
|
*/
|
|
49
67
|
DeleteTask(req: DeleteTaskRequest, cb?: (error: string, rep: DeleteTaskResponse) => void): Promise<DeleteTaskResponse>;
|
|
50
68
|
/**
|
|
51
|
-
*
|
|
69
|
+
* 优mall产品启动下线流程
|
|
70
|
+
|
|
71
|
+
上报所有进程监控信息
|
|
52
72
|
*/
|
|
53
73
|
CreateProgramState(req: CreateProgramStateRequest, cb?: (error: string, rep: CreateProgramStateResponse) => void): Promise<CreateProgramStateResponse>;
|
|
54
74
|
/**
|
|
55
|
-
*
|
|
75
|
+
* 优mall产品启动下线流程
|
|
76
|
+
|
|
77
|
+
查询集团广场对应的任务列表
|
|
56
78
|
*/
|
|
57
79
|
DescribeTasks(req: DescribeTasksRequest, cb?: (error: string, rep: DescribeTasksResponse) => void): Promise<DescribeTasksResponse>;
|
|
58
80
|
/**
|
|
59
|
-
*
|
|
81
|
+
* 优mall产品启动下线流程
|
|
82
|
+
|
|
83
|
+
集团广场的多经点位告警
|
|
60
84
|
*/
|
|
61
85
|
CreateMultiBizAlert(req: CreateMultiBizAlertRequest, cb?: (error: string, rep: CreateMultiBizAlertResponse) => void): Promise<CreateMultiBizAlertResponse>;
|
|
62
86
|
/**
|
|
63
|
-
*
|
|
87
|
+
* 优mall产品启动下线流程
|
|
88
|
+
|
|
89
|
+
以图搜图
|
|
64
90
|
*/
|
|
65
91
|
SearchImage(req: SearchImageRequest, cb?: (error: string, rep: SearchImageResponse) => void): Promise<SearchImageResponse>;
|
|
66
92
|
/**
|
|
67
|
-
*
|
|
93
|
+
* 优mall产品启动下线流程
|
|
94
|
+
|
|
95
|
+
上报所有服务器硬件监控信息
|
|
68
96
|
*/
|
|
69
97
|
CreateServerState(req: CreateServerStateRequest, cb?: (error: string, rep: CreateServerStateResponse) => void): Promise<CreateServerStateResponse>;
|
|
70
98
|
/**
|
|
71
|
-
*
|
|
99
|
+
* 优mall产品启动下线流程
|
|
100
|
+
|
|
101
|
+
获取多经点位底图
|
|
72
102
|
*/
|
|
73
103
|
DescribeMultiBizBaseImage(req: DescribeMultiBizBaseImageRequest, cb?: (error: string, rep: DescribeMultiBizBaseImageResponse) => void): Promise<DescribeMultiBizBaseImageResponse>;
|
|
74
104
|
/**
|
|
75
|
-
*
|
|
105
|
+
* 优mall产品启动下线流程
|
|
106
|
+
|
|
107
|
+
上报当前场内所有相机的当前状态
|
|
76
108
|
*/
|
|
77
109
|
CreateCameraState(req: CreateCameraStateRequest, cb?: (error: string, rep: CreateCameraStateResponse) => void): Promise<CreateCameraStateResponse>;
|
|
78
110
|
/**
|
|
@@ -28,19 +28,25 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("ump.tencentcloudapi.com", "2020-09-18", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 优mall产品启动下线流程
|
|
32
|
+
|
|
33
|
+
上报服务注册自身的服务地址作为回调地址, 用于信息回传。
|
|
32
34
|
*/
|
|
33
35
|
async ReportServiceRegister(req, cb) {
|
|
34
36
|
return this.request("ReportServiceRegister", req, cb);
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
|
-
*
|
|
39
|
+
* 优mall产品启动下线流程
|
|
40
|
+
|
|
41
|
+
集团广场的多经点位配置更新
|
|
38
42
|
*/
|
|
39
43
|
async ModifyMultiBizConfig(req, cb) {
|
|
40
44
|
return this.request("ModifyMultiBizConfig", req, cb);
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* 优mall产品启动下线流程
|
|
48
|
+
|
|
49
|
+
上报相机移动、遮挡等告警信息
|
|
44
50
|
|
|
45
51
|
|
|
46
52
|
*/
|
|
@@ -48,7 +54,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
48
54
|
return this.request("CreateCameraAlerts", req, cb);
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
|
-
*
|
|
57
|
+
* 优mall产品启动下线流程
|
|
58
|
+
|
|
59
|
+
获取摄像头配置信息
|
|
52
60
|
mac不为空返回指定相机配置
|
|
53
61
|
mac为空返回对应GroupCode和MallId全量配置
|
|
54
62
|
*/
|
|
@@ -56,73 +64,97 @@ mac为空返回对应GroupCode和MallId全量配置
|
|
|
56
64
|
return this.request("DescribeConfig", req, cb);
|
|
57
65
|
}
|
|
58
66
|
/**
|
|
59
|
-
*
|
|
67
|
+
* 优mall产品启动下线流程
|
|
68
|
+
|
|
69
|
+
实时获取底图接口
|
|
60
70
|
*/
|
|
61
71
|
async DescribeImage(req, cb) {
|
|
62
72
|
return this.request("DescribeImage", req, cb);
|
|
63
73
|
}
|
|
64
74
|
/**
|
|
65
|
-
*
|
|
75
|
+
* 优mall产品启动下线流程
|
|
76
|
+
|
|
77
|
+
集团广场的多经点位消警
|
|
66
78
|
*/
|
|
67
79
|
async DeleteMultiBizAlert(req, cb) {
|
|
68
80
|
return this.request("DeleteMultiBizAlert", req, cb);
|
|
69
81
|
}
|
|
70
82
|
/**
|
|
71
|
-
*
|
|
83
|
+
* 优mall产品启动下线流程
|
|
84
|
+
|
|
85
|
+
获取集团广场对应的摄像头列表
|
|
72
86
|
*/
|
|
73
87
|
async DescribeCameras(req, cb) {
|
|
74
88
|
return this.request("DescribeCameras", req, cb);
|
|
75
89
|
}
|
|
76
90
|
/**
|
|
77
|
-
*
|
|
91
|
+
* 优mall产品启动下线流程
|
|
92
|
+
|
|
93
|
+
获取集团广场的点位列表
|
|
78
94
|
*/
|
|
79
95
|
async DescribeZones(req, cb) {
|
|
80
96
|
return this.request("DescribeZones", req, cb);
|
|
81
97
|
}
|
|
82
98
|
/**
|
|
83
|
-
*
|
|
99
|
+
* 优mall产品启动下线流程
|
|
100
|
+
|
|
101
|
+
删除集团广场对应的任务
|
|
84
102
|
*/
|
|
85
103
|
async DeleteTask(req, cb) {
|
|
86
104
|
return this.request("DeleteTask", req, cb);
|
|
87
105
|
}
|
|
88
106
|
/**
|
|
89
|
-
*
|
|
107
|
+
* 优mall产品启动下线流程
|
|
108
|
+
|
|
109
|
+
上报所有进程监控信息
|
|
90
110
|
*/
|
|
91
111
|
async CreateProgramState(req, cb) {
|
|
92
112
|
return this.request("CreateProgramState", req, cb);
|
|
93
113
|
}
|
|
94
114
|
/**
|
|
95
|
-
*
|
|
115
|
+
* 优mall产品启动下线流程
|
|
116
|
+
|
|
117
|
+
查询集团广场对应的任务列表
|
|
96
118
|
*/
|
|
97
119
|
async DescribeTasks(req, cb) {
|
|
98
120
|
return this.request("DescribeTasks", req, cb);
|
|
99
121
|
}
|
|
100
122
|
/**
|
|
101
|
-
*
|
|
123
|
+
* 优mall产品启动下线流程
|
|
124
|
+
|
|
125
|
+
集团广场的多经点位告警
|
|
102
126
|
*/
|
|
103
127
|
async CreateMultiBizAlert(req, cb) {
|
|
104
128
|
return this.request("CreateMultiBizAlert", req, cb);
|
|
105
129
|
}
|
|
106
130
|
/**
|
|
107
|
-
*
|
|
131
|
+
* 优mall产品启动下线流程
|
|
132
|
+
|
|
133
|
+
以图搜图
|
|
108
134
|
*/
|
|
109
135
|
async SearchImage(req, cb) {
|
|
110
136
|
return this.request("SearchImage", req, cb);
|
|
111
137
|
}
|
|
112
138
|
/**
|
|
113
|
-
*
|
|
139
|
+
* 优mall产品启动下线流程
|
|
140
|
+
|
|
141
|
+
上报所有服务器硬件监控信息
|
|
114
142
|
*/
|
|
115
143
|
async CreateServerState(req, cb) {
|
|
116
144
|
return this.request("CreateServerState", req, cb);
|
|
117
145
|
}
|
|
118
146
|
/**
|
|
119
|
-
*
|
|
147
|
+
* 优mall产品启动下线流程
|
|
148
|
+
|
|
149
|
+
获取多经点位底图
|
|
120
150
|
*/
|
|
121
151
|
async DescribeMultiBizBaseImage(req, cb) {
|
|
122
152
|
return this.request("DescribeMultiBizBaseImage", req, cb);
|
|
123
153
|
}
|
|
124
154
|
/**
|
|
125
|
-
*
|
|
155
|
+
* 优mall产品启动下线流程
|
|
156
|
+
|
|
157
|
+
上报当前场内所有相机的当前状态
|
|
126
158
|
*/
|
|
127
159
|
async CreateCameraState(req, cb) {
|
|
128
160
|
return this.request("CreateCameraState", req, cb);
|
|
@@ -55,6 +55,7 @@ export declare class Client extends AbstractClient {
|
|
|
55
55
|
EditMedia(req: EditMediaRequest, cb?: (error: string, rep: EditMediaResponse) => void): Promise<EditMediaResponse>;
|
|
56
56
|
/**
|
|
57
57
|
* 修改即时转码模板。
|
|
58
|
+
- 注意:即时转码模板创建后,不推荐修改,如需修改参数,推荐使用新增模板。
|
|
58
59
|
*/
|
|
59
60
|
ModifyJustInTimeTranscodeTemplate(req: ModifyJustInTimeTranscodeTemplateRequest, cb?: (error: string, rep: ModifyJustInTimeTranscodeTemplateResponse) => void): Promise<ModifyJustInTimeTranscodeTemplateResponse>;
|
|
60
61
|
/**
|
|
@@ -48,14 +48,4 @@ it("facefusion.v20181201.FuseFace", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("facefusion.v20181201.FaceFusionLite", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.FaceFusionLite({})
|
|
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
51
|
})
|
|
@@ -528,6 +528,16 @@ it("iotvideo.v20211125.DescribeCloudStorageThumbnail", async function () {
|
|
|
528
528
|
}
|
|
529
529
|
})
|
|
530
530
|
|
|
531
|
+
it("iotvideo.v20211125.DescribeCloudStorageMultiThumbnail", async function () {
|
|
532
|
+
try {
|
|
533
|
+
const data = await client.DescribeCloudStorageMultiThumbnail({})
|
|
534
|
+
expect(data).to.be.ok
|
|
535
|
+
} catch(error) {
|
|
536
|
+
expect(error.requestId).to.be.ok
|
|
537
|
+
expect(error.code).to.be.ok
|
|
538
|
+
}
|
|
539
|
+
})
|
|
540
|
+
|
|
531
541
|
it("iotvideo.v20211125.DeleteFirmware", async function () {
|
|
532
542
|
try {
|
|
533
543
|
const data = await client.DeleteFirmware({})
|
|
@@ -188,9 +188,9 @@ it("rum.v20210622.DescribeRumGroupLog", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
-
it("rum.v20210622.
|
|
191
|
+
it("rum.v20210622.StopProject", async function () {
|
|
192
192
|
try {
|
|
193
|
-
const data = await client.
|
|
193
|
+
const data = await client.StopProject({})
|
|
194
194
|
expect(data).to.be.ok
|
|
195
195
|
} catch(error) {
|
|
196
196
|
expect(error.requestId).to.be.ok
|
|
@@ -218,16 +218,6 @@ it("rum.v20210622.DescribePvList", async function () {
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
it("rum.v20210622.DescribeLogExports", async function () {
|
|
222
|
-
try {
|
|
223
|
-
const data = await client.DescribeLogExports({})
|
|
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
221
|
it("rum.v20210622.DescribeDataWebVitalsPage", async function () {
|
|
232
222
|
try {
|
|
233
223
|
const data = await client.DescribeDataWebVitalsPage({})
|
|
@@ -288,16 +278,6 @@ it("rum.v20210622.DescribeAppMetricsData", async function () {
|
|
|
288
278
|
}
|
|
289
279
|
})
|
|
290
280
|
|
|
291
|
-
it("rum.v20210622.CreateLogExport", async function () {
|
|
292
|
-
try {
|
|
293
|
-
const data = await client.CreateLogExport({})
|
|
294
|
-
expect(data).to.be.ok
|
|
295
|
-
} catch(error) {
|
|
296
|
-
expect(error.requestId).to.be.ok
|
|
297
|
-
expect(error.code).to.be.ok
|
|
298
|
-
}
|
|
299
|
-
})
|
|
300
|
-
|
|
301
281
|
it("rum.v20210622.DescribeDataSetUrlStatistics", async function () {
|
|
302
282
|
try {
|
|
303
283
|
const data = await client.DescribeDataSetUrlStatistics({})
|
|
@@ -388,16 +368,6 @@ it("rum.v20210622.ResumeProject", async function () {
|
|
|
388
368
|
}
|
|
389
369
|
})
|
|
390
370
|
|
|
391
|
-
it("rum.v20210622.StopProject", async function () {
|
|
392
|
-
try {
|
|
393
|
-
const data = await client.StopProject({})
|
|
394
|
-
expect(data).to.be.ok
|
|
395
|
-
} catch(error) {
|
|
396
|
-
expect(error.requestId).to.be.ok
|
|
397
|
-
expect(error.code).to.be.ok
|
|
398
|
-
}
|
|
399
|
-
})
|
|
400
|
-
|
|
401
371
|
it("rum.v20210622.CreateStarProject", async function () {
|
|
402
372
|
try {
|
|
403
373
|
const data = await client.CreateStarProject({})
|
|
@@ -458,16 +428,6 @@ it("rum.v20210622.DescribeReleaseFiles", async function () {
|
|
|
458
428
|
}
|
|
459
429
|
})
|
|
460
430
|
|
|
461
|
-
it("rum.v20210622.DeleteLogExport", async function () {
|
|
462
|
-
try {
|
|
463
|
-
const data = await client.DeleteLogExport({})
|
|
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
|
-
|
|
471
431
|
it("rum.v20210622.DescribeWhitelists", async function () {
|
|
472
432
|
try {
|
|
473
433
|
const data = await client.DescribeWhitelists({})
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tke.v20220501.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("tke.v20220501.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tke.v20220501.DescribeClusterInstances", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeClusterInstances({})
|
|
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("tke.v20220501.DescribeNodePools", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeNodePools({})
|
|
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
|
+
})
|