@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
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The end of the destination port range. Valid values: **0** to **65535**.
|
|
8
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 65535
|
|
@@ -13,7 +13,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
13
13
|
dstPortEnd?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
16
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 0
|
|
@@ -21,7 +21,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
21
21
|
dstPortStart?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID
|
|
24
|
+
* The rule ID.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2c0b09cd-a565-4481-9acb-418b********
|
|
@@ -29,12 +29,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
29
29
|
id?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The action
|
|
33
|
-
*
|
|
34
|
-
* * **accept**: allows the traffic that matches the conditions in the byte-match filter rule.
|
|
35
|
-
* * **drop**: discards the traffic that matches the conditions in the byte-match filter rule.
|
|
36
|
-
* * **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**.
|
|
37
|
-
* * **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**.
|
|
32
|
+
* The match action. Valid values:
|
|
38
33
|
*
|
|
39
34
|
* @example
|
|
40
35
|
* drop
|
|
@@ -66,7 +61,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
66
61
|
offset?: number;
|
|
67
62
|
/**
|
|
68
63
|
* @remarks
|
|
69
|
-
* The payload
|
|
64
|
+
* The detection payload, represented in hexadecimal string format.
|
|
70
65
|
*
|
|
71
66
|
* @example
|
|
72
67
|
* abcd
|
|
@@ -76,18 +71,13 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
76
71
|
* @remarks
|
|
77
72
|
* The protocol type. Valid values:
|
|
78
73
|
*
|
|
79
|
-
* * **tcp**
|
|
80
|
-
* * **udp**
|
|
81
|
-
*
|
|
82
74
|
* @example
|
|
83
75
|
* udp
|
|
84
76
|
*/
|
|
85
77
|
protocol?: string;
|
|
86
78
|
/**
|
|
87
79
|
* @remarks
|
|
88
|
-
* The rate limit. Valid values: **1** to **100000**.
|
|
89
|
-
*
|
|
90
|
-
* > This parameter is required when **MatchAction** is set to **ip_rate** or **session_rate**.
|
|
80
|
+
* The rate limit value. Valid values: **1** to **100000**.
|
|
91
81
|
*
|
|
92
82
|
* @example
|
|
93
83
|
* 1000
|
|
@@ -95,7 +85,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
95
85
|
rateValue?: number;
|
|
96
86
|
/**
|
|
97
87
|
* @remarks
|
|
98
|
-
* The
|
|
88
|
+
* The priority number, represented as an integer.
|
|
99
89
|
*
|
|
100
90
|
* @example
|
|
101
91
|
* 1
|
|
@@ -103,7 +93,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
103
93
|
seqNo?: number;
|
|
104
94
|
/**
|
|
105
95
|
* @remarks
|
|
106
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
96
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
107
97
|
*
|
|
108
98
|
* @example
|
|
109
99
|
* 65535
|
|
@@ -111,7 +101,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
111
101
|
srcPortEnd?: number;
|
|
112
102
|
/**
|
|
113
103
|
* @remarks
|
|
114
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
104
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
115
105
|
*
|
|
116
106
|
* @example
|
|
117
107
|
* 0
|
|
@@ -163,7 +153,21 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
|
|
|
163
153
|
}
|
|
164
154
|
|
|
165
155
|
export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The end position. Valid values: **0** to **1499**.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* 1499
|
|
162
|
+
*/
|
|
166
163
|
end?: number;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The start position. Valid values: **0** to **1499**.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* 0
|
|
170
|
+
*/
|
|
167
171
|
start?: number;
|
|
168
172
|
static names(): { [key: string]: string } {
|
|
169
173
|
return {
|
|
@@ -191,29 +195,52 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffse
|
|
|
191
195
|
export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $dara.Model {
|
|
192
196
|
/**
|
|
193
197
|
* @remarks
|
|
194
|
-
* The
|
|
195
|
-
*
|
|
196
|
-
* > 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.
|
|
198
|
+
* The detection content.
|
|
197
199
|
*
|
|
198
200
|
* @example
|
|
199
201
|
* test
|
|
200
202
|
*/
|
|
201
203
|
arg?: string;
|
|
204
|
+
/**
|
|
205
|
+
* @remarks
|
|
206
|
+
* The match content.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* test**
|
|
210
|
+
*/
|
|
202
211
|
content?: string;
|
|
203
212
|
/**
|
|
204
213
|
* @remarks
|
|
205
|
-
* The
|
|
214
|
+
* The detection window length. Valid values: **1** to **2048**.
|
|
206
215
|
*
|
|
207
216
|
* @example
|
|
208
217
|
* 32
|
|
209
218
|
*/
|
|
210
219
|
depth?: number;
|
|
220
|
+
/**
|
|
221
|
+
* @remarks
|
|
222
|
+
* The character type. Valid values:
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* str
|
|
226
|
+
*/
|
|
211
227
|
encode?: string;
|
|
228
|
+
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* The match range.
|
|
231
|
+
*/
|
|
212
232
|
offset?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset;
|
|
233
|
+
/**
|
|
234
|
+
* @remarks
|
|
235
|
+
* The match pattern. Valid values:
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* contain
|
|
239
|
+
*/
|
|
213
240
|
pattern?: string;
|
|
214
241
|
/**
|
|
215
242
|
* @remarks
|
|
216
|
-
* The start position
|
|
243
|
+
* The detection start position. Valid values: **0** to **2047**.
|
|
217
244
|
*
|
|
218
245
|
* @example
|
|
219
246
|
* 0
|
|
@@ -258,9 +285,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
|
|
|
258
285
|
export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Model {
|
|
259
286
|
/**
|
|
260
287
|
* @remarks
|
|
261
|
-
* The action
|
|
262
|
-
*
|
|
263
|
-
* * **2**: The traffic is discarded.
|
|
288
|
+
* The action. Valid values:
|
|
264
289
|
*
|
|
265
290
|
* @example
|
|
266
291
|
* 2
|
|
@@ -268,12 +293,12 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
268
293
|
action?: string;
|
|
269
294
|
/**
|
|
270
295
|
* @remarks
|
|
271
|
-
* The
|
|
296
|
+
* The list of detection conditions.
|
|
272
297
|
*/
|
|
273
298
|
conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
|
|
274
299
|
/**
|
|
275
300
|
* @remarks
|
|
276
|
-
* The minimum number of bytes in a session to trigger matching. Valid values: **0** to **2048**.
|
|
301
|
+
* The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
|
|
277
302
|
*
|
|
278
303
|
* @example
|
|
279
304
|
* 0
|
|
@@ -281,10 +306,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
281
306
|
limited?: number;
|
|
282
307
|
/**
|
|
283
308
|
* @remarks
|
|
284
|
-
* The
|
|
285
|
-
*
|
|
286
|
-
* * **0**: If the rule is matched, the action specified in the rule is performed.
|
|
287
|
-
* * **1**: If the rule is not matched, the action specified in the rule is performed.
|
|
309
|
+
* The logical operator. Valid values:
|
|
288
310
|
*
|
|
289
311
|
* @example
|
|
290
312
|
* 1
|
|
@@ -292,10 +314,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
292
314
|
match?: string;
|
|
293
315
|
/**
|
|
294
316
|
* @remarks
|
|
295
|
-
* The type
|
|
296
|
-
*
|
|
297
|
-
* * **char**: string match.
|
|
298
|
-
* * **hex**: hexadecimal string match.
|
|
317
|
+
* The rule type. Valid values:
|
|
299
318
|
*
|
|
300
319
|
* @example
|
|
301
320
|
* char
|
|
@@ -303,7 +322,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
303
322
|
method?: string;
|
|
304
323
|
/**
|
|
305
324
|
* @remarks
|
|
306
|
-
* The name
|
|
325
|
+
* The rule name.
|
|
307
326
|
*
|
|
308
327
|
* @example
|
|
309
328
|
* test**
|
|
@@ -311,7 +330,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
311
330
|
name?: string;
|
|
312
331
|
/**
|
|
313
332
|
* @remarks
|
|
314
|
-
* The priority
|
|
333
|
+
* The rule priority.
|
|
315
334
|
*
|
|
316
335
|
* @example
|
|
317
336
|
* 1
|
|
@@ -356,7 +375,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
|
|
|
356
375
|
export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.Model {
|
|
357
376
|
/**
|
|
358
377
|
* @remarks
|
|
359
|
-
* The end of the destination port range. Valid values: **0** to **65535**.
|
|
378
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
360
379
|
*
|
|
361
380
|
* @example
|
|
362
381
|
* 65535
|
|
@@ -364,7 +383,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
364
383
|
dstPortEnd?: number;
|
|
365
384
|
/**
|
|
366
385
|
* @remarks
|
|
367
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
386
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
368
387
|
*
|
|
369
388
|
* @example
|
|
370
389
|
* 0
|
|
@@ -372,7 +391,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
372
391
|
dstPortStart?: number;
|
|
373
392
|
/**
|
|
374
393
|
* @remarks
|
|
375
|
-
* The ID
|
|
394
|
+
* The rule ID.
|
|
376
395
|
*
|
|
377
396
|
* @example
|
|
378
397
|
* 8f3c3062-6c20-425d-8405-2bd1********
|
|
@@ -380,9 +399,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
380
399
|
id?: string;
|
|
381
400
|
/**
|
|
382
401
|
* @remarks
|
|
383
|
-
* The action
|
|
384
|
-
*
|
|
385
|
-
* * **drop**: The traffic is discarded.
|
|
402
|
+
* The match action. Valid values:
|
|
386
403
|
*
|
|
387
404
|
* @example
|
|
388
405
|
* drop
|
|
@@ -392,16 +409,13 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
392
409
|
* @remarks
|
|
393
410
|
* The protocol type. Valid values:
|
|
394
411
|
*
|
|
395
|
-
* * **tcp**
|
|
396
|
-
* * **udp**
|
|
397
|
-
*
|
|
398
412
|
* @example
|
|
399
413
|
* udp
|
|
400
414
|
*/
|
|
401
415
|
protocol?: string;
|
|
402
416
|
/**
|
|
403
417
|
* @remarks
|
|
404
|
-
* The
|
|
418
|
+
* The priority number, represented as an integer.
|
|
405
419
|
*
|
|
406
420
|
* @example
|
|
407
421
|
* 1
|
|
@@ -409,7 +423,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
409
423
|
seqNo?: number;
|
|
410
424
|
/**
|
|
411
425
|
* @remarks
|
|
412
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
426
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
413
427
|
*
|
|
414
428
|
* @example
|
|
415
429
|
* 65535
|
|
@@ -417,7 +431,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
417
431
|
srcPortEnd?: number;
|
|
418
432
|
/**
|
|
419
433
|
* @remarks
|
|
420
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
434
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
421
435
|
*
|
|
422
436
|
* @example
|
|
423
437
|
* 0
|
|
@@ -458,10 +472,111 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
|
|
|
458
472
|
}
|
|
459
473
|
}
|
|
460
474
|
|
|
475
|
+
export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Model {
|
|
476
|
+
/**
|
|
477
|
+
* @remarks
|
|
478
|
+
* Indicates whether SIP protection is enabled. Valid values:
|
|
479
|
+
*
|
|
480
|
+
* @example
|
|
481
|
+
* true
|
|
482
|
+
*/
|
|
483
|
+
enable?: boolean;
|
|
484
|
+
/**
|
|
485
|
+
* @remarks
|
|
486
|
+
* The SIP protection level.
|
|
487
|
+
*
|
|
488
|
+
* @example
|
|
489
|
+
* normal
|
|
490
|
+
*/
|
|
491
|
+
level?: string;
|
|
492
|
+
/**
|
|
493
|
+
* @remarks
|
|
494
|
+
* The switch for the SIP defense mode.
|
|
495
|
+
*/
|
|
496
|
+
sipDefend?: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* @remarks
|
|
499
|
+
* The switch for the SIP learning mode.
|
|
500
|
+
*/
|
|
501
|
+
sipLearn?: boolean;
|
|
502
|
+
/**
|
|
503
|
+
* @remarks
|
|
504
|
+
* The switch for the SIP source rate limiting module.
|
|
505
|
+
*/
|
|
506
|
+
sipModule?: boolean;
|
|
507
|
+
/**
|
|
508
|
+
* @remarks
|
|
509
|
+
* The SIP protection port. Valid values: **1** to **65535**.
|
|
510
|
+
*
|
|
511
|
+
* @example
|
|
512
|
+
* 5060
|
|
513
|
+
*/
|
|
514
|
+
sipPort?: string;
|
|
515
|
+
/**
|
|
516
|
+
* @remarks
|
|
517
|
+
* The SIP source rate limit value (PPS).
|
|
518
|
+
*
|
|
519
|
+
* @example
|
|
520
|
+
* 1000
|
|
521
|
+
*/
|
|
522
|
+
sipRate?: number;
|
|
523
|
+
/**
|
|
524
|
+
* @remarks
|
|
525
|
+
* The SIP activation threshold (Mbit/s).
|
|
526
|
+
*
|
|
527
|
+
* @example
|
|
528
|
+
* 100
|
|
529
|
+
*/
|
|
530
|
+
sipStartMbps?: number;
|
|
531
|
+
/**
|
|
532
|
+
* @remarks
|
|
533
|
+
* The SIP activation threshold (PPS).
|
|
534
|
+
*
|
|
535
|
+
* @example
|
|
536
|
+
* 500
|
|
537
|
+
*/
|
|
538
|
+
sipStartPps?: number;
|
|
539
|
+
static names(): { [key: string]: string } {
|
|
540
|
+
return {
|
|
541
|
+
enable: 'Enable',
|
|
542
|
+
level: 'Level',
|
|
543
|
+
sipDefend: 'SipDefend',
|
|
544
|
+
sipLearn: 'SipLearn',
|
|
545
|
+
sipModule: 'SipModule',
|
|
546
|
+
sipPort: 'SipPort',
|
|
547
|
+
sipRate: 'SipRate',
|
|
548
|
+
sipStartMbps: 'SipStartMbps',
|
|
549
|
+
sipStartPps: 'SipStartPps',
|
|
550
|
+
};
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
static types(): { [key: string]: any } {
|
|
554
|
+
return {
|
|
555
|
+
enable: 'boolean',
|
|
556
|
+
level: 'string',
|
|
557
|
+
sipDefend: 'boolean',
|
|
558
|
+
sipLearn: 'boolean',
|
|
559
|
+
sipModule: 'boolean',
|
|
560
|
+
sipPort: 'string',
|
|
561
|
+
sipRate: 'number',
|
|
562
|
+
sipStartMbps: 'number',
|
|
563
|
+
sipStartPps: 'number',
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
validate() {
|
|
568
|
+
super.validate();
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
constructor(map?: { [key: string]: any }) {
|
|
572
|
+
super(map);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
|
|
461
576
|
export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dara.Model {
|
|
462
577
|
/**
|
|
463
578
|
* @remarks
|
|
464
|
-
* The
|
|
579
|
+
* The duration for which the source IP address is added to the blacklist. Unit: seconds.
|
|
465
580
|
*
|
|
466
581
|
* @example
|
|
467
582
|
* 120
|
|
@@ -469,7 +584,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
|
|
|
469
584
|
blockExpireSeconds?: number;
|
|
470
585
|
/**
|
|
471
586
|
* @remarks
|
|
472
|
-
* The statistical period
|
|
587
|
+
* The statistical period for source rate limiting blacklisting. Unit: seconds.
|
|
473
588
|
*
|
|
474
589
|
* @example
|
|
475
590
|
* 60
|
|
@@ -477,7 +592,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
|
|
|
477
592
|
everySeconds?: number;
|
|
478
593
|
/**
|
|
479
594
|
* @remarks
|
|
480
|
-
* The number of times
|
|
595
|
+
* The number of times the source IP address exceeds the rate limit within one statistical period.
|
|
481
596
|
*
|
|
482
597
|
* @example
|
|
483
598
|
* 5
|
|
@@ -485,12 +600,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
|
|
|
485
600
|
exceedLimitTimes?: number;
|
|
486
601
|
/**
|
|
487
602
|
* @remarks
|
|
488
|
-
* The
|
|
489
|
-
*
|
|
490
|
-
* * **3**: the PPS limit on source IP addresses.
|
|
491
|
-
* * **4**: the bandwidth limit on source IP addresses.
|
|
492
|
-
* * **5**: the PPS limit on source SYN packets.
|
|
493
|
-
* * **6**: the bandwidth limit on source SYN packets.
|
|
603
|
+
* The source rate limiting type. Valid values:
|
|
494
604
|
*
|
|
495
605
|
* @example
|
|
496
606
|
* 3
|
|
@@ -526,7 +636,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
|
|
|
526
636
|
export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Model {
|
|
527
637
|
/**
|
|
528
638
|
* @remarks
|
|
529
|
-
* The bandwidth
|
|
639
|
+
* The source bandwidth throttling value, in bytes per second.
|
|
530
640
|
*
|
|
531
641
|
* @example
|
|
532
642
|
* 2048
|
|
@@ -534,7 +644,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
|
|
|
534
644
|
bps?: number;
|
|
535
645
|
/**
|
|
536
646
|
* @remarks
|
|
537
|
-
* The
|
|
647
|
+
* The source PPS rate limit, in packets per second.
|
|
538
648
|
*
|
|
539
649
|
* @example
|
|
540
650
|
* 64
|
|
@@ -542,7 +652,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
|
|
|
542
652
|
pps?: number;
|
|
543
653
|
/**
|
|
544
654
|
* @remarks
|
|
545
|
-
* The
|
|
655
|
+
* The source SYN bandwidth throttling value, in bytes per second.
|
|
546
656
|
*
|
|
547
657
|
* @example
|
|
548
658
|
* 2048
|
|
@@ -550,7 +660,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
|
|
|
550
660
|
synBps?: number;
|
|
551
661
|
/**
|
|
552
662
|
* @remarks
|
|
553
|
-
* The PPS limit
|
|
663
|
+
* The source SYN PPS rate limit, in packets per second.
|
|
554
664
|
*
|
|
555
665
|
* @example
|
|
556
666
|
* 64
|
|
@@ -586,7 +696,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
|
|
|
586
696
|
export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
587
697
|
/**
|
|
588
698
|
* @remarks
|
|
589
|
-
* The
|
|
699
|
+
* The expiration time of the IP blacklist (UNIX timestamp).
|
|
590
700
|
*
|
|
591
701
|
* @example
|
|
592
702
|
* 1716878000
|
|
@@ -594,7 +704,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
594
704
|
blackIpListExpireAt?: number;
|
|
595
705
|
/**
|
|
596
706
|
* @remarks
|
|
597
|
-
* Indicates whether ICMP
|
|
707
|
+
* Indicates whether ICMP Blocking is enabled.
|
|
598
708
|
*
|
|
599
709
|
* @example
|
|
600
710
|
* false
|
|
@@ -602,7 +712,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
602
712
|
enableDropIcmp?: boolean;
|
|
603
713
|
/**
|
|
604
714
|
* @remarks
|
|
605
|
-
* Indicates whether intelligent
|
|
715
|
+
* Indicates whether AI-based intelligent analysis is enabled.
|
|
606
716
|
*
|
|
607
717
|
* @example
|
|
608
718
|
* true
|
|
@@ -610,7 +720,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
610
720
|
enableIntelligence?: boolean;
|
|
611
721
|
/**
|
|
612
722
|
* @remarks
|
|
613
|
-
* Indicates whether port
|
|
723
|
+
* Indicates whether port protection is enabled.
|
|
614
724
|
*
|
|
615
725
|
* @example
|
|
616
726
|
* true
|
|
@@ -618,16 +728,12 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
618
728
|
enableL4Defense?: boolean;
|
|
619
729
|
/**
|
|
620
730
|
* @remarks
|
|
621
|
-
* The byte-match filter rules.
|
|
731
|
+
* The list of byte-match filter rules.
|
|
622
732
|
*/
|
|
623
733
|
fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
|
|
624
734
|
/**
|
|
625
735
|
* @remarks
|
|
626
|
-
* The level of intelligent
|
|
627
|
-
*
|
|
628
|
-
* * **default**: normal.
|
|
629
|
-
* * **hard**: strict.
|
|
630
|
-
* * **weak**: loose.
|
|
736
|
+
* The protection level of AI-based intelligent analysis. Valid values:
|
|
631
737
|
*
|
|
632
738
|
* @example
|
|
633
739
|
* default
|
|
@@ -635,43 +741,55 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
635
741
|
intelligenceLevel?: string;
|
|
636
742
|
/**
|
|
637
743
|
* @remarks
|
|
638
|
-
* The port
|
|
744
|
+
* The list of port protection rules.
|
|
639
745
|
*/
|
|
640
746
|
l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
|
|
641
747
|
/**
|
|
642
748
|
* @remarks
|
|
643
|
-
* The port blocking rules.
|
|
749
|
+
* The list of port blocking rules.
|
|
644
750
|
*/
|
|
645
751
|
portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
|
|
752
|
+
/**
|
|
753
|
+
* @remarks
|
|
754
|
+
* The version of the port-specific mitigation policies. Valid values:
|
|
755
|
+
*
|
|
756
|
+
* @example
|
|
757
|
+
* 2
|
|
758
|
+
*/
|
|
646
759
|
portVersion?: string;
|
|
647
760
|
/**
|
|
648
761
|
* @remarks
|
|
649
|
-
* The
|
|
762
|
+
* The list of ports filtered by the reflection attack prevention feature.
|
|
650
763
|
*/
|
|
651
764
|
reflectBlockUdpPortList?: number[];
|
|
652
765
|
/**
|
|
653
766
|
* @remarks
|
|
654
|
-
* The countries
|
|
767
|
+
* The list of countries for the location blacklist.
|
|
655
768
|
*/
|
|
656
769
|
regionBlockCountryList?: number[];
|
|
657
770
|
/**
|
|
658
771
|
* @remarks
|
|
659
|
-
* The provinces
|
|
772
|
+
* The list of provinces for the location blacklist.
|
|
660
773
|
*/
|
|
661
774
|
regionBlockProvinceList?: number[];
|
|
662
775
|
/**
|
|
663
776
|
* @remarks
|
|
664
|
-
* The
|
|
777
|
+
* The SIP protection configuration.
|
|
778
|
+
*/
|
|
779
|
+
sipDefense?: ListPolicyResponseBodyPolicyListContentSipDefense;
|
|
780
|
+
/**
|
|
781
|
+
* @remarks
|
|
782
|
+
* The source rate limiting blacklist.
|
|
665
783
|
*/
|
|
666
784
|
sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
|
|
667
785
|
/**
|
|
668
786
|
* @remarks
|
|
669
|
-
* The
|
|
787
|
+
* The source rate limiting configuration.
|
|
670
788
|
*/
|
|
671
789
|
sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
|
|
672
790
|
/**
|
|
673
791
|
* @remarks
|
|
674
|
-
* Indicates whether back-to-origin CIDR blocks of Anti-DDoS
|
|
792
|
+
* Indicates whether whitelisting of back-to-origin CIDR blocks of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland & outside the Chinese mainland) is enabled.
|
|
675
793
|
*
|
|
676
794
|
* @example
|
|
677
795
|
* false
|
|
@@ -691,6 +809,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
691
809
|
reflectBlockUdpPortList: 'ReflectBlockUdpPortList',
|
|
692
810
|
regionBlockCountryList: 'RegionBlockCountryList',
|
|
693
811
|
regionBlockProvinceList: 'RegionBlockProvinceList',
|
|
812
|
+
sipDefense: 'SipDefense',
|
|
694
813
|
sourceBlockList: 'SourceBlockList',
|
|
695
814
|
sourceLimit: 'SourceLimit',
|
|
696
815
|
whitenGfbrNets: 'WhitenGfbrNets',
|
|
@@ -711,6 +830,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
711
830
|
reflectBlockUdpPortList: { 'type': 'array', 'itemType': 'number' },
|
|
712
831
|
regionBlockCountryList: { 'type': 'array', 'itemType': 'number' },
|
|
713
832
|
regionBlockProvinceList: { 'type': 'array', 'itemType': 'number' },
|
|
833
|
+
sipDefense: ListPolicyResponseBodyPolicyListContentSipDefense,
|
|
714
834
|
sourceBlockList: { 'type': 'array', 'itemType': ListPolicyResponseBodyPolicyListContentSourceBlockList },
|
|
715
835
|
sourceLimit: ListPolicyResponseBodyPolicyListContentSourceLimit,
|
|
716
836
|
whitenGfbrNets: 'boolean',
|
|
@@ -736,6 +856,9 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
736
856
|
if(Array.isArray(this.regionBlockProvinceList)) {
|
|
737
857
|
$dara.Model.validateArray(this.regionBlockProvinceList);
|
|
738
858
|
}
|
|
859
|
+
if(this.sipDefense && typeof (this.sipDefense as any).validate === 'function') {
|
|
860
|
+
(this.sipDefense as any).validate();
|
|
861
|
+
}
|
|
739
862
|
if(Array.isArray(this.sourceBlockList)) {
|
|
740
863
|
$dara.Model.validateArray(this.sourceBlockList);
|
|
741
864
|
}
|
|
@@ -753,7 +876,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
|
753
876
|
export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
754
877
|
/**
|
|
755
878
|
* @remarks
|
|
756
|
-
* The number of protected objects
|
|
879
|
+
* The number of protected objects associated with the policy.
|
|
757
880
|
*
|
|
758
881
|
* @example
|
|
759
882
|
* 0
|
|
@@ -761,12 +884,12 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
761
884
|
attachedCount?: number;
|
|
762
885
|
/**
|
|
763
886
|
* @remarks
|
|
764
|
-
* The content
|
|
887
|
+
* The policy content.
|
|
765
888
|
*/
|
|
766
889
|
content?: ListPolicyResponseBodyPolicyListContent;
|
|
767
890
|
/**
|
|
768
891
|
* @remarks
|
|
769
|
-
* The ID
|
|
892
|
+
* The policy ID.
|
|
770
893
|
*
|
|
771
894
|
* @example
|
|
772
895
|
* 877afbdf-3982-4d36-9886-f043********
|
|
@@ -774,7 +897,7 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
774
897
|
id?: string;
|
|
775
898
|
/**
|
|
776
899
|
* @remarks
|
|
777
|
-
* The name
|
|
900
|
+
* The policy name.
|
|
778
901
|
*
|
|
779
902
|
* @example
|
|
780
903
|
* test**
|
|
@@ -782,7 +905,7 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
782
905
|
name?: string;
|
|
783
906
|
/**
|
|
784
907
|
* @remarks
|
|
785
|
-
* The remarks
|
|
908
|
+
* The policy remarks.
|
|
786
909
|
*
|
|
787
910
|
* @example
|
|
788
911
|
* test
|
|
@@ -790,11 +913,7 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
790
913
|
remark?: string;
|
|
791
914
|
/**
|
|
792
915
|
* @remarks
|
|
793
|
-
* The type
|
|
794
|
-
*
|
|
795
|
-
* * **default**: the default mitigation policy.
|
|
796
|
-
* * **l3**: IP-specific mitigation policies.
|
|
797
|
-
* * **l4**: port-specific mitigation policies.
|
|
916
|
+
* The policy type. Valid values:
|
|
798
917
|
*
|
|
799
918
|
* @example
|
|
800
919
|
* l3
|
|
@@ -837,12 +956,12 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
837
956
|
export class ListPolicyResponseBody extends $dara.Model {
|
|
838
957
|
/**
|
|
839
958
|
* @remarks
|
|
840
|
-
* The policies.
|
|
959
|
+
* The list of policies.
|
|
841
960
|
*/
|
|
842
961
|
policyList?: ListPolicyResponseBodyPolicyList[];
|
|
843
962
|
/**
|
|
844
963
|
* @remarks
|
|
845
|
-
* The request
|
|
964
|
+
* The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. It can be used to troubleshoot and locate issues.
|
|
846
965
|
*
|
|
847
966
|
* @example
|
|
848
967
|
* B4B379C2-9319-4C6B-B579-FE36831B09F4
|