tencentcloud-sdk-nodejs 4.0.408 → 4.0.411
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 +404 -0
- package/SERVICE_CHANGELOG.md +365 -14
- package/package.json +1 -1
- package/products.md +31 -31
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apm/v20210622/apm_models.ts +16 -0
- package/src/services/bda/v20200324/bda_models.ts +12 -0
- package/src/services/car/v20220110/car_models.ts +7 -0
- package/src/services/cat/v20180409/cat_models.ts +1 -5
- package/src/services/cbs/v20170312/cbs_models.ts +33 -21
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +9 -36
- package/src/services/cpdp/v20190820/cpdp_models.ts +19 -260
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_models.ts +5 -0
- package/src/services/es/v20180416/es_models.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +17 -2
- package/src/services/ess/v20201111/ess_models.ts +113 -13
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +63 -0
- package/src/services/faceid/v20180301/faceid_models.ts +19 -3
- package/src/services/gaap/v20180529/gaap_models.ts +1 -1
- package/src/services/iai/v20200303/iai_models.ts +1 -1
- package/src/services/ic/v20190307/ic_client.ts +23 -10
- package/src/services/ic/v20190307/ic_models.ts +294 -168
- package/src/services/kms/v20190118/kms_models.ts +13 -13
- package/src/services/live/v20180801/live_client.ts +30 -4
- package/src/services/live/v20180801/live_models.ts +252 -142
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/rce/v20201103/rce_client.ts +13 -28
- package/src/services/rce/v20201103/rce_models.ts +322 -403
- package/src/services/tcr/v20190924/tcr_models.ts +2 -2
- package/src/services/tem/v20210701/tem_client.ts +197 -22
- package/src/services/tem/v20210701/tem_models.ts +1091 -182
- package/src/services/teo/v20220106/teo_models.ts +22 -7
- package/src/services/tiia/v20190529/tiia_client.ts +2 -2
- package/src/services/tiia/v20190529/tiia_models.ts +28 -20
- package/src/services/trtc/v20190722/trtc_models.ts +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +13 -0
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +10 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +6 -0
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -5
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +27 -17
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +4 -12
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +4 -16
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +16 -218
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +4 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +98 -13
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +63 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +16 -3
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
- package/tencentcloud/services/ic/v20190307/ic_client.d.ts +5 -1
- package/tencentcloud/services/ic/v20190307/ic_client.js +6 -0
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +254 -148
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +13 -13
- package/tencentcloud/services/live/v20180801/live_client.d.ts +10 -1
- package/tencentcloud/services/live/v20180801/live_client.js +13 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +219 -124
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/rce/v20201103/rce_client.d.ts +1 -5
- package/tencentcloud/services/rce/v20201103/rce_client.js +0 -6
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +270 -340
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +2 -2
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +63 -7
- package/tencentcloud/services/tem/v20210701/tem_client.js +92 -8
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +930 -159
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +20 -7
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +2 -2
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +2 -2
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +26 -18
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -3
- package/test/cpdp.v20190820.test.js +2 -22
- package/test/ess.v20201111.test.js +10 -0
- package/test/ic.v20190307.test.js +10 -0
- package/test/live.v20180801.test.js +20 -0
- package/test/rce.v20201103.test.js +0 -10
- package/test/tem.v20210701.test.js +144 -4
|
@@ -8,6 +8,11 @@ on:开启
|
|
|
8
8
|
off:关闭
|
|
9
9
|
*/
|
|
10
10
|
Switch: string;
|
|
11
|
+
/**
|
|
12
|
+
* 支持的压缩算法列表
|
|
13
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14
|
+
*/
|
|
15
|
+
Algorithms?: Array<string>;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* web攻击日志Data
|
|
@@ -2072,7 +2077,7 @@ export interface WafConfig {
|
|
|
2072
2077
|
*/
|
|
2073
2078
|
Mode: string;
|
|
2074
2079
|
/**
|
|
2075
|
-
*
|
|
2080
|
+
* 托管规则黑白名单
|
|
2076
2081
|
*/
|
|
2077
2082
|
WafRules: WafRule;
|
|
2078
2083
|
/**
|
|
@@ -2321,7 +2326,10 @@ export interface OriginRecord {
|
|
|
2321
2326
|
/**
|
|
2322
2327
|
* 当源站配置类型Type=weight时,表示权重
|
|
2323
2328
|
取值范围为[1-100]
|
|
2324
|
-
源站组内多个源站权重总和应为100
|
|
2329
|
+
源站组内多个源站权重总和应为100。
|
|
2330
|
+
当源站配置类型Type=proto,表示权重
|
|
2331
|
+
取值范围为[1-100]
|
|
2332
|
+
源站组内Proto相同的多个源站权重总和应为100。
|
|
2325
2333
|
*/
|
|
2326
2334
|
Weight: number;
|
|
2327
2335
|
/**
|
|
@@ -2344,6 +2352,11 @@ export interface OriginRecord {
|
|
|
2344
2352
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2345
2353
|
*/
|
|
2346
2354
|
PrivateParameter?: Array<OriginRecordPrivateParameter>;
|
|
2355
|
+
/**
|
|
2356
|
+
* 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
|
|
2357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2358
|
+
*/
|
|
2359
|
+
Proto?: string;
|
|
2347
2360
|
}
|
|
2348
2361
|
/**
|
|
2349
2362
|
* web攻击日志
|
|
@@ -3279,15 +3292,15 @@ export interface CreatePrefetchTaskResponse {
|
|
|
3279
3292
|
*/
|
|
3280
3293
|
export interface WafRule {
|
|
3281
3294
|
/**
|
|
3282
|
-
*
|
|
3295
|
+
* 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
|
|
3283
3296
|
*/
|
|
3284
3297
|
BlockRuleIDs: Array<number>;
|
|
3285
3298
|
/**
|
|
3286
|
-
*
|
|
3299
|
+
* 托管规则 开关
|
|
3287
3300
|
*/
|
|
3288
3301
|
Switch: string;
|
|
3289
3302
|
/**
|
|
3290
|
-
*
|
|
3303
|
+
* 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
|
|
3291
3304
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3292
3305
|
*/
|
|
3293
3306
|
ObserveRuleIDs?: Array<number>;
|
|
@@ -5537,7 +5550,7 @@ export interface DeleteZoneRequest {
|
|
|
5537
5550
|
Id: string;
|
|
5538
5551
|
}
|
|
5539
5552
|
/**
|
|
5540
|
-
* Bot
|
|
5553
|
+
* Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
|
|
5541
5554
|
*/
|
|
5542
5555
|
export interface BotManagedRule {
|
|
5543
5556
|
/**
|
|
@@ -6223,7 +6236,7 @@ export interface DdosAllowBlock {
|
|
|
6223
6236
|
*/
|
|
6224
6237
|
export interface DDoSGeoIp {
|
|
6225
6238
|
/**
|
|
6226
|
-
*
|
|
6239
|
+
* 地域信息,ID参考接口DescribeSecurityPolicyRegions
|
|
6227
6240
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6228
6241
|
*/
|
|
6229
6242
|
RegionId?: Array<number>;
|
|
@@ -12,10 +12,10 @@ export declare class Client extends AbstractClient {
|
|
|
12
12
|
*/
|
|
13
13
|
CreateImage(req: CreateImageRequest, cb?: (error: string, rep: CreateImageResponse) => void): Promise<CreateImageResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等,广泛应用于拍照识物、场景分析、内容推荐与审核、智能相册分类等场景。
|
|
16
16
|
|
|
17
17
|
>?
|
|
18
|
-
-
|
|
18
|
+
- **通用图像标签**接口在原图像标签接口(旧版接口)的基础上进行了升级,识别精度和场景通用性更优,推荐使用。
|
|
19
19
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
20
20
|
*/
|
|
21
21
|
DetectLabelPro(req: DetectLabelProRequest, cb?: (error: string, rep: DetectLabelProResponse) => void): Promise<DetectLabelProResponse>;
|
|
@@ -34,10 +34,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("CreateImage", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 通用图像标签可识别数千种常见物体或场景,覆盖日常物品、场景、动物、植物、食物、饮品、交通工具等多个大类,返回主体的标签名称和所属细分类目等,广泛应用于拍照识物、场景分析、内容推荐与审核、智能相册分类等场景。
|
|
38
38
|
|
|
39
39
|
>?
|
|
40
|
-
-
|
|
40
|
+
- **通用图像标签**接口在原图像标签接口(旧版接口)的基础上进行了升级,识别精度和场景通用性更优,推荐使用。
|
|
41
41
|
- 公共参数中的签名方式必须指定为V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
42
42
|
*/
|
|
43
43
|
async DetectLabelPro(req, cb) {
|
|
@@ -510,27 +510,31 @@ export interface RecognizeCarResponse {
|
|
|
510
510
|
*/
|
|
511
511
|
export interface DetectLabelRequest {
|
|
512
512
|
/**
|
|
513
|
-
* 图片
|
|
513
|
+
* 图片 Base64 编码数据。
|
|
514
|
+
与ImageUrl同时存在时优先使用ImageUrl字段。
|
|
514
515
|
图片限制:
|
|
515
|
-
• 图片格式:PNG、JPG、JPEG。
|
|
516
|
+
• 图片格式:PNG、JPG、JPEG、BMP。
|
|
517
|
+
• 图片大小:经Base64编码后不超过4M。
|
|
518
|
+
**<font color=#1E90FF>注意:图片需要Base64编码,并且要去掉编码头部。</font>**
|
|
519
|
+
*/
|
|
520
|
+
ImageBase64?: string;
|
|
521
|
+
/**
|
|
522
|
+
* 图片 URL 地址。
|
|
523
|
+
图片限制:
|
|
524
|
+
• 图片格式:PNG、JPG、JPEG、BMP。
|
|
516
525
|
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
517
526
|
建议:
|
|
518
527
|
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
519
|
-
•
|
|
520
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
528
|
+
• 长宽比:长边:短边<5;
|
|
529
|
+
• 接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
521
530
|
*/
|
|
522
531
|
ImageUrl?: string;
|
|
523
|
-
/**
|
|
524
|
-
* 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
|
|
525
|
-
**注意:图片需要base64编码,并且要去掉编码头部。**
|
|
526
|
-
*/
|
|
527
|
-
ImageBase64?: string;
|
|
528
532
|
/**
|
|
529
533
|
* 本次调用支持的识别场景,可选值如下:
|
|
530
|
-
WEB,针对网络图片优化;
|
|
531
|
-
CAMERA,针对手机摄像头拍摄图片优化;
|
|
532
|
-
ALBUM,针对手机相册、网盘产品优化;
|
|
533
|
-
NEWS,针对新闻、资讯、广电等行业优化;
|
|
534
|
+
• WEB,针对网络图片优化;
|
|
535
|
+
• CAMERA,针对手机摄像头拍摄图片优化;
|
|
536
|
+
• ALBUM,针对手机相册、网盘产品优化;
|
|
537
|
+
• NEWS,针对新闻、资讯、广电等行业优化;
|
|
534
538
|
如果不传此参数,则默认为WEB。
|
|
535
539
|
|
|
536
540
|
支持多场景(Scenes)一起检测。例如,使用 Scenes=["WEB", "CAMERA"],即对一张图片使用两个模型同时检测,输出两套识别结果。
|
|
@@ -1087,19 +1091,23 @@ export interface CarPlateContent {
|
|
|
1087
1091
|
*/
|
|
1088
1092
|
export interface DetectLabelProRequest {
|
|
1089
1093
|
/**
|
|
1090
|
-
* 图片URL地址。
|
|
1094
|
+
* 图片 URL 地址。
|
|
1091
1095
|
图片限制:
|
|
1092
1096
|
• 图片格式:PNG、JPG、JPEG、BMP。
|
|
1093
1097
|
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
1094
1098
|
建议:
|
|
1095
1099
|
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
1096
|
-
•
|
|
1097
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
1100
|
+
• 长宽比:长边:短边<5;
|
|
1101
|
+
• 接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
1098
1102
|
*/
|
|
1099
1103
|
ImageUrl?: string;
|
|
1100
1104
|
/**
|
|
1101
|
-
*
|
|
1102
|
-
|
|
1105
|
+
* 图片 Base64 编码数据。
|
|
1106
|
+
与ImageUrl同时存在时优先使用ImageUrl字段。
|
|
1107
|
+
图片限制:
|
|
1108
|
+
• 图片格式:PNG、JPG、JPEG、BMP。
|
|
1109
|
+
• 图片大小:经Base64编码后不超过4M。
|
|
1110
|
+
**<font color=#1E90FF>注意:图片需要Base64编码,并且要去掉编码头部。</font>**
|
|
1103
1111
|
*/
|
|
1104
1112
|
ImageBase64?: string;
|
|
1105
1113
|
}
|
|
@@ -1998,8 +1998,8 @@ export interface RemoveUserByStrRoomIdRequest {
|
|
|
1998
1998
|
export interface RecordParams {
|
|
1999
1999
|
/**
|
|
2000
2000
|
* 录制模式:
|
|
2001
|
-
1:单流录制,分别录制房间的订阅UserId
|
|
2002
|
-
2:混流录制,将房间内订阅UserId
|
|
2001
|
+
1:单流录制,分别录制房间的订阅UserId的音频和视频,将录制文件上传至云存储;
|
|
2002
|
+
2:混流录制,将房间内订阅UserId的音视频混录成一个音视频文件,将录制文件上传至云存储;
|
|
2003
2003
|
*/
|
|
2004
2004
|
RecordMode: number;
|
|
2005
2005
|
/**
|
|
@@ -2018,7 +2018,7 @@ export interface RecordParams {
|
|
|
2018
2018
|
*/
|
|
2019
2019
|
SubscribeStreamUserIds?: SubscribeStreamUserIds;
|
|
2020
2020
|
/**
|
|
2021
|
-
*
|
|
2021
|
+
* 输出文件的格式,上传到云点播时此参数无效。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4(hls录制完成后转mp4文件)
|
|
2022
2022
|
*/
|
|
2023
2023
|
OutputFormat?: number;
|
|
2024
2024
|
}
|
|
@@ -1598,16 +1598,6 @@ it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
})
|
|
1600
1600
|
|
|
1601
|
-
it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
|
|
1602
|
-
try {
|
|
1603
|
-
const data = await client.GetDistributeBillDownloadUrl({})
|
|
1604
|
-
expect(data).to.be.ok
|
|
1605
|
-
} catch(error) {
|
|
1606
|
-
expect(error.requestId).to.be.ok
|
|
1607
|
-
expect(error.code).to.be.ok
|
|
1608
|
-
}
|
|
1609
|
-
})
|
|
1610
|
-
|
|
1611
1601
|
it("cpdp.v20190820.QueryOrderStatus", async function () {
|
|
1612
1602
|
try {
|
|
1613
1603
|
const data = await client.QueryOrderStatus({})
|
|
@@ -1618,16 +1608,6 @@ it("cpdp.v20190820.QueryOrderStatus", async function () {
|
|
|
1618
1608
|
}
|
|
1619
1609
|
})
|
|
1620
1610
|
|
|
1621
|
-
it("cpdp.v20190820.QuerySinglePay", async function () {
|
|
1622
|
-
try {
|
|
1623
|
-
const data = await client.QuerySinglePay({})
|
|
1624
|
-
expect(data).to.be.ok
|
|
1625
|
-
} catch(error) {
|
|
1626
|
-
expect(error.requestId).to.be.ok
|
|
1627
|
-
expect(error.code).to.be.ok
|
|
1628
|
-
}
|
|
1629
|
-
})
|
|
1630
|
-
|
|
1631
1611
|
it("cpdp.v20190820.QueryPayerInfo", async function () {
|
|
1632
1612
|
try {
|
|
1633
1613
|
const data = await client.QueryPayerInfo({})
|
|
@@ -1668,9 +1648,9 @@ it("cpdp.v20190820.GetPayRollAuth", async function () {
|
|
|
1668
1648
|
}
|
|
1669
1649
|
})
|
|
1670
1650
|
|
|
1671
|
-
it("cpdp.v20190820.
|
|
1651
|
+
it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
|
|
1672
1652
|
try {
|
|
1673
|
-
const data = await client.
|
|
1653
|
+
const data = await client.GetDistributeBillDownloadUrl({})
|
|
1674
1654
|
expect(data).to.be.ok
|
|
1675
1655
|
} catch(error) {
|
|
1676
1656
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +138,16 @@ it("ess.v20201111.DescribeFlowTemplates", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("ess.v20201111.CreateBatchCancelFlowUrl", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateBatchCancelFlowUrl({})
|
|
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
|
+
|
|
141
151
|
it("ess.v20201111.DescribeFlowBriefs", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DescribeFlowBriefs({})
|
|
@@ -68,6 +68,16 @@ it("ic.v20190307.ModifyUserCardRemark", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("ic.v20190307.DescribeSms", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeSms({})
|
|
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
|
+
|
|
71
81
|
it("ic.v20190307.RenewCards", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.RenewCards({})
|
|
@@ -398,6 +398,16 @@ it("live.v20180801.DeleteLiveWatermark", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
+
it("live.v20180801.DescribeLiveDomainCertBindings", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeLiveDomainCertBindings({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
401
411
|
it("live.v20180801.DescribePlayErrorCodeSumInfoList", async function () {
|
|
402
412
|
try {
|
|
403
413
|
const data = await client.DescribePlayErrorCodeSumInfoList({})
|
|
@@ -528,6 +538,16 @@ it("live.v20180801.DescribeLiveCert", async function () {
|
|
|
528
538
|
}
|
|
529
539
|
})
|
|
530
540
|
|
|
541
|
+
it("live.v20180801.ModifyLiveDomainCertBindings", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.ModifyLiveDomainCertBindings({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
531
551
|
it("live.v20180801.DescribeLiveDomains", async function () {
|
|
532
552
|
try {
|
|
533
553
|
const data = await client.DescribeLiveDomains({})
|
|
@@ -18,16 +18,6 @@ const client = new tencentcloud.rce.v20201103.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("rce.v20201103.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("rce.v20201103.DescribeRiskModel", async function () {
|
|
22
|
-
try {
|
|
23
|
-
const data = await client.DescribeRiskModel({})
|
|
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
21
|
it("rce.v20201103.DescribeRiskTrends", async function () {
|
|
32
22
|
try {
|
|
33
23
|
const data = await client.DescribeRiskTrends({})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.tem.v20210701.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tem.v20210701.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("tem.v20210701.ModifyConfigData", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyConfigData({})
|
|
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
|
+
|
|
21
31
|
it("tem.v20210701.DescribeApplicationsStatus", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.DescribeApplicationsStatus({})
|
|
@@ -28,6 +38,16 @@ it("tem.v20210701.DescribeApplicationsStatus", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
41
|
+
it("tem.v20210701.DescribePagedLogConfigList", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribePagedLogConfigList({})
|
|
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
|
+
|
|
31
51
|
it("tem.v20210701.ModifyIngress", async function () {
|
|
32
52
|
try {
|
|
33
53
|
const data = await client.ModifyIngress({})
|
|
@@ -48,6 +68,36 @@ it("tem.v20210701.ModifyApplicationReplicas", async function () {
|
|
|
48
68
|
}
|
|
49
69
|
})
|
|
50
70
|
|
|
71
|
+
it("tem.v20210701.CreateApplicationAutoscaler", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateApplicationAutoscaler({})
|
|
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("tem.v20210701.RestartApplicationPod", async function () {
|
|
82
|
+
try {
|
|
83
|
+
const data = await client.RestartApplicationPod({})
|
|
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("tem.v20210701.ModifyLogConfig", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.ModifyLogConfig({})
|
|
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
|
+
|
|
51
101
|
it("tem.v20210701.DeleteApplication", async function () {
|
|
52
102
|
try {
|
|
53
103
|
const data = await client.DeleteApplication({})
|
|
@@ -88,6 +138,16 @@ it("tem.v20210701.DeployApplication", async function () {
|
|
|
88
138
|
}
|
|
89
139
|
})
|
|
90
140
|
|
|
141
|
+
it("tem.v20210701.ModifyApplicationAutoscaler", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ModifyApplicationAutoscaler({})
|
|
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
|
+
|
|
91
151
|
it("tem.v20210701.DescribeDeployApplicationDetail", async function () {
|
|
92
152
|
try {
|
|
93
153
|
const data = await client.DescribeDeployApplicationDetail({})
|
|
@@ -118,6 +178,16 @@ it("tem.v20210701.ModifyEnvironment", async function () {
|
|
|
118
178
|
}
|
|
119
179
|
})
|
|
120
180
|
|
|
181
|
+
it("tem.v20210701.DescribeLogConfig", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeLogConfig({})
|
|
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
|
+
|
|
121
191
|
it("tem.v20210701.StopApplication", async function () {
|
|
122
192
|
try {
|
|
123
193
|
const data = await client.StopApplication({})
|
|
@@ -128,6 +198,16 @@ it("tem.v20210701.StopApplication", async function () {
|
|
|
128
198
|
}
|
|
129
199
|
})
|
|
130
200
|
|
|
201
|
+
it("tem.v20210701.CreateLogConfig", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.CreateLogConfig({})
|
|
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
|
+
|
|
131
211
|
it("tem.v20210701.DescribeApplicationInfo", async function () {
|
|
132
212
|
try {
|
|
133
213
|
const data = await client.DescribeApplicationInfo({})
|
|
@@ -138,6 +218,16 @@ it("tem.v20210701.DescribeApplicationInfo", async function () {
|
|
|
138
218
|
}
|
|
139
219
|
})
|
|
140
220
|
|
|
221
|
+
it("tem.v20210701.CreateConfigData", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.CreateConfigData({})
|
|
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
|
+
|
|
141
231
|
it("tem.v20210701.DescribeApplicationPods", async function () {
|
|
142
232
|
try {
|
|
143
233
|
const data = await client.DescribeApplicationPods({})
|
|
@@ -148,9 +238,9 @@ it("tem.v20210701.DescribeApplicationPods", async function () {
|
|
|
148
238
|
}
|
|
149
239
|
})
|
|
150
240
|
|
|
151
|
-
it("tem.v20210701.
|
|
241
|
+
it("tem.v20210701.DeleteApplicationAutoscaler", async function () {
|
|
152
242
|
try {
|
|
153
|
-
const data = await client.
|
|
243
|
+
const data = await client.DeleteApplicationAutoscaler({})
|
|
154
244
|
expect(data).to.be.ok
|
|
155
245
|
} catch(error) {
|
|
156
246
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +258,16 @@ it("tem.v20210701.ModifyApplicationInfo", async function () {
|
|
|
168
258
|
}
|
|
169
259
|
})
|
|
170
260
|
|
|
261
|
+
it("tem.v20210701.DestroyConfigData", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.DestroyConfigData({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
171
271
|
it("tem.v20210701.DescribeEnvironments", async function () {
|
|
172
272
|
try {
|
|
173
273
|
const data = await client.DescribeEnvironments({})
|
|
@@ -238,9 +338,9 @@ it("tem.v20210701.CreateApplication", async function () {
|
|
|
238
338
|
}
|
|
239
339
|
})
|
|
240
340
|
|
|
241
|
-
it("tem.v20210701.
|
|
341
|
+
it("tem.v20210701.RestartApplication", async function () {
|
|
242
342
|
try {
|
|
243
|
-
const data = await client.
|
|
343
|
+
const data = await client.RestartApplication({})
|
|
244
344
|
expect(data).to.be.ok
|
|
245
345
|
} catch(error) {
|
|
246
346
|
expect(error.requestId).to.be.ok
|
|
@@ -278,6 +378,16 @@ it("tem.v20210701.RevertDeployApplication", async function () {
|
|
|
278
378
|
}
|
|
279
379
|
})
|
|
280
380
|
|
|
381
|
+
it("tem.v20210701.DestroyLogConfig", async function () {
|
|
382
|
+
try {
|
|
383
|
+
const data = await client.DestroyLogConfig({})
|
|
384
|
+
expect(data).to.be.ok
|
|
385
|
+
} catch(error) {
|
|
386
|
+
expect(error.requestId).to.be.ok
|
|
387
|
+
expect(error.code).to.be.ok
|
|
388
|
+
}
|
|
389
|
+
})
|
|
390
|
+
|
|
281
391
|
it("tem.v20210701.DescribeRelatedIngresses", async function () {
|
|
282
392
|
try {
|
|
283
393
|
const data = await client.DescribeRelatedIngresses({})
|
|
@@ -288,6 +398,16 @@ it("tem.v20210701.DescribeRelatedIngresses", async function () {
|
|
|
288
398
|
}
|
|
289
399
|
})
|
|
290
400
|
|
|
401
|
+
it("tem.v20210701.DescribeConfigData", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeConfigData({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
291
411
|
it("tem.v20210701.CreateResource", async function () {
|
|
292
412
|
try {
|
|
293
413
|
const data = await client.CreateResource({})
|
|
@@ -298,6 +418,16 @@ it("tem.v20210701.CreateResource", async function () {
|
|
|
298
418
|
}
|
|
299
419
|
})
|
|
300
420
|
|
|
421
|
+
it("tem.v20210701.DescribeApplicationAutoscalerList", async function () {
|
|
422
|
+
try {
|
|
423
|
+
const data = await client.DescribeApplicationAutoscalerList({})
|
|
424
|
+
expect(data).to.be.ok
|
|
425
|
+
} catch(error) {
|
|
426
|
+
expect(error.requestId).to.be.ok
|
|
427
|
+
expect(error.code).to.be.ok
|
|
428
|
+
}
|
|
429
|
+
})
|
|
430
|
+
|
|
301
431
|
it("tem.v20210701.DestroyEnvironment", async function () {
|
|
302
432
|
try {
|
|
303
433
|
const data = await client.DestroyEnvironment({})
|
|
@@ -308,4 +438,14 @@ it("tem.v20210701.DestroyEnvironment", async function () {
|
|
|
308
438
|
}
|
|
309
439
|
})
|
|
310
440
|
|
|
441
|
+
it("tem.v20210701.DescribeConfigDataList", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.DescribeConfigDataList({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
311
451
|
})
|