tencentcloud-sdk-nodejs 4.0.487 → 4.0.489
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 +396 -0
- package/SERVICE_CHANGELOG.md +383 -246
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +25 -11
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +244 -8
- package/src/services/cpdp/v20190820/cpdp_models.ts +14 -0
- package/src/services/dlc/v20210125/dlc_client.ts +1 -0
- package/src/services/dlc/v20210125/dlc_models.ts +23 -0
- package/src/services/dnspod/v20210323/dnspod_client.ts +14 -1
- package/src/services/dnspod/v20210323/dnspod_models.ts +96 -40
- package/src/services/dts/v20211206/dts_client.ts +5 -5
- package/src/services/dts/v20211206/dts_models.ts +2 -2
- package/src/services/emr/v20190103/emr_client.ts +4 -3
- package/src/services/emr/v20190103/emr_models.ts +58 -4
- package/src/services/ess/v20201111/ess_models.ts +6 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +8 -3
- package/src/services/gme/v20180711/gme_client.ts +18 -2
- package/src/services/gme/v20180711/gme_models.ts +167 -12
- package/src/services/mongodb/v20190725/mongodb_models.ts +17 -2
- package/src/services/ocr/v20181119/ocr_models.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +6 -0
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +3 -3
- package/src/services/rum/v20210622/rum_models.ts +3 -3
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_client.ts +25 -12
- package/src/services/tbaas/v20180416/tbaas_models.ts +138 -92
- package/src/services/tcm/v20210413/tcm_client.ts +33 -9
- package/src/services/tcm/v20210413/tcm_models.ts +123 -11
- package/src/services/tcss/v20201101/tcss_client.ts +289 -100
- package/src/services/tcss/v20201101/tcss_models.ts +1772 -745
- package/src/services/tdmq/v20200217/tdmq_models.ts +6 -0
- package/src/services/teo/v20220901/teo_models.ts +15 -9
- package/src/services/tione/v20211111/tione_models.ts +6 -5
- package/src/services/tiw/v20190919/tiw_models.ts +1 -1
- package/src/services/tts/v20190823/tts_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +11 -7
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +9 -3
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +205 -8
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +12 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +19 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +6 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +7 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +88 -40
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +5 -5
- package/tencentcloud/services/dts/v20211206/dts_client.js +5 -5
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +3 -3
- package/tencentcloud/services/emr/v20190103/emr_client.js +3 -3
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +49 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -3
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +5 -1
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +143 -12
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +14 -2
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +5 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -3
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +3 -3
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +7 -3
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +9 -3
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +121 -81
- package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +11 -3
- package/tencentcloud/services/tcm/v20210413/tcm_client.js +15 -3
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +105 -11
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +87 -27
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +129 -39
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1544 -670
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +5 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +14 -9
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +6 -5
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +1 -1
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +1 -1
- package/test/cloudaudit.v20190319.test.js +12 -2
- package/test/dnspod.v20210323.test.js +10 -0
- package/test/gme.v20180711.test.js +10 -0
- package/test/tbaas.v20180416.test.js +12 -2
- package/test/tcm.v20210413.test.js +22 -2
- package/test/tcss.v20201101.test.js +176 -26
|
@@ -3229,6 +3229,11 @@ export interface RocketMQClusterInfo {
|
|
|
3229
3229
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3230
3230
|
*/
|
|
3231
3231
|
IsVip: boolean;
|
|
3232
|
+
/**
|
|
3233
|
+
* Rocketmq集群标识
|
|
3234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3235
|
+
*/
|
|
3236
|
+
RocketMQFlag: boolean;
|
|
3232
3237
|
}
|
|
3233
3238
|
/**
|
|
3234
3239
|
* DescribeRocketMQTopics返回参数结构体
|
|
@@ -4356,24 +4356,24 @@ export interface RuleCondition {
|
|
|
4356
4356
|
Operator: string;
|
|
4357
4357
|
/**
|
|
4358
4358
|
* 匹配类型,取值有:
|
|
4359
|
-
<li>
|
|
4360
|
-
<li>
|
|
4361
|
-
<li> HOST
|
|
4362
|
-
<li> URL Full
|
|
4363
|
-
<li> URL Path
|
|
4364
|
-
<li>
|
|
4365
|
-
<li>
|
|
4359
|
+
<li> filename:文件名; </li>
|
|
4360
|
+
<li> extension:文件后缀; </li>
|
|
4361
|
+
<li> host:HOST; </li>
|
|
4362
|
+
<li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
|
|
4363
|
+
<li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li>
|
|
4364
|
+
<li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li>
|
|
4365
|
+
<li> request_header:HTTP请求头部。 </li>
|
|
4366
4366
|
*/
|
|
4367
4367
|
Target: string;
|
|
4368
4368
|
/**
|
|
4369
|
-
* 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP
|
|
4369
|
+
* 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有:
|
|
4370
4370
|
<li> 文件后缀:jpg、txt等文件后缀;</li>
|
|
4371
4371
|
<li> 文件名称:例如 foo.jpg 中的 foo;</li>
|
|
4372
4372
|
<li> 全部(站点任意请求): all; </li>
|
|
4373
4373
|
<li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
|
|
4374
4374
|
<li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
|
|
4375
4375
|
<li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example;</li>
|
|
4376
|
-
<li>
|
|
4376
|
+
<li> 客户端国家/地区:符合ISO3166标准的国家/地区标识;</li>
|
|
4377
4377
|
<li> 查询字符串: 当前站点下URL请求中查询字符串的参数值,例如lang=cn&version=1中的cn和1; </li>
|
|
4378
4378
|
<li> HTTP 请求头: HTTP请求头部字段值,例如Accept-Language:zh-CN,zh;q=0.9中的zh-CN,zh;q=0.9。 </li>
|
|
4379
4379
|
*/
|
|
@@ -4388,6 +4388,11 @@ export interface RuleCondition {
|
|
|
4388
4388
|
<li> request_header(HTTP 请求头): HTTP请求头部字段名,例如Accept-Language:zh-CN,zh;q=0.9中的Accept-Language。 </li>
|
|
4389
4389
|
*/
|
|
4390
4390
|
Name?: string;
|
|
4391
|
+
/**
|
|
4392
|
+
* 是否忽略参数名称的大小写,默认值为 false。
|
|
4393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4394
|
+
*/
|
|
4395
|
+
IgnoreNameCase?: boolean;
|
|
4391
4396
|
}
|
|
4392
4397
|
/**
|
|
4393
4398
|
* DescribeOverviewL7Data返回参数结构体
|
|
@@ -1697,7 +1697,7 @@ EXIST:导入现有版本
|
|
|
1697
1697
|
*/
|
|
1698
1698
|
ModelVersionType?: string;
|
|
1699
1699
|
/**
|
|
1700
|
-
* 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML)
|
|
1700
|
+
* 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE)
|
|
1701
1701
|
*/
|
|
1702
1702
|
ModelFormat?: string;
|
|
1703
1703
|
/**
|
|
@@ -3271,10 +3271,9 @@ Filter.Name: 枚举值:
|
|
|
3271
3271
|
keyword (模型名称)
|
|
3272
3272
|
TrainingModelId (模型ID)
|
|
3273
3273
|
ModelVersionType (模型版本类型) 其值Filter.Values支持: NORMAL(通用) ACCELERATE (加速)
|
|
3274
|
-
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS
|
|
3275
|
-
AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2
|
|
3274
|
+
TrainingModelSource (模型来源) 其值Filter.Values支持: JOB/COS
|
|
3276
3275
|
ModelFormat(模型格式)其值Filter.Values支持:
|
|
3277
|
-
TORCH_SCRIPT/
|
|
3276
|
+
PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE
|
|
3278
3277
|
Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询
|
|
3279
3278
|
每次请求的Filters的上限为10,Filter.Values的上限为100
|
|
3280
3279
|
Filter.Fuzzy取值:true/false,是否支持模糊匹配
|
|
@@ -4477,6 +4476,7 @@ export interface TrainingModelVersionDTO {
|
|
|
4477
4476
|
CreateTime: string;
|
|
4478
4477
|
/**
|
|
4479
4478
|
* 模型处理状态
|
|
4479
|
+
STATUS_SUCCESS:导入成功,STATUS_FAILED:导入失败 ,STATUS_RUNNING:导入中
|
|
4480
4480
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4481
4481
|
*/
|
|
4482
4482
|
TrainingModelStatus: string;
|
|
@@ -4774,6 +4774,7 @@ export interface DescribeModelAccelerateTasksRequest {
|
|
|
4774
4774
|
/**
|
|
4775
4775
|
* 过滤器
|
|
4776
4776
|
ModelAccTaskName 任务名称
|
|
4777
|
+
ModelSource 模型来源
|
|
4777
4778
|
*/
|
|
4778
4779
|
Filters?: Array<Filter>;
|
|
4779
4780
|
/**
|
|
@@ -4789,7 +4790,7 @@ ModelAccTaskName 任务名称
|
|
|
4789
4790
|
*/
|
|
4790
4791
|
Offset?: number;
|
|
4791
4792
|
/**
|
|
4792
|
-
* 返回记录条数,默认
|
|
4793
|
+
* 返回记录条数,默认10
|
|
4793
4794
|
*/
|
|
4794
4795
|
Limit?: number;
|
|
4795
4796
|
/**
|
|
@@ -216,7 +216,7 @@ export interface TextToVoiceRequest {
|
|
|
216
216
|
*/
|
|
217
217
|
EnableSubtitle?: boolean;
|
|
218
218
|
/**
|
|
219
|
-
* 断句敏感度,默认值为:0,取值范围:[0,1,2]
|
|
219
|
+
* 断句敏感度,默认值为:0,取值范围:[0,1,2],值越大则敏感度越低,更不易断句,此参数建议不要随意调整,可能会影响合成效果。
|
|
220
220
|
*/
|
|
221
221
|
SegmentRate?: number;
|
|
222
222
|
}
|
|
@@ -38,9 +38,9 @@ it("cloudaudit.v20190319.StartLogging", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("cloudaudit.v20190319.
|
|
41
|
+
it("cloudaudit.v20190319.DescribeAuditTrack", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeAuditTrack({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -108,6 +108,16 @@ it("cloudaudit.v20190319.StopLogging", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("cloudaudit.v20190319.ListCosEnableRegion", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.ListCosEnableRegion({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
111
121
|
it("cloudaudit.v20190319.DescribeAuditTracks", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.DescribeAuditTracks({})
|
|
@@ -118,6 +118,16 @@ it("dnspod.v20210323.DescribeSnapshotList", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("dnspod.v20210323.ModifyRecordFields", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ModifyRecordFields({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("dnspod.v20210323.DownloadSnapshot", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.DownloadSnapshot({})
|
|
@@ -188,6 +188,16 @@ it("gme.v20180711.DescribeScanResultList", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("gme.v20180711.DescribeApplicationList", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeApplicationList({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
191
201
|
it("gme.v20180711.ModifyCustomizationState", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.ModifyCustomizationState({})
|
|
@@ -48,9 +48,9 @@ it("tbaas.v20180416.GetBcosBlockByNumber", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("tbaas.v20180416.
|
|
51
|
+
it("tbaas.v20180416.ApplyChainMakerBatchUserCert", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.ApplyChainMakerBatchUserCert({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -98,6 +98,16 @@ it("tbaas.v20180416.GetBcosBlockList", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("tbaas.v20180416.QueryChainMakerContract", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.QueryChainMakerContract({})
|
|
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("tbaas.v20180416.QueryChainMakerDemoBlockTransaction", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.QueryChainMakerDemoBlockTransaction({})
|
|
@@ -28,6 +28,16 @@ it("tcm.v20210413.DeleteMesh", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("tcm.v20210413.DescribeAccessLogConfig", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeAccessLogConfig({})
|
|
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
|
+
|
|
31
41
|
it("tcm.v20210413.LinkClusterList", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.LinkClusterList({})
|
|
@@ -58,6 +68,16 @@ it("tcm.v20210413.DescribeMeshList", async function () {
|
|
|
58
68
|
}
|
|
59
69
|
})
|
|
60
70
|
|
|
71
|
+
it("tcm.v20210413.ModifyMesh", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.ModifyMesh({})
|
|
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
|
+
|
|
61
81
|
it("tcm.v20210413.UnlinkCluster", async function () {
|
|
62
82
|
try {
|
|
63
83
|
const data = await client.UnlinkCluster({})
|
|
@@ -78,9 +98,9 @@ it("tcm.v20210413.ModifyTracingConfig", async function () {
|
|
|
78
98
|
}
|
|
79
99
|
})
|
|
80
100
|
|
|
81
|
-
it("tcm.v20210413.
|
|
101
|
+
it("tcm.v20210413.ModifyAccessLogConfig", async function () {
|
|
82
102
|
try {
|
|
83
|
-
const data = await client.
|
|
103
|
+
const data = await client.ModifyAccessLogConfig({})
|
|
84
104
|
expect(data).to.be.ok
|
|
85
105
|
} catch(error) {
|
|
86
106
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("tcss.v20201101.DescribeImageAuthorizedInfo", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("tcss.v20201101.
|
|
31
|
+
it("tcss.v20201101.CreateK8sApiAbnormalEventExportJob", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.CreateK8sApiAbnormalEventExportJob({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +148,9 @@ it("tcss.v20201101.DescribeAccessControlDetail", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
-
it("tcss.v20201101.
|
|
151
|
+
it("tcss.v20201101.DescribeVirusAutoIsolateSampleDetail", async function () {
|
|
152
152
|
try {
|
|
153
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeVirusAutoIsolateSampleDetail({})
|
|
154
154
|
expect(data).to.be.ok
|
|
155
155
|
} catch(error) {
|
|
156
156
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +178,9 @@ it("tcss.v20201101.DescribeNetworkFirewallPolicyStatus", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("tcss.v20201101.
|
|
181
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalSummary", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeK8sApiAbnormalSummary({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +378,9 @@ it("tcss.v20201101.DescribeAgentDaemonSetCmd", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
-
it("tcss.v20201101.
|
|
381
|
+
it("tcss.v20201101.CreateK8sApiAbnormalRuleExportJob", async function () {
|
|
382
382
|
try {
|
|
383
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateK8sApiAbnormalRuleExportJob({})
|
|
384
384
|
expect(data).to.be.ok
|
|
385
385
|
} catch(error) {
|
|
386
386
|
expect(error.requestId).to.be.ok
|
|
@@ -578,9 +578,9 @@ it("tcss.v20201101.CreateAssetImageRegistryScanTaskOneKey", async function () {
|
|
|
578
578
|
}
|
|
579
579
|
})
|
|
580
580
|
|
|
581
|
-
it("tcss.v20201101.
|
|
581
|
+
it("tcss.v20201101.ModifyAccessControlRuleStatus", async function () {
|
|
582
582
|
try {
|
|
583
|
-
const data = await client.
|
|
583
|
+
const data = await client.ModifyAccessControlRuleStatus({})
|
|
584
584
|
expect(data).to.be.ok
|
|
585
585
|
} catch(error) {
|
|
586
586
|
expect(error.requestId).to.be.ok
|
|
@@ -688,6 +688,16 @@ it("tcss.v20201101.DescribeRiskSyscallNames", async function () {
|
|
|
688
688
|
}
|
|
689
689
|
})
|
|
690
690
|
|
|
691
|
+
it("tcss.v20201101.ModifyK8sApiAbnormalRuleInfo", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.ModifyK8sApiAbnormalRuleInfo({})
|
|
694
|
+
expect(data).to.be.ok
|
|
695
|
+
} catch(error) {
|
|
696
|
+
expect(error.requestId).to.be.ok
|
|
697
|
+
expect(error.code).to.be.ok
|
|
698
|
+
}
|
|
699
|
+
})
|
|
700
|
+
|
|
691
701
|
it("tcss.v20201101.DescribeCompliancePeriodTaskList", async function () {
|
|
692
702
|
try {
|
|
693
703
|
const data = await client.DescribeCompliancePeriodTaskList({})
|
|
@@ -838,6 +848,16 @@ it("tcss.v20201101.DescribeValueAddedSrvInfo", async function () {
|
|
|
838
848
|
}
|
|
839
849
|
})
|
|
840
850
|
|
|
851
|
+
it("tcss.v20201101.ModifyVirusFileStatus", async function () {
|
|
852
|
+
try {
|
|
853
|
+
const data = await client.ModifyVirusFileStatus({})
|
|
854
|
+
expect(data).to.be.ok
|
|
855
|
+
} catch(error) {
|
|
856
|
+
expect(error.requestId).to.be.ok
|
|
857
|
+
expect(error.code).to.be.ok
|
|
858
|
+
}
|
|
859
|
+
})
|
|
860
|
+
|
|
841
861
|
it("tcss.v20201101.AddEditReverseShellWhiteList", async function () {
|
|
842
862
|
try {
|
|
843
863
|
const data = await client.AddEditReverseShellWhiteList({})
|
|
@@ -918,9 +938,9 @@ it("tcss.v20201101.DescribeSecLogDeliveryClsOptions", async function () {
|
|
|
918
938
|
}
|
|
919
939
|
})
|
|
920
940
|
|
|
921
|
-
it("tcss.v20201101.
|
|
941
|
+
it("tcss.v20201101.DescribeUnauthorizedCoresTendency", async function () {
|
|
922
942
|
try {
|
|
923
|
-
const data = await client.
|
|
943
|
+
const data = await client.DescribeUnauthorizedCoresTendency({})
|
|
924
944
|
expect(data).to.be.ok
|
|
925
945
|
} catch(error) {
|
|
926
946
|
expect(error.requestId).to.be.ok
|
|
@@ -1238,9 +1258,9 @@ it("tcss.v20201101.DescribeVulDefencePlugin", async function () {
|
|
|
1238
1258
|
}
|
|
1239
1259
|
})
|
|
1240
1260
|
|
|
1241
|
-
it("tcss.v20201101.
|
|
1261
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalEventList", async function () {
|
|
1242
1262
|
try {
|
|
1243
|
-
const data = await client.
|
|
1263
|
+
const data = await client.DescribeK8sApiAbnormalEventList({})
|
|
1244
1264
|
expect(data).to.be.ok
|
|
1245
1265
|
} catch(error) {
|
|
1246
1266
|
expect(error.requestId).to.be.ok
|
|
@@ -1388,6 +1408,16 @@ it("tcss.v20201101.DescribeVirusList", async function () {
|
|
|
1388
1408
|
}
|
|
1389
1409
|
})
|
|
1390
1410
|
|
|
1411
|
+
it("tcss.v20201101.ModifyAssetImageScanStop", async function () {
|
|
1412
|
+
try {
|
|
1413
|
+
const data = await client.ModifyAssetImageScanStop({})
|
|
1414
|
+
expect(data).to.be.ok
|
|
1415
|
+
} catch(error) {
|
|
1416
|
+
expect(error.requestId).to.be.ok
|
|
1417
|
+
expect(error.code).to.be.ok
|
|
1418
|
+
}
|
|
1419
|
+
})
|
|
1420
|
+
|
|
1391
1421
|
it("tcss.v20201101.ScanComplianceAssets", async function () {
|
|
1392
1422
|
try {
|
|
1393
1423
|
const data = await client.ScanComplianceAssets({})
|
|
@@ -1398,9 +1428,9 @@ it("tcss.v20201101.ScanComplianceAssets", async function () {
|
|
|
1398
1428
|
}
|
|
1399
1429
|
})
|
|
1400
1430
|
|
|
1401
|
-
it("tcss.v20201101.
|
|
1431
|
+
it("tcss.v20201101.ModifyK8sApiAbnormalEventStatus", async function () {
|
|
1402
1432
|
try {
|
|
1403
|
-
const data = await client.
|
|
1433
|
+
const data = await client.ModifyK8sApiAbnormalEventStatus({})
|
|
1404
1434
|
expect(data).to.be.ok
|
|
1405
1435
|
} catch(error) {
|
|
1406
1436
|
expect(error.requestId).to.be.ok
|
|
@@ -1508,9 +1538,29 @@ it("tcss.v20201101.DescribeComplianceScanFailedAssetList", async function () {
|
|
|
1508
1538
|
}
|
|
1509
1539
|
})
|
|
1510
1540
|
|
|
1511
|
-
it("tcss.v20201101.
|
|
1541
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalRuleScopeList", async function () {
|
|
1512
1542
|
try {
|
|
1513
|
-
const data = await client.
|
|
1543
|
+
const data = await client.DescribeK8sApiAbnormalRuleScopeList({})
|
|
1544
|
+
expect(data).to.be.ok
|
|
1545
|
+
} catch(error) {
|
|
1546
|
+
expect(error.requestId).to.be.ok
|
|
1547
|
+
expect(error.code).to.be.ok
|
|
1548
|
+
}
|
|
1549
|
+
})
|
|
1550
|
+
|
|
1551
|
+
it("tcss.v20201101.DescribeAssetClusterList", async function () {
|
|
1552
|
+
try {
|
|
1553
|
+
const data = await client.DescribeAssetClusterList({})
|
|
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
|
+
|
|
1561
|
+
it("tcss.v20201101.DescribeSupportDefenceVul", async function () {
|
|
1562
|
+
try {
|
|
1563
|
+
const data = await client.DescribeSupportDefenceVul({})
|
|
1514
1564
|
expect(data).to.be.ok
|
|
1515
1565
|
} catch(error) {
|
|
1516
1566
|
expect(error.requestId).to.be.ok
|
|
@@ -1618,6 +1668,16 @@ it("tcss.v20201101.DescribeAssetImageRegistryRiskListExport", async function ()
|
|
|
1618
1668
|
}
|
|
1619
1669
|
})
|
|
1620
1670
|
|
|
1671
|
+
it("tcss.v20201101.ModifyVirusScanTimeoutSetting", async function () {
|
|
1672
|
+
try {
|
|
1673
|
+
const data = await client.ModifyVirusScanTimeoutSetting({})
|
|
1674
|
+
expect(data).to.be.ok
|
|
1675
|
+
} catch(error) {
|
|
1676
|
+
expect(error.requestId).to.be.ok
|
|
1677
|
+
expect(error.code).to.be.ok
|
|
1678
|
+
}
|
|
1679
|
+
})
|
|
1680
|
+
|
|
1621
1681
|
it("tcss.v20201101.CreateVirusScanTask", async function () {
|
|
1622
1682
|
try {
|
|
1623
1683
|
const data = await client.CreateVirusScanTask({})
|
|
@@ -1738,6 +1798,16 @@ it("tcss.v20201101.DescribeAccessControlRuleDetail", async function () {
|
|
|
1738
1798
|
}
|
|
1739
1799
|
})
|
|
1740
1800
|
|
|
1801
|
+
it("tcss.v20201101.UpdateAndPublishNetworkFirewallPolicyYamlDetail", async function () {
|
|
1802
|
+
try {
|
|
1803
|
+
const data = await client.UpdateAndPublishNetworkFirewallPolicyYamlDetail({})
|
|
1804
|
+
expect(data).to.be.ok
|
|
1805
|
+
} catch(error) {
|
|
1806
|
+
expect(error.requestId).to.be.ok
|
|
1807
|
+
expect(error.code).to.be.ok
|
|
1808
|
+
}
|
|
1809
|
+
})
|
|
1810
|
+
|
|
1741
1811
|
it("tcss.v20201101.ModifyImageAuthorized", async function () {
|
|
1742
1812
|
try {
|
|
1743
1813
|
const data = await client.ModifyImageAuthorized({})
|
|
@@ -1898,9 +1968,9 @@ it("tcss.v20201101.AddAssetImageRegistryRegistryDetail", async function () {
|
|
|
1898
1968
|
}
|
|
1899
1969
|
})
|
|
1900
1970
|
|
|
1901
|
-
it("tcss.v20201101.
|
|
1971
|
+
it("tcss.v20201101.DescribeAssetPortList", async function () {
|
|
1902
1972
|
try {
|
|
1903
|
-
const data = await client.
|
|
1973
|
+
const data = await client.DescribeAssetPortList({})
|
|
1904
1974
|
expect(data).to.be.ok
|
|
1905
1975
|
} catch(error) {
|
|
1906
1976
|
expect(error.requestId).to.be.ok
|
|
@@ -2058,6 +2128,16 @@ it("tcss.v20201101.DescribeVulScanLocalImageList", async function () {
|
|
|
2058
2128
|
}
|
|
2059
2129
|
})
|
|
2060
2130
|
|
|
2131
|
+
it("tcss.v20201101.StopVirusScanTask", async function () {
|
|
2132
|
+
try {
|
|
2133
|
+
const data = await client.StopVirusScanTask({})
|
|
2134
|
+
expect(data).to.be.ok
|
|
2135
|
+
} catch(error) {
|
|
2136
|
+
expect(error.requestId).to.be.ok
|
|
2137
|
+
expect(error.code).to.be.ok
|
|
2138
|
+
}
|
|
2139
|
+
})
|
|
2140
|
+
|
|
2061
2141
|
it("tcss.v20201101.AddEditAbnormalProcessRule", async function () {
|
|
2062
2142
|
try {
|
|
2063
2143
|
const data = await client.AddEditAbnormalProcessRule({})
|
|
@@ -2068,6 +2148,26 @@ it("tcss.v20201101.AddEditAbnormalProcessRule", async function () {
|
|
|
2068
2148
|
}
|
|
2069
2149
|
})
|
|
2070
2150
|
|
|
2151
|
+
it("tcss.v20201101.ModifyVulDefenceEventStatus", async function () {
|
|
2152
|
+
try {
|
|
2153
|
+
const data = await client.ModifyVulDefenceEventStatus({})
|
|
2154
|
+
expect(data).to.be.ok
|
|
2155
|
+
} catch(error) {
|
|
2156
|
+
expect(error.requestId).to.be.ok
|
|
2157
|
+
expect(error.code).to.be.ok
|
|
2158
|
+
}
|
|
2159
|
+
})
|
|
2160
|
+
|
|
2161
|
+
it("tcss.v20201101.ResetSecLogTopicConfig", async function () {
|
|
2162
|
+
try {
|
|
2163
|
+
const data = await client.ResetSecLogTopicConfig({})
|
|
2164
|
+
expect(data).to.be.ok
|
|
2165
|
+
} catch(error) {
|
|
2166
|
+
expect(error.requestId).to.be.ok
|
|
2167
|
+
expect(error.code).to.be.ok
|
|
2168
|
+
}
|
|
2169
|
+
})
|
|
2170
|
+
|
|
2071
2171
|
it("tcss.v20201101.CreateVirusScanAgain", async function () {
|
|
2072
2172
|
try {
|
|
2073
2173
|
const data = await client.CreateVirusScanAgain({})
|
|
@@ -2138,9 +2238,9 @@ it("tcss.v20201101.DescribeAssetImageList", async function () {
|
|
|
2138
2238
|
}
|
|
2139
2239
|
})
|
|
2140
2240
|
|
|
2141
|
-
it("tcss.v20201101.
|
|
2241
|
+
it("tcss.v20201101.DeleteK8sApiAbnormalRule", async function () {
|
|
2142
2242
|
try {
|
|
2143
|
-
const data = await client.
|
|
2243
|
+
const data = await client.DeleteK8sApiAbnormalRule({})
|
|
2144
2244
|
expect(data).to.be.ok
|
|
2145
2245
|
} catch(error) {
|
|
2146
2246
|
expect(error.requestId).to.be.ok
|
|
@@ -2278,6 +2378,16 @@ it("tcss.v20201101.DescribeNetworkFirewallPodLabelsList", async function () {
|
|
|
2278
2378
|
}
|
|
2279
2379
|
})
|
|
2280
2380
|
|
|
2381
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalTendency", async function () {
|
|
2382
|
+
try {
|
|
2383
|
+
const data = await client.DescribeK8sApiAbnormalTendency({})
|
|
2384
|
+
expect(data).to.be.ok
|
|
2385
|
+
} catch(error) {
|
|
2386
|
+
expect(error.requestId).to.be.ok
|
|
2387
|
+
expect(error.code).to.be.ok
|
|
2388
|
+
}
|
|
2389
|
+
})
|
|
2390
|
+
|
|
2281
2391
|
it("tcss.v20201101.DescribeAbnormalProcessEvents", async function () {
|
|
2282
2392
|
try {
|
|
2283
2393
|
const data = await client.DescribeAbnormalProcessEvents({})
|
|
@@ -2338,6 +2448,16 @@ it("tcss.v20201101.DescribeESHits", async function () {
|
|
|
2338
2448
|
}
|
|
2339
2449
|
})
|
|
2340
2450
|
|
|
2451
|
+
it("tcss.v20201101.DescribeVulDefenceSetting", async function () {
|
|
2452
|
+
try {
|
|
2453
|
+
const data = await client.DescribeVulDefenceSetting({})
|
|
2454
|
+
expect(data).to.be.ok
|
|
2455
|
+
} catch(error) {
|
|
2456
|
+
expect(error.requestId).to.be.ok
|
|
2457
|
+
expect(error.code).to.be.ok
|
|
2458
|
+
}
|
|
2459
|
+
})
|
|
2460
|
+
|
|
2341
2461
|
it("tcss.v20201101.DescribeAssetSyncLastTime", async function () {
|
|
2342
2462
|
try {
|
|
2343
2463
|
const data = await client.DescribeAssetSyncLastTime({})
|
|
@@ -2348,6 +2468,16 @@ it("tcss.v20201101.DescribeAssetSyncLastTime", async function () {
|
|
|
2348
2468
|
}
|
|
2349
2469
|
})
|
|
2350
2470
|
|
|
2471
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalRuleInfo", async function () {
|
|
2472
|
+
try {
|
|
2473
|
+
const data = await client.DescribeK8sApiAbnormalRuleInfo({})
|
|
2474
|
+
expect(data).to.be.ok
|
|
2475
|
+
} catch(error) {
|
|
2476
|
+
expect(error.requestId).to.be.ok
|
|
2477
|
+
expect(error.code).to.be.ok
|
|
2478
|
+
}
|
|
2479
|
+
})
|
|
2480
|
+
|
|
2351
2481
|
it("tcss.v20201101.DeleteCompliancePolicyItemFromWhitelist", async function () {
|
|
2352
2482
|
try {
|
|
2353
2483
|
const data = await client.DeleteCompliancePolicyItemFromWhitelist({})
|
|
@@ -2888,6 +3018,16 @@ it("tcss.v20201101.DescribeAssetImageVirusList", async function () {
|
|
|
2888
3018
|
}
|
|
2889
3019
|
})
|
|
2890
3020
|
|
|
3021
|
+
it("tcss.v20201101.CreateK8sApiAbnormalRuleInfo", async function () {
|
|
3022
|
+
try {
|
|
3023
|
+
const data = await client.CreateK8sApiAbnormalRuleInfo({})
|
|
3024
|
+
expect(data).to.be.ok
|
|
3025
|
+
} catch(error) {
|
|
3026
|
+
expect(error.requestId).to.be.ok
|
|
3027
|
+
expect(error.code).to.be.ok
|
|
3028
|
+
}
|
|
3029
|
+
})
|
|
3030
|
+
|
|
2891
3031
|
it("tcss.v20201101.DescribeAssetSummary", async function () {
|
|
2892
3032
|
try {
|
|
2893
3033
|
const data = await client.DescribeAssetSummary({})
|
|
@@ -2958,9 +3098,9 @@ it("tcss.v20201101.AddNetworkFirewallPolicyDetail", async function () {
|
|
|
2958
3098
|
}
|
|
2959
3099
|
})
|
|
2960
3100
|
|
|
2961
|
-
it("tcss.v20201101.
|
|
3101
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalEventInfo", async function () {
|
|
2962
3102
|
try {
|
|
2963
|
-
const data = await client.
|
|
3103
|
+
const data = await client.DescribeK8sApiAbnormalEventInfo({})
|
|
2964
3104
|
expect(data).to.be.ok
|
|
2965
3105
|
} catch(error) {
|
|
2966
3106
|
expect(error.requestId).to.be.ok
|
|
@@ -3098,6 +3238,16 @@ it("tcss.v20201101.DescribeVirusScanTaskStatus", async function () {
|
|
|
3098
3238
|
}
|
|
3099
3239
|
})
|
|
3100
3240
|
|
|
3241
|
+
it("tcss.v20201101.ModifyK8sApiAbnormalRuleStatus", async function () {
|
|
3242
|
+
try {
|
|
3243
|
+
const data = await client.ModifyK8sApiAbnormalRuleStatus({})
|
|
3244
|
+
expect(data).to.be.ok
|
|
3245
|
+
} catch(error) {
|
|
3246
|
+
expect(error.requestId).to.be.ok
|
|
3247
|
+
expect(error.code).to.be.ok
|
|
3248
|
+
}
|
|
3249
|
+
})
|
|
3250
|
+
|
|
3101
3251
|
it("tcss.v20201101.DescribeSecEventsTendency", async function () {
|
|
3102
3252
|
try {
|
|
3103
3253
|
const data = await client.DescribeSecEventsTendency({})
|
|
@@ -3138,9 +3288,9 @@ it("tcss.v20201101.DeleteCompliancePolicyAssetSetFromWhitelist", async function
|
|
|
3138
3288
|
}
|
|
3139
3289
|
})
|
|
3140
3290
|
|
|
3141
|
-
it("tcss.v20201101.
|
|
3291
|
+
it("tcss.v20201101.DescribeK8sApiAbnormalRuleList", async function () {
|
|
3142
3292
|
try {
|
|
3143
|
-
const data = await client.
|
|
3293
|
+
const data = await client.DescribeK8sApiAbnormalRuleList({})
|
|
3144
3294
|
expect(data).to.be.ok
|
|
3145
3295
|
} catch(error) {
|
|
3146
3296
|
expect(error.requestId).to.be.ok
|