@alicloud/waf-openapi20211001 6.1.0 → 6.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 +75 -0
- package/dist/client.js +246 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +6 -0
- package/dist/models/CreateDomainRequest.js +4 -0
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmBannerRequest.js +62 -0
- package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmBannerResponse.js +69 -0
- package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmListRequest.js +62 -0
- package/dist/models/DescribeAlarmListRequest.js.map +1 -0
- package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmListResponse.js +69 -0
- package/dist/models/DescribeAlarmListResponse.js.map +1 -0
- package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
- package/dist/models/DescribeAlarmListResponseBody.js +94 -0
- package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
- package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
- package/dist/models/DescribeBotAppKeyRequest.js +64 -0
- package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
- package/dist/models/DescribeBotAppKeyResponse.js +69 -0
- package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeDomainDetailResponseBody.d.ts +6 -0
- package/dist/models/DescribeDomainDetailResponseBody.js +4 -0
- package/dist/models/DescribeDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
- package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
- package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
- package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
- package/dist/models/DescribeThreatEventRequest.js +72 -0
- package/dist/models/DescribeThreatEventRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventResponse.js +69 -0
- package/dist/models/DescribeThreatEventResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
- package/dist/models/DescribeThreatEventResponseBody.js +96 -0
- package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
- package/dist/models/ModifyDomainRequest.d.ts +6 -0
- package/dist/models/ModifyDomainRequest.js +4 -0
- package/dist/models/ModifyDomainRequest.js.map +1 -1
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +56 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +278 -0
- package/src/models/CreateDomainRequest.ts +10 -0
- package/src/models/DescribeAlarmBannerRequest.ts +48 -0
- package/src/models/DescribeAlarmBannerResponse.ts +40 -0
- package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
- package/src/models/DescribeAlarmListRequest.ts +48 -0
- package/src/models/DescribeAlarmListResponse.ts +40 -0
- package/src/models/DescribeAlarmListResponseBody.ts +106 -0
- package/src/models/DescribeBotAppKeyRequest.ts +55 -0
- package/src/models/DescribeBotAppKeyResponse.ts +40 -0
- package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
- package/src/models/DescribeDomainDetailResponseBody.ts +10 -0
- package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
- package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
- package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
- package/src/models/DescribeThreatEventRequest.ts +89 -0
- package/src/models/DescribeThreatEventResponse.ts +40 -0
- package/src/models/DescribeThreatEventResponseBody.ts +113 -0
- package/src/models/ModifyDomainRequest.ts +10 -0
- package/src/models/model.ts +19 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeBotAppKeyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v3prepaid_public_cn-5v23u******
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 1
|
|
17
|
+
*/
|
|
18
|
+
keyVersion?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* rg-aek2uo27badl***
|
|
27
|
+
*/
|
|
28
|
+
resourceManagerResourceGroupId?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
instanceId: 'InstanceId',
|
|
32
|
+
keyVersion: 'KeyVersion',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
instanceId: 'string',
|
|
41
|
+
keyVersion: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceManagerResourceGroupId: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeBotAppKeyResponseBody } from "./DescribeBotAppKeyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeBotAppKeyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeBotAppKeyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeBotAppKeyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeBotAppKeyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* AppKey。
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* N1Kiv3AGZm******
|
|
12
|
+
*/
|
|
13
|
+
appKey?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 0C4ADFD4-5B7D-591D-A607-A45C*****
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
appKey: 'AppKey',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
appKey: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -477,6 +477,12 @@ export class DescribeDomainDetailResponseBodyRedirect extends $dara.Model {
|
|
|
477
477
|
* true
|
|
478
478
|
*/
|
|
479
479
|
focusHttpBackend?: boolean;
|
|
480
|
+
http2Origin?: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* @example
|
|
483
|
+
* 128
|
|
484
|
+
*/
|
|
485
|
+
http2OriginMaxConcurrency?: number;
|
|
480
486
|
/**
|
|
481
487
|
* @remarks
|
|
482
488
|
* Indicates whether the persistent connection feature is enabled. Valid values:
|
|
@@ -600,6 +606,8 @@ export class DescribeDomainDetailResponseBodyRedirect extends $dara.Model {
|
|
|
600
606
|
backupBackends: 'BackupBackends',
|
|
601
607
|
connectTimeout: 'ConnectTimeout',
|
|
602
608
|
focusHttpBackend: 'FocusHttpBackend',
|
|
609
|
+
http2Origin: 'Http2Origin',
|
|
610
|
+
http2OriginMaxConcurrency: 'Http2OriginMaxConcurrency',
|
|
603
611
|
keepalive: 'Keepalive',
|
|
604
612
|
keepaliveRequests: 'KeepaliveRequests',
|
|
605
613
|
keepaliveTimeout: 'KeepaliveTimeout',
|
|
@@ -628,6 +636,8 @@ export class DescribeDomainDetailResponseBodyRedirect extends $dara.Model {
|
|
|
628
636
|
backupBackends: { 'type': 'array', 'itemType': DescribeDomainDetailResponseBodyRedirectBackupBackends },
|
|
629
637
|
connectTimeout: 'number',
|
|
630
638
|
focusHttpBackend: 'boolean',
|
|
639
|
+
http2Origin: 'boolean',
|
|
640
|
+
http2OriginMaxConcurrency: 'number',
|
|
631
641
|
keepalive: 'boolean',
|
|
632
642
|
keepaliveRequests: 'number',
|
|
633
643
|
keepaliveTimeout: 'number',
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventDetailRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1661131a028f72a976703f4a4082ad87
|
|
12
|
+
*/
|
|
13
|
+
eventId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf_v2_public_cn-lbj*****
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* cn-hangzhou
|
|
25
|
+
*/
|
|
26
|
+
regionId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* rg-aekzhks66****
|
|
30
|
+
*/
|
|
31
|
+
resourceManagerResourceGroupId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
eventId: 'EventId',
|
|
35
|
+
instanceId: 'InstanceId',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
eventId: 'string',
|
|
44
|
+
instanceId: 'string',
|
|
45
|
+
regionId: 'string',
|
|
46
|
+
resourceManagerResourceGroupId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeThreatEventDetailResponseBody } from "./DescribeThreatEventDetailResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeThreatEventDetailResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeThreatEventDetailResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeThreatEventDetailResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventDetailResponseBodyThreatEventDetail extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1749916800000
|
|
9
|
+
*/
|
|
10
|
+
endTime?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
eventBlock?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 20
|
|
19
|
+
*/
|
|
20
|
+
eventCnt?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* {"end_ts": 1766637714, "start_ts": 1764096746, "condition": {"real_client_ip": ["78.153.140.179", "78.153.140.203", "78.153.140.177", "78.153.140.178", "78.153.140.151"]}}
|
|
24
|
+
*/
|
|
25
|
+
eventCondition?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* ["CVE-2020-14882","DDoS Attack"]
|
|
29
|
+
*/
|
|
30
|
+
eventIntelligence?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* high
|
|
34
|
+
*/
|
|
35
|
+
eventLevel?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* XX.XX.XX.XX
|
|
39
|
+
*/
|
|
40
|
+
eventSrc?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* GB
|
|
44
|
+
*/
|
|
45
|
+
eventSrcCountry?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* GB-ENG
|
|
49
|
+
*/
|
|
50
|
+
eventSrcRegion?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* FixBug
|
|
54
|
+
*/
|
|
55
|
+
eventSuggest?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* MultipleDomainWebattack
|
|
59
|
+
*/
|
|
60
|
+
eventTag?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 1
|
|
64
|
+
*/
|
|
65
|
+
isPersistent?: number;
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
endTime: 'EndTime',
|
|
69
|
+
eventBlock: 'EventBlock',
|
|
70
|
+
eventCnt: 'EventCnt',
|
|
71
|
+
eventCondition: 'EventCondition',
|
|
72
|
+
eventIntelligence: 'EventIntelligence',
|
|
73
|
+
eventLevel: 'EventLevel',
|
|
74
|
+
eventSrc: 'EventSrc',
|
|
75
|
+
eventSrcCountry: 'EventSrcCountry',
|
|
76
|
+
eventSrcRegion: 'EventSrcRegion',
|
|
77
|
+
eventSuggest: 'EventSuggest',
|
|
78
|
+
eventTag: 'EventTag',
|
|
79
|
+
isPersistent: 'IsPersistent',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
endTime: 'number',
|
|
86
|
+
eventBlock: 'string',
|
|
87
|
+
eventCnt: 'string',
|
|
88
|
+
eventCondition: 'string',
|
|
89
|
+
eventIntelligence: 'string',
|
|
90
|
+
eventLevel: 'string',
|
|
91
|
+
eventSrc: 'string',
|
|
92
|
+
eventSrcCountry: 'string',
|
|
93
|
+
eventSrcRegion: 'string',
|
|
94
|
+
eventSuggest: 'string',
|
|
95
|
+
eventTag: 'string',
|
|
96
|
+
isPersistent: 'number',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
validate() {
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
constructor(map?: { [key: string]: any }) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export class DescribeThreatEventDetailResponseBody extends $dara.Model {
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* D7861F61-5B61-46CE-A47C-6B1****
|
|
113
|
+
*/
|
|
114
|
+
requestId?: string;
|
|
115
|
+
threatEventDetail?: DescribeThreatEventDetailResponseBodyThreatEventDetail;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
requestId: 'RequestId',
|
|
119
|
+
threatEventDetail: 'ThreatEventDetail',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
requestId: 'string',
|
|
126
|
+
threatEventDetail: DescribeThreatEventDetailResponseBodyThreatEventDetail,
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
validate() {
|
|
131
|
+
if(this.threatEventDetail && typeof (this.threatEventDetail as any).validate === 'function') {
|
|
132
|
+
(this.threatEventDetail as any).validate();
|
|
133
|
+
}
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* www.abc.com
|
|
9
|
+
*/
|
|
10
|
+
domainName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 1749916800000
|
|
17
|
+
*/
|
|
18
|
+
endTime?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* waf_v2_public_cn-2bl4****
|
|
25
|
+
*/
|
|
26
|
+
instanceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 1
|
|
30
|
+
*/
|
|
31
|
+
pageNumber?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* 10
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* cn-hangzhou
|
|
40
|
+
*/
|
|
41
|
+
regionId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* rg-aeky65ka*****
|
|
45
|
+
*/
|
|
46
|
+
resourceManagerResourceGroupId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* 1668496310000
|
|
53
|
+
*/
|
|
54
|
+
startTime?: number;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
domainName: 'DomainName',
|
|
58
|
+
endTime: 'EndTime',
|
|
59
|
+
instanceId: 'InstanceId',
|
|
60
|
+
pageNumber: 'PageNumber',
|
|
61
|
+
pageSize: 'PageSize',
|
|
62
|
+
regionId: 'RegionId',
|
|
63
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
64
|
+
startTime: 'StartTime',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static types(): { [key: string]: any } {
|
|
69
|
+
return {
|
|
70
|
+
domainName: 'string',
|
|
71
|
+
endTime: 'number',
|
|
72
|
+
instanceId: 'string',
|
|
73
|
+
pageNumber: 'number',
|
|
74
|
+
pageSize: 'number',
|
|
75
|
+
regionId: 'string',
|
|
76
|
+
resourceManagerResourceGroupId: 'string',
|
|
77
|
+
startTime: 'number',
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
constructor(map?: { [key: string]: any }) {
|
|
86
|
+
super(map);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeThreatEventResponseBody } from "./DescribeThreatEventResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeThreatEventResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeThreatEventResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeThreatEventResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventResponseBodyThreatEvents extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 100%
|
|
9
|
+
*/
|
|
10
|
+
blockRate?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1768406400000
|
|
14
|
+
*/
|
|
15
|
+
endTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* f439994c8ab39f84eced33490f0c4388
|
|
19
|
+
*/
|
|
20
|
+
eventId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* high
|
|
24
|
+
*/
|
|
25
|
+
eventLevel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 3.3.3.3
|
|
29
|
+
*/
|
|
30
|
+
eventSrc?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* Event_InternalLoginWeakPasswd
|
|
34
|
+
*/
|
|
35
|
+
eventTag?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* test.aliyundemo.com-waf
|
|
39
|
+
*/
|
|
40
|
+
eventTarget?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
blockRate: 'BlockRate',
|
|
44
|
+
endTime: 'EndTime',
|
|
45
|
+
eventId: 'EventId',
|
|
46
|
+
eventLevel: 'EventLevel',
|
|
47
|
+
eventSrc: 'EventSrc',
|
|
48
|
+
eventTag: 'EventTag',
|
|
49
|
+
eventTarget: 'EventTarget',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
blockRate: 'string',
|
|
56
|
+
endTime: 'number',
|
|
57
|
+
eventId: 'string',
|
|
58
|
+
eventLevel: 'string',
|
|
59
|
+
eventSrc: 'string',
|
|
60
|
+
eventTag: 'string',
|
|
61
|
+
eventTarget: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeThreatEventResponseBody extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 98106632-6865-5600-A834-3D909***
|
|
78
|
+
*/
|
|
79
|
+
requestId?: string;
|
|
80
|
+
threatEvents?: DescribeThreatEventResponseBodyThreatEvents[];
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* 10
|
|
84
|
+
*/
|
|
85
|
+
totalCount?: number;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
requestId: 'RequestId',
|
|
89
|
+
threatEvents: 'ThreatEvents',
|
|
90
|
+
totalCount: 'TotalCount',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
requestId: 'string',
|
|
97
|
+
threatEvents: { 'type': 'array', 'itemType': DescribeThreatEventResponseBodyThreatEvents },
|
|
98
|
+
totalCount: 'number',
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
validate() {
|
|
103
|
+
if(Array.isArray(this.threatEvents)) {
|
|
104
|
+
$dara.Model.validateArray(this.threatEvents);
|
|
105
|
+
}
|
|
106
|
+
super.validate();
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
constructor(map?: { [key: string]: any }) {
|
|
110
|
+
super(map);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
@@ -341,6 +341,12 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
341
341
|
* true
|
|
342
342
|
*/
|
|
343
343
|
focusHttpBackend?: boolean;
|
|
344
|
+
http2Origin?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* @example
|
|
347
|
+
* 128
|
|
348
|
+
*/
|
|
349
|
+
http2OriginMaxConcurrency?: number;
|
|
344
350
|
/**
|
|
345
351
|
* @remarks
|
|
346
352
|
* Specifies whether to enable the persistent connection feature. Valid values:
|
|
@@ -505,6 +511,8 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
505
511
|
cnameEnabled: 'CnameEnabled',
|
|
506
512
|
connectTimeout: 'ConnectTimeout',
|
|
507
513
|
focusHttpBackend: 'FocusHttpBackend',
|
|
514
|
+
http2Origin: 'Http2Origin',
|
|
515
|
+
http2OriginMaxConcurrency: 'Http2OriginMaxConcurrency',
|
|
508
516
|
keepalive: 'Keepalive',
|
|
509
517
|
keepaliveRequests: 'KeepaliveRequests',
|
|
510
518
|
keepaliveTimeout: 'KeepaliveTimeout',
|
|
@@ -533,6 +541,8 @@ export class ModifyDomainRequestRedirect extends $dara.Model {
|
|
|
533
541
|
cnameEnabled: 'boolean',
|
|
534
542
|
connectTimeout: 'number',
|
|
535
543
|
focusHttpBackend: 'boolean',
|
|
544
|
+
http2Origin: 'boolean',
|
|
545
|
+
http2OriginMaxConcurrency: 'number',
|
|
536
546
|
keepalive: 'boolean',
|
|
537
547
|
keepaliveRequests: 'number',
|
|
538
548
|
keepaliveTimeout: 'number',
|