@alicloud/ddoscoo20200101 1.1.0 → 1.2.1
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 +127 -0
- package/dist/client.js +250 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +311 -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;
|
|
@@ -8206,6 +8296,7 @@ export declare class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.M
|
|
|
8206
8296
|
isAutoCreate?: boolean;
|
|
8207
8297
|
protocol?: string;
|
|
8208
8298
|
realServers?: string[];
|
|
8299
|
+
remark?: string;
|
|
8209
8300
|
static names(): {
|
|
8210
8301
|
[key: string]: string;
|
|
8211
8302
|
};
|
|
@@ -8265,6 +8356,20 @@ export declare class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extend
|
|
|
8265
8356
|
[key: string]: any;
|
|
8266
8357
|
});
|
|
8267
8358
|
}
|
|
8359
|
+
export declare class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
|
|
8360
|
+
areaId?: string;
|
|
8361
|
+
pv?: number;
|
|
8362
|
+
srcIp?: string;
|
|
8363
|
+
static names(): {
|
|
8364
|
+
[key: string]: string;
|
|
8365
|
+
};
|
|
8366
|
+
static types(): {
|
|
8367
|
+
[key: string]: any;
|
|
8368
|
+
};
|
|
8369
|
+
constructor(map?: {
|
|
8370
|
+
[key: string]: any;
|
|
8371
|
+
});
|
|
8372
|
+
}
|
|
8268
8373
|
export declare class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
|
|
8269
8374
|
actConns?: number;
|
|
8270
8375
|
conns?: number;
|
|
@@ -8437,6 +8542,7 @@ export declare class DescribeSchedulerRulesResponseBodySchedulerRulesParam exten
|
|
|
8437
8542
|
});
|
|
8438
8543
|
}
|
|
8439
8544
|
export declare class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
8545
|
+
line?: string;
|
|
8440
8546
|
priority?: number;
|
|
8441
8547
|
regionId?: string;
|
|
8442
8548
|
restoreDelay?: number;
|
|
@@ -8676,6 +8782,7 @@ export declare class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList ext
|
|
|
8676
8782
|
blackWhiteListEnable?: number;
|
|
8677
8783
|
ccCustomRuleEnable?: number;
|
|
8678
8784
|
ccEnable?: number;
|
|
8785
|
+
ccGlobalSwitch?: string;
|
|
8679
8786
|
ccTemplate?: string;
|
|
8680
8787
|
domain?: string;
|
|
8681
8788
|
preciseRuleEnable?: number;
|
|
@@ -8732,6 +8839,7 @@ export declare class DescribeWebInstanceRelationsResponseBodyWebInstanceRelation
|
|
|
8732
8839
|
}
|
|
8733
8840
|
export declare class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListConditionList extends $tea.Model {
|
|
8734
8841
|
content?: string;
|
|
8842
|
+
contentList?: string[];
|
|
8735
8843
|
field?: string;
|
|
8736
8844
|
headerName?: string;
|
|
8737
8845
|
matchMethod?: string;
|
|
@@ -8774,6 +8882,21 @@ export declare class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfig
|
|
|
8774
8882
|
[key: string]: any;
|
|
8775
8883
|
});
|
|
8776
8884
|
}
|
|
8885
|
+
export declare class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
8886
|
+
areaId?: string;
|
|
8887
|
+
count?: number;
|
|
8888
|
+
isp?: string;
|
|
8889
|
+
sourceIp?: string;
|
|
8890
|
+
static names(): {
|
|
8891
|
+
[key: string]: string;
|
|
8892
|
+
};
|
|
8893
|
+
static types(): {
|
|
8894
|
+
[key: string]: any;
|
|
8895
|
+
};
|
|
8896
|
+
constructor(map?: {
|
|
8897
|
+
[key: string]: any;
|
|
8898
|
+
});
|
|
8899
|
+
}
|
|
8777
8900
|
export declare class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
8778
8901
|
certId?: string;
|
|
8779
8902
|
gmEnable?: number;
|
|
@@ -9440,6 +9563,8 @@ export default class Client extends OpenApi {
|
|
|
9440
9563
|
describePortAttackMaxFlow(request: DescribePortAttackMaxFlowRequest): Promise<DescribePortAttackMaxFlowResponse>;
|
|
9441
9564
|
describePortAutoCcStatusWithOptions(request: DescribePortAutoCcStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortAutoCcStatusResponse>;
|
|
9442
9565
|
describePortAutoCcStatus(request: DescribePortAutoCcStatusRequest): Promise<DescribePortAutoCcStatusResponse>;
|
|
9566
|
+
describePortCcAttackTopIPWithOptions(request: DescribePortCcAttackTopIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortCcAttackTopIPResponse>;
|
|
9567
|
+
describePortCcAttackTopIP(request: DescribePortCcAttackTopIPRequest): Promise<DescribePortCcAttackTopIPResponse>;
|
|
9443
9568
|
describePortConnsCountWithOptions(request: DescribePortConnsCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortConnsCountResponse>;
|
|
9444
9569
|
describePortConnsCount(request: DescribePortConnsCountRequest): Promise<DescribePortConnsCountResponse>;
|
|
9445
9570
|
describePortConnsListWithOptions(request: DescribePortConnsListRequest, runtime: $Util.RuntimeOptions): Promise<DescribePortConnsListResponse>;
|
|
@@ -9682,6 +9807,8 @@ export default class Client extends OpenApi {
|
|
|
9682
9807
|
describeWebInstanceRelations(request: DescribeWebInstanceRelationsRequest): Promise<DescribeWebInstanceRelationsResponse>;
|
|
9683
9808
|
describeWebPreciseAccessRuleWithOptions(request: DescribeWebPreciseAccessRuleRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebPreciseAccessRuleResponse>;
|
|
9684
9809
|
describeWebPreciseAccessRule(request: DescribeWebPreciseAccessRuleRequest): Promise<DescribeWebPreciseAccessRuleResponse>;
|
|
9810
|
+
describeWebReportTopIpWithOptions(request: DescribeWebReportTopIpRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebReportTopIpResponse>;
|
|
9811
|
+
describeWebReportTopIp(request: DescribeWebReportTopIpRequest): Promise<DescribeWebReportTopIpResponse>;
|
|
9685
9812
|
describeWebRulesWithOptions(request: DescribeWebRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWebRulesResponse>;
|
|
9686
9813
|
describeWebRules(request: DescribeWebRulesRequest): Promise<DescribeWebRulesResponse>;
|
|
9687
9814
|
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);
|
|
@@ -11229,6 +11353,7 @@ class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
11229
11353
|
isAutoCreate: 'IsAutoCreate',
|
|
11230
11354
|
protocol: 'Protocol',
|
|
11231
11355
|
realServers: 'RealServers',
|
|
11356
|
+
remark: 'Remark',
|
|
11232
11357
|
};
|
|
11233
11358
|
}
|
|
11234
11359
|
static types() {
|
|
@@ -11239,6 +11364,7 @@ class DescribeNetworkRulesResponseBodyNetworkRules extends $tea.Model {
|
|
|
11239
11364
|
isAutoCreate: 'boolean',
|
|
11240
11365
|
protocol: 'string',
|
|
11241
11366
|
realServers: { 'type': 'array', 'itemType': 'string' },
|
|
11367
|
+
remark: 'string',
|
|
11242
11368
|
};
|
|
11243
11369
|
}
|
|
11244
11370
|
}
|
|
@@ -11317,6 +11443,26 @@ class DescribePortAutoCcStatusResponseBodyPortAutoCcStatus extends $tea.Model {
|
|
|
11317
11443
|
}
|
|
11318
11444
|
}
|
|
11319
11445
|
exports.DescribePortAutoCcStatusResponseBodyPortAutoCcStatus = DescribePortAutoCcStatusResponseBodyPortAutoCcStatus;
|
|
11446
|
+
class DescribePortCcAttackTopIPResponseBodyTopIp extends $tea.Model {
|
|
11447
|
+
constructor(map) {
|
|
11448
|
+
super(map);
|
|
11449
|
+
}
|
|
11450
|
+
static names() {
|
|
11451
|
+
return {
|
|
11452
|
+
areaId: 'AreaId',
|
|
11453
|
+
pv: 'Pv',
|
|
11454
|
+
srcIp: 'SrcIp',
|
|
11455
|
+
};
|
|
11456
|
+
}
|
|
11457
|
+
static types() {
|
|
11458
|
+
return {
|
|
11459
|
+
areaId: 'string',
|
|
11460
|
+
pv: 'number',
|
|
11461
|
+
srcIp: 'string',
|
|
11462
|
+
};
|
|
11463
|
+
}
|
|
11464
|
+
}
|
|
11465
|
+
exports.DescribePortCcAttackTopIPResponseBodyTopIp = DescribePortCcAttackTopIPResponseBodyTopIp;
|
|
11320
11466
|
class DescribePortConnsListResponseBodyConnsList extends $tea.Model {
|
|
11321
11467
|
constructor(map) {
|
|
11322
11468
|
super(map);
|
|
@@ -11577,6 +11723,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
|
11577
11723
|
}
|
|
11578
11724
|
static names() {
|
|
11579
11725
|
return {
|
|
11726
|
+
line: 'Line',
|
|
11580
11727
|
priority: 'Priority',
|
|
11581
11728
|
regionId: 'RegionId',
|
|
11582
11729
|
restoreDelay: 'RestoreDelay',
|
|
@@ -11588,6 +11735,7 @@ class DescribeSchedulerRulesResponseBodySchedulerRulesRules extends $tea.Model {
|
|
|
11588
11735
|
}
|
|
11589
11736
|
static types() {
|
|
11590
11737
|
return {
|
|
11738
|
+
line: 'string',
|
|
11591
11739
|
priority: 'number',
|
|
11592
11740
|
regionId: 'string',
|
|
11593
11741
|
restoreDelay: 'number',
|
|
@@ -11921,6 +12069,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
|
|
|
11921
12069
|
blackWhiteListEnable: 'BlackWhiteListEnable',
|
|
11922
12070
|
ccCustomRuleEnable: 'CcCustomRuleEnable',
|
|
11923
12071
|
ccEnable: 'CcEnable',
|
|
12072
|
+
ccGlobalSwitch: 'CcGlobalSwitch',
|
|
11924
12073
|
ccTemplate: 'CcTemplate',
|
|
11925
12074
|
domain: 'Domain',
|
|
11926
12075
|
preciseRuleEnable: 'PreciseRuleEnable',
|
|
@@ -11935,6 +12084,7 @@ class DescribeWebCcProtectSwitchResponseBodyProtectSwitchList extends $tea.Model
|
|
|
11935
12084
|
blackWhiteListEnable: 'number',
|
|
11936
12085
|
ccCustomRuleEnable: 'number',
|
|
11937
12086
|
ccEnable: 'number',
|
|
12087
|
+
ccGlobalSwitch: 'string',
|
|
11938
12088
|
ccTemplate: 'string',
|
|
11939
12089
|
domain: 'string',
|
|
11940
12090
|
preciseRuleEnable: 'number',
|
|
@@ -12006,6 +12156,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
|
|
|
12006
12156
|
static names() {
|
|
12007
12157
|
return {
|
|
12008
12158
|
content: 'Content',
|
|
12159
|
+
contentList: 'ContentList',
|
|
12009
12160
|
field: 'Field',
|
|
12010
12161
|
headerName: 'HeaderName',
|
|
12011
12162
|
matchMethod: 'MatchMethod',
|
|
@@ -12014,6 +12165,7 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigListRuleListCon
|
|
|
12014
12165
|
static types() {
|
|
12015
12166
|
return {
|
|
12016
12167
|
content: 'string',
|
|
12168
|
+
contentList: { 'type': 'array', 'itemType': 'string' },
|
|
12017
12169
|
field: 'string',
|
|
12018
12170
|
headerName: 'string',
|
|
12019
12171
|
matchMethod: 'string',
|
|
@@ -12063,6 +12215,28 @@ class DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList extends $t
|
|
|
12063
12215
|
}
|
|
12064
12216
|
}
|
|
12065
12217
|
exports.DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList = DescribeWebPreciseAccessRuleResponseBodyPreciseAccessConfigList;
|
|
12218
|
+
class DescribeWebReportTopIpResponseBodyDataList extends $tea.Model {
|
|
12219
|
+
constructor(map) {
|
|
12220
|
+
super(map);
|
|
12221
|
+
}
|
|
12222
|
+
static names() {
|
|
12223
|
+
return {
|
|
12224
|
+
areaId: 'AreaId',
|
|
12225
|
+
count: 'Count',
|
|
12226
|
+
isp: 'Isp',
|
|
12227
|
+
sourceIp: 'SourceIp',
|
|
12228
|
+
};
|
|
12229
|
+
}
|
|
12230
|
+
static types() {
|
|
12231
|
+
return {
|
|
12232
|
+
areaId: 'string',
|
|
12233
|
+
count: 'number',
|
|
12234
|
+
isp: 'string',
|
|
12235
|
+
sourceIp: 'string',
|
|
12236
|
+
};
|
|
12237
|
+
}
|
|
12238
|
+
}
|
|
12239
|
+
exports.DescribeWebReportTopIpResponseBodyDataList = DescribeWebReportTopIpResponseBodyDataList;
|
|
12066
12240
|
class DescribeWebRulesResponseBodyWebRulesGmCert extends $tea.Model {
|
|
12067
12241
|
constructor(map) {
|
|
12068
12242
|
super(map);
|
|
@@ -15548,6 +15722,41 @@ class Client extends openapi_client_1.default {
|
|
|
15548
15722
|
let runtime = new $Util.RuntimeOptions({});
|
|
15549
15723
|
return await this.describePortAutoCcStatusWithOptions(request, runtime);
|
|
15550
15724
|
}
|
|
15725
|
+
async describePortCcAttackTopIPWithOptions(request, runtime) {
|
|
15726
|
+
tea_util_1.default.validateModel(request);
|
|
15727
|
+
let query = {};
|
|
15728
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
15729
|
+
query["Ip"] = request.ip;
|
|
15730
|
+
}
|
|
15731
|
+
if (!tea_util_1.default.isUnset(request.limit)) {
|
|
15732
|
+
query["Limit"] = request.limit;
|
|
15733
|
+
}
|
|
15734
|
+
if (!tea_util_1.default.isUnset(request.port)) {
|
|
15735
|
+
query["Port"] = request.port;
|
|
15736
|
+
}
|
|
15737
|
+
if (!tea_util_1.default.isUnset(request.startTimestamp)) {
|
|
15738
|
+
query["StartTimestamp"] = request.startTimestamp;
|
|
15739
|
+
}
|
|
15740
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15741
|
+
query: openapi_util_1.default.query(query),
|
|
15742
|
+
});
|
|
15743
|
+
let params = new $OpenApi.Params({
|
|
15744
|
+
action: "DescribePortCcAttackTopIP",
|
|
15745
|
+
version: "2020-01-01",
|
|
15746
|
+
protocol: "HTTPS",
|
|
15747
|
+
pathname: "/",
|
|
15748
|
+
method: "POST",
|
|
15749
|
+
authType: "AK",
|
|
15750
|
+
style: "RPC",
|
|
15751
|
+
reqBodyType: "formData",
|
|
15752
|
+
bodyType: "json",
|
|
15753
|
+
});
|
|
15754
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePortCcAttackTopIPResponse({}));
|
|
15755
|
+
}
|
|
15756
|
+
async describePortCcAttackTopIP(request) {
|
|
15757
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15758
|
+
return await this.describePortCcAttackTopIPWithOptions(request, runtime);
|
|
15759
|
+
}
|
|
15551
15760
|
async describePortConnsCountWithOptions(request, runtime) {
|
|
15552
15761
|
tea_util_1.default.validateModel(request);
|
|
15553
15762
|
let query = {};
|
|
@@ -16780,6 +16989,47 @@ class Client extends openapi_client_1.default {
|
|
|
16780
16989
|
let runtime = new $Util.RuntimeOptions({});
|
|
16781
16990
|
return await this.describeWebPreciseAccessRuleWithOptions(request, runtime);
|
|
16782
16991
|
}
|
|
16992
|
+
async describeWebReportTopIpWithOptions(request, runtime) {
|
|
16993
|
+
tea_util_1.default.validateModel(request);
|
|
16994
|
+
let query = {};
|
|
16995
|
+
if (!tea_util_1.default.isUnset(request.domain)) {
|
|
16996
|
+
query["Domain"] = request.domain;
|
|
16997
|
+
}
|
|
16998
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
16999
|
+
query["EndTime"] = request.endTime;
|
|
17000
|
+
}
|
|
17001
|
+
if (!tea_util_1.default.isUnset(request.interval)) {
|
|
17002
|
+
query["Interval"] = request.interval;
|
|
17003
|
+
}
|
|
17004
|
+
if (!tea_util_1.default.isUnset(request.queryType)) {
|
|
17005
|
+
query["QueryType"] = request.queryType;
|
|
17006
|
+
}
|
|
17007
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
17008
|
+
query["StartTime"] = request.startTime;
|
|
17009
|
+
}
|
|
17010
|
+
if (!tea_util_1.default.isUnset(request.top)) {
|
|
17011
|
+
query["Top"] = request.top;
|
|
17012
|
+
}
|
|
17013
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17014
|
+
query: openapi_util_1.default.query(query),
|
|
17015
|
+
});
|
|
17016
|
+
let params = new $OpenApi.Params({
|
|
17017
|
+
action: "DescribeWebReportTopIp",
|
|
17018
|
+
version: "2020-01-01",
|
|
17019
|
+
protocol: "HTTPS",
|
|
17020
|
+
pathname: "/",
|
|
17021
|
+
method: "POST",
|
|
17022
|
+
authType: "AK",
|
|
17023
|
+
style: "RPC",
|
|
17024
|
+
reqBodyType: "formData",
|
|
17025
|
+
bodyType: "json",
|
|
17026
|
+
});
|
|
17027
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeWebReportTopIpResponse({}));
|
|
17028
|
+
}
|
|
17029
|
+
async describeWebReportTopIp(request) {
|
|
17030
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17031
|
+
return await this.describeWebReportTopIpWithOptions(request, runtime);
|
|
17032
|
+
}
|
|
16783
17033
|
async describeWebRulesWithOptions(request, runtime) {
|
|
16784
17034
|
tea_util_1.default.validateModel(request);
|
|
16785
17035
|
let query = {};
|