@alicloud/ddoscoo20200101 1.1.0 → 1.2.0
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/dist/client.d.ts +126 -0
- package/dist/client.js +248 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +308 -0
package/dist/client.d.ts
CHANGED
|
@@ -3911,6 +3911,50 @@ export declare class DescribePortAutoCcStatusResponse extends $tea.Model {
|
|
|
3911
3911
|
[key: string]: any;
|
|
3912
3912
|
});
|
|
3913
3913
|
}
|
|
3914
|
+
export declare class DescribePortCcAttackTopIPRequest extends $tea.Model {
|
|
3915
|
+
ip?: string;
|
|
3916
|
+
limit?: number;
|
|
3917
|
+
port?: string;
|
|
3918
|
+
startTimestamp?: number;
|
|
3919
|
+
static names(): {
|
|
3920
|
+
[key: string]: string;
|
|
3921
|
+
};
|
|
3922
|
+
static types(): {
|
|
3923
|
+
[key: string]: any;
|
|
3924
|
+
};
|
|
3925
|
+
constructor(map?: {
|
|
3926
|
+
[key: string]: any;
|
|
3927
|
+
});
|
|
3928
|
+
}
|
|
3929
|
+
export declare class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
|
|
3930
|
+
requestId?: string;
|
|
3931
|
+
topIp?: DescribePortCcAttackTopIPResponseBodyTopIp[];
|
|
3932
|
+
static names(): {
|
|
3933
|
+
[key: string]: string;
|
|
3934
|
+
};
|
|
3935
|
+
static types(): {
|
|
3936
|
+
[key: string]: any;
|
|
3937
|
+
};
|
|
3938
|
+
constructor(map?: {
|
|
3939
|
+
[key: string]: any;
|
|
3940
|
+
});
|
|
3941
|
+
}
|
|
3942
|
+
export declare class DescribePortCcAttackTopIPResponse extends $tea.Model {
|
|
3943
|
+
headers: {
|
|
3944
|
+
[key: string]: string;
|
|
3945
|
+
};
|
|
3946
|
+
statusCode: number;
|
|
3947
|
+
body: DescribePortCcAttackTopIPResponseBody;
|
|
3948
|
+
static names(): {
|
|
3949
|
+
[key: string]: string;
|
|
3950
|
+
};
|
|
3951
|
+
static types(): {
|
|
3952
|
+
[key: string]: any;
|
|
3953
|
+
};
|
|
3954
|
+
constructor(map?: {
|
|
3955
|
+
[key: string]: any;
|
|
3956
|
+
});
|
|
3957
|
+
}
|
|
3914
3958
|
export declare class DescribePortConnsCountRequest extends $tea.Model {
|
|
3915
3959
|
endTime?: number;
|
|
3916
3960
|
instanceIds?: string[];
|
|
@@ -5353,6 +5397,52 @@ export declare class DescribeWebPreciseAccessRuleResponse extends $tea.Model {
|
|
|
5353
5397
|
[key: string]: any;
|
|
5354
5398
|
});
|
|
5355
5399
|
}
|
|
5400
|
+
export declare class DescribeWebReportTopIpRequest extends $tea.Model {
|
|
5401
|
+
domain?: string;
|
|
5402
|
+
endTime?: number;
|
|
5403
|
+
interval?: number;
|
|
5404
|
+
queryType?: string;
|
|
5405
|
+
startTime?: number;
|
|
5406
|
+
top?: number;
|
|
5407
|
+
static names(): {
|
|
5408
|
+
[key: string]: string;
|
|
5409
|
+
};
|
|
5410
|
+
static types(): {
|
|
5411
|
+
[key: string]: any;
|
|
5412
|
+
};
|
|
5413
|
+
constructor(map?: {
|
|
5414
|
+
[key: string]: any;
|
|
5415
|
+
});
|
|
5416
|
+
}
|
|
5417
|
+
export declare class DescribeWebReportTopIpResponseBody extends $tea.Model {
|
|
5418
|
+
dataList?: DescribeWebReportTopIpResponseBodyDataList[];
|
|
5419
|
+
requestId?: string;
|
|
5420
|
+
static names(): {
|
|
5421
|
+
[key: string]: string;
|
|
5422
|
+
};
|
|
5423
|
+
static types(): {
|
|
5424
|
+
[key: string]: any;
|
|
5425
|
+
};
|
|
5426
|
+
constructor(map?: {
|
|
5427
|
+
[key: string]: any;
|
|
5428
|
+
});
|
|
5429
|
+
}
|
|
5430
|
+
export declare class DescribeWebReportTopIpResponse extends $tea.Model {
|
|
5431
|
+
headers: {
|
|
5432
|
+
[key: string]: string;
|
|
5433
|
+
};
|
|
5434
|
+
statusCode: number;
|
|
5435
|
+
body: DescribeWebReportTopIpResponseBody;
|
|
5436
|
+
static names(): {
|
|
5437
|
+
[key: string]: string;
|
|
5438
|
+
};
|
|
5439
|
+
static types(): {
|
|
5440
|
+
[key: string]: any;
|
|
5441
|
+
};
|
|
5442
|
+
constructor(map?: {
|
|
5443
|
+
[key: string]: any;
|
|
5444
|
+
});
|
|
5445
|
+
}
|
|
5356
5446
|
export declare class DescribeWebRulesRequest extends $tea.Model {
|
|
5357
5447
|
cname?: string;
|
|
5358
5448
|
domain?: string;
|
|
@@ -8265,6 +8355,20 @@ export declare class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extend
|
|
|
8265
8355
|
[key: string]: any;
|
|
8266
8356
|
});
|
|
8267
8357
|
}
|
|
8358
|
+
export declare class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
|
|
8359
|
+
areaId?: string;
|
|
8360
|
+
pv?: number;
|
|
8361
|
+
srcIp?: string;
|
|
8362
|
+
static names(): {
|
|
8363
|
+
[key: string]: string;
|
|
8364
|
+
};
|
|
8365
|
+
static types(): {
|
|
8366
|
+
[key: string]: any;
|
|
8367
|
+
};
|
|
8368
|
+
constructor(map?: {
|
|
8369
|
+
[key: string]: any;
|
|
8370
|
+
});
|
|
8371
|
+
}
|
|
8268
8372
|
export declare class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
|
|
8269
8373
|
actConns?: number;
|
|
8270
8374
|
conns?: number;
|
|
@@ -8437,6 +8541,7 @@ export declare class DescribeSchedulerRulesResponseBodySchedulerRulesParam exten
|
|
|
8437
8541
|
});
|
|
8438
8542
|
}
|
|
8439
8543
|
export declare class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
8544
|
+
line?: string;
|
|
8440
8545
|
priority?: number;
|
|
8441
8546
|
regionId?: string;
|
|
8442
8547
|
restoreDelay?: number;
|
|
@@ -8676,6 +8781,7 @@ export declare class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList ext
|
|
|
8676
8781
|
blackWhiteListEnable?: number;
|
|
8677
8782
|
ccCustomRuleEnable?: number;
|
|
8678
8783
|
ccEnable?: number;
|
|
8784
|
+
ccGlobalSwitch?: string;
|
|
8679
8785
|
ccTemplate?: string;
|
|
8680
8786
|
domain?: string;
|
|
8681
8787
|
preciseRuleEnable?: number;
|
|
@@ -8732,6 +8838,7 @@ export declare class DescribeWebInstanceRelationsResponseBodyWebInstanceRelation
|
|
|
8732
8838
|
}
|
|
8733
8839
|
export declare class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListConditionList extends $tea.Model {
|
|
8734
8840
|
content?: string;
|
|
8841
|
+
contentList?: string[];
|
|
8735
8842
|
field?: string;
|
|
8736
8843
|
headerName?: string;
|
|
8737
8844
|
matchMethod?: string;
|
|
@@ -8774,6 +8881,21 @@ export declare class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfig
|
|
|
8774
8881
|
[key: string]: any;
|
|
8775
8882
|
});
|
|
8776
8883
|
}
|
|
8884
|
+
export declare class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
8885
|
+
areaId?: string;
|
|
8886
|
+
count?: number;
|
|
8887
|
+
isp?: string;
|
|
8888
|
+
sourceIp?: string;
|
|
8889
|
+
static names(): {
|
|
8890
|
+
[key: string]: string;
|
|
8891
|
+
};
|
|
8892
|
+
static types(): {
|
|
8893
|
+
[key: string]: any;
|
|
8894
|
+
};
|
|
8895
|
+
constructor(map?: {
|
|
8896
|
+
[key: string]: any;
|
|
8897
|
+
});
|
|
8898
|
+
}
|
|
8777
8899
|
export declare class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
8778
8900
|
certId?: string;
|
|
8779
8901
|
gmEnable?: number;
|
|
@@ -9440,6 +9562,8 @@ export default class Client extends OpenApi {
|
|
|
9440
9562
|
describePortAttackMaxFlow(request: DescribePortAttackMaxFlowRequest): Promise<DescribePortAttackMaxFlowResponse>;
|
|
9441
9563
|
describePortAutoCcStatusWithOptions(request: DescribePortAutoCcStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortAutoCcStatusResponse>;
|
|
9442
9564
|
describePortAutoCcStatus(request: DescribePortAutoCcStatusRequest): Promise<DescribePortAutoCcStatusResponse>;
|
|
9565
|
+
describePortCcAttackTopIPWithOptions(request: DescribePortCcAttackTopIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortCcAttackTopIPResponse>;
|
|
9566
|
+
describePortCcAttackTopIP(request: DescribePortCcAttackTopIPRequest): Promise<DescribePortCcAttackTopIPResponse>;
|
|
9443
9567
|
describePortConnsCountWithOptions(request: DescribePortConnsCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortConnsCountResponse>;
|
|
9444
9568
|
describePortConnsCount(request: DescribePortConnsCountRequest): Promise<DescribePortConnsCountResponse>;
|
|
9445
9569
|
describePortConnsListWithOptions(request: DescribePortConnsListRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortConnsListResponse>;
|
|
@@ -9682,6 +9806,8 @@ export default class Client extends OpenApi {
|
|
|
9682
9806
|
describeWebInstanceRelations(request: DescribeWebInstanceRelationsRequest): Promise<DescribeWebInstanceRelationsResponse>;
|
|
9683
9807
|
describeWebPreciseAccessRuleWithOptions(request: DescribeWebPreciseAccessRuleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebPreciseAccessRuleResponse>;
|
|
9684
9808
|
describeWebPreciseAccessRule(request: DescribeWebPreciseAccessRuleRequest): Promise<DescribeWebPreciseAccessRuleResponse>;
|
|
9809
|
+
describeWebReportTopIpWithOptions(request: DescribeWebReportTopIpRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebReportTopIpResponse>;
|
|
9810
|
+
describeWebReportTopIp(request: DescribeWebReportTopIpRequest): Promise<DescribeWebReportTopIpResponse>;
|
|
9685
9811
|
describeWebRulesWithOptions(request: DescribeWebRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebRulesResponse>;
|
|
9686
9812
|
describeWebRules(request: DescribeWebRulesRequest): Promise<DescribeWebRulesResponse>;
|
|
9687
9813
|
detachSceneDefenseObjectWithOptions(request: DetachSceneDefenseObjectRequest, runtime: $Util.RuntimeOptions): Promise<DetachSceneDefenseObjectResponse>;
|
package/dist/client.js
CHANGED
|
@@ -5313,6 +5313,66 @@ class DescribePortAutoCcStatusResponse extends $tea.Model {
|
|
|
5313
5313
|
}
|
|
5314
5314
|
}
|
|
5315
5315
|
exports.DescribePortAutoCcStatusResponse = DescribePortAutoCcStatusResponse;
|
|
5316
|
+
class DescribePortCcAttackTopIPRequest extends $tea.Model {
|
|
5317
|
+
constructor(map) {
|
|
5318
|
+
super(map);
|
|
5319
|
+
}
|
|
5320
|
+
static names() {
|
|
5321
|
+
return {
|
|
5322
|
+
ip: 'Ip',
|
|
5323
|
+
limit: 'Limit',
|
|
5324
|
+
port: 'Port',
|
|
5325
|
+
startTimestamp: 'StartTimestamp',
|
|
5326
|
+
};
|
|
5327
|
+
}
|
|
5328
|
+
static types() {
|
|
5329
|
+
return {
|
|
5330
|
+
ip: 'string',
|
|
5331
|
+
limit: 'number',
|
|
5332
|
+
port: 'string',
|
|
5333
|
+
startTimestamp: 'number',
|
|
5334
|
+
};
|
|
5335
|
+
}
|
|
5336
|
+
}
|
|
5337
|
+
exports.DescribePortCcAttackTopIPRequest = DescribePortCcAttackTopIPRequest;
|
|
5338
|
+
class DescribePortCcAttackTopIPResponseBody extends $tea.Model {
|
|
5339
|
+
constructor(map) {
|
|
5340
|
+
super(map);
|
|
5341
|
+
}
|
|
5342
|
+
static names() {
|
|
5343
|
+
return {
|
|
5344
|
+
requestId: 'RequestId',
|
|
5345
|
+
topIp: 'TopIp',
|
|
5346
|
+
};
|
|
5347
|
+
}
|
|
5348
|
+
static types() {
|
|
5349
|
+
return {
|
|
5350
|
+
requestId: 'string',
|
|
5351
|
+
topIp: { 'type': 'array', 'itemType': DescribePortCcAttackTopIPResponseBodyTopIp },
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5355
|
+
exports.DescribePortCcAttackTopIPResponseBody = DescribePortCcAttackTopIPResponseBody;
|
|
5356
|
+
class DescribePortCcAttackTopIPResponse extends $tea.Model {
|
|
5357
|
+
constructor(map) {
|
|
5358
|
+
super(map);
|
|
5359
|
+
}
|
|
5360
|
+
static names() {
|
|
5361
|
+
return {
|
|
5362
|
+
headers: 'headers',
|
|
5363
|
+
statusCode: 'statusCode',
|
|
5364
|
+
body: 'body',
|
|
5365
|
+
};
|
|
5366
|
+
}
|
|
5367
|
+
static types() {
|
|
5368
|
+
return {
|
|
5369
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5370
|
+
statusCode: 'number',
|
|
5371
|
+
body: DescribePortCcAttackTopIPResponseBody,
|
|
5372
|
+
};
|
|
5373
|
+
}
|
|
5374
|
+
}
|
|
5375
|
+
exports.DescribePortCcAttackTopIPResponse = DescribePortCcAttackTopIPResponse;
|
|
5316
5376
|
class DescribePortConnsCountRequest extends $tea.Model {
|
|
5317
5377
|
constructor(map) {
|
|
5318
5378
|
super(map);
|
|
@@ -7273,6 +7333,70 @@ class DescribeWebPreciseAccessRuleResponse extends $tea.Model {
|
|
|
7273
7333
|
}
|
|
7274
7334
|
}
|
|
7275
7335
|
exports.DescribeWebPreciseAccessRuleResponse = DescribeWebPreciseAccessRuleResponse;
|
|
7336
|
+
class DescribeWebReportTopIpRequest extends $tea.Model {
|
|
7337
|
+
constructor(map) {
|
|
7338
|
+
super(map);
|
|
7339
|
+
}
|
|
7340
|
+
static names() {
|
|
7341
|
+
return {
|
|
7342
|
+
domain: 'Domain',
|
|
7343
|
+
endTime: 'EndTime',
|
|
7344
|
+
interval: 'Interval',
|
|
7345
|
+
queryType: 'QueryType',
|
|
7346
|
+
startTime: 'StartTime',
|
|
7347
|
+
top: 'Top',
|
|
7348
|
+
};
|
|
7349
|
+
}
|
|
7350
|
+
static types() {
|
|
7351
|
+
return {
|
|
7352
|
+
domain: 'string',
|
|
7353
|
+
endTime: 'number',
|
|
7354
|
+
interval: 'number',
|
|
7355
|
+
queryType: 'string',
|
|
7356
|
+
startTime: 'number',
|
|
7357
|
+
top: 'number',
|
|
7358
|
+
};
|
|
7359
|
+
}
|
|
7360
|
+
}
|
|
7361
|
+
exports.DescribeWebReportTopIpRequest = DescribeWebReportTopIpRequest;
|
|
7362
|
+
class DescribeWebReportTopIpResponseBody extends $tea.Model {
|
|
7363
|
+
constructor(map) {
|
|
7364
|
+
super(map);
|
|
7365
|
+
}
|
|
7366
|
+
static names() {
|
|
7367
|
+
return {
|
|
7368
|
+
dataList: 'DataList',
|
|
7369
|
+
requestId: 'RequestId',
|
|
7370
|
+
};
|
|
7371
|
+
}
|
|
7372
|
+
static types() {
|
|
7373
|
+
return {
|
|
7374
|
+
dataList: { 'type': 'array', 'itemType': DescribeWebReportTopIpResponseBodyDataList },
|
|
7375
|
+
requestId: 'string',
|
|
7376
|
+
};
|
|
7377
|
+
}
|
|
7378
|
+
}
|
|
7379
|
+
exports.DescribeWebReportTopIpResponseBody = DescribeWebReportTopIpResponseBody;
|
|
7380
|
+
class DescribeWebReportTopIpResponse extends $tea.Model {
|
|
7381
|
+
constructor(map) {
|
|
7382
|
+
super(map);
|
|
7383
|
+
}
|
|
7384
|
+
static names() {
|
|
7385
|
+
return {
|
|
7386
|
+
headers: 'headers',
|
|
7387
|
+
statusCode: 'statusCode',
|
|
7388
|
+
body: 'body',
|
|
7389
|
+
};
|
|
7390
|
+
}
|
|
7391
|
+
static types() {
|
|
7392
|
+
return {
|
|
7393
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7394
|
+
statusCode: 'number',
|
|
7395
|
+
body: DescribeWebReportTopIpResponseBody,
|
|
7396
|
+
};
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
exports.DescribeWebReportTopIpResponse = DescribeWebReportTopIpResponse;
|
|
7276
7400
|
class DescribeWebRulesRequest extends $tea.Model {
|
|
7277
7401
|
constructor(map) {
|
|
7278
7402
|
super(map);
|
|
@@ -11317,6 +11441,26 @@ class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extends $tea.Model {
|
|
|
11317
11441
|
}
|
|
11318
11442
|
}
|
|
11319
11443
|
exports.DescribePortAutoCcStatusResponseBodyPortAutoCcStatus = DescribePortAutoCcStatusResponseBodyPortAutoCcStatus;
|
|
11444
|
+
class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
|
|
11445
|
+
constructor(map) {
|
|
11446
|
+
super(map);
|
|
11447
|
+
}
|
|
11448
|
+
static names() {
|
|
11449
|
+
return {
|
|
11450
|
+
areaId: 'AreaId',
|
|
11451
|
+
pv: 'Pv',
|
|
11452
|
+
srcIp: 'SrcIp',
|
|
11453
|
+
};
|
|
11454
|
+
}
|
|
11455
|
+
static types() {
|
|
11456
|
+
return {
|
|
11457
|
+
areaId: 'string',
|
|
11458
|
+
pv: 'number',
|
|
11459
|
+
srcIp: 'string',
|
|
11460
|
+
};
|
|
11461
|
+
}
|
|
11462
|
+
}
|
|
11463
|
+
exports.DescribePortCcAttackTopIPResponseBodyTopIp = DescribePortCcAttackTopIPResponseBodyTopIp;
|
|
11320
11464
|
class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
|
|
11321
11465
|
constructor(map) {
|
|
11322
11466
|
super(map);
|
|
@@ -11577,6 +11721,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
|
11577
11721
|
}
|
|
11578
11722
|
static names() {
|
|
11579
11723
|
return {
|
|
11724
|
+
line: 'Line',
|
|
11580
11725
|
priority: 'Priority',
|
|
11581
11726
|
regionId: 'RegionId',
|
|
11582
11727
|
restoreDelay: 'RestoreDelay',
|
|
@@ -11588,6 +11733,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
|
11588
11733
|
}
|
|
11589
11734
|
static types() {
|
|
11590
11735
|
return {
|
|
11736
|
+
line: 'string',
|
|
11591
11737
|
priority: 'number',
|
|
11592
11738
|
regionId: 'string',
|
|
11593
11739
|
restoreDelay: 'number',
|
|
@@ -11921,6 +12067,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
|
|
|
11921
12067
|
blackWhiteListEnable: 'BlackWhiteListEnable',
|
|
11922
12068
|
ccCustomRuleEnable: 'CcCustomRuleEnable',
|
|
11923
12069
|
ccEnable: 'CcEnable',
|
|
12070
|
+
ccGlobalSwitch: 'CcGlobalSwitch',
|
|
11924
12071
|
ccTemplate: 'CcTemplate',
|
|
11925
12072
|
domain: 'Domain',
|
|
11926
12073
|
preciseRuleEnable: 'PreciseRuleEnable',
|
|
@@ -11935,6 +12082,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
|
|
|
11935
12082
|
blackWhiteListEnable: 'number',
|
|
11936
12083
|
ccCustomRuleEnable: 'number',
|
|
11937
12084
|
ccEnable: 'number',
|
|
12085
|
+
ccGlobalSwitch: 'string',
|
|
11938
12086
|
ccTemplate: 'string',
|
|
11939
12087
|
domain: 'string',
|
|
11940
12088
|
preciseRuleEnable: 'number',
|
|
@@ -12006,6 +12154,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
|
|
|
12006
12154
|
static names() {
|
|
12007
12155
|
return {
|
|
12008
12156
|
content: 'Content',
|
|
12157
|
+
contentList: 'ContentList',
|
|
12009
12158
|
field: 'Field',
|
|
12010
12159
|
headerName: 'HeaderName',
|
|
12011
12160
|
matchMethod: 'MatchMethod',
|
|
@@ -12014,6 +12163,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
|
|
|
12014
12163
|
static types() {
|
|
12015
12164
|
return {
|
|
12016
12165
|
content: 'string',
|
|
12166
|
+
contentList: { 'type': 'array', 'itemType': 'string' },
|
|
12017
12167
|
field: 'string',
|
|
12018
12168
|
headerName: 'string',
|
|
12019
12169
|
matchMethod: 'string',
|
|
@@ -12063,6 +12213,28 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList extends $t
|
|
|
12063
12213
|
}
|
|
12064
12214
|
}
|
|
12065
12215
|
exports.DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList = DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList;
|
|
12216
|
+
class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
12217
|
+
constructor(map) {
|
|
12218
|
+
super(map);
|
|
12219
|
+
}
|
|
12220
|
+
static names() {
|
|
12221
|
+
return {
|
|
12222
|
+
areaId: 'AreaId',
|
|
12223
|
+
count: 'Count',
|
|
12224
|
+
isp: 'Isp',
|
|
12225
|
+
sourceIp: 'SourceIp',
|
|
12226
|
+
};
|
|
12227
|
+
}
|
|
12228
|
+
static types() {
|
|
12229
|
+
return {
|
|
12230
|
+
areaId: 'string',
|
|
12231
|
+
count: 'number',
|
|
12232
|
+
isp: 'string',
|
|
12233
|
+
sourceIp: 'string',
|
|
12234
|
+
};
|
|
12235
|
+
}
|
|
12236
|
+
}
|
|
12237
|
+
exports.DescribeWebReportTopIpResponseBodyDataList = DescribeWebReportTopIpResponseBodyDataList;
|
|
12066
12238
|
class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
12067
12239
|
constructor(map) {
|
|
12068
12240
|
super(map);
|
|
@@ -15548,6 +15720,41 @@ class Client extends openapi_client_1.default {
|
|
|
15548
15720
|
let runtime = new $Util.RuntimeOptions({});
|
|
15549
15721
|
return await this.describePortAutoCcStatusWithOptions(request, runtime);
|
|
15550
15722
|
}
|
|
15723
|
+
async describePortCcAttackTopIPWithOptions(request, runtime) {
|
|
15724
|
+
tea_util_1.default.validateModel(request);
|
|
15725
|
+
let query = {};
|
|
15726
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
15727
|
+
query["Ip"] = request.ip;
|
|
15728
|
+
}
|
|
15729
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
15730
|
+
query["Limit"] = request.limit;
|
|
15731
|
+
}
|
|
15732
|
+
if (!tea_util_1.default.isUnset(request.port)) {
|
|
15733
|
+
query["Port"] = request.port;
|
|
15734
|
+
}
|
|
15735
|
+
if (!tea_util_1.default.isUnset(request.startTimestamp)) {
|
|
15736
|
+
query["StartTimestamp"] = request.startTimestamp;
|
|
15737
|
+
}
|
|
15738
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15739
|
+
query: openapi_util_1.default.query(query),
|
|
15740
|
+
});
|
|
15741
|
+
let params = new $OpenApi.Params({
|
|
15742
|
+
action: "DescribePortCcAttackTopIP",
|
|
15743
|
+
version: "2020-01-01",
|
|
15744
|
+
protocol: "HTTPS",
|
|
15745
|
+
pathname: "/",
|
|
15746
|
+
method: "POST",
|
|
15747
|
+
authType: "AK",
|
|
15748
|
+
style: "RPC",
|
|
15749
|
+
reqBodyType: "formData",
|
|
15750
|
+
bodyType: "json",
|
|
15751
|
+
});
|
|
15752
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePortCcAttackTopIPResponse({}));
|
|
15753
|
+
}
|
|
15754
|
+
async describePortCcAttackTopIP(request) {
|
|
15755
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15756
|
+
return await this.describePortCcAttackTopIPWithOptions(request, runtime);
|
|
15757
|
+
}
|
|
15551
15758
|
async describePortConnsCountWithOptions(request, runtime) {
|
|
15552
15759
|
tea_util_1.default.validateModel(request);
|
|
15553
15760
|
let query = {};
|
|
@@ -16780,6 +16987,47 @@ class Client extends openapi_client_1.default {
|
|
|
16780
16987
|
let runtime = new $Util.RuntimeOptions({});
|
|
16781
16988
|
return await this.describeWebPreciseAccessRuleWithOptions(request, runtime);
|
|
16782
16989
|
}
|
|
16990
|
+
async describeWebReportTopIpWithOptions(request, runtime) {
|
|
16991
|
+
tea_util_1.default.validateModel(request);
|
|
16992
|
+
let query = {};
|
|
16993
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
16994
|
+
query["Domain"] = request.domain;
|
|
16995
|
+
}
|
|
16996
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16997
|
+
query["EndTime"] = request.endTime;
|
|
16998
|
+
}
|
|
16999
|
+
if (!tea_util_1.default.isUnset(request.interval)) {
|
|
17000
|
+
query["Interval"] = request.interval;
|
|
17001
|
+
}
|
|
17002
|
+
if (!tea_util_1.default.isUnset(request.queryType)) {
|
|
17003
|
+
query["QueryType"] = request.queryType;
|
|
17004
|
+
}
|
|
17005
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
17006
|
+
query["StartTime"] = request.startTime;
|
|
17007
|
+
}
|
|
17008
|
+
if (!tea_util_1.default.isUnset(request.top)) {
|
|
17009
|
+
query["Top"] = request.top;
|
|
17010
|
+
}
|
|
17011
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17012
|
+
query: openapi_util_1.default.query(query),
|
|
17013
|
+
});
|
|
17014
|
+
let params = new $OpenApi.Params({
|
|
17015
|
+
action: "DescribeWebReportTopIp",
|
|
17016
|
+
version: "2020-01-01",
|
|
17017
|
+
protocol: "HTTPS",
|
|
17018
|
+
pathname: "/",
|
|
17019
|
+
method: "POST",
|
|
17020
|
+
authType: "AK",
|
|
17021
|
+
style: "RPC",
|
|
17022
|
+
reqBodyType: "formData",
|
|
17023
|
+
bodyType: "json",
|
|
17024
|
+
});
|
|
17025
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebReportTopIpResponse({}));
|
|
17026
|
+
}
|
|
17027
|
+
async describeWebReportTopIp(request) {
|
|
17028
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17029
|
+
return await this.describeWebReportTopIpWithOptions(request, runtime);
|
|
17030
|
+
}
|
|
16783
17031
|
async describeWebRulesWithOptions(request, runtime) {
|
|
16784
17032
|
tea_util_1.default.validateModel(request);
|
|
16785
17033
|
let query = {};
|