tencentcloud-sdk-nodejs 4.0.285 → 4.0.289
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 +494 -0
- package/SERVICE_CHANGELOG.md +505 -5
- package/package.json +1 -1
- package/products.md +33 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -0
- package/src/services/ame/v20190916/ame_models.ts +35 -4
- package/src/services/antiddos/v20200309/antiddos_client.ts +327 -68
- package/src/services/antiddos/v20200309/antiddos_models.ts +1382 -244
- package/src/services/ccc/v20200210/ccc_client.ts +128 -91
- package/src/services/ccc/v20200210/ccc_models.ts +183 -6
- package/src/services/cdb/v20170320/cdb_models.ts +32 -5
- package/src/services/cdn/v20180606/cdn_client.ts +4 -2
- package/src/services/cfs/v20190719/cfs_models.ts +5 -0
- package/src/services/cii/v20210408/cii_client.ts +2 -2
- package/src/services/cii/v20210408/cii_models.ts +14 -6
- package/src/services/clb/v20180317/clb_models.ts +4 -3
- package/src/services/cloudaudit/v20190319/cloudaudit_client.ts +12 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +15 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +15 -2
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +122 -22
- package/src/services/ecdn/v20191012/ecdn_client.ts +8 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/facefusion/v20181201/facefusion_models.ts +2 -2
- package/src/services/ic/v20190307/ic_models.ts +1 -1
- package/src/services/iecp/v20210914/iecp_models.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +12 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +47 -0
- package/src/services/ivld/v20210903/ivld_models.ts +10 -0
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +21 -4
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +209 -36
- package/src/services/mariadb/v20170312/mariadb_client.ts +13 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +65 -0
- package/src/services/organization/v20210331/organization_models.ts +2 -2
- package/src/services/rum/v20210622/rum_client.ts +585 -47
- package/src/services/rum/v20210622/rum_models.ts +3049 -338
- package/src/services/smh/index.ts +5 -0
- package/src/services/smh/v20210712/index.ts +6 -0
- package/src/services/smh/v20210712/smh_client.ts +155 -0
- package/src/services/smh/v20210712/smh_models.ts +655 -0
- package/src/services/ssl/v20191205/ssl_models.ts +6 -0
- package/src/services/ssm/v20190923/ssm_models.ts +3 -3
- package/src/services/tat/v20201028/tat_models.ts +1 -1
- package/src/services/tcm/v20210413/tcm_models.ts +10 -0
- package/src/services/tcss/v20201101/tcss_models.ts +13 -2
- package/src/services/tke/v20180525/tke_models.ts +35 -2
- package/src/services/vod/v20180717/vod_models.ts +3 -3
- package/src/services/vpc/v20170312/vpc_client.ts +4 -4
- package/src/services/vpc/v20170312/vpc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +29 -2
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +103 -19
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +153 -27
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +1205 -244
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +47 -35
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +69 -51
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +154 -5
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +27 -5
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +2 -2
- package/tencentcloud/services/cii/v20210408/cii_client.js +2 -2
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +11 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.d.ts +5 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_client.js +6 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +13 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +104 -21
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +2 -2
- package/tencentcloud/services/ic/v20190307/ic_models.d.ts +1 -1
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +5 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +40 -0
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +8 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +5 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +6 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +179 -33
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +55 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +2 -2
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +198 -13
- package/tencentcloud/services/rum/v20210622/rum_client.js +289 -18
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +2593 -328
- package/tencentcloud/services/smh/index.d.ts +6 -0
- package/tencentcloud/services/smh/index.js +7 -0
- package/tencentcloud/services/smh/v20210712/index.d.ts +6 -0
- package/tencentcloud/services/smh/v20210712/index.js +9 -0
- package/tencentcloud/services/smh/v20210712/smh_client.d.ts +50 -0
- package/tencentcloud/services/smh/v20210712/smh_client.js +91 -0
- package/tencentcloud/services/smh/v20210712/smh_models.d.ts +538 -0
- package/tencentcloud/services/smh/v20210712/smh_models.js +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +5 -0
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +3 -3
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +1 -1
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +8 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +11 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +4 -4
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/test/antiddos.v20200309.test.js +228 -18
- package/test/ccc.v20200210.test.js +66 -36
- package/test/cloudaudit.v20190319.test.js +10 -0
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/lighthouse.v20200324.test.js +10 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/rum.v20210622.test.js +442 -12
- package/test/smh.v20210712.test.js +121 -0
|
@@ -1667,6 +1667,16 @@ export interface DescribeClustersRequest {
|
|
|
1667
1667
|
类型:String
|
|
1668
1668
|
必选:否
|
|
1669
1669
|
|
|
1670
|
+
· ClusterType
|
|
1671
|
+
按照【集群类型】进行过滤。
|
|
1672
|
+
类型:String
|
|
1673
|
+
必选:否
|
|
1674
|
+
|
|
1675
|
+
· ClusterStatus
|
|
1676
|
+
按照【集群状态】进行过滤。
|
|
1677
|
+
类型:String
|
|
1678
|
+
必选:否
|
|
1679
|
+
|
|
1670
1680
|
· Tags
|
|
1671
1681
|
按照【标签键值对】进行过滤。
|
|
1672
1682
|
类型:String
|
|
@@ -3409,11 +3419,11 @@ export interface DescribeClusterNodePoolsResponse {
|
|
|
3409
3419
|
* NodePools(节点池列表)
|
|
3410
3420
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3411
3421
|
*/
|
|
3412
|
-
NodePoolSet
|
|
3422
|
+
NodePoolSet: Array<NodePool>;
|
|
3413
3423
|
/**
|
|
3414
3424
|
* 资源总数
|
|
3415
3425
|
*/
|
|
3416
|
-
TotalCount
|
|
3426
|
+
TotalCount: number;
|
|
3417
3427
|
/**
|
|
3418
3428
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3419
3429
|
*/
|
|
@@ -5067,6 +5077,28 @@ export interface DescribeClusterNodePoolsRequest {
|
|
|
5067
5077
|
* ClusterId(集群id)
|
|
5068
5078
|
*/
|
|
5069
5079
|
ClusterId: string;
|
|
5080
|
+
/**
|
|
5081
|
+
* · NodePoolsName
|
|
5082
|
+
按照【节点池名】进行过滤。
|
|
5083
|
+
类型:String
|
|
5084
|
+
必选:否
|
|
5085
|
+
|
|
5086
|
+
· NodePoolsId
|
|
5087
|
+
按照【节点池id】进行过滤。
|
|
5088
|
+
类型:String
|
|
5089
|
+
必选:否
|
|
5090
|
+
|
|
5091
|
+
· tags
|
|
5092
|
+
按照【标签键值对】进行过滤。
|
|
5093
|
+
类型:String
|
|
5094
|
+
必选:否
|
|
5095
|
+
|
|
5096
|
+
· tag:tag-key
|
|
5097
|
+
按照【标签键值对】进行过滤。
|
|
5098
|
+
类型:String
|
|
5099
|
+
必选:否
|
|
5100
|
+
*/
|
|
5101
|
+
Filters?: Array<Filter>;
|
|
5070
5102
|
}
|
|
5071
5103
|
/**
|
|
5072
5104
|
* DescribeClusterRouteTables请求参数结构体
|
|
@@ -400,7 +400,7 @@ export interface LiveRealTimeClipResponse {
|
|
|
400
400
|
RequestId?: string;
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
* 智能识别 Asr
|
|
403
|
+
* 智能识别 Asr 文字鉴违禁任务结果类型
|
|
404
404
|
*/
|
|
405
405
|
export interface AiReviewTaskProhibitedAsrResult {
|
|
406
406
|
/**
|
|
@@ -499,7 +499,7 @@ export interface DeleteAnimatedGraphicsTemplateResponse {
|
|
|
499
499
|
RequestId?: string;
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
502
|
-
* 智能识别 Ocr
|
|
502
|
+
* 智能识别 Ocr 文字鉴违禁任务结果类型
|
|
503
503
|
*/
|
|
504
504
|
export interface AiReviewTaskProhibitedOcrResult {
|
|
505
505
|
/**
|
|
@@ -1903,7 +1903,7 @@ export interface AiRecognitionTaskOcrWordsResultInput {
|
|
|
1903
1903
|
Definition: number;
|
|
1904
1904
|
}
|
|
1905
1905
|
/**
|
|
1906
|
-
*
|
|
1906
|
+
* 智能识别涉及令人反感的信息的任务输入参数类型
|
|
1907
1907
|
*/
|
|
1908
1908
|
export interface AiReviewPornTaskInput {
|
|
1909
1909
|
/**
|
|
@@ -338,7 +338,7 @@ export declare class Client extends AbstractClient {
|
|
|
338
338
|
*/
|
|
339
339
|
AcceptAttachCcnInstances(req: AcceptAttachCcnInstancesRequest, cb?: (error: string, rep: AcceptAttachCcnInstancesResponse) => void): Promise<AcceptAttachCcnInstancesResponse>;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
342
342
|
*/
|
|
343
343
|
DeleteTemplateMember(req: DeleteTemplateMemberRequest, cb?: (error: string, rep: DeleteTemplateMemberResponse) => void): Promise<DeleteTemplateMemberResponse>;
|
|
344
344
|
/**
|
|
@@ -350,7 +350,7 @@ export declare class Client extends AbstractClient {
|
|
|
350
350
|
*/
|
|
351
351
|
DescribeGatewayFlowQos(req: DescribeGatewayFlowQosRequest, cb?: (error: string, rep: DescribeGatewayFlowQosResponse) => void): Promise<DescribeGatewayFlowQosResponse>;
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
354
354
|
*/
|
|
355
355
|
ModifyTemplateMember(req: ModifyTemplateMemberRequest, cb?: (error: string, rep: ModifyTemplateMemberResponse) => void): Promise<ModifyTemplateMemberResponse>;
|
|
356
356
|
/**
|
|
@@ -961,7 +961,7 @@ LimitTypes取值范围:
|
|
|
961
961
|
*/
|
|
962
962
|
CreateNatGatewaySourceIpTranslationNatRule(req: CreateNatGatewaySourceIpTranslationNatRuleRequest, cb?: (error: string, rep: CreateNatGatewaySourceIpTranslationNatRuleResponse) => void): Promise<CreateNatGatewaySourceIpTranslationNatRuleResponse>;
|
|
963
963
|
/**
|
|
964
|
-
*
|
|
964
|
+
* 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
965
965
|
*/
|
|
966
966
|
AddTemplateMember(req: AddTemplateMemberRequest, cb?: (error: string, rep: AddTemplateMemberResponse) => void): Promise<AddTemplateMemberResponse>;
|
|
967
967
|
/**
|
|
@@ -1003,7 +1003,7 @@ LimitTypes取值范围:
|
|
|
1003
1003
|
*/
|
|
1004
1004
|
ModifyBandwidthPackageAttribute(req: ModifyBandwidthPackageAttributeRequest, cb?: (error: string, rep: ModifyBandwidthPackageAttributeResponse) => void): Promise<ModifyBandwidthPackageAttributeResponse>;
|
|
1005
1005
|
/**
|
|
1006
|
-
* 本接口(CreateAddressTemplate)用于创建IP
|
|
1006
|
+
* 本接口(CreateAddressTemplate)用于创建IP地址模板。
|
|
1007
1007
|
*/
|
|
1008
1008
|
CreateAddressTemplate(req: CreateAddressTemplateRequest, cb?: (error: string, rep: CreateAddressTemplateResponse) => void): Promise<CreateAddressTemplateResponse>;
|
|
1009
1009
|
/**
|
|
@@ -500,7 +500,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
500
500
|
return this.request("AcceptAttachCcnInstances", req, cb);
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
504
504
|
*/
|
|
505
505
|
async DeleteTemplateMember(req, cb) {
|
|
506
506
|
return this.request("DeleteTemplateMember", req, cb);
|
|
@@ -518,7 +518,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
518
518
|
return this.request("DescribeGatewayFlowQos", req, cb);
|
|
519
519
|
}
|
|
520
520
|
/**
|
|
521
|
-
*
|
|
521
|
+
* 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
522
522
|
*/
|
|
523
523
|
async ModifyTemplateMember(req, cb) {
|
|
524
524
|
return this.request("ModifyTemplateMember", req, cb);
|
|
@@ -1363,7 +1363,7 @@ LimitTypes取值范围:
|
|
|
1363
1363
|
return this.request("CreateNatGatewaySourceIpTranslationNatRule", req, cb);
|
|
1364
1364
|
}
|
|
1365
1365
|
/**
|
|
1366
|
-
*
|
|
1366
|
+
* 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。
|
|
1367
1367
|
*/
|
|
1368
1368
|
async AddTemplateMember(req, cb) {
|
|
1369
1369
|
return this.request("AddTemplateMember", req, cb);
|
|
@@ -1425,7 +1425,7 @@ LimitTypes取值范围:
|
|
|
1425
1425
|
return this.request("ModifyBandwidthPackageAttribute", req, cb);
|
|
1426
1426
|
}
|
|
1427
1427
|
/**
|
|
1428
|
-
* 本接口(CreateAddressTemplate)用于创建IP
|
|
1428
|
+
* 本接口(CreateAddressTemplate)用于创建IP地址模板。
|
|
1429
1429
|
*/
|
|
1430
1430
|
async CreateAddressTemplate(req, cb) {
|
|
1431
1431
|
return this.request("CreateAddressTemplate", req, cb);
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.antiddos.v20200309.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("antiddos.v20200309.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("antiddos.v20200309.ModifyCcBlackWhiteIpList", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.ModifyCcBlackWhiteIpList({})
|
|
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("antiddos.v20200309.AssociateDDoSEipAddress", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.AssociateDDoSEipAddress({})
|
|
@@ -28,9 +38,9 @@ it("antiddos.v20200309.AssociateDDoSEipAddress", async function () {
|
|
|
28
38
|
}
|
|
29
39
|
})
|
|
30
40
|
|
|
31
|
-
it("antiddos.v20200309.
|
|
41
|
+
it("antiddos.v20200309.ModifyDDoSThreshold", async function () {
|
|
32
42
|
try {
|
|
33
|
-
const data = await client.
|
|
43
|
+
const data = await client.ModifyDDoSThreshold({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,6 +58,16 @@ it("antiddos.v20200309.DescribeListWaterPrintConfig", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteDDoSBlackWhiteIpList({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
it("antiddos.v20200309.DeleteDDoSSpeedLimitConfig", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.DeleteDDoSSpeedLimitConfig({})
|
|
@@ -88,9 +108,19 @@ it("antiddos.v20200309.DeleteDDoSGeoIPBlockConfig", async function () {
|
|
|
88
108
|
}
|
|
89
109
|
})
|
|
90
110
|
|
|
91
|
-
it("antiddos.v20200309.
|
|
111
|
+
it("antiddos.v20200309.ModifyDomainUsrName", async function () {
|
|
92
112
|
try {
|
|
93
|
-
const data = await client.
|
|
113
|
+
const data = await client.ModifyDomainUsrName({})
|
|
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
|
+
|
|
121
|
+
it("antiddos.v20200309.DescribeCCPrecisionPlyList", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeCCPrecisionPlyList({})
|
|
94
124
|
expect(data).to.be.ok
|
|
95
125
|
} catch(error) {
|
|
96
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +148,9 @@ it("antiddos.v20200309.CreatePacketFilterConfig", async function () {
|
|
|
118
148
|
}
|
|
119
149
|
})
|
|
120
150
|
|
|
121
|
-
it("antiddos.v20200309.
|
|
151
|
+
it("antiddos.v20200309.DeleteCCPrecisionPolicy", async function () {
|
|
122
152
|
try {
|
|
123
|
-
const data = await client.
|
|
153
|
+
const data = await client.DeleteCCPrecisionPolicy({})
|
|
124
154
|
expect(data).to.be.ok
|
|
125
155
|
} catch(error) {
|
|
126
156
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +168,26 @@ it("antiddos.v20200309.DescribeListBGPIPInstances", async function () {
|
|
|
138
168
|
}
|
|
139
169
|
})
|
|
140
170
|
|
|
171
|
+
it("antiddos.v20200309.DescribeListIPAlarmConfig", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeListIPAlarmConfig({})
|
|
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
|
+
it("antiddos.v20200309.DescribeDDoSTrend", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.DescribeDDoSTrend({})
|
|
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
|
+
|
|
141
191
|
it("antiddos.v20200309.DescribeDefaultAlarmThreshold", async function () {
|
|
142
192
|
try {
|
|
143
193
|
const data = await client.DescribeDefaultAlarmThreshold({})
|
|
@@ -168,9 +218,19 @@ it("antiddos.v20200309.ModifyNewDomainRules", async function () {
|
|
|
168
218
|
}
|
|
169
219
|
})
|
|
170
220
|
|
|
171
|
-
it("antiddos.v20200309.
|
|
221
|
+
it("antiddos.v20200309.ModifyCCReqLimitPolicy", async function () {
|
|
172
222
|
try {
|
|
173
|
-
const data = await client.
|
|
223
|
+
const data = await client.ModifyCCReqLimitPolicy({})
|
|
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
|
+
it("antiddos.v20200309.DescribeCcBlackWhiteIpList", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.DescribeCcBlackWhiteIpList({})
|
|
174
234
|
expect(data).to.be.ok
|
|
175
235
|
} catch(error) {
|
|
176
236
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +248,29 @@ it("antiddos.v20200309.DisassociateDDoSEipAddress", async function () {
|
|
|
188
248
|
}
|
|
189
249
|
})
|
|
190
250
|
|
|
191
|
-
it("antiddos.v20200309.
|
|
251
|
+
it("antiddos.v20200309.DescribeCcGeoIPBlockConfigList", async function () {
|
|
192
252
|
try {
|
|
193
|
-
const data = await client.
|
|
253
|
+
const data = await client.DescribeCcGeoIPBlockConfigList({})
|
|
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
|
+
|
|
261
|
+
it("antiddos.v20200309.ModifyDDoSLevel", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.ModifyDDoSLevel({})
|
|
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
|
+
|
|
271
|
+
it("antiddos.v20200309.ModifyCCThresholdPolicy", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.ModifyCCThresholdPolicy({})
|
|
194
274
|
expect(data).to.be.ok
|
|
195
275
|
} catch(error) {
|
|
196
276
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +288,9 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
|
208
288
|
}
|
|
209
289
|
})
|
|
210
290
|
|
|
211
|
-
it("antiddos.v20200309.
|
|
291
|
+
it("antiddos.v20200309.DeleteCcGeoIPBlockConfig", async function () {
|
|
212
292
|
try {
|
|
213
|
-
const data = await client.
|
|
293
|
+
const data = await client.DeleteCcGeoIPBlockConfig({})
|
|
214
294
|
expect(data).to.be.ok
|
|
215
295
|
} catch(error) {
|
|
216
296
|
expect(error.requestId).to.be.ok
|
|
@@ -258,6 +338,16 @@ it("antiddos.v20200309.DescribeBlackWhiteIpList", async function () {
|
|
|
258
338
|
}
|
|
259
339
|
})
|
|
260
340
|
|
|
341
|
+
it("antiddos.v20200309.ModifyDDoSBlackWhiteIpList", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.ModifyDDoSBlackWhiteIpList({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
261
351
|
it("antiddos.v20200309.DescribeListDDoSAI", async function () {
|
|
262
352
|
try {
|
|
263
353
|
const data = await client.DescribeListDDoSAI({})
|
|
@@ -268,6 +358,16 @@ it("antiddos.v20200309.DescribeListDDoSAI", async function () {
|
|
|
268
358
|
}
|
|
269
359
|
})
|
|
270
360
|
|
|
361
|
+
it("antiddos.v20200309.DescribeCCReqLimitPolicyList", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DescribeCCReqLimitPolicyList({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
271
371
|
it("antiddos.v20200309.CreateDDoSBlackWhiteIpList", async function () {
|
|
272
372
|
try {
|
|
273
373
|
const data = await client.CreateDDoSBlackWhiteIpList({})
|
|
@@ -288,6 +388,16 @@ it("antiddos.v20200309.DescribeCCTrend", async function () {
|
|
|
288
388
|
}
|
|
289
389
|
})
|
|
290
390
|
|
|
391
|
+
it("antiddos.v20200309.ModifyCCPrecisionPolicy", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.ModifyCCPrecisionPolicy({})
|
|
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
|
+
|
|
291
401
|
it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
292
402
|
try {
|
|
293
403
|
const data = await client.CreateIPAlarmThresholdConfig({})
|
|
@@ -298,6 +408,16 @@ it("antiddos.v20200309.CreateIPAlarmThresholdConfig", async function () {
|
|
|
298
408
|
}
|
|
299
409
|
})
|
|
300
410
|
|
|
411
|
+
it("antiddos.v20200309.ModifyCCLevelPolicy", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.ModifyCCLevelPolicy({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
301
421
|
it("antiddos.v20200309.DescribeL7RulesBySSLCertId", async function () {
|
|
302
422
|
try {
|
|
303
423
|
const data = await client.DescribeL7RulesBySSLCertId({})
|
|
@@ -318,9 +438,19 @@ it("antiddos.v20200309.DescribeListPacketFilterConfig", async function () {
|
|
|
318
438
|
}
|
|
319
439
|
})
|
|
320
440
|
|
|
321
|
-
it("antiddos.v20200309.
|
|
441
|
+
it("antiddos.v20200309.DeletePortAclConfig", async function () {
|
|
322
442
|
try {
|
|
323
|
-
const data = await client.
|
|
443
|
+
const data = await client.DeletePortAclConfig({})
|
|
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
|
+
|
|
451
|
+
it("antiddos.v20200309.DeleteCcBlackWhiteIpList", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.DeleteCcBlackWhiteIpList({})
|
|
324
454
|
expect(data).to.be.ok
|
|
325
455
|
} catch(error) {
|
|
326
456
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +538,9 @@ it("antiddos.v20200309.CreateBlackWhiteIpList", async function () {
|
|
|
408
538
|
}
|
|
409
539
|
})
|
|
410
540
|
|
|
411
|
-
it("antiddos.v20200309.
|
|
541
|
+
it("antiddos.v20200309.ModifyPacketFilterConfig", async function () {
|
|
412
542
|
try {
|
|
413
|
-
const data = await client.
|
|
543
|
+
const data = await client.ModifyPacketFilterConfig({})
|
|
414
544
|
expect(data).to.be.ok
|
|
415
545
|
} catch(error) {
|
|
416
546
|
expect(error.requestId).to.be.ok
|
|
@@ -418,9 +548,29 @@ it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
|
418
548
|
}
|
|
419
549
|
})
|
|
420
550
|
|
|
421
|
-
it("antiddos.v20200309.
|
|
551
|
+
it("antiddos.v20200309.DescribeListDDoSSpeedLimitConfig", async function () {
|
|
422
552
|
try {
|
|
423
|
-
const data = await client.
|
|
553
|
+
const data = await client.DescribeListDDoSSpeedLimitConfig({})
|
|
554
|
+
expect(data).to.be.ok
|
|
555
|
+
} catch(error) {
|
|
556
|
+
expect(error.requestId).to.be.ok
|
|
557
|
+
expect(error.code).to.be.ok
|
|
558
|
+
}
|
|
559
|
+
})
|
|
560
|
+
|
|
561
|
+
it("antiddos.v20200309.DescribeListDDoSGeoIPBlockConfig", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeListDDoSGeoIPBlockConfig({})
|
|
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
|
+
|
|
571
|
+
it("antiddos.v20200309.CreateCCPrecisionPolicy", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.CreateCCPrecisionPolicy({})
|
|
424
574
|
expect(data).to.be.ok
|
|
425
575
|
} catch(error) {
|
|
426
576
|
expect(error.requestId).to.be.ok
|
|
@@ -458,6 +608,26 @@ it("antiddos.v20200309.DeleteWaterPrintConfig", async function () {
|
|
|
458
608
|
}
|
|
459
609
|
})
|
|
460
610
|
|
|
611
|
+
it("antiddos.v20200309.DescribeDDoSConnectLimitList", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.DescribeDDoSConnectLimitList({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
621
|
+
it("antiddos.v20200309.CreateCCReqLimitPolicy", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.CreateCCReqLimitPolicy({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
461
631
|
it("antiddos.v20200309.CreateDDoSAI", async function () {
|
|
462
632
|
try {
|
|
463
633
|
const data = await client.CreateDDoSAI({})
|
|
@@ -518,6 +688,16 @@ it("antiddos.v20200309.DescribeDDoSBlackWhiteIpList", async function () {
|
|
|
518
688
|
}
|
|
519
689
|
})
|
|
520
690
|
|
|
691
|
+
it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.ModifyL7RulesEdge({})
|
|
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
|
+
|
|
521
701
|
it("antiddos.v20200309.CreateWaterPrintKey", async function () {
|
|
522
702
|
try {
|
|
523
703
|
const data = await client.CreateWaterPrintKey({})
|
|
@@ -568,6 +748,16 @@ it("antiddos.v20200309.DescribeListPortAclList", async function () {
|
|
|
568
748
|
}
|
|
569
749
|
})
|
|
570
750
|
|
|
751
|
+
it("antiddos.v20200309.CreateCcGeoIPBlockConfig", async function () {
|
|
752
|
+
try {
|
|
753
|
+
const data = await client.CreateCcGeoIPBlockConfig({})
|
|
754
|
+
expect(data).to.be.ok
|
|
755
|
+
} catch(error) {
|
|
756
|
+
expect(error.requestId).to.be.ok
|
|
757
|
+
expect(error.code).to.be.ok
|
|
758
|
+
}
|
|
759
|
+
})
|
|
760
|
+
|
|
571
761
|
it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
|
|
572
762
|
try {
|
|
573
763
|
const data = await client.ModifyDDoSGeoIPBlockConfig({})
|
|
@@ -578,6 +768,16 @@ it("antiddos.v20200309.ModifyDDoSGeoIPBlockConfig", async function () {
|
|
|
578
768
|
}
|
|
579
769
|
})
|
|
580
770
|
|
|
771
|
+
it("antiddos.v20200309.ModifyPortAclConfig", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.ModifyPortAclConfig({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
581
781
|
it("antiddos.v20200309.DescribeListListener", async function () {
|
|
582
782
|
try {
|
|
583
783
|
const data = await client.DescribeListListener({})
|
|
@@ -588,4 +788,14 @@ it("antiddos.v20200309.DescribeListListener", async function () {
|
|
|
588
788
|
}
|
|
589
789
|
})
|
|
590
790
|
|
|
791
|
+
it("antiddos.v20200309.DeleteCCRequestLimitPolicy", async function () {
|
|
792
|
+
try {
|
|
793
|
+
const data = await client.DeleteCCRequestLimitPolicy({})
|
|
794
|
+
expect(data).to.be.ok
|
|
795
|
+
} catch(error) {
|
|
796
|
+
expect(error.requestId).to.be.ok
|
|
797
|
+
expect(error.code).to.be.ok
|
|
798
|
+
}
|
|
799
|
+
})
|
|
800
|
+
|
|
591
801
|
})
|