@alicloud/ddosbgp20180720 3.1.1 → 3.1.3
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 +8 -8
- package/dist/client.js +56 -22
- package/dist/client.js.map +1 -1
- package/dist/models/AttachToPolicyRequest.d.ts +3 -2
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
- package/dist/models/DescribeInstanceListRequest.d.ts +8 -6
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +13 -6
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +9 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +2 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +3 -3
- package/dist/models/ListPolicyAttachmentRequest.d.ts +3 -3
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +14 -3
- package/dist/models/ListPolicyAttachmentResponseBody.js +2 -0
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +3 -3
- package/dist/models/ListPolicyRequest.d.ts +17 -2
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +128 -22
- package/dist/models/ListPolicyResponseBody.js +8 -0
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +119 -33
- package/dist/models/ModifyPolicyContentRequest.js +8 -0
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +4 -0
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +157 -34
- package/dist/models/ModifyPolicyRequest.js +8 -0
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +28 -1
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +57 -22
- package/src/models/AttachToPolicyRequest.ts +3 -2
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
- package/src/models/DescribeInstanceListRequest.ts +8 -6
- package/src/models/DescribeInstanceListResponseBody.ts +13 -6
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +11 -1
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +3 -3
- package/src/models/ListPolicyAttachmentRequest.ts +3 -3
- package/src/models/ListPolicyAttachmentResponseBody.ts +16 -3
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +3 -3
- package/src/models/ListPolicyRequest.ts +17 -2
- package/src/models/ListPolicyResponseBody.ts +136 -22
- package/src/models/ModifyPolicyContentRequest.ts +127 -33
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +4 -0
- package/src/models/ModifyPolicyRequest.ts +165 -34
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +28 -1
|
@@ -5,9 +5,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The rule comment.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
10
|
+
* @example
|
|
11
|
+
* comment
|
|
12
|
+
*/
|
|
13
|
+
comment?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
11
17
|
*
|
|
12
18
|
* @example
|
|
13
19
|
* 65535
|
|
@@ -17,8 +23,6 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
17
23
|
* @remarks
|
|
18
24
|
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
19
25
|
*
|
|
20
|
-
* This parameter is required.
|
|
21
|
-
*
|
|
22
26
|
* @example
|
|
23
27
|
* 0
|
|
24
28
|
*/
|
|
@@ -33,7 +37,12 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
33
37
|
id?: string;
|
|
34
38
|
/**
|
|
35
39
|
* @remarks
|
|
36
|
-
* The action to take when
|
|
40
|
+
* The action to take when the fingerprint is matched. Valid values:
|
|
41
|
+
*
|
|
42
|
+
* - **permit**: allows traffic that matches the fingerprint.
|
|
43
|
+
* - **drop**: drops traffic that matches the fingerprint.
|
|
44
|
+
* - **ip_rate**: rate-limits the source IP address of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
|
|
45
|
+
* - **session_rate**: rate-limits the source session of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
|
|
37
46
|
*
|
|
38
47
|
* This parameter is required.
|
|
39
48
|
*
|
|
@@ -45,8 +54,6 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
45
54
|
* @remarks
|
|
46
55
|
* The maximum packet length. Valid values: **1** to **1500**.
|
|
47
56
|
*
|
|
48
|
-
* This parameter is required.
|
|
49
|
-
*
|
|
50
57
|
* @example
|
|
51
58
|
* 1500
|
|
52
59
|
*/
|
|
@@ -55,12 +62,18 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
55
62
|
* @remarks
|
|
56
63
|
* The minimum packet length. Valid values: **1** to **1500**.
|
|
57
64
|
*
|
|
58
|
-
* This parameter is required.
|
|
59
|
-
*
|
|
60
65
|
* @example
|
|
61
66
|
* 1
|
|
62
67
|
*/
|
|
63
68
|
minPktLen?: number;
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The rule mode.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* 1
|
|
75
|
+
*/
|
|
76
|
+
mode?: number;
|
|
64
77
|
/**
|
|
65
78
|
* @remarks
|
|
66
79
|
* The offset. Valid values: **0** to **1500**.
|
|
@@ -71,7 +84,7 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
71
84
|
offset?: number;
|
|
72
85
|
/**
|
|
73
86
|
* @remarks
|
|
74
|
-
* The detection payload
|
|
87
|
+
* The detection payload. The value is in hexadecimal string format.
|
|
75
88
|
*
|
|
76
89
|
* @example
|
|
77
90
|
* abcd
|
|
@@ -81,7 +94,8 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
81
94
|
* @remarks
|
|
82
95
|
* The protocol type. Valid values:
|
|
83
96
|
*
|
|
84
|
-
*
|
|
97
|
+
* - **tcp**: Transmission Control Protocol.
|
|
98
|
+
* - **udp**: User Datagram Protocol.
|
|
85
99
|
*
|
|
86
100
|
* @example
|
|
87
101
|
* tcp
|
|
@@ -89,7 +103,9 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
89
103
|
protocol?: string;
|
|
90
104
|
/**
|
|
91
105
|
* @remarks
|
|
92
|
-
* The rate limit
|
|
106
|
+
* The rate limit. Valid values: **1** to **100000**.
|
|
107
|
+
*
|
|
108
|
+
* > This parameter is required when the match action is source IP rate limiting or source session rate limiting (**MatchAction** is set to **ip_rate** or **session_rate**).
|
|
93
109
|
*
|
|
94
110
|
* @example
|
|
95
111
|
* 100
|
|
@@ -97,7 +113,16 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
97
113
|
rateValue?: number;
|
|
98
114
|
/**
|
|
99
115
|
* @remarks
|
|
100
|
-
* The
|
|
116
|
+
* The rule.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* (ip.version == 4)
|
|
120
|
+
*/
|
|
121
|
+
rule?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The priority of the rule, represented as an integer.
|
|
125
|
+
* >A smaller value indicates a higher priority.
|
|
101
126
|
*
|
|
102
127
|
* This parameter is required.
|
|
103
128
|
*
|
|
@@ -109,8 +134,6 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
109
134
|
* @remarks
|
|
110
135
|
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
111
136
|
*
|
|
112
|
-
* This parameter is required.
|
|
113
|
-
*
|
|
114
137
|
* @example
|
|
115
138
|
* 65535
|
|
116
139
|
*/
|
|
@@ -119,45 +142,59 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
|
|
|
119
142
|
* @remarks
|
|
120
143
|
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
121
144
|
*
|
|
122
|
-
* This parameter is required.
|
|
123
|
-
*
|
|
124
145
|
* @example
|
|
125
146
|
* 0
|
|
126
147
|
*/
|
|
127
148
|
srcPortStart?: number;
|
|
149
|
+
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The type.
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* 1
|
|
155
|
+
*/
|
|
156
|
+
type?: number;
|
|
128
157
|
static names(): { [key: string]: string } {
|
|
129
158
|
return {
|
|
159
|
+
comment: 'Comment',
|
|
130
160
|
dstPortEnd: 'DstPortEnd',
|
|
131
161
|
dstPortStart: 'DstPortStart',
|
|
132
162
|
id: 'Id',
|
|
133
163
|
matchAction: 'MatchAction',
|
|
134
164
|
maxPktLen: 'MaxPktLen',
|
|
135
165
|
minPktLen: 'MinPktLen',
|
|
166
|
+
mode: 'Mode',
|
|
136
167
|
offset: 'Offset',
|
|
137
168
|
payloadBytes: 'PayloadBytes',
|
|
138
169
|
protocol: 'Protocol',
|
|
139
170
|
rateValue: 'RateValue',
|
|
171
|
+
rule: 'Rule',
|
|
140
172
|
seqNo: 'SeqNo',
|
|
141
173
|
srcPortEnd: 'SrcPortEnd',
|
|
142
174
|
srcPortStart: 'SrcPortStart',
|
|
175
|
+
type: 'Type',
|
|
143
176
|
};
|
|
144
177
|
}
|
|
145
178
|
|
|
146
179
|
static types(): { [key: string]: any } {
|
|
147
180
|
return {
|
|
181
|
+
comment: 'string',
|
|
148
182
|
dstPortEnd: 'number',
|
|
149
183
|
dstPortStart: 'number',
|
|
150
184
|
id: 'string',
|
|
151
185
|
matchAction: 'string',
|
|
152
186
|
maxPktLen: 'number',
|
|
153
187
|
minPktLen: 'number',
|
|
188
|
+
mode: 'number',
|
|
154
189
|
offset: 'number',
|
|
155
190
|
payloadBytes: 'string',
|
|
156
191
|
protocol: 'string',
|
|
157
192
|
rateValue: 'number',
|
|
193
|
+
rule: 'string',
|
|
158
194
|
seqNo: 'number',
|
|
159
195
|
srcPortEnd: 'number',
|
|
160
196
|
srcPortStart: 'number',
|
|
197
|
+
type: 'number',
|
|
161
198
|
};
|
|
162
199
|
}
|
|
163
200
|
|
|
@@ -175,6 +212,8 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionListOffset exte
|
|
|
175
212
|
* @remarks
|
|
176
213
|
* The end position. Valid values: **0** to **1499**.
|
|
177
214
|
*
|
|
215
|
+
* > The end position must be greater than or equal to the start position.
|
|
216
|
+
*
|
|
178
217
|
* @example
|
|
179
218
|
* 1499
|
|
180
219
|
*/
|
|
@@ -214,6 +253,7 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
|
|
|
214
253
|
/**
|
|
215
254
|
* @remarks
|
|
216
255
|
* The detection content.
|
|
256
|
+
* > If the rule type is **char**, the value must be an ASCII string. If the rule type is **hex**, the value must be a hexadecimal string. Maximum length: 2048.
|
|
217
257
|
*
|
|
218
258
|
* @example
|
|
219
259
|
* abcd
|
|
@@ -223,6 +263,22 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
|
|
|
223
263
|
* @remarks
|
|
224
264
|
* The matching content.
|
|
225
265
|
*
|
|
266
|
+
* 1. When **Encode** is set to **str**, the following requirements must be met:
|
|
267
|
+
*
|
|
268
|
+
* - The length of **Content** must not exceed 1500.
|
|
269
|
+
*
|
|
270
|
+
* - **End** - **Start** >= length of **Content**.
|
|
271
|
+
*
|
|
272
|
+
* 2. When **Encode** is set to **hex**, the following requirements must be met:
|
|
273
|
+
*
|
|
274
|
+
* - **Content** must be hexadecimal characters.
|
|
275
|
+
*
|
|
276
|
+
* - The length of **Content** must be an even number.
|
|
277
|
+
*
|
|
278
|
+
* - The length of **Content** must not exceed 3000.
|
|
279
|
+
*
|
|
280
|
+
* - **End** - **Start** + 1 >= length of **Content** / 2.
|
|
281
|
+
*
|
|
226
282
|
* @example
|
|
227
283
|
* test**
|
|
228
284
|
*/
|
|
@@ -239,6 +295,10 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
|
|
|
239
295
|
* @remarks
|
|
240
296
|
* The character type. Valid values:
|
|
241
297
|
*
|
|
298
|
+
* - **str**: string.
|
|
299
|
+
*
|
|
300
|
+
* - **hex**: hexadecimal.
|
|
301
|
+
*
|
|
242
302
|
* @example
|
|
243
303
|
* str
|
|
244
304
|
*/
|
|
@@ -252,6 +312,10 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
|
|
|
252
312
|
* @remarks
|
|
253
313
|
* The matching pattern. Valid values:
|
|
254
314
|
*
|
|
315
|
+
* - **contain**: contains.
|
|
316
|
+
*
|
|
317
|
+
* - **not_contain**: does not contain.
|
|
318
|
+
*
|
|
255
319
|
* @example
|
|
256
320
|
* contain
|
|
257
321
|
*/
|
|
@@ -306,7 +370,7 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
|
|
|
306
370
|
* The action.
|
|
307
371
|
*
|
|
308
372
|
* @example
|
|
309
|
-
*
|
|
373
|
+
* block
|
|
310
374
|
*/
|
|
311
375
|
action?: string;
|
|
312
376
|
/**
|
|
@@ -316,7 +380,7 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
|
|
|
316
380
|
conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
|
|
317
381
|
/**
|
|
318
382
|
* @remarks
|
|
319
|
-
* The minimum number of bytes in a session flow
|
|
383
|
+
* The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
|
|
320
384
|
*
|
|
321
385
|
* @example
|
|
322
386
|
* 0
|
|
@@ -326,6 +390,10 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
|
|
|
326
390
|
* @remarks
|
|
327
391
|
* The logical operator. Valid values:
|
|
328
392
|
*
|
|
393
|
+
* - **0**: executes the action when the rule is matched.
|
|
394
|
+
*
|
|
395
|
+
* - **1**: executes the action when the rule is not matched.
|
|
396
|
+
*
|
|
329
397
|
* @example
|
|
330
398
|
* 0
|
|
331
399
|
*/
|
|
@@ -334,6 +402,10 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
|
|
|
334
402
|
* @remarks
|
|
335
403
|
* The rule type. Valid values:
|
|
336
404
|
*
|
|
405
|
+
* - **char**: string matching.
|
|
406
|
+
*
|
|
407
|
+
* - **hex**: hexadecimal matching.
|
|
408
|
+
*
|
|
337
409
|
* @example
|
|
338
410
|
* char
|
|
339
411
|
*/
|
|
@@ -351,6 +423,7 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
|
|
|
351
423
|
/**
|
|
352
424
|
* @remarks
|
|
353
425
|
* The rule priority. Valid values: 1 to 100.
|
|
426
|
+
* > A smaller value indicates a higher priority.
|
|
354
427
|
*
|
|
355
428
|
* @example
|
|
356
429
|
* 1
|
|
@@ -425,6 +498,8 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $dara.Model {
|
|
|
425
498
|
* @remarks
|
|
426
499
|
* The match action. Valid values:
|
|
427
500
|
*
|
|
501
|
+
* - **drop**: Drop.
|
|
502
|
+
*
|
|
428
503
|
* This parameter is required.
|
|
429
504
|
*
|
|
430
505
|
* @example
|
|
@@ -435,6 +510,9 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $dara.Model {
|
|
|
435
510
|
* @remarks
|
|
436
511
|
* The protocol type. Valid values:
|
|
437
512
|
*
|
|
513
|
+
* - **tcp**: Transmission Control Protocol.
|
|
514
|
+
* - **udp**: User Datagram Protocol.
|
|
515
|
+
*
|
|
438
516
|
* This parameter is required.
|
|
439
517
|
*
|
|
440
518
|
* @example
|
|
@@ -443,7 +521,8 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $dara.Model {
|
|
|
443
521
|
protocol?: string;
|
|
444
522
|
/**
|
|
445
523
|
* @remarks
|
|
446
|
-
* The priority
|
|
524
|
+
* The priority of the rule, represented as an integer.
|
|
525
|
+
* >A smaller value indicates a higher priority.
|
|
447
526
|
*
|
|
448
527
|
* This parameter is required.
|
|
449
528
|
*
|
|
@@ -511,6 +590,9 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
|
511
590
|
* @remarks
|
|
512
591
|
* Specifies whether to enable SIP protection. Valid values:
|
|
513
592
|
*
|
|
593
|
+
* - **true**: Enabled.
|
|
594
|
+
* - **false**: Disabled.
|
|
595
|
+
*
|
|
514
596
|
* @example
|
|
515
597
|
* true
|
|
516
598
|
*/
|
|
@@ -548,7 +630,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
|
548
630
|
sipPort?: string;
|
|
549
631
|
/**
|
|
550
632
|
* @remarks
|
|
551
|
-
* The SIP source rate limit
|
|
633
|
+
* The SIP source rate limit (PPS).
|
|
552
634
|
*
|
|
553
635
|
* @example
|
|
554
636
|
* 1000
|
|
@@ -556,7 +638,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
|
556
638
|
sipRate?: number;
|
|
557
639
|
/**
|
|
558
640
|
* @remarks
|
|
559
|
-
* The SIP activation threshold
|
|
641
|
+
* The SIP activation threshold (Mbps).
|
|
560
642
|
*
|
|
561
643
|
* @example
|
|
562
644
|
* 100
|
|
@@ -564,7 +646,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
|
564
646
|
sipStartMbps?: number;
|
|
565
647
|
/**
|
|
566
648
|
* @remarks
|
|
567
|
-
* The SIP activation threshold
|
|
649
|
+
* The SIP activation threshold (PPS).
|
|
568
650
|
*
|
|
569
651
|
* @example
|
|
570
652
|
* 500
|
|
@@ -641,6 +723,10 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $dara.Mode
|
|
|
641
723
|
/**
|
|
642
724
|
* @remarks
|
|
643
725
|
* The source rate limiting type. Valid values:
|
|
726
|
+
* - **3**: Source PPS rate limiting.
|
|
727
|
+
* - **4**: Source bandwidth throttling.
|
|
728
|
+
* - **5**: Source SYN PPS rate limiting.
|
|
729
|
+
* - **6**: Source SYN bandwidth throttling.
|
|
644
730
|
*
|
|
645
731
|
* This parameter is required.
|
|
646
732
|
*
|
|
@@ -678,7 +764,7 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $dara.Mode
|
|
|
678
764
|
export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
679
765
|
/**
|
|
680
766
|
* @remarks
|
|
681
|
-
* The source bandwidth throttling value, in bytes per second.
|
|
767
|
+
* The source bandwidth throttling value, in bytes per second (byte/s).
|
|
682
768
|
*
|
|
683
769
|
* @example
|
|
684
770
|
* 2048
|
|
@@ -686,7 +772,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
|
686
772
|
bps?: number;
|
|
687
773
|
/**
|
|
688
774
|
* @remarks
|
|
689
|
-
* The source PPS rate limit, in packets per second.
|
|
775
|
+
* The source PPS rate limit, in packets per second (packet/s).
|
|
690
776
|
*
|
|
691
777
|
* @example
|
|
692
778
|
* 64
|
|
@@ -694,7 +780,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
|
694
780
|
pps?: number;
|
|
695
781
|
/**
|
|
696
782
|
* @remarks
|
|
697
|
-
* The source SYN bandwidth throttling value, in bytes per second.
|
|
783
|
+
* The source SYN bandwidth throttling value, in bytes per second (byte/s).
|
|
698
784
|
*
|
|
699
785
|
* @example
|
|
700
786
|
* 2048
|
|
@@ -702,7 +788,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
|
702
788
|
synBps?: number;
|
|
703
789
|
/**
|
|
704
790
|
* @remarks
|
|
705
|
-
* The source SYN PPS rate limit, in packets per second.
|
|
791
|
+
* The source SYN PPS rate limit, in packets per second (packet/s).
|
|
706
792
|
*
|
|
707
793
|
* @example
|
|
708
794
|
* 64
|
|
@@ -754,7 +840,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
754
840
|
enableDropIcmp?: boolean;
|
|
755
841
|
/**
|
|
756
842
|
* @remarks
|
|
757
|
-
* Specifies whether to enable AI-based intelligent
|
|
843
|
+
* Specifies whether to enable AI-based intelligent analysis.
|
|
758
844
|
*
|
|
759
845
|
* @example
|
|
760
846
|
* true
|
|
@@ -762,7 +848,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
762
848
|
enableIntelligence?: boolean;
|
|
763
849
|
/**
|
|
764
850
|
* @remarks
|
|
765
|
-
* Specifies whether to enable port
|
|
851
|
+
* Specifies whether to enable port-specific mitigation.
|
|
766
852
|
*
|
|
767
853
|
* @example
|
|
768
854
|
* true
|
|
@@ -770,12 +856,16 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
770
856
|
enableL4Defense?: boolean;
|
|
771
857
|
/**
|
|
772
858
|
* @remarks
|
|
773
|
-
* The list of
|
|
859
|
+
* The list of Byte-Match Filter rules.
|
|
774
860
|
*/
|
|
775
861
|
fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
|
|
776
862
|
/**
|
|
777
863
|
* @remarks
|
|
778
|
-
* The protection level of AI-based intelligent
|
|
864
|
+
* The protection level of AI-based intelligent analysis. Valid values:
|
|
865
|
+
*
|
|
866
|
+
* - **default**: Normal.
|
|
867
|
+
* - **hard**: Strict.
|
|
868
|
+
* - **weak**: Loose.
|
|
779
869
|
*
|
|
780
870
|
* @example
|
|
781
871
|
* default
|
|
@@ -793,7 +883,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
793
883
|
portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
|
|
794
884
|
/**
|
|
795
885
|
* @remarks
|
|
796
|
-
* The list of ports filtered by reflection attack prevention.
|
|
886
|
+
* The list of ports filtered by the reflection attack prevention feature.
|
|
797
887
|
*/
|
|
798
888
|
reflectBlockUdpPortList?: number[];
|
|
799
889
|
/**
|
|
@@ -823,7 +913,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
823
913
|
sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
|
|
824
914
|
/**
|
|
825
915
|
* @remarks
|
|
826
|
-
* Specifies whether to whitelist the back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland
|
|
916
|
+
* Specifies whether to whitelist the back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland and outside the Chinese mainland).
|
|
827
917
|
*
|
|
828
918
|
* @example
|
|
829
919
|
* false
|
|
@@ -933,6 +1023,10 @@ export class ModifyPolicyContentRequest extends $dara.Model {
|
|
|
933
1023
|
* @remarks
|
|
934
1024
|
* The version of the port-specific mitigation policy. Valid values:
|
|
935
1025
|
*
|
|
1026
|
+
* - **Not specified**: modifies the default surf mitigation engine policy.
|
|
1027
|
+
* - **2**: modifies the new stream mitigation engine policy.
|
|
1028
|
+
* > Only port-specific mitigation policies are supported.
|
|
1029
|
+
*
|
|
936
1030
|
* @example
|
|
937
1031
|
* 2
|
|
938
1032
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyPolicyContentResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID. Alibaba Cloud generates a unique ID for each request
|
|
8
|
+
* The request ID. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 3777EF25-940B-51F4-BB1D-99B5********
|
|
@@ -30,6 +30,10 @@ export class ModifyPolicyContentShrinkRequest extends $dara.Model {
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* The version of the port-specific mitigation policy. Valid values:
|
|
32
32
|
*
|
|
33
|
+
* - **Not specified**: modifies the default surf mitigation engine policy.
|
|
34
|
+
* - **2**: modifies the new stream mitigation engine policy.
|
|
35
|
+
* > Only port-specific mitigation policies are supported.
|
|
36
|
+
*
|
|
33
37
|
* @example
|
|
34
38
|
* 2
|
|
35
39
|
*/
|