@alicloud/ddosbgp20180720 3.0.0 → 3.1.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 +89 -53
- package/dist/client.js +147 -53
- package/dist/client.js.map +1 -1
- package/dist/models/AddIpRequest.d.ts +11 -10
- package/dist/models/AddIpRequest.js.map +1 -1
- package/dist/models/AddIpResponseBody.d.ts +1 -1
- package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
- package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/AttachToPolicyRequest.d.ts +27 -10
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
- package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
- package/dist/models/CheckGrantRequest.d.ts +4 -3
- package/dist/models/CheckGrantRequest.js.map +1 -1
- package/dist/models/CheckGrantResponseBody.d.ts +3 -2
- package/dist/models/CheckGrantResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +15 -5
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
- package/dist/models/DeleteIpRequest.d.ts +8 -10
- package/dist/models/DeleteIpRequest.js.map +1 -1
- package/dist/models/DeleteIpResponseBody.d.ts +1 -1
- package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
- package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
- package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
- package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
- package/dist/models/DescribePackIpListRequest.d.ts +14 -11
- package/dist/models/DescribePackIpListRequest.js.map +1 -1
- package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
- package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
- package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
- package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
- package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +4 -4
- package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeTrafficRequest.d.ts +16 -21
- package/dist/models/DescribeTrafficRequest.js.map +1 -1
- package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
- package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
- package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
- package/dist/models/DetachFromPolicyRequest.js.map +1 -1
- package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
- package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
- package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
- package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
- package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
- package/dist/models/ListPolicyRequest.d.ts +5 -16
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +182 -94
- package/dist/models/ListPolicyResponseBody.js +41 -1
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
- package/dist/models/ModifyPolicyContentRequest.js +41 -1
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +181 -118
- package/dist/models/ModifyPolicyRequest.js +41 -1
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/dist/models/ModifyRemarkRequest.d.ts +5 -7
- package/dist/models/ModifyRemarkRequest.js.map +1 -1
- package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +34 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +160 -53
- package/src/models/AddIpRequest.ts +11 -10
- package/src/models/AddIpResponseBody.ts +1 -1
- package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
- package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/AttachToPolicyRequest.ts +27 -10
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
- package/src/models/CheckGrantRequest.ts +4 -3
- package/src/models/CheckGrantResponseBody.ts +3 -2
- package/src/models/CreatePolicyRequest.ts +15 -5
- package/src/models/CreatePolicyResponseBody.ts +2 -2
- package/src/models/DeleteIpRequest.ts +8 -10
- package/src/models/DeleteIpResponseBody.ts +1 -1
- package/src/models/DescribeAssetGroupRequest.ts +4 -3
- package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
- package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
- package/src/models/DescribeInstanceListRequest.ts +13 -9
- package/src/models/DescribeInstanceListResponseBody.ts +28 -18
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
- package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
- package/src/models/DescribePackIpListRequest.ts +14 -11
- package/src/models/DescribePackIpListResponseBody.ts +28 -22
- package/src/models/DescribeRdMemberListRequest.ts +1 -1
- package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
- package/src/models/DescribeRdStatusResponseBody.ts +5 -3
- package/src/models/DescribeRegionsRequest.ts +4 -4
- package/src/models/DescribeRegionsResponseBody.ts +5 -6
- package/src/models/DescribeTrafficRequest.ts +16 -21
- package/src/models/DescribeTrafficResponseBody.ts +11 -12
- package/src/models/DetachFromPolicyRequest.ts +26 -8
- package/src/models/DetachFromPolicyResponseBody.ts +1 -1
- package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
- package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/ListPolicyAttachmentRequest.ts +27 -11
- package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
- package/src/models/ListPolicyRequest.ts +5 -16
- package/src/models/ListPolicyResponseBody.ts +213 -94
- package/src/models/ModifyPolicyContentRequest.ts +207 -90
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
- package/src/models/ModifyPolicyRequest.ts +212 -118
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
- package/src/models/ModifyRemarkRequest.ts +5 -7
- package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
- package/src/models/model.ts +7 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The end of the destination port range. Valid values: **0** to **65535**.
|
|
5
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
6
6
|
*
|
|
7
7
|
* This parameter is required.
|
|
8
8
|
*
|
|
@@ -12,7 +12,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
12
12
|
dstPortEnd?: number;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
15
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -22,7 +22,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
22
22
|
dstPortStart?: number;
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The ID
|
|
25
|
+
* The rule ID.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 5fbe941f-a0cf-4a49-9c7c-8fac********
|
|
@@ -30,12 +30,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
30
30
|
id?: string;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The action
|
|
34
|
-
*
|
|
35
|
-
* * **accept**: allows the traffic that matches the conditions in the byte-match filter rule.
|
|
36
|
-
* * **drop**: discards the traffic that matches the conditions in the byte-match filter rule.
|
|
37
|
-
* * **ip_rate**: limits rates on the source IP address whose traffic matches the conditions in the byte-match filter rule. The rate limit is specified by **RateValue**.
|
|
38
|
-
* * **session_rate**: limits the number of sessions from the source IP address whose traffic matches the conditions in the byte-match filter rule. The rate limit is specified by **RateValue**.
|
|
33
|
+
* The match action. Valid values:
|
|
39
34
|
*
|
|
40
35
|
* This parameter is required.
|
|
41
36
|
*
|
|
@@ -73,7 +68,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
73
68
|
offset?: number;
|
|
74
69
|
/**
|
|
75
70
|
* @remarks
|
|
76
|
-
* The payload.
|
|
71
|
+
* The detection payload. Represented in hexadecimal string format.
|
|
77
72
|
*
|
|
78
73
|
* @example
|
|
79
74
|
* abcd
|
|
@@ -81,10 +76,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
81
76
|
payloadBytes?: string;
|
|
82
77
|
/**
|
|
83
78
|
* @remarks
|
|
84
|
-
* The type
|
|
85
|
-
*
|
|
86
|
-
* * **tcp**
|
|
87
|
-
* * **udp**
|
|
79
|
+
* The protocol type. Valid values:
|
|
88
80
|
*
|
|
89
81
|
* This parameter is required.
|
|
90
82
|
*
|
|
@@ -94,9 +86,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
94
86
|
protocol?: string;
|
|
95
87
|
/**
|
|
96
88
|
* @remarks
|
|
97
|
-
* The rate limit. Valid values: **1** to **100000**.
|
|
98
|
-
*
|
|
99
|
-
* > This parameter is required when **MatchAction** is set to **ip_rate** or **session_rate**.
|
|
89
|
+
* The rate limit value. Valid values: **1** to **100000**.
|
|
100
90
|
*
|
|
101
91
|
* @example
|
|
102
92
|
* 100
|
|
@@ -104,9 +94,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
104
94
|
rateValue?: number;
|
|
105
95
|
/**
|
|
106
96
|
* @remarks
|
|
107
|
-
* The
|
|
108
|
-
*
|
|
109
|
-
* > A smaller number indicates a higher priority.
|
|
97
|
+
* The priority number, represented as an integer.
|
|
110
98
|
*
|
|
111
99
|
* This parameter is required.
|
|
112
100
|
*
|
|
@@ -116,7 +104,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
116
104
|
seqNo?: number;
|
|
117
105
|
/**
|
|
118
106
|
* @remarks
|
|
119
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
107
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
120
108
|
*
|
|
121
109
|
* This parameter is required.
|
|
122
110
|
*
|
|
@@ -126,7 +114,7 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
126
114
|
srcPortEnd?: number;
|
|
127
115
|
/**
|
|
128
116
|
* @remarks
|
|
129
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
117
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
130
118
|
*
|
|
131
119
|
* This parameter is required.
|
|
132
120
|
*
|
|
@@ -146,7 +134,21 @@ export declare class ModifyPolicyRequestContentFingerPrintRuleList extends $dara
|
|
|
146
134
|
});
|
|
147
135
|
}
|
|
148
136
|
export declare class ModifyPolicyRequestContentL4RuleListConditionListOffset extends $dara.Model {
|
|
137
|
+
/**
|
|
138
|
+
* @remarks
|
|
139
|
+
* The end position. Valid values: **0** to **1499**.
|
|
140
|
+
*
|
|
141
|
+
* @example
|
|
142
|
+
* 1499
|
|
143
|
+
*/
|
|
149
144
|
end?: number;
|
|
145
|
+
/**
|
|
146
|
+
* @remarks
|
|
147
|
+
* The start position. Valid values: **0** to **1499**.
|
|
148
|
+
*
|
|
149
|
+
* @example
|
|
150
|
+
* 0
|
|
151
|
+
*/
|
|
150
152
|
start?: number;
|
|
151
153
|
static names(): {
|
|
152
154
|
[key: string]: string;
|
|
@@ -162,29 +164,52 @@ export declare class ModifyPolicyRequestContentL4RuleListConditionListOffset ext
|
|
|
162
164
|
export declare class ModifyPolicyRequestContentL4RuleListConditionList extends $dara.Model {
|
|
163
165
|
/**
|
|
164
166
|
* @remarks
|
|
165
|
-
* The
|
|
166
|
-
*
|
|
167
|
-
* > If Method is set to **char**, the value of this parameter must be ASCII strings. If Method is set to **hex**, the value of this parameter must be hexadecimal strings. Maximum length: 2,048.
|
|
167
|
+
* The detection content.
|
|
168
168
|
*
|
|
169
169
|
* @example
|
|
170
170
|
* abcd
|
|
171
171
|
*/
|
|
172
172
|
arg?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The matching content.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* test**
|
|
179
|
+
*/
|
|
173
180
|
content?: string;
|
|
174
181
|
/**
|
|
175
182
|
* @remarks
|
|
176
|
-
* The
|
|
183
|
+
* The detection window length. Valid values: **1** to **2048**.
|
|
177
184
|
*
|
|
178
185
|
* @example
|
|
179
186
|
* 1200
|
|
180
187
|
*/
|
|
181
188
|
depth?: number;
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The character type. Valid values:
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* str
|
|
195
|
+
*/
|
|
182
196
|
encode?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The matching range.
|
|
200
|
+
*/
|
|
183
201
|
offset?: ModifyPolicyRequestContentL4RuleListConditionListOffset;
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The matching pattern.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* contain
|
|
208
|
+
*/
|
|
184
209
|
pattern?: string;
|
|
185
210
|
/**
|
|
186
211
|
* @remarks
|
|
187
|
-
* The start position
|
|
212
|
+
* The detection start position. Valid values: **0** to **2047**.
|
|
188
213
|
*
|
|
189
214
|
* @example
|
|
190
215
|
* 0
|
|
@@ -204,9 +229,7 @@ export declare class ModifyPolicyRequestContentL4RuleListConditionList extends $
|
|
|
204
229
|
export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
205
230
|
/**
|
|
206
231
|
* @remarks
|
|
207
|
-
* The action
|
|
208
|
-
*
|
|
209
|
-
* * **2**: The traffic is discarded.
|
|
232
|
+
* The action.
|
|
210
233
|
*
|
|
211
234
|
* @example
|
|
212
235
|
* 2
|
|
@@ -214,12 +237,12 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
214
237
|
action?: string;
|
|
215
238
|
/**
|
|
216
239
|
* @remarks
|
|
217
|
-
* The
|
|
240
|
+
* The list of detection conditions.
|
|
218
241
|
*/
|
|
219
242
|
conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
|
|
220
243
|
/**
|
|
221
244
|
* @remarks
|
|
222
|
-
* The minimum number of bytes in a session
|
|
245
|
+
* The minimum number of bytes in a session flow that triggers rule matching. Valid values: **0** to **2048**.
|
|
223
246
|
*
|
|
224
247
|
* @example
|
|
225
248
|
* 0
|
|
@@ -227,10 +250,7 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
227
250
|
limited?: number;
|
|
228
251
|
/**
|
|
229
252
|
* @remarks
|
|
230
|
-
* The
|
|
231
|
-
*
|
|
232
|
-
* * **0**: If the rule is matched, the action specified in the rule is performed.
|
|
233
|
-
* * **1**: If the rule is not matched, the action specified in the rule is performed.
|
|
253
|
+
* The logical operator. Valid values:
|
|
234
254
|
*
|
|
235
255
|
* @example
|
|
236
256
|
* 0
|
|
@@ -238,10 +258,7 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
238
258
|
match?: string;
|
|
239
259
|
/**
|
|
240
260
|
* @remarks
|
|
241
|
-
* The type
|
|
242
|
-
*
|
|
243
|
-
* * **char**: string match.
|
|
244
|
-
* * **hex**: hexadecimal string match.
|
|
261
|
+
* The rule type. Valid values:
|
|
245
262
|
*
|
|
246
263
|
* @example
|
|
247
264
|
* char
|
|
@@ -249,7 +266,7 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
249
266
|
method?: string;
|
|
250
267
|
/**
|
|
251
268
|
* @remarks
|
|
252
|
-
* The name
|
|
269
|
+
* The rule name.
|
|
253
270
|
*
|
|
254
271
|
* This parameter is required.
|
|
255
272
|
*
|
|
@@ -259,9 +276,7 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
259
276
|
name?: string;
|
|
260
277
|
/**
|
|
261
278
|
* @remarks
|
|
262
|
-
* The priority
|
|
263
|
-
*
|
|
264
|
-
* > A smaller value indicates a higher priority.
|
|
279
|
+
* The rule priority. Valid values: **1** to **100**.
|
|
265
280
|
*
|
|
266
281
|
* @example
|
|
267
282
|
* 1
|
|
@@ -281,7 +296,7 @@ export declare class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
|
|
|
281
296
|
export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model {
|
|
282
297
|
/**
|
|
283
298
|
* @remarks
|
|
284
|
-
* The end of the destination port range. Valid values: **0** to **65535**.
|
|
299
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
285
300
|
*
|
|
286
301
|
* This parameter is required.
|
|
287
302
|
*
|
|
@@ -291,7 +306,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
291
306
|
dstPortEnd?: number;
|
|
292
307
|
/**
|
|
293
308
|
* @remarks
|
|
294
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
309
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
295
310
|
*
|
|
296
311
|
* This parameter is required.
|
|
297
312
|
*
|
|
@@ -301,7 +316,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
301
316
|
dstPortStart?: number;
|
|
302
317
|
/**
|
|
303
318
|
* @remarks
|
|
304
|
-
* The ID
|
|
319
|
+
* The rule ID.
|
|
305
320
|
*
|
|
306
321
|
* @example
|
|
307
322
|
* c52c2fa6-fdac-40c4-8753-be7c*********
|
|
@@ -309,9 +324,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
309
324
|
id?: string;
|
|
310
325
|
/**
|
|
311
326
|
* @remarks
|
|
312
|
-
* The action
|
|
313
|
-
*
|
|
314
|
-
* * **drop**: The traffic is discarded.
|
|
327
|
+
* The match action. Valid values:
|
|
315
328
|
*
|
|
316
329
|
* This parameter is required.
|
|
317
330
|
*
|
|
@@ -321,10 +334,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
321
334
|
matchAction?: string;
|
|
322
335
|
/**
|
|
323
336
|
* @remarks
|
|
324
|
-
* The type
|
|
325
|
-
*
|
|
326
|
-
* * **tcp**
|
|
327
|
-
* * **udp**
|
|
337
|
+
* The protocol type. Valid values:
|
|
328
338
|
*
|
|
329
339
|
* This parameter is required.
|
|
330
340
|
*
|
|
@@ -334,9 +344,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
334
344
|
protocol?: string;
|
|
335
345
|
/**
|
|
336
346
|
* @remarks
|
|
337
|
-
* The
|
|
338
|
-
*
|
|
339
|
-
* > A smaller number indicates a higher priority.
|
|
347
|
+
* The priority number, represented as an integer.
|
|
340
348
|
*
|
|
341
349
|
* This parameter is required.
|
|
342
350
|
*
|
|
@@ -346,7 +354,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
346
354
|
seqNo?: number;
|
|
347
355
|
/**
|
|
348
356
|
* @remarks
|
|
349
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
357
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
350
358
|
*
|
|
351
359
|
* This parameter is required.
|
|
352
360
|
*
|
|
@@ -356,7 +364,7 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
356
364
|
srcPortEnd?: number;
|
|
357
365
|
/**
|
|
358
366
|
* @remarks
|
|
359
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
367
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
360
368
|
*
|
|
361
369
|
* This parameter is required.
|
|
362
370
|
*
|
|
@@ -375,10 +383,85 @@ export declare class ModifyPolicyRequestContentPortRuleList extends $dara.Model
|
|
|
375
383
|
[key: string]: any;
|
|
376
384
|
});
|
|
377
385
|
}
|
|
386
|
+
export declare class ModifyPolicyRequestContentSipDefense extends $dara.Model {
|
|
387
|
+
/**
|
|
388
|
+
* @remarks
|
|
389
|
+
* Specifies whether to enable SIP protection. Valid values:
|
|
390
|
+
*
|
|
391
|
+
* @example
|
|
392
|
+
* true
|
|
393
|
+
*/
|
|
394
|
+
enable?: boolean;
|
|
395
|
+
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The SIP protection level.
|
|
398
|
+
*
|
|
399
|
+
* @example
|
|
400
|
+
* normal
|
|
401
|
+
*/
|
|
402
|
+
level?: string;
|
|
403
|
+
/**
|
|
404
|
+
* @remarks
|
|
405
|
+
* Specifies whether to enable SIP defense mode.
|
|
406
|
+
*/
|
|
407
|
+
sipDefend?: boolean;
|
|
408
|
+
/**
|
|
409
|
+
* @remarks
|
|
410
|
+
* Specifies whether to enable SIP learning mode.
|
|
411
|
+
*/
|
|
412
|
+
sipLearn?: boolean;
|
|
413
|
+
/**
|
|
414
|
+
* @remarks
|
|
415
|
+
* Specifies whether to enable the SIP source rate limiting module.
|
|
416
|
+
*/
|
|
417
|
+
sipModule?: boolean;
|
|
418
|
+
/**
|
|
419
|
+
* @remarks
|
|
420
|
+
* The SIP protection port. Valid values: **1** to **65535**.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* 5060
|
|
424
|
+
*/
|
|
425
|
+
sipPort?: string;
|
|
426
|
+
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The SIP source rate limit value in PPS.
|
|
429
|
+
*
|
|
430
|
+
* @example
|
|
431
|
+
* 1000
|
|
432
|
+
*/
|
|
433
|
+
sipRate?: number;
|
|
434
|
+
/**
|
|
435
|
+
* @remarks
|
|
436
|
+
* The SIP activation threshold in Mbit/s.
|
|
437
|
+
*
|
|
438
|
+
* @example
|
|
439
|
+
* 100
|
|
440
|
+
*/
|
|
441
|
+
sipStartMbps?: number;
|
|
442
|
+
/**
|
|
443
|
+
* @remarks
|
|
444
|
+
* The SIP activation threshold in PPS.
|
|
445
|
+
*
|
|
446
|
+
* @example
|
|
447
|
+
* 500
|
|
448
|
+
*/
|
|
449
|
+
sipStartPps?: number;
|
|
450
|
+
static names(): {
|
|
451
|
+
[key: string]: string;
|
|
452
|
+
};
|
|
453
|
+
static types(): {
|
|
454
|
+
[key: string]: any;
|
|
455
|
+
};
|
|
456
|
+
validate(): void;
|
|
457
|
+
constructor(map?: {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
});
|
|
460
|
+
}
|
|
378
461
|
export declare class ModifyPolicyRequestContentSourceBlockList extends $dara.Model {
|
|
379
462
|
/**
|
|
380
463
|
* @remarks
|
|
381
|
-
* The
|
|
464
|
+
* The duration for which the source IP address is added to the blacklist. Unit: seconds.
|
|
382
465
|
*
|
|
383
466
|
* This parameter is required.
|
|
384
467
|
*
|
|
@@ -388,7 +471,7 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $dara.Mod
|
|
|
388
471
|
blockExpireSeconds?: number;
|
|
389
472
|
/**
|
|
390
473
|
* @remarks
|
|
391
|
-
* The statistical period
|
|
474
|
+
* The statistical period for source rate limiting blacklisting. Unit: seconds.
|
|
392
475
|
*
|
|
393
476
|
* This parameter is required.
|
|
394
477
|
*
|
|
@@ -398,7 +481,7 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $dara.Mod
|
|
|
398
481
|
everySeconds?: number;
|
|
399
482
|
/**
|
|
400
483
|
* @remarks
|
|
401
|
-
* The number of times
|
|
484
|
+
* The number of times the source IP address exceeds the rate limit within one statistical period.
|
|
402
485
|
*
|
|
403
486
|
* This parameter is required.
|
|
404
487
|
*
|
|
@@ -408,12 +491,7 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $dara.Mod
|
|
|
408
491
|
exceedLimitTimes?: number;
|
|
409
492
|
/**
|
|
410
493
|
* @remarks
|
|
411
|
-
* The
|
|
412
|
-
*
|
|
413
|
-
* * **3**: the pps limit on source IP addresses.
|
|
414
|
-
* * **4**: the bandwidth limit on source IP addresses.
|
|
415
|
-
* * **5**: the pps limit on source SYN packets.
|
|
416
|
-
* * **6**: the bandwidth limit on source SYN packets.
|
|
494
|
+
* The source rate limiting type. Valid values:
|
|
417
495
|
*
|
|
418
496
|
* This parameter is required.
|
|
419
497
|
*
|
|
@@ -435,7 +513,7 @@ export declare class ModifyPolicyRequestContentSourceBlockList extends $dara.Mod
|
|
|
435
513
|
export declare class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
|
|
436
514
|
/**
|
|
437
515
|
* @remarks
|
|
438
|
-
* The
|
|
516
|
+
* The source bandwidth throttling. Unit: Byte/s.
|
|
439
517
|
*
|
|
440
518
|
* @example
|
|
441
519
|
* 2048
|
|
@@ -443,7 +521,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
|
|
|
443
521
|
bps?: number;
|
|
444
522
|
/**
|
|
445
523
|
* @remarks
|
|
446
|
-
* The
|
|
524
|
+
* The source PPS rate limit. Unit: Packet/s.
|
|
447
525
|
*
|
|
448
526
|
* @example
|
|
449
527
|
* 64
|
|
@@ -451,7 +529,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
|
|
|
451
529
|
pps?: number;
|
|
452
530
|
/**
|
|
453
531
|
* @remarks
|
|
454
|
-
* The
|
|
532
|
+
* The source SYN bandwidth throttling. Unit: Byte/s.
|
|
455
533
|
*
|
|
456
534
|
* @example
|
|
457
535
|
* 2048
|
|
@@ -459,7 +537,7 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
|
|
|
459
537
|
synBps?: number;
|
|
460
538
|
/**
|
|
461
539
|
* @remarks
|
|
462
|
-
* The
|
|
540
|
+
* The source SYN PPS rate limit. Unit: Packet/s.
|
|
463
541
|
*
|
|
464
542
|
* @example
|
|
465
543
|
* 64
|
|
@@ -479,12 +557,12 @@ export declare class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
|
|
|
479
557
|
export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
480
558
|
/**
|
|
481
559
|
* @remarks
|
|
482
|
-
* The IP
|
|
560
|
+
* The IP blacklist.
|
|
483
561
|
*/
|
|
484
562
|
blackIpList?: string[];
|
|
485
563
|
/**
|
|
486
564
|
* @remarks
|
|
487
|
-
* The
|
|
565
|
+
* The expiration time of the IP blacklist (UNIX timestamp).
|
|
488
566
|
*
|
|
489
567
|
* @example
|
|
490
568
|
* 1716878000
|
|
@@ -492,7 +570,7 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
492
570
|
blackIpListExpireAt?: number;
|
|
493
571
|
/**
|
|
494
572
|
* @remarks
|
|
495
|
-
* Specifies whether to
|
|
573
|
+
* Specifies whether to disable the ICMP protocol.
|
|
496
574
|
*
|
|
497
575
|
* @example
|
|
498
576
|
* true
|
|
@@ -500,7 +578,7 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
500
578
|
enableDropIcmp?: boolean;
|
|
501
579
|
/**
|
|
502
580
|
* @remarks
|
|
503
|
-
* Specifies whether to enable intelligent protection.
|
|
581
|
+
* Specifies whether to enable AI-based intelligent protection.
|
|
504
582
|
*
|
|
505
583
|
* @example
|
|
506
584
|
* true
|
|
@@ -508,7 +586,7 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
508
586
|
enableIntelligence?: boolean;
|
|
509
587
|
/**
|
|
510
588
|
* @remarks
|
|
511
|
-
* Specifies whether to enable port
|
|
589
|
+
* Specifies whether to enable port protection.
|
|
512
590
|
*
|
|
513
591
|
* @example
|
|
514
592
|
* true
|
|
@@ -516,16 +594,12 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
516
594
|
enableL4Defense?: boolean;
|
|
517
595
|
/**
|
|
518
596
|
* @remarks
|
|
519
|
-
* The byte-match filter rules.
|
|
597
|
+
* The list of byte-match filter rules.
|
|
520
598
|
*/
|
|
521
599
|
fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
|
|
522
600
|
/**
|
|
523
601
|
* @remarks
|
|
524
|
-
* The level of intelligent protection. Valid values:
|
|
525
|
-
*
|
|
526
|
-
* * **default**: normal.
|
|
527
|
-
* * **hard**: strict.
|
|
528
|
-
* * **weak**: loose.
|
|
602
|
+
* The protection level of AI-based intelligent protection. Valid values:
|
|
529
603
|
*
|
|
530
604
|
* @example
|
|
531
605
|
* default
|
|
@@ -533,47 +607,52 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
533
607
|
intelligenceLevel?: string;
|
|
534
608
|
/**
|
|
535
609
|
* @remarks
|
|
536
|
-
* The port-specific mitigation rules.
|
|
610
|
+
* The list of port-specific mitigation rules.
|
|
537
611
|
*/
|
|
538
612
|
l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
|
|
539
613
|
/**
|
|
540
614
|
* @remarks
|
|
541
|
-
* The port blocking rules.
|
|
615
|
+
* The list of port blocking rules.
|
|
542
616
|
*/
|
|
543
617
|
portRuleList?: ModifyPolicyRequestContentPortRuleList[];
|
|
544
618
|
/**
|
|
545
619
|
* @remarks
|
|
546
|
-
* The
|
|
620
|
+
* The list of ports filtered by reflection attack prevention.
|
|
547
621
|
*/
|
|
548
622
|
reflectBlockUdpPortList?: number[];
|
|
549
623
|
/**
|
|
550
624
|
* @remarks
|
|
551
|
-
* The countries
|
|
625
|
+
* The list of countries for location blacklist.
|
|
552
626
|
*/
|
|
553
627
|
regionBlockCountryList?: number[];
|
|
554
628
|
/**
|
|
555
629
|
* @remarks
|
|
556
|
-
* The provinces
|
|
630
|
+
* The list of provinces for location blacklist.
|
|
557
631
|
*/
|
|
558
632
|
regionBlockProvinceList?: number[];
|
|
559
633
|
/**
|
|
560
634
|
* @remarks
|
|
561
|
-
* The
|
|
635
|
+
* The SIP protection settings.
|
|
636
|
+
*/
|
|
637
|
+
sipDefense?: ModifyPolicyRequestContentSipDefense;
|
|
638
|
+
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* The source rate limiting blacklist.
|
|
562
641
|
*/
|
|
563
642
|
sourceBlockList?: ModifyPolicyRequestContentSourceBlockList[];
|
|
564
643
|
/**
|
|
565
644
|
* @remarks
|
|
566
|
-
* The
|
|
645
|
+
* The source rate limiting configuration.
|
|
567
646
|
*/
|
|
568
647
|
sourceLimit?: ModifyPolicyRequestContentSourceLimit;
|
|
569
648
|
/**
|
|
570
649
|
* @remarks
|
|
571
|
-
* The IP
|
|
650
|
+
* The IP whitelist.
|
|
572
651
|
*/
|
|
573
652
|
whiteIpList?: string[];
|
|
574
653
|
/**
|
|
575
654
|
* @remarks
|
|
576
|
-
* Specifies whether to
|
|
655
|
+
* Specifies whether to whitelist the back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland & outside the Chinese mainland).
|
|
577
656
|
*
|
|
578
657
|
* @example
|
|
579
658
|
* false
|
|
@@ -593,30 +672,7 @@ export declare class ModifyPolicyRequestContent extends $dara.Model {
|
|
|
593
672
|
export declare class ModifyPolicyRequest extends $dara.Model {
|
|
594
673
|
/**
|
|
595
674
|
* @remarks
|
|
596
|
-
* The type
|
|
597
|
-
*
|
|
598
|
-
* * **10**: modifies the name. If you specify this value, `Name` is required.
|
|
599
|
-
* * **11**: modifies the blacklist validity period. If you specify this value, `BlackIpListExpireAt` is required. Only IP-specific mitigation policies support this value.
|
|
600
|
-
* * **12**: changes the status of the feature of adding back-to-origin CIDR blocks of Anti-DDoS Proxy to the whitelist. If you specify this value, `WhitenGfbrNets` is required. Only IP-specific mitigation policies support this value.
|
|
601
|
-
* * **13**: changes the status of the ICMP blocking feature. If you specify this value, `EnableDropIcmp` is required. Only IP-specific mitigation policies support this value.
|
|
602
|
-
* * **20**: adds IP addresses to the blacklist or the whitelist. If you specify this value, you must specify at least one of `WhiteIpList` and `BlackIpList`. Only IP-specific mitigation policies support this value.
|
|
603
|
-
* * **21**: removes IP addresses from the blacklist or the whitelist. If you specify this value, at least one of `WhiteIpList` and `BlackIpList` is required. Only IP-specific mitigation policies support this value.
|
|
604
|
-
* * **22**: clears the whitelist. Only IP-specific mitigation policies support this value.
|
|
605
|
-
* * **23**: clears the blacklist. Only IP-specific mitigation policies support this value.
|
|
606
|
-
* * **30**: modifies the status and level of intelligent protection. If you specify this value, `EnableIntelligence` and `IntelligenceLevel` are required. Only IP-specific mitigation policies support this value.
|
|
607
|
-
* * **31**: modifies the location blacklist settings. If you specify this value, one of `RegionBlockCountryList` and `RegionBlockProvinceList` is required. Only IP-specific mitigation policies support this value.
|
|
608
|
-
* * **32**: modifies the settings for source rate limiting. If you specify this value, `SourceLimit` and `SourceBlockList` are required. Only IP-specific mitigation policies support this value.
|
|
609
|
-
* * **33**: modifies the settings for reflection attack filtering. If you specify this value, `ReflectBlockUdpPortList` is required. Only IP-specific mitigation policies support this value.
|
|
610
|
-
* * **40**: creates a port blocking rule. If you specify this value, `PortRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
611
|
-
* * **41**: modifies the port blocking rule. If you specify this value, `PortRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
612
|
-
* * **42**: deletes the port blocking rule. If you specify this value, `PortRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
613
|
-
* * **50**: creates a byte-match filter rule. If you specify this value, `FingerPrintRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
614
|
-
* * **51**: modifies the byte-match filter rule. If you specify this value, `FingerPrintRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
615
|
-
* * **52**: deletes the byte-match filter rule. If you specify this value, `FingerPrintRuleList` is required. Only IP-specific mitigation policies support this value.
|
|
616
|
-
* * **60**: changes the status of the port-specific mitigation feature. If you specify this value, `EnableL4Defense` is required. Only port-specific mitigation policies support this value.
|
|
617
|
-
* * **61**: creates a port-specific mitigation rule. If you specify this value, `L4RuleList` is required. Only port-specific mitigation policies support this value.
|
|
618
|
-
* * **62**: modifies the port-specific mitigation rule. If you specify this value, `L4RuleList` is required. Only port-specific mitigation policies support this value.
|
|
619
|
-
* * **63**: deletes the port-specific mitigation rule. If you specify this value, `L4RuleList` is required. Only port-specific mitigation policies support this value.
|
|
675
|
+
* The action type.
|
|
620
676
|
*
|
|
621
677
|
* This parameter is required.
|
|
622
678
|
*
|
|
@@ -631,7 +687,7 @@ export declare class ModifyPolicyRequest extends $dara.Model {
|
|
|
631
687
|
content?: ModifyPolicyRequestContent;
|
|
632
688
|
/**
|
|
633
689
|
* @remarks
|
|
634
|
-
* The ID
|
|
690
|
+
* The policy ID.
|
|
635
691
|
*
|
|
636
692
|
* This parameter is required.
|
|
637
693
|
*
|
|
@@ -641,12 +697,19 @@ export declare class ModifyPolicyRequest extends $dara.Model {
|
|
|
641
697
|
id?: string;
|
|
642
698
|
/**
|
|
643
699
|
* @remarks
|
|
644
|
-
* The name
|
|
700
|
+
* The policy name.
|
|
645
701
|
*
|
|
646
702
|
* @example
|
|
647
703
|
* demo**
|
|
648
704
|
*/
|
|
649
705
|
name?: string;
|
|
706
|
+
/**
|
|
707
|
+
* @remarks
|
|
708
|
+
* The version of the port-specific mitigation policy. Valid values:
|
|
709
|
+
*
|
|
710
|
+
* @example
|
|
711
|
+
* 2
|
|
712
|
+
*/
|
|
650
713
|
portVersion?: string;
|
|
651
714
|
static names(): {
|
|
652
715
|
[key: string]: string;
|