@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,144 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* js
|
|
9
|
+
*/
|
|
10
|
+
action?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* {"$and":[{"key":"URI","opValue":"prefix-match","values":"/"}]}
|
|
14
|
+
*/
|
|
15
|
+
condition?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 100030
|
|
19
|
+
*/
|
|
20
|
+
logRuleId?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 86400
|
|
24
|
+
*/
|
|
25
|
+
punishTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* {"threshold":2000,"interval":5,"target":"ip","ttl":600}
|
|
29
|
+
*/
|
|
30
|
+
rateLimit?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* test.example.com
|
|
34
|
+
*/
|
|
35
|
+
recordName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 20110849
|
|
39
|
+
*/
|
|
40
|
+
ruleId?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* inner_cc_client_ip_ratelimit
|
|
44
|
+
*/
|
|
45
|
+
ruleName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* {"field":"ip","mode":"count"}
|
|
49
|
+
*/
|
|
50
|
+
statistics?: string;
|
|
51
|
+
static names(): { [key: string]: string } {
|
|
52
|
+
return {
|
|
53
|
+
action: 'Action',
|
|
54
|
+
condition: 'Condition',
|
|
55
|
+
logRuleId: 'LogRuleId',
|
|
56
|
+
punishTime: 'PunishTime',
|
|
57
|
+
rateLimit: 'RateLimit',
|
|
58
|
+
recordName: 'RecordName',
|
|
59
|
+
ruleId: 'RuleId',
|
|
60
|
+
ruleName: 'RuleName',
|
|
61
|
+
statistics: 'Statistics',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
action: 'string',
|
|
68
|
+
condition: 'string',
|
|
69
|
+
logRuleId: 'number',
|
|
70
|
+
punishTime: 'number',
|
|
71
|
+
rateLimit: 'string',
|
|
72
|
+
recordName: 'string',
|
|
73
|
+
ruleId: 'number',
|
|
74
|
+
ruleName: 'string',
|
|
75
|
+
statistics: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
constructor(map?: { [key: string]: any }) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export class DescribeHttpDDoSIntelligentRateLimitRulesResponseBody extends $dara.Model {
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* 1
|
|
92
|
+
*/
|
|
93
|
+
pageNumber?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* 10
|
|
97
|
+
*/
|
|
98
|
+
pageSize?: number;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* Id of the request
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
105
|
+
*/
|
|
106
|
+
requestId?: string;
|
|
107
|
+
ruleInfos?: DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos[];
|
|
108
|
+
/**
|
|
109
|
+
* @example
|
|
110
|
+
* 100
|
|
111
|
+
*/
|
|
112
|
+
totalCount?: number;
|
|
113
|
+
static names(): { [key: string]: string } {
|
|
114
|
+
return {
|
|
115
|
+
pageNumber: 'PageNumber',
|
|
116
|
+
pageSize: 'PageSize',
|
|
117
|
+
requestId: 'RequestId',
|
|
118
|
+
ruleInfos: 'RuleInfos',
|
|
119
|
+
totalCount: 'TotalCount',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
pageNumber: 'number',
|
|
126
|
+
pageSize: 'number',
|
|
127
|
+
requestId: 'string',
|
|
128
|
+
ruleInfos: { 'type': 'array', 'itemType': DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos },
|
|
129
|
+
totalCount: 'number',
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
validate() {
|
|
134
|
+
if(Array.isArray(this.ruleInfos)) {
|
|
135
|
+
$dara.Model.validateArray(this.ruleInfos);
|
|
136
|
+
}
|
|
137
|
+
super.validate();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
constructor(map?: { [key: string]: any }) {
|
|
141
|
+
super(map);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetEdgeContainerAppResourceCapacityRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The application ID, which can be obtained by calling the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) operation.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -4,16 +4,69 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetEdgeContainerAppResourceCapacityResponseBodyRegions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Supported ISPs are as follows. The parameter is left empty for regions outside the Chinese mainland. ISP:
|
|
9
|
+
*
|
|
10
|
+
* * China Mobile: cmcc
|
|
11
|
+
* * China Telecom: chinanet
|
|
12
|
+
* * China Unicom: unicom
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* unicom
|
|
9
16
|
*/
|
|
10
17
|
isp?: string;
|
|
11
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* Chinese mainland:
|
|
21
|
+
*
|
|
22
|
+
* * East China: huadong
|
|
23
|
+
* * South China: huanan
|
|
24
|
+
* * Central China: huazhong
|
|
25
|
+
* * North China: huabei
|
|
26
|
+
* * Northwest China: xibei
|
|
27
|
+
* * Southwest China: xinan
|
|
28
|
+
* * Northeast China: dongbei
|
|
29
|
+
*
|
|
30
|
+
* Special Administrative Regions and Overseas:
|
|
31
|
+
*
|
|
32
|
+
* * Taiwan, China: tw
|
|
33
|
+
* * Macau, China: mo
|
|
34
|
+
* * Hong Kong, China: hk
|
|
35
|
+
* * Japan: jp
|
|
36
|
+
* * United States: us
|
|
37
|
+
* * Thailand: th
|
|
38
|
+
* * Korea: kr
|
|
39
|
+
* * Russia: ru
|
|
40
|
+
* * Singapore: sg
|
|
41
|
+
* * France: fr
|
|
42
|
+
* * Spain: es
|
|
43
|
+
* * Italy: it
|
|
44
|
+
* * Sweden: se
|
|
45
|
+
* * UAE: ae
|
|
46
|
+
* * Indonesia: id
|
|
47
|
+
* * Chile: cl
|
|
48
|
+
* * Philippines: ph
|
|
49
|
+
* * Malaysia: my
|
|
50
|
+
* * Vietnam: vn
|
|
51
|
+
* * Argentina: AR
|
|
52
|
+
* * Australia: au
|
|
53
|
+
* * Brazil: br
|
|
54
|
+
* * Colombia: co
|
|
55
|
+
* * Germany: de
|
|
56
|
+
* * UK: GB
|
|
57
|
+
* * Peru: pe
|
|
58
|
+
* * Saudi Arabia: sa
|
|
59
|
+
* * Netherlands: nl
|
|
60
|
+
* * South Africa: za
|
|
61
|
+
*
|
|
12
62
|
* @example
|
|
13
63
|
* huadong
|
|
14
64
|
*/
|
|
15
65
|
region?: string;
|
|
16
66
|
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The number of container replicas that can be deployed.
|
|
69
|
+
*
|
|
17
70
|
* @example
|
|
18
71
|
* 16
|
|
19
72
|
*/
|
|
@@ -44,8 +97,15 @@ export class GetEdgeContainerAppResourceCapacityResponseBodyRegions extends $dar
|
|
|
44
97
|
}
|
|
45
98
|
|
|
46
99
|
export class GetEdgeContainerAppResourceCapacityResponseBody extends $dara.Model {
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* The queried region.
|
|
103
|
+
*/
|
|
47
104
|
regions?: GetEdgeContainerAppResourceCapacityResponseBodyRegions[];
|
|
48
105
|
/**
|
|
106
|
+
* @remarks
|
|
107
|
+
* The request ID.
|
|
108
|
+
*
|
|
49
109
|
* @example
|
|
50
110
|
* 50423A7F-A83D-1E24-B80E-86DD25790759
|
|
51
111
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetKvDetailRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* The key name for the query.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -13,6 +15,8 @@ export class GetKvDetailRequest extends $dara.Model {
|
|
|
13
15
|
key?: string;
|
|
14
16
|
/**
|
|
15
17
|
* @remarks
|
|
18
|
+
* The name of the namespace that you specify when you call the [CreateKvNamespace](https://help.aliyun.com/document_detail/2850317.html) operation.
|
|
19
|
+
*
|
|
16
20
|
* This parameter is required.
|
|
17
21
|
*
|
|
18
22
|
* @example
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetKvDetailResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The expiration time of the key. Unit: seconds.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 3600
|
|
9
12
|
*/
|
|
10
13
|
expirationTtl?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The expiration time of the key. Unit: seconds.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* CB1A380B-09F0-41BB-280B-72F8FD6DA2FE
|
|
14
20
|
*/
|
|
15
21
|
requestId?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The value of the key. The value of the root node.
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* test_value
|
|
19
28
|
*/
|
|
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListEdgeContainerAppImageSecretsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Application ID, which can be obtained using the [ListEdgeContainerApps](~~ListEdgeContainerApps~~) interface.
|
|
9
|
+
*
|
|
8
10
|
* This parameter is required.
|
|
9
11
|
*
|
|
10
12
|
* @example
|
|
@@ -4,16 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ListEdgeContainerAppImageSecretsResponseBodyImageSecretList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Name of the image secret.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* reg-123****
|
|
9
12
|
*/
|
|
10
13
|
name?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Registry address.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* registry-vpc.cn-hangzhou.aliyuncs.com
|
|
14
20
|
*/
|
|
15
21
|
registry?: string;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* Username for the image repository
|
|
25
|
+
*
|
|
17
26
|
* @example
|
|
18
27
|
* admin
|
|
19
28
|
*/
|
|
@@ -44,8 +53,15 @@ export class ListEdgeContainerAppImageSecretsResponseBodyImageSecretList extends
|
|
|
44
53
|
}
|
|
45
54
|
|
|
46
55
|
export class ListEdgeContainerAppImageSecretsResponseBody extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* List of image secrets.
|
|
59
|
+
*/
|
|
47
60
|
imageSecretList?: ListEdgeContainerAppImageSecretsResponseBodyImageSecretList[];
|
|
48
61
|
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* Request ID.
|
|
64
|
+
*
|
|
49
65
|
* @example
|
|
50
66
|
* 3558df77-8a7a-4060-a900-2d7949403836
|
|
51
67
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetDdosMaxBurstGbpsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* esa-site-ads11w
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 300
|
|
20
|
+
*/
|
|
21
|
+
maxBurstGbps?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
instanceId: 'InstanceId',
|
|
25
|
+
maxBurstGbps: 'MaxBurstGbps',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
instanceId: 'string',
|
|
32
|
+
maxBurstGbps: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SetDdosMaxBurstGbpsResponseBody } from "./SetDdosMaxBurstGbpsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SetDdosMaxBurstGbpsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SetDdosMaxBurstGbpsResponseBody;
|
|
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: SetDdosMaxBurstGbpsResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetDdosMaxBurstGbpsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -5,6 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetHttpDDoSAttackRuleActionRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* Rule action, with values:
|
|
9
|
+
*
|
|
10
|
+
* - **deny**: Block.
|
|
11
|
+
*
|
|
12
|
+
* - **js**: JS Verification.
|
|
13
|
+
*
|
|
14
|
+
* - **observe**: Observe.
|
|
15
|
+
*
|
|
8
16
|
* This parameter is required.
|
|
9
17
|
*
|
|
10
18
|
* @example
|
|
@@ -13,6 +21,9 @@ export class SetHttpDDoSAttackRuleActionRequest extends $dara.Model {
|
|
|
13
21
|
ruleAction?: string;
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
24
|
+
* List of rule IDs to be operated on, separated by English commas (,).
|
|
25
|
+
* > You can call the [DescribeHttpDDoSAttackRules](~~DescribeHttpDDoSAttackRules~~) API to get this parameter.
|
|
26
|
+
*
|
|
16
27
|
* This parameter is required.
|
|
17
28
|
*
|
|
18
29
|
* @example
|
|
@@ -21,6 +32,8 @@ export class SetHttpDDoSAttackRuleActionRequest extends $dara.Model {
|
|
|
21
32
|
ruleIds?: string;
|
|
22
33
|
/**
|
|
23
34
|
* @remarks
|
|
35
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) API.
|
|
36
|
+
*
|
|
24
37
|
* This parameter is required.
|
|
25
38
|
*
|
|
26
39
|
* @example
|
|
@@ -5,6 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetHttpDDoSAttackRuleStatusRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
+
* List of rule IDs to be operated on, separated by English commas (,).
|
|
9
|
+
* > You can call the [DescribeHttpDDoSAttackRules](~~DescribeHttpDDoSAttackRules~~) interface to get this parameter.
|
|
10
|
+
*
|
|
8
11
|
* This parameter is required.
|
|
9
12
|
*
|
|
10
13
|
* @example
|
|
@@ -13,6 +16,8 @@ export class SetHttpDDoSAttackRuleStatusRequest extends $dara.Model {
|
|
|
13
16
|
ruleIds?: string;
|
|
14
17
|
/**
|
|
15
18
|
* @remarks
|
|
19
|
+
* Site ID, which can be obtained by calling the [ListSites](https://help.aliyun.com/document_detail/2850189.html) interface.
|
|
20
|
+
*
|
|
16
21
|
* This parameter is required.
|
|
17
22
|
*
|
|
18
23
|
* @example
|
|
@@ -21,6 +26,11 @@ export class SetHttpDDoSAttackRuleStatusRequest extends $dara.Model {
|
|
|
21
26
|
siteId?: number;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
29
|
+
* Rule status
|
|
30
|
+
*
|
|
31
|
+
* - **on**: Enable.
|
|
32
|
+
* - **off**: Disable.
|
|
33
|
+
*
|
|
24
34
|
* This parameter is required.
|
|
25
35
|
*
|
|
26
36
|
* @example
|
package/src/models/model.ts
CHANGED
|
@@ -89,6 +89,9 @@ export { DescribeDDoSAllEventListResponseBodyDataList } from './DescribeDdoSallE
|
|
|
89
89
|
export { DescribeDDoSBpsListResponseBodyDataModule } from './DescribeDdoSbpsListResponseBody';
|
|
90
90
|
export { DescribeDDoSL7QpsListResponseBodyDataModule } from './DescribeDdoSl7qpsListResponseBody';
|
|
91
91
|
export { DescribeEdgeContainerAppStatsResponseBodyPoints } from './DescribeEdgeContainerAppStatsResponseBody';
|
|
92
|
+
export { DescribeHttpDDoSAttackRulesResponseBodyRuleInfos } from './DescribeHttpDdoSattackRulesResponseBody';
|
|
93
|
+
export { DescribeHttpDDoSIntelligentAclRulesResponseBodyRuleInfos } from './DescribeHttpDdoSintelligentAclRulesResponseBody';
|
|
94
|
+
export { DescribeHttpDDoSIntelligentRateLimitRulesResponseBodyRuleInfos } from './DescribeHttpDdoSintelligentRateLimitRulesResponseBody';
|
|
92
95
|
export { DescribePreloadTasksResponseBodyTasks } from './DescribePreloadTasksResponseBody';
|
|
93
96
|
export { DescribePurgeTasksResponseBodyTasks } from './DescribePurgeTasksResponseBody';
|
|
94
97
|
export { DescribeSiteLogsResponseBodySiteLogDetailsLogInfos } from './DescribeSiteLogsResponseBody';
|
|
@@ -712,6 +715,9 @@ export { DescribeDDoSBpsListResponse } from './DescribeDdoSbpsListResponse';
|
|
|
712
715
|
export { DescribeDDoSL7QpsListRequest } from './DescribeDdoSl7qpsListRequest';
|
|
713
716
|
export { DescribeDDoSL7QpsListResponseBody } from './DescribeDdoSl7qpsListResponseBody';
|
|
714
717
|
export { DescribeDDoSL7QpsListResponse } from './DescribeDdoSl7qpsListResponse';
|
|
718
|
+
export { DescribeDdosMaxBurstGbpsRequest } from './DescribeDdosMaxBurstGbpsRequest';
|
|
719
|
+
export { DescribeDdosMaxBurstGbpsResponseBody } from './DescribeDdosMaxBurstGbpsResponseBody';
|
|
720
|
+
export { DescribeDdosMaxBurstGbpsResponse } from './DescribeDdosMaxBurstGbpsResponse';
|
|
715
721
|
export { DescribeEdgeContainerAppStatsRequest } from './DescribeEdgeContainerAppStatsRequest';
|
|
716
722
|
export { DescribeEdgeContainerAppStatsResponseBody } from './DescribeEdgeContainerAppStatsResponseBody';
|
|
717
723
|
export { DescribeEdgeContainerAppStatsResponse } from './DescribeEdgeContainerAppStatsResponse';
|
|
@@ -721,6 +727,15 @@ export { DescribeHttpDDoSAttackIntelligentProtectionResponse } from './DescribeH
|
|
|
721
727
|
export { DescribeHttpDDoSAttackProtectionRequest } from './DescribeHttpDdoSattackProtectionRequest';
|
|
722
728
|
export { DescribeHttpDDoSAttackProtectionResponseBody } from './DescribeHttpDdoSattackProtectionResponseBody';
|
|
723
729
|
export { DescribeHttpDDoSAttackProtectionResponse } from './DescribeHttpDdoSattackProtectionResponse';
|
|
730
|
+
export { DescribeHttpDDoSAttackRulesRequest } from './DescribeHttpDdoSattackRulesRequest';
|
|
731
|
+
export { DescribeHttpDDoSAttackRulesResponseBody } from './DescribeHttpDdoSattackRulesResponseBody';
|
|
732
|
+
export { DescribeHttpDDoSAttackRulesResponse } from './DescribeHttpDdoSattackRulesResponse';
|
|
733
|
+
export { DescribeHttpDDoSIntelligentAclRulesRequest } from './DescribeHttpDdoSintelligentAclRulesRequest';
|
|
734
|
+
export { DescribeHttpDDoSIntelligentAclRulesResponseBody } from './DescribeHttpDdoSintelligentAclRulesResponseBody';
|
|
735
|
+
export { DescribeHttpDDoSIntelligentAclRulesResponse } from './DescribeHttpDdoSintelligentAclRulesResponse';
|
|
736
|
+
export { DescribeHttpDDoSIntelligentRateLimitRulesRequest } from './DescribeHttpDdoSintelligentRateLimitRulesRequest';
|
|
737
|
+
export { DescribeHttpDDoSIntelligentRateLimitRulesResponseBody } from './DescribeHttpDdoSintelligentRateLimitRulesResponseBody';
|
|
738
|
+
export { DescribeHttpDDoSIntelligentRateLimitRulesResponse } from './DescribeHttpDdoSintelligentRateLimitRulesResponse';
|
|
724
739
|
export { DescribeKvAccountStatusResponseBody } from './DescribeKvAccountStatusResponseBody';
|
|
725
740
|
export { DescribeKvAccountStatusResponse } from './DescribeKvAccountStatusResponse';
|
|
726
741
|
export { DescribePreloadTasksRequest } from './DescribePreloadTasksRequest';
|
|
@@ -1260,6 +1275,9 @@ export { SetClientCertificateHostnamesRequest } from './SetClientCertificateHost
|
|
|
1260
1275
|
export { SetClientCertificateHostnamesShrinkRequest } from './SetClientCertificateHostnamesShrinkRequest';
|
|
1261
1276
|
export { SetClientCertificateHostnamesResponseBody } from './SetClientCertificateHostnamesResponseBody';
|
|
1262
1277
|
export { SetClientCertificateHostnamesResponse } from './SetClientCertificateHostnamesResponse';
|
|
1278
|
+
export { SetDdosMaxBurstGbpsRequest } from './SetDdosMaxBurstGbpsRequest';
|
|
1279
|
+
export { SetDdosMaxBurstGbpsResponseBody } from './SetDdosMaxBurstGbpsResponseBody';
|
|
1280
|
+
export { SetDdosMaxBurstGbpsResponse } from './SetDdosMaxBurstGbpsResponse';
|
|
1263
1281
|
export { SetHttpDDoSAttackIntelligentProtectionRequest } from './SetHttpDdoSattackIntelligentProtectionRequest';
|
|
1264
1282
|
export { SetHttpDDoSAttackIntelligentProtectionResponseBody } from './SetHttpDdoSattackIntelligentProtectionResponseBody';
|
|
1265
1283
|
export { SetHttpDDoSAttackIntelligentProtectionResponse } from './SetHttpDdoSattackIntelligentProtectionResponse';
|