tencentcloud-sdk-nodejs 4.0.518 → 4.0.520
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 +343 -0
- package/SERVICE_CHANGELOG.md +322 -145
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/car/v20220110/car_models.ts +5 -0
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdn/v20180606/cdn_models.ts +3 -3
- package/src/services/cfg/v20210820/cfg_models.ts +2 -2
- package/src/services/chdfs/v20201112/chdfs_models.ts +19 -1
- package/src/services/cwp/v20180228/cwp_models.ts +8 -3
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +1 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +36 -1
- package/src/services/dlc/v20210125/dlc_client.ts +12 -0
- package/src/services/dlc/v20210125/dlc_models.ts +30 -0
- package/src/services/domain/v20180808/domain_models.ts +2 -0
- package/src/services/dts/v20211206/dts_client.ts +1 -1
- package/src/services/ecm/v20190719/ecm_models.ts +17 -1
- package/src/services/ess/v20201111/ess_models.ts +6 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/lcic/v20220817/lcic_models.ts +10 -8
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -3
- package/src/services/mmps/v20200710/mmps_models.ts +24 -0
- package/src/services/ocr/v20181119/ocr_models.ts +2 -0
- package/src/services/teo/v20220901/teo_client.ts +12 -0
- package/src/services/teo/v20220901/teo_models.ts +72 -0
- package/src/services/thpc/v20220401/thpc_client.ts +3 -0
- package/src/services/thpc/v20220401/thpc_models.ts +68 -0
- package/src/services/tke/v20180525/tke_client.ts +148 -49
- package/src/services/tke/v20180525/tke_models.ts +589 -199
- package/src/services/tsf/v20180326/tsf_client.ts +1 -0
- package/src/services/tsf/v20180326/tsf_models.ts +74 -1
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +27 -1
- package/src/services/yinsuda/v20220527/yinsuda_client.ts +15 -3
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +81 -31
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/car/v20220110/car_models.d.ts +4 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +2 -2
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +16 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +7 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +31 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +2 -0
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +1 -1
- package/tencentcloud/services/dts/v20211206/dts_client.js +1 -1
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +14 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +10 -8
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -3
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +20 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +62 -0
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +58 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +47 -15
- package/tencentcloud/services/tke/v20180525/tke_client.js +69 -21
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +503 -170
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +63 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +24 -1
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +5 -1
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +6 -0
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +71 -29
- package/test/dlc.v20210125.test.js +10 -0
- package/test/teo.v20220901.test.js +10 -0
- package/test/tke.v20180525.test.js +100 -20
- package/test/yinsuda.v20220527.test.js +10 -0
|
@@ -4258,6 +4258,33 @@ false:失败。
|
|
|
4258
4258
|
*/
|
|
4259
4259
|
RequestId?: string;
|
|
4260
4260
|
}
|
|
4261
|
+
/**
|
|
4262
|
+
* kafka投递的topic和path的信息
|
|
4263
|
+
*/
|
|
4264
|
+
export interface DeliveryKafkaInfo {
|
|
4265
|
+
/**
|
|
4266
|
+
* 投递kafka的topic
|
|
4267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4268
|
+
*/
|
|
4269
|
+
Topic?: string;
|
|
4270
|
+
/**
|
|
4271
|
+
* 采集日志的path
|
|
4272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4273
|
+
*/
|
|
4274
|
+
Path?: Array<string>;
|
|
4275
|
+
/**
|
|
4276
|
+
* default,默认换行符分行
|
|
4277
|
+
time,按时间分行
|
|
4278
|
+
custom, 选了custom那么CustomRule就要填入具体的自定义值
|
|
4279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4280
|
+
*/
|
|
4281
|
+
LineRule?: string;
|
|
4282
|
+
/**
|
|
4283
|
+
* 自定义的分行值
|
|
4284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4285
|
+
*/
|
|
4286
|
+
CustomRule?: string;
|
|
4287
|
+
}
|
|
4261
4288
|
/**
|
|
4262
4289
|
* 单元化API使用详情统计对象列表
|
|
4263
4290
|
*/
|
|
@@ -5214,6 +5241,36 @@ export interface KafkaDeliveryConfig {
|
|
|
5214
5241
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5215
5242
|
*/
|
|
5216
5243
|
LineRule: string;
|
|
5244
|
+
/**
|
|
5245
|
+
* 是否需要认证
|
|
5246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5247
|
+
*/
|
|
5248
|
+
EnableAuth: boolean;
|
|
5249
|
+
/**
|
|
5250
|
+
* 用户名
|
|
5251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5252
|
+
*/
|
|
5253
|
+
Username: string;
|
|
5254
|
+
/**
|
|
5255
|
+
* 密码
|
|
5256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5257
|
+
*/
|
|
5258
|
+
Password: string;
|
|
5259
|
+
/**
|
|
5260
|
+
* 投递的topic和path
|
|
5261
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5262
|
+
*/
|
|
5263
|
+
KafkaInfos: Array<DeliveryKafkaInfo>;
|
|
5264
|
+
/**
|
|
5265
|
+
* 是否应用单行规则
|
|
5266
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5267
|
+
*/
|
|
5268
|
+
EnableGlobalLineRule: boolean;
|
|
5269
|
+
/**
|
|
5270
|
+
* 自定义分行规则
|
|
5271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5272
|
+
*/
|
|
5273
|
+
CustomRule: string;
|
|
5217
5274
|
}
|
|
5218
5275
|
/**
|
|
5219
5276
|
* API 对象类型描述
|
|
@@ -10785,6 +10842,11 @@ export interface ApiDetailInfo {
|
|
|
10785
10842
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10786
10843
|
*/
|
|
10787
10844
|
Description: string;
|
|
10845
|
+
/**
|
|
10846
|
+
* API路径匹配类型。normal:普通API;wildcard:通配API。
|
|
10847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10848
|
+
*/
|
|
10849
|
+
ApiMatchType: string;
|
|
10788
10850
|
}
|
|
10789
10851
|
/**
|
|
10790
10852
|
* DescribeUnitApiUseDetail返回参数结构体
|
|
@@ -10839,7 +10901,7 @@ export interface DescribeContainerGroupsRequest {
|
|
|
10839
10901
|
*/
|
|
10840
10902
|
SearchWord?: string;
|
|
10841
10903
|
/**
|
|
10842
|
-
* 分组所属应用ID
|
|
10904
|
+
* 分组所属应用ID。必填
|
|
10843
10905
|
*/
|
|
10844
10906
|
ApplicationId?: string;
|
|
10845
10907
|
/**
|
|
@@ -1625,7 +1625,8 @@ export interface ProcedureReviewAudioVideoTaskInput {
|
|
|
1625
1625
|
Definition: number;
|
|
1626
1626
|
/**
|
|
1627
1627
|
* 审核的内容,可选值:
|
|
1628
|
-
<li>Media
|
|
1628
|
+
<li>Media:原始音视频;</li>
|
|
1629
|
+
<li>Cover:封面。</li>
|
|
1629
1630
|
不填或填空数组时,默认为审核 Media。
|
|
1630
1631
|
*/
|
|
1631
1632
|
ReviewContents?: Array<string>;
|
|
@@ -12884,6 +12885,11 @@ export interface MediaVideoStreamItem {
|
|
|
12884
12885
|
* 编码标签,仅当 Codec 为 hevc 时有效。
|
|
12885
12886
|
*/
|
|
12886
12887
|
CodecTag?: string;
|
|
12888
|
+
/**
|
|
12889
|
+
* 画面动态范围信息。
|
|
12890
|
+
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
|
|
12891
|
+
*/
|
|
12892
|
+
DynamicRangeInfo: DynamicRangeInfo;
|
|
12887
12893
|
}
|
|
12888
12894
|
/**
|
|
12889
12895
|
* SetDrmKeyProviderInfo请求参数结构体
|
|
@@ -14616,6 +14622,23 @@ export interface SearchMediaRequest {
|
|
|
14616
14622
|
*/
|
|
14617
14623
|
Vid?: string;
|
|
14618
14624
|
}
|
|
14625
|
+
/**
|
|
14626
|
+
* 画面动态范围信息。
|
|
14627
|
+
*/
|
|
14628
|
+
export interface DynamicRangeInfo {
|
|
14629
|
+
/**
|
|
14630
|
+
* 画面动态范围信息。可取值:
|
|
14631
|
+
<li>SDR:Standard Dynamic Range 标准动态范围;</li>
|
|
14632
|
+
<li>HDR:High Dynamic Range 高动态范围。</li>
|
|
14633
|
+
*/
|
|
14634
|
+
Type?: string;
|
|
14635
|
+
/**
|
|
14636
|
+
* 高动态范围类型,当 Type 为 HDR 时有效。目前支持的可取值:
|
|
14637
|
+
<li>hdr10:表示 hdr10 标准;</li>
|
|
14638
|
+
<li>hlg:表示 hlg 标准。</li>
|
|
14639
|
+
*/
|
|
14640
|
+
HDRType?: string;
|
|
14641
|
+
}
|
|
14619
14642
|
/**
|
|
14620
14643
|
* CreateSampleSnapshotTemplate请求参数结构体
|
|
14621
14644
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest,
|
|
3
|
+
import { ApplyChorusResponse, DescribeKTVSuggestionsResponse, DestroyKTVRobotResponse, CreateKTVRobotRequest, SyncKTVRobotCommandRequest, DescribeKTVPlaylistDetailRequest, CreateKTVRobotResponse, DescribeKTVSuggestionsRequest, DescribeKTVMatchMusicsRequest, DescribeKTVPlaylistsResponse, DescribeKTVPlaylistsRequest, DescribeKTVPlaylistDetailResponse, SyncKTVRobotCommandResponse, DescribeKTVRobotsResponse, BatchDescribeKTVMusicDetailsRequest, DescribeKTVMusicsByTagResponse, SearchKTVMusicsResponse, DescribeKTVMatchMusicsResponse, DescribeKTVTagsResponse, ApplyChorusRequest, BatchDescribeKTVMusicDetailsResponse, DescribeKTVMusicsByTagRequest, SearchKTVMusicsRequest, DestroyKTVRobotRequest, DescribeKTVRobotsRequest, DescribeKTVTagsRequest } from "./yinsuda_models";
|
|
4
4
|
/**
|
|
5
5
|
* yinsuda client
|
|
6
6
|
* @class
|
|
@@ -39,6 +39,10 @@ export declare class Client extends AbstractClient {
|
|
|
39
39
|
* 获取歌单列表。
|
|
40
40
|
*/
|
|
41
41
|
DescribeKTVPlaylists(req: DescribeKTVPlaylistsRequest, cb?: (error: string, rep: DescribeKTVPlaylistsResponse) => void): Promise<DescribeKTVPlaylistsResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* 申请合唱相关信息,用于标记用户的演唱是在合唱场景下。
|
|
44
|
+
*/
|
|
45
|
+
ApplyChorus(req: ApplyChorusRequest, cb?: (error: string, rep: ApplyChorusResponse) => void): Promise<ApplyChorusResponse>;
|
|
42
46
|
/**
|
|
43
47
|
* 获取机器人列表,支持 Id、状态等过滤条件。
|
|
44
48
|
*/
|
|
@@ -75,6 +75,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
75
75
|
async DescribeKTVPlaylists(req, cb) {
|
|
76
76
|
return this.request("DescribeKTVPlaylists", req, cb);
|
|
77
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* 申请合唱相关信息,用于标记用户的演唱是在合唱场景下。
|
|
80
|
+
*/
|
|
81
|
+
async ApplyChorus(req, cb) {
|
|
82
|
+
return this.request("ApplyChorus", req, cb);
|
|
83
|
+
}
|
|
78
84
|
/**
|
|
79
85
|
* 获取机器人列表,支持 Id、状态等过滤条件。
|
|
80
86
|
*/
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ApplyChorus返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface ApplyChorusResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 合唱 Token。
|
|
7
|
+
*/
|
|
8
|
+
ChorusToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11
|
+
*/
|
|
12
|
+
RequestId?: string;
|
|
13
|
+
}
|
|
1
14
|
/**
|
|
2
15
|
* 节拍信息。
|
|
3
16
|
*/
|
|
@@ -76,21 +89,30 @@ export interface MusicAlbumCoverInfo {
|
|
|
76
89
|
Url: string;
|
|
77
90
|
}
|
|
78
91
|
/**
|
|
79
|
-
*
|
|
92
|
+
* CreateKTVRobot请求参数结构体
|
|
80
93
|
*/
|
|
81
|
-
export interface
|
|
94
|
+
export interface CreateKTVRobotRequest {
|
|
82
95
|
/**
|
|
83
|
-
*
|
|
96
|
+
* 应用名称。
|
|
84
97
|
*/
|
|
85
|
-
|
|
98
|
+
AppName: string;
|
|
86
99
|
/**
|
|
87
|
-
*
|
|
100
|
+
* 用户标识。
|
|
88
101
|
*/
|
|
89
|
-
|
|
102
|
+
UserId: string;
|
|
90
103
|
/**
|
|
91
|
-
*
|
|
104
|
+
* RTC厂商类型,取值有:
|
|
105
|
+
<li>TRTC</li>
|
|
92
106
|
*/
|
|
93
|
-
|
|
107
|
+
RTCSystem: string;
|
|
108
|
+
/**
|
|
109
|
+
* 进房参数。
|
|
110
|
+
*/
|
|
111
|
+
JoinRoomInput: JoinRoomInput;
|
|
112
|
+
/**
|
|
113
|
+
* 创建机器人时初始化参数。
|
|
114
|
+
*/
|
|
115
|
+
SyncRobotCommands?: Array<SyncRobotCommand>;
|
|
94
116
|
}
|
|
95
117
|
/**
|
|
96
118
|
* 联想词信息。
|
|
@@ -300,6 +322,15 @@ export interface DescribeKTVPlaylistDetailResponse {
|
|
|
300
322
|
*/
|
|
301
323
|
RequestId?: string;
|
|
302
324
|
}
|
|
325
|
+
/**
|
|
326
|
+
* SyncKTVRobotCommand返回参数结构体
|
|
327
|
+
*/
|
|
328
|
+
export interface SyncKTVRobotCommandResponse {
|
|
329
|
+
/**
|
|
330
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
331
|
+
*/
|
|
332
|
+
RequestId?: string;
|
|
333
|
+
}
|
|
303
334
|
/**
|
|
304
335
|
* 设置销毁模式
|
|
305
336
|
*/
|
|
@@ -418,30 +449,21 @@ export interface BatchDescribeKTVMusicDetailsRequest {
|
|
|
418
449
|
MusicIds: Array<string>;
|
|
419
450
|
}
|
|
420
451
|
/**
|
|
421
|
-
*
|
|
452
|
+
* AME 曲库歌曲基础信息。
|
|
422
453
|
*/
|
|
423
|
-
export interface
|
|
424
|
-
/**
|
|
425
|
-
* 应用名称。
|
|
426
|
-
*/
|
|
427
|
-
AppName: string;
|
|
428
|
-
/**
|
|
429
|
-
* 用户标识。
|
|
430
|
-
*/
|
|
431
|
-
UserId: string;
|
|
454
|
+
export interface AMEMusicBaseInfo {
|
|
432
455
|
/**
|
|
433
|
-
*
|
|
434
|
-
<li>TRTC</li>
|
|
456
|
+
* 歌曲 Id。
|
|
435
457
|
*/
|
|
436
|
-
|
|
458
|
+
MusicId: string;
|
|
437
459
|
/**
|
|
438
|
-
*
|
|
460
|
+
* 歌曲名称。
|
|
439
461
|
*/
|
|
440
|
-
|
|
462
|
+
Name: string;
|
|
441
463
|
/**
|
|
442
|
-
*
|
|
464
|
+
* 歌手列表。
|
|
443
465
|
*/
|
|
444
|
-
|
|
466
|
+
SingerSet: Array<string>;
|
|
445
467
|
}
|
|
446
468
|
/**
|
|
447
469
|
* DescribeKTVMusicsByTag返回参数结构体
|
|
@@ -684,13 +706,33 @@ export interface SetPlaylistCommandInput {
|
|
|
684
706
|
MusicIds?: Array<string>;
|
|
685
707
|
}
|
|
686
708
|
/**
|
|
687
|
-
*
|
|
709
|
+
* ApplyChorus请求参数结构体
|
|
688
710
|
*/
|
|
689
|
-
export interface
|
|
711
|
+
export interface ApplyChorusRequest {
|
|
690
712
|
/**
|
|
691
|
-
*
|
|
713
|
+
* 应用名称。
|
|
692
714
|
*/
|
|
693
|
-
|
|
715
|
+
AppName: string;
|
|
716
|
+
/**
|
|
717
|
+
* 用户标识。
|
|
718
|
+
*/
|
|
719
|
+
UserId: string;
|
|
720
|
+
/**
|
|
721
|
+
* 房间号。
|
|
722
|
+
*/
|
|
723
|
+
RoomId: string;
|
|
724
|
+
/**
|
|
725
|
+
* 歌曲 Id。
|
|
726
|
+
*/
|
|
727
|
+
MusicId: string;
|
|
728
|
+
/**
|
|
729
|
+
* 最大合唱人数,默认值为 8,最大值为 20。
|
|
730
|
+
*/
|
|
731
|
+
MaxChorusNum?: number;
|
|
732
|
+
/**
|
|
733
|
+
* 合唱用户标识列表。
|
|
734
|
+
*/
|
|
735
|
+
ChorusUserIds?: Array<string>;
|
|
694
736
|
}
|
|
695
737
|
/**
|
|
696
738
|
* BatchDescribeKTVMusicDetails返回参数结构体
|
|
@@ -508,6 +508,16 @@ it("dlc.v20210125.DeleteUser", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("dlc.v20210125.SuspendResumeDataEngine", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.SuspendResumeDataEngine({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("dlc.v20210125.DescribeDatabases", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.DescribeDatabases({})
|
|
@@ -558,6 +558,16 @@ it("teo.v20220901.DescribeSingleL7AnalysisData", async function () {
|
|
|
558
558
|
}
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
+
it("teo.v20220901.DescribeDDoSAttackData", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeDDoSAttackData({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
561
571
|
it("teo.v20220901.ModifySecurityPolicy", async function () {
|
|
562
572
|
try {
|
|
563
573
|
const data = await client.ModifySecurityPolicy({})
|
|
@@ -38,9 +38,9 @@ it("tke.v20180525.CreateECMInstances", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("tke.v20180525.
|
|
41
|
+
it("tke.v20180525.DescribeClusterVirtualNode", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeClusterVirtualNode({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -68,6 +68,16 @@ it("tke.v20180525.InstallEdgeLogAgent", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("tke.v20180525.CreateClusterVirtualNodePool", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateClusterVirtualNodePool({})
|
|
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("tke.v20180525.ModifyClusterAsGroupOptionAttribute", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.ModifyClusterAsGroupOptionAttribute({})
|
|
@@ -168,16 +178,6 @@ it("tke.v20180525.DescribeClusterCommonNames", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
|
|
172
|
-
try {
|
|
173
|
-
const data = await client.DescribePrometheusInstanceInitStatus({})
|
|
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
181
|
it("tke.v20180525.EnableEventPersistence", async function () {
|
|
182
182
|
try {
|
|
183
183
|
const data = await client.EnableEventPersistence({})
|
|
@@ -248,6 +248,16 @@ it("tke.v20180525.GetMostSuitableImageCache", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("tke.v20180525.DeleteClusterVirtualNode", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.DeleteClusterVirtualNode({})
|
|
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
|
+
|
|
251
261
|
it("tke.v20180525.DescribeTKEEdgeScript", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DescribeTKEEdgeScript({})
|
|
@@ -378,9 +388,19 @@ it("tke.v20180525.DescribeEdgeClusterExtraArgs", async function () {
|
|
|
378
388
|
}
|
|
379
389
|
})
|
|
380
390
|
|
|
381
|
-
it("tke.v20180525.
|
|
391
|
+
it("tke.v20180525.ModifyClusterVirtualNodePool", async function () {
|
|
382
392
|
try {
|
|
383
|
-
const data = await client.
|
|
393
|
+
const data = await client.ModifyClusterVirtualNodePool({})
|
|
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
|
+
it("tke.v20180525.DescribeClusterNodePools", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeClusterNodePools({})
|
|
384
404
|
expect(data).to.be.ok
|
|
385
405
|
} catch(error) {
|
|
386
406
|
expect(error.requestId).to.be.ok
|
|
@@ -578,9 +598,9 @@ it("tke.v20180525.DescribeExistedInstances", async function () {
|
|
|
578
598
|
}
|
|
579
599
|
})
|
|
580
600
|
|
|
581
|
-
it("tke.v20180525.
|
|
601
|
+
it("tke.v20180525.DescribePrometheusInstanceInitStatus", async function () {
|
|
582
602
|
try {
|
|
583
|
-
const data = await client.
|
|
603
|
+
const data = await client.DescribePrometheusInstanceInitStatus({})
|
|
584
604
|
expect(data).to.be.ok
|
|
585
605
|
} catch(error) {
|
|
586
606
|
expect(error.requestId).to.be.ok
|
|
@@ -658,6 +678,16 @@ it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
|
|
|
658
678
|
}
|
|
659
679
|
})
|
|
660
680
|
|
|
681
|
+
it("tke.v20180525.UpdateImageCache", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.UpdateImageCache({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
661
691
|
it("tke.v20180525.DescribeRegions", async function () {
|
|
662
692
|
try {
|
|
663
693
|
const data = await client.DescribeRegions({})
|
|
@@ -788,6 +818,16 @@ it("tke.v20180525.CreateImageCache", async function () {
|
|
|
788
818
|
}
|
|
789
819
|
})
|
|
790
820
|
|
|
821
|
+
it("tke.v20180525.DeleteClusterVirtualNodePool", async function () {
|
|
822
|
+
try {
|
|
823
|
+
const data = await client.DeleteClusterVirtualNodePool({})
|
|
824
|
+
expect(data).to.be.ok
|
|
825
|
+
} catch(error) {
|
|
826
|
+
expect(error.requestId).to.be.ok
|
|
827
|
+
expect(error.code).to.be.ok
|
|
828
|
+
}
|
|
829
|
+
})
|
|
830
|
+
|
|
791
831
|
it("tke.v20180525.UpdateEKSContainerInstance", async function () {
|
|
792
832
|
try {
|
|
793
833
|
const data = await client.UpdateEKSContainerInstance({})
|
|
@@ -818,6 +858,16 @@ it("tke.v20180525.DescribePrometheusAlertRule", async function () {
|
|
|
818
858
|
}
|
|
819
859
|
})
|
|
820
860
|
|
|
861
|
+
it("tke.v20180525.DrainClusterVirtualNode", async function () {
|
|
862
|
+
try {
|
|
863
|
+
const data = await client.DrainClusterVirtualNode({})
|
|
864
|
+
expect(data).to.be.ok
|
|
865
|
+
} catch(error) {
|
|
866
|
+
expect(error.requestId).to.be.ok
|
|
867
|
+
expect(error.code).to.be.ok
|
|
868
|
+
}
|
|
869
|
+
})
|
|
870
|
+
|
|
821
871
|
it("tke.v20180525.RestartEKSContainerInstances", async function () {
|
|
822
872
|
try {
|
|
823
873
|
const data = await client.RestartEKSContainerInstances({})
|
|
@@ -1498,6 +1548,16 @@ it("tke.v20180525.CreateClusterRelease", async function () {
|
|
|
1498
1548
|
}
|
|
1499
1549
|
})
|
|
1500
1550
|
|
|
1551
|
+
it("tke.v20180525.DescribeClusterVirtualNodePools", async function () {
|
|
1552
|
+
try {
|
|
1553
|
+
const data = await client.DescribeClusterVirtualNodePools({})
|
|
1554
|
+
expect(data).to.be.ok
|
|
1555
|
+
} catch(error) {
|
|
1556
|
+
expect(error.requestId).to.be.ok
|
|
1557
|
+
expect(error.code).to.be.ok
|
|
1558
|
+
}
|
|
1559
|
+
})
|
|
1560
|
+
|
|
1501
1561
|
it("tke.v20180525.GetClusterLevelPrice", async function () {
|
|
1502
1562
|
try {
|
|
1503
1563
|
const data = await client.GetClusterLevelPrice({})
|
|
@@ -1538,6 +1598,16 @@ it("tke.v20180525.DescribeEdgeClusterUpgradeInfo", async function () {
|
|
|
1538
1598
|
}
|
|
1539
1599
|
})
|
|
1540
1600
|
|
|
1601
|
+
it("tke.v20180525.RollbackClusterRelease", async function () {
|
|
1602
|
+
try {
|
|
1603
|
+
const data = await client.RollbackClusterRelease({})
|
|
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
|
+
|
|
1541
1611
|
it("tke.v20180525.DescribePrometheusConfig", async function () {
|
|
1542
1612
|
try {
|
|
1543
1613
|
const data = await client.DescribePrometheusConfig({})
|
|
@@ -1578,9 +1648,9 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
|
|
|
1578
1648
|
}
|
|
1579
1649
|
})
|
|
1580
1650
|
|
|
1581
|
-
it("tke.v20180525.
|
|
1651
|
+
it("tke.v20180525.DescribeEKSClusters", async function () {
|
|
1582
1652
|
try {
|
|
1583
|
-
const data = await client.
|
|
1653
|
+
const data = await client.DescribeEKSClusters({})
|
|
1584
1654
|
expect(data).to.be.ok
|
|
1585
1655
|
} catch(error) {
|
|
1586
1656
|
expect(error.requestId).to.be.ok
|
|
@@ -1588,9 +1658,9 @@ it("tke.v20180525.RollbackClusterRelease", async function () {
|
|
|
1588
1658
|
}
|
|
1589
1659
|
})
|
|
1590
1660
|
|
|
1591
|
-
it("tke.v20180525.
|
|
1661
|
+
it("tke.v20180525.DescribeClusterAsGroups", async function () {
|
|
1592
1662
|
try {
|
|
1593
|
-
const data = await client.
|
|
1663
|
+
const data = await client.DescribeClusterAsGroups({})
|
|
1594
1664
|
expect(data).to.be.ok
|
|
1595
1665
|
} catch(error) {
|
|
1596
1666
|
expect(error.requestId).to.be.ok
|
|
@@ -1798,6 +1868,16 @@ it("tke.v20180525.GetTkeAppChartList", async function () {
|
|
|
1798
1868
|
}
|
|
1799
1869
|
})
|
|
1800
1870
|
|
|
1871
|
+
it("tke.v20180525.CreateClusterVirtualNode", async function () {
|
|
1872
|
+
try {
|
|
1873
|
+
const data = await client.CreateClusterVirtualNode({})
|
|
1874
|
+
expect(data).to.be.ok
|
|
1875
|
+
} catch(error) {
|
|
1876
|
+
expect(error.requestId).to.be.ok
|
|
1877
|
+
expect(error.code).to.be.ok
|
|
1878
|
+
}
|
|
1879
|
+
})
|
|
1880
|
+
|
|
1801
1881
|
it("tke.v20180525.CheckEdgeClusterCIDR", async function () {
|
|
1802
1882
|
try {
|
|
1803
1883
|
const data = await client.CheckEdgeClusterCIDR({})
|
|
@@ -98,6 +98,16 @@ it("yinsuda.v20220527.DescribeKTVPlaylists", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("yinsuda.v20220527.ApplyChorus", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.ApplyChorus({})
|
|
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
|
+
|
|
101
111
|
it("yinsuda.v20220527.DescribeKTVRobots", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.DescribeKTVRobots({})
|