@alicloud/esa20240910 2.39.0 → 2.40.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 +95 -34
- package/dist/client.js +239 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.d.ts +8 -0
- package/dist/models/CreateEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/CreateEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.d.ts +4 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretRequest.js.map +1 -1
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.d.ts +3 -0
- package/dist/models/DeleteEdgeContainerAppImageSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +6 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +10 -1
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetRequest.d.ts +4 -0
- package/dist/models/DeleteUserWafRulesetRequest.js.map +1 -1
- package/dist/models/DeleteUserWafRulesetResponseBody.d.ts +3 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.js.map +1 -1
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.d.ts +21 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js +58 -0
- package/dist/models/DescribeDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.d.ts +31 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js +62 -0
- package/dist/models/DescribeDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.d.ts +34 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js +62 -0
- package/dist/models/DescribeHttpDdoSattackRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.d.ts +89 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js +102 -0
- package/dist/models/DescribeHttpDdoSattackRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.d.ts +84 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js +100 -0
- package/dist/models/DescribeHttpDdoSintelligentAclRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.d.ts +39 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js +64 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.d.ts +19 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js +69 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.js.map +1 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.d.ts +94 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js +104 -0
- package/dist/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.js.map +1 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.d.ts +2 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityRequest.js.map +1 -1
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.d.ts +60 -0
- package/dist/models/GetEdgeContainerAppResourceCapacityResponseBody.js.map +1 -1
- package/dist/models/GetKvDetailRequest.d.ts +4 -0
- package/dist/models/GetKvDetailRequest.js.map +1 -1
- package/dist/models/GetKvDetailResponseBody.d.ts +9 -0
- package/dist/models/GetKvDetailResponseBody.js.map +1 -1
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.d.ts +2 -0
- package/dist/models/ListEdgeContainerAppImageSecretsRequest.js.map +1 -1
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.d.ts +16 -0
- package/dist/models/ListEdgeContainerAppImageSecretsResponseBody.js.map +1 -1
- package/dist/models/SetDdosMaxBurstGbpsRequest.d.ts +29 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js +60 -0
- package/dist/models/SetDdosMaxBurstGbpsRequest.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.d.ts +19 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js +69 -0
- package/dist/models/SetDdosMaxBurstGbpsResponse.js.map +1 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.d.ts +18 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js +58 -0
- package/dist/models/SetDdosMaxBurstGbpsResponseBody.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +13 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +10 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -1
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +66 -29
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +262 -34
- package/src/models/CreateEdgeContainerAppImageSecretRequest.ts +8 -0
- package/src/models/CreateEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteEdgeContainerAppImageSecretRequest.ts +4 -0
- package/src/models/DeleteEdgeContainerAppImageSecretResponseBody.ts +3 -0
- package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +6 -0
- package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +10 -1
- package/src/models/DeleteUserWafRulesetRequest.ts +4 -0
- package/src/models/DeleteUserWafRulesetResponseBody.ts +3 -0
- package/src/models/DescribeDdosMaxBurstGbpsRequest.ts +34 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/DescribeDdosMaxBurstGbpsResponseBody.ts +48 -0
- package/src/models/DescribeHttpDdoSattackRulesRequest.ts +51 -0
- package/src/models/DescribeHttpDdoSattackRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSattackRulesResponseBody.ts +137 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentAclRulesResponseBody.ts +130 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesRequest.ts +58 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponse.ts +40 -0
- package/src/models/DescribeHttpDdoSintelligentRateLimitRulesResponseBody.ts +144 -0
- package/src/models/GetEdgeContainerAppResourceCapacityRequest.ts +2 -0
- package/src/models/GetEdgeContainerAppResourceCapacityResponseBody.ts +60 -0
- package/src/models/GetKvDetailRequest.ts +4 -0
- package/src/models/GetKvDetailResponseBody.ts +9 -0
- package/src/models/ListEdgeContainerAppImageSecretsRequest.ts +2 -0
- package/src/models/ListEdgeContainerAppImageSecretsResponseBody.ts +16 -0
- package/src/models/SetDdosMaxBurstGbpsRequest.ts +44 -0
- package/src/models/SetDdosMaxBurstGbpsResponse.ts +40 -0
- package/src/models/SetDdosMaxBurstGbpsResponseBody.ts +31 -0
- package/src/models/SetHttpDdoSattackRuleActionRequest.ts +13 -0
- package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +1 -1
- package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +10 -0
- package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +1 -1
- package/src/models/model.ts +18 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDdosMaxBurstGbpsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* esa-site-a71k7bw19dz4
|
|
9
|
+
*/
|
|
10
|
+
instanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 300
|
|
14
|
+
*/
|
|
15
|
+
maxBurstGbps?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Id of the request
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* B5D71671-B074-5702-A0F5-B923920FDDD4
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
instanceId: 'InstanceId',
|
|
27
|
+
maxBurstGbps: 'MaxBurstGbps',
|
|
28
|
+
requestId: 'RequestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'string',
|
|
35
|
+
maxBurstGbps: 'string',
|
|
36
|
+
requestId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHttpDDoSAttackRulesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 10
|
|
17
|
+
*/
|
|
18
|
+
pageSize?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 123456****
|
|
25
|
+
*/
|
|
26
|
+
siteId?: number;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
pageNumber: 'PageNumber',
|
|
30
|
+
pageSize: 'PageSize',
|
|
31
|
+
siteId: 'SiteId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
pageNumber: 'number',
|
|
38
|
+
pageSize: 'number',
|
|
39
|
+
siteId: 'number',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeHttpDDoSAttackRulesResponseBody } from "./DescribeHttpDdoSattackRulesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHttpDDoSAttackRulesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHttpDDoSAttackRulesResponseBody;
|
|
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: DescribeHttpDDoSAttackRulesResponseBody,
|
|
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,137 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHttpDDoSAttackRulesResponseBodyRuleInfos extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* deny
|
|
9
|
+
*/
|
|
10
|
+
action?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* deny
|
|
14
|
+
*/
|
|
15
|
+
defaultAction?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 100010
|
|
19
|
+
*/
|
|
20
|
+
logRuleId?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* The HTTP request\\"s Accept header contains invalid features#1
|
|
24
|
+
*/
|
|
25
|
+
ruleDesc?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 20203578
|
|
29
|
+
*/
|
|
30
|
+
ruleId?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* global_01_s
|
|
34
|
+
*/
|
|
35
|
+
ruleIdInfo?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* Illegal request。
|
|
39
|
+
*/
|
|
40
|
+
ruleName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* on
|
|
44
|
+
*/
|
|
45
|
+
status?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
action: 'Action',
|
|
49
|
+
defaultAction: 'DefaultAction',
|
|
50
|
+
logRuleId: 'LogRuleId',
|
|
51
|
+
ruleDesc: 'RuleDesc',
|
|
52
|
+
ruleId: 'RuleId',
|
|
53
|
+
ruleIdInfo: 'RuleIdInfo',
|
|
54
|
+
ruleName: 'RuleName',
|
|
55
|
+
status: 'Status',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
static types(): { [key: string]: any } {
|
|
60
|
+
return {
|
|
61
|
+
action: 'string',
|
|
62
|
+
defaultAction: 'string',
|
|
63
|
+
logRuleId: 'number',
|
|
64
|
+
ruleDesc: 'string',
|
|
65
|
+
ruleId: 'number',
|
|
66
|
+
ruleIdInfo: 'string',
|
|
67
|
+
ruleName: 'string',
|
|
68
|
+
status: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export class DescribeHttpDDoSAttackRulesResponseBody extends $dara.Model {
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 1
|
|
85
|
+
*/
|
|
86
|
+
pageNumber?: number;
|
|
87
|
+
/**
|
|
88
|
+
* @example
|
|
89
|
+
* 10
|
|
90
|
+
*/
|
|
91
|
+
pageSize?: number;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* Id of the request
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* D4030CD2-0D9D-5E92-B358-421AE58307C6
|
|
98
|
+
*/
|
|
99
|
+
requestId?: string;
|
|
100
|
+
ruleInfos?: DescribeHttpDDoSAttackRulesResponseBodyRuleInfos[];
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* 100
|
|
104
|
+
*/
|
|
105
|
+
totalCount?: number;
|
|
106
|
+
static names(): { [key: string]: string } {
|
|
107
|
+
return {
|
|
108
|
+
pageNumber: 'PageNumber',
|
|
109
|
+
pageSize: 'PageSize',
|
|
110
|
+
requestId: 'RequestId',
|
|
111
|
+
ruleInfos: 'RuleInfos',
|
|
112
|
+
totalCount: 'TotalCount',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
static types(): { [key: string]: any } {
|
|
117
|
+
return {
|
|
118
|
+
pageNumber: 'number',
|
|
119
|
+
pageSize: 'number',
|
|
120
|
+
requestId: 'string',
|
|
121
|
+
ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSAttackRulesResponseBodyRuleInfos },
|
|
122
|
+
totalCount: 'number',
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
validate() {
|
|
127
|
+
if(Array.isArray(this.ruleInfos)) {
|
|
128
|
+
$dara.Model.validateArray(this.ruleInfos);
|
|
129
|
+
}
|
|
130
|
+
super.validate();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
constructor(map?: { [key: string]: any }) {
|
|
134
|
+
super(map);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
@@ -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 DescribeHttpDDoSIntelligentAclRulesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 10
|
|
17
|
+
*/
|
|
18
|
+
pageSize?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* acl
|
|
22
|
+
*/
|
|
23
|
+
ruleType?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 5407498413****
|
|
30
|
+
*/
|
|
31
|
+
siteId?: number;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
pageNumber: 'PageNumber',
|
|
35
|
+
pageSize: 'PageSize',
|
|
36
|
+
ruleType: 'RuleType',
|
|
37
|
+
siteId: 'SiteId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
pageNumber: 'number',
|
|
44
|
+
pageSize: 'number',
|
|
45
|
+
ruleType: 'string',
|
|
46
|
+
siteId: 'number',
|
|
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 { DescribeHttpDDoSIntelligentAclRulesResponseBody } from "./DescribeHttpDdoSintelligentAclRulesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHttpDDoSIntelligentAclRulesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHttpDDoSIntelligentAclRulesResponseBody;
|
|
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: DescribeHttpDDoSIntelligentAclRulesResponseBody,
|
|
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,130 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* deny
|
|
9
|
+
*/
|
|
10
|
+
action?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* {"$and":[{"key":"URI","opValue":"prefix-match","values":"/"}]}
|
|
14
|
+
*/
|
|
15
|
+
condition?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1000030
|
|
19
|
+
*/
|
|
20
|
+
logRuleId?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1800
|
|
24
|
+
*/
|
|
25
|
+
punishTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* test.example.com
|
|
29
|
+
*/
|
|
30
|
+
recordName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 20569929
|
|
34
|
+
*/
|
|
35
|
+
ruleId?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* smart_cc_***
|
|
39
|
+
*/
|
|
40
|
+
ruleName?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
action: 'Action',
|
|
44
|
+
condition: 'Condition',
|
|
45
|
+
logRuleId: 'LogRuleId',
|
|
46
|
+
punishTime: 'PunishTime',
|
|
47
|
+
recordName: 'RecordName',
|
|
48
|
+
ruleId: 'RuleId',
|
|
49
|
+
ruleName: 'RuleName',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
action: 'string',
|
|
56
|
+
condition: 'string',
|
|
57
|
+
logRuleId: 'number',
|
|
58
|
+
punishTime: 'number',
|
|
59
|
+
recordName: 'string',
|
|
60
|
+
ruleId: 'number',
|
|
61
|
+
ruleName: '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 DescribeHttpDDoSIntelligentAclRulesResponseBody extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 1
|
|
78
|
+
*/
|
|
79
|
+
pageNumber?: number;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* 10
|
|
83
|
+
*/
|
|
84
|
+
pageSize?: number;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* Id of the request
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* 0AEDAF20-4DDF-4165-8750-47FF9C1929C9
|
|
91
|
+
*/
|
|
92
|
+
requestId?: string;
|
|
93
|
+
ruleInfos?: DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos[];
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* 100
|
|
97
|
+
*/
|
|
98
|
+
totalCount?: number;
|
|
99
|
+
static names(): { [key: string]: string } {
|
|
100
|
+
return {
|
|
101
|
+
pageNumber: 'PageNumber',
|
|
102
|
+
pageSize: 'PageSize',
|
|
103
|
+
requestId: 'RequestId',
|
|
104
|
+
ruleInfos: 'RuleInfos',
|
|
105
|
+
totalCount: 'TotalCount',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
pageNumber: 'number',
|
|
112
|
+
pageSize: 'number',
|
|
113
|
+
requestId: 'string',
|
|
114
|
+
ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos },
|
|
115
|
+
totalCount: 'number',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
validate() {
|
|
120
|
+
if(Array.isArray(this.ruleInfos)) {
|
|
121
|
+
$dara.Model.validateArray(this.ruleInfos);
|
|
122
|
+
}
|
|
123
|
+
super.validate();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
constructor(map?: { [key: string]: any }) {
|
|
127
|
+
super(map);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
@@ -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 DescribeHttpDDoSIntelligentRateLimitRulesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 10
|
|
17
|
+
*/
|
|
18
|
+
pageSize?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cc
|
|
22
|
+
*/
|
|
23
|
+
ruleType?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 123456****
|
|
30
|
+
*/
|
|
31
|
+
siteId?: number;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
pageNumber: 'PageNumber',
|
|
35
|
+
pageSize: 'PageSize',
|
|
36
|
+
ruleType: 'RuleType',
|
|
37
|
+
siteId: 'SiteId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
pageNumber: 'number',
|
|
44
|
+
pageSize: 'number',
|
|
45
|
+
ruleType: 'string',
|
|
46
|
+
siteId: 'number',
|
|
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 { DescribeHttpDDoSIntelligentRateLimitRulesResponseBody } from "./DescribeHttpDdoSintelligentRateLimitRulesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeHttpDDoSIntelligentRateLimitRulesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeHttpDDoSIntelligentRateLimitRulesResponseBody;
|
|
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: DescribeHttpDDoSIntelligentRateLimitRulesResponseBody,
|
|
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
|
+
|