@alicloud/ddosbgp20180720 3.1.0 → 3.1.2
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 +18 -14
- package/dist/client.js +18 -18
- 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/CheckAccessLogAuthRequest.d.ts +2 -2
- package/dist/models/CheckAccessLogAuthResponseBody.d.ts +4 -5
- package/dist/models/CheckAccessLogAuthResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +30 -33
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +51 -50
- package/dist/models/DescribeInstanceListResponseBody.js +2 -0
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/GetSlsOpenStatusRequest.d.ts +1 -1
- package/dist/models/GetSlsOpenStatusResponseBody.d.ts +4 -4
- package/dist/models/ListOpenedAccessLogInstancesRequest.d.ts +3 -3
- package/dist/models/ListOpenedAccessLogInstancesResponseBody.d.ts +7 -7
- package/dist/models/ListPolicyRequest.d.ts +17 -2
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +133 -27
- package/dist/models/ListPolicyResponseBody.js +8 -0
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +112 -26
- package/dist/models/ModifyPolicyContentRequest.js +8 -0
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +4 -0
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +155 -32
- package/dist/models/ModifyPolicyRequest.js +8 -0
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +29 -2
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +18 -18
- package/src/models/AttachToPolicyRequest.ts +3 -2
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthRequest.ts +2 -2
- package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
- package/src/models/DescribeInstanceListRequest.ts +30 -33
- package/src/models/DescribeInstanceListResponseBody.ts +53 -50
- package/src/models/GetSlsOpenStatusRequest.ts +1 -1
- package/src/models/GetSlsOpenStatusResponseBody.ts +4 -4
- package/src/models/ListOpenedAccessLogInstancesRequest.ts +3 -3
- package/src/models/ListOpenedAccessLogInstancesResponseBody.ts +7 -7
- package/src/models/ListPolicyRequest.ts +17 -2
- package/src/models/ListPolicyResponseBody.ts +141 -27
- package/src/models/ModifyPolicyContentRequest.ts +120 -26
- package/src/models/ModifyPolicyContentShrinkRequest.ts +4 -0
- package/src/models/ModifyPolicyRequest.ts +163 -32
- package/src/models/ModifyPolicyShrinkRequest.ts +29 -2
|
@@ -2,9 +2,15 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The rule comment.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* @example
|
|
8
|
+
* comment
|
|
9
|
+
*/
|
|
10
|
+
comment?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
8
14
|
*
|
|
9
15
|
* @example
|
|
10
16
|
* 65535
|
|
@@ -14,8 +20,6 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
14
20
|
* @remarks
|
|
15
21
|
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
16
22
|
*
|
|
17
|
-
* This parameter is required.
|
|
18
|
-
*
|
|
19
23
|
* @example
|
|
20
24
|
* 0
|
|
21
25
|
*/
|
|
@@ -30,7 +34,12 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
30
34
|
id?: string;
|
|
31
35
|
/**
|
|
32
36
|
* @remarks
|
|
33
|
-
* The action to take
|
|
37
|
+
* The action to take after a fingerprint match. Valid values:
|
|
38
|
+
*
|
|
39
|
+
* - **permit**: Permits traffic that matches the fingerprint.
|
|
40
|
+
* - **drop**: Drops traffic that matches the fingerprint.
|
|
41
|
+
* - **ip_rate**: Rate-limits the source IP address of traffic that matches the fingerprint. Set the rate limit by using the **RateValue** parameter.
|
|
42
|
+
* - **session_rate**: Rate-limits the source session of traffic that matches the fingerprint. Set the rate limit by using the **RateValue** parameter.
|
|
34
43
|
*
|
|
35
44
|
* This parameter is required.
|
|
36
45
|
*
|
|
@@ -42,8 +51,6 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
42
51
|
* @remarks
|
|
43
52
|
* The maximum packet length. Valid values: **1** to **1500**.
|
|
44
53
|
*
|
|
45
|
-
* This parameter is required.
|
|
46
|
-
*
|
|
47
54
|
* @example
|
|
48
55
|
* 1500
|
|
49
56
|
*/
|
|
@@ -52,12 +59,18 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
52
59
|
* @remarks
|
|
53
60
|
* The minimum packet length. Valid values: **1** to **1500**.
|
|
54
61
|
*
|
|
55
|
-
* This parameter is required.
|
|
56
|
-
*
|
|
57
62
|
* @example
|
|
58
63
|
* 1
|
|
59
64
|
*/
|
|
60
65
|
minPktLen?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The rule mode.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* 1
|
|
72
|
+
*/
|
|
73
|
+
mode?: number;
|
|
61
74
|
/**
|
|
62
75
|
* @remarks
|
|
63
76
|
* The offset. Valid values: **0** to **1500**.
|
|
@@ -68,7 +81,7 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
68
81
|
offset?: number;
|
|
69
82
|
/**
|
|
70
83
|
* @remarks
|
|
71
|
-
* The detection payload,
|
|
84
|
+
* The detection payload, represented in hexadecimal string format.
|
|
72
85
|
*
|
|
73
86
|
* @example
|
|
74
87
|
* abcd
|
|
@@ -78,7 +91,8 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
78
91
|
* @remarks
|
|
79
92
|
* The protocol type. Valid values:
|
|
80
93
|
*
|
|
81
|
-
*
|
|
94
|
+
* - **tcp**: Transmission Control Protocol.
|
|
95
|
+
* - **udp**: User Datagram Protocol.
|
|
82
96
|
*
|
|
83
97
|
* @example
|
|
84
98
|
* tcp
|
|
@@ -88,13 +102,24 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
88
102
|
* @remarks
|
|
89
103
|
* The rate limit value. Valid values: **1** to **100000**.
|
|
90
104
|
*
|
|
105
|
+
* > This parameter is required when the match action is source IP rate limiting or source session rate limiting (**MatchAction** is **ip_rate** or **session_rate**).
|
|
106
|
+
*
|
|
91
107
|
* @example
|
|
92
108
|
* 100
|
|
93
109
|
*/
|
|
94
110
|
rateValue?: number;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The rule.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* (ip.version == 4)
|
|
117
|
+
*/
|
|
118
|
+
rule?: string;
|
|
95
119
|
/**
|
|
96
120
|
* @remarks
|
|
97
121
|
* The priority number, expressed as an integer.
|
|
122
|
+
* >A smaller number indicates a higher priority.
|
|
98
123
|
*
|
|
99
124
|
* This parameter is required.
|
|
100
125
|
*
|
|
@@ -106,8 +131,6 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
106
131
|
* @remarks
|
|
107
132
|
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
108
133
|
*
|
|
109
|
-
* This parameter is required.
|
|
110
|
-
*
|
|
111
134
|
* @example
|
|
112
135
|
* 65535
|
|
113
136
|
*/
|
|
@@ -116,12 +139,18 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
116
139
|
* @remarks
|
|
117
140
|
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
118
141
|
*
|
|
119
|
-
* This parameter is required.
|
|
120
|
-
*
|
|
121
142
|
* @example
|
|
122
143
|
* 0
|
|
123
144
|
*/
|
|
124
145
|
srcPortStart?: number;
|
|
146
|
+
/**
|
|
147
|
+
* @remarks
|
|
148
|
+
* The type.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* 1
|
|
152
|
+
*/
|
|
153
|
+
type?: number;
|
|
125
154
|
static names(): {
|
|
126
155
|
[key: string]: string;
|
|
127
156
|
};
|
|
@@ -138,6 +167,8 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionListOff
|
|
|
138
167
|
* @remarks
|
|
139
168
|
* The end position. Valid values: **0** to **1499**.
|
|
140
169
|
*
|
|
170
|
+
* > The end position must be greater than or equal to the start position.
|
|
171
|
+
*
|
|
141
172
|
* @example
|
|
142
173
|
* 1499
|
|
143
174
|
*/
|
|
@@ -165,6 +196,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
165
196
|
/**
|
|
166
197
|
* @remarks
|
|
167
198
|
* The detection content.
|
|
199
|
+
* > 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.
|
|
168
200
|
*
|
|
169
201
|
* @example
|
|
170
202
|
* abcd
|
|
@@ -172,7 +204,23 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
172
204
|
arg?: string;
|
|
173
205
|
/**
|
|
174
206
|
* @remarks
|
|
175
|
-
* The
|
|
207
|
+
* The match content.
|
|
208
|
+
*
|
|
209
|
+
* 1. When **Encode** is set to **str**, the following requirements must be met:
|
|
210
|
+
*
|
|
211
|
+
* - The length of **Content** must not exceed 1500.
|
|
212
|
+
*
|
|
213
|
+
* - **End** - **Start** >= the length of **Content**.
|
|
214
|
+
*
|
|
215
|
+
* 2. When **Encode** is set to **hex**, the following requirements must be met:
|
|
216
|
+
*
|
|
217
|
+
* - **Content** must be hexadecimal characters.
|
|
218
|
+
*
|
|
219
|
+
* - The length of **Content** must be an even number.
|
|
220
|
+
*
|
|
221
|
+
* - The length of **Content** must not exceed 3000.
|
|
222
|
+
*
|
|
223
|
+
* - **End** - **Start** + 1 >= the length of **Content** / 2.
|
|
176
224
|
*
|
|
177
225
|
* @example
|
|
178
226
|
* test**
|
|
@@ -190,18 +238,26 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
190
238
|
* @remarks
|
|
191
239
|
* The character type. Valid values:
|
|
192
240
|
*
|
|
241
|
+
* - **str**: string.
|
|
242
|
+
*
|
|
243
|
+
* - **hex**: hexadecimal.
|
|
244
|
+
*
|
|
193
245
|
* @example
|
|
194
246
|
* str
|
|
195
247
|
*/
|
|
196
248
|
encode?: string;
|
|
197
249
|
/**
|
|
198
250
|
* @remarks
|
|
199
|
-
* The
|
|
251
|
+
* The match range.
|
|
200
252
|
*/
|
|
201
253
|
offset?: ModifyPolicyContentRequestContentL4RuleListConditionListOffset;
|
|
202
254
|
/**
|
|
203
255
|
* @remarks
|
|
204
|
-
* The
|
|
256
|
+
* The match mode. Valid values:
|
|
257
|
+
*
|
|
258
|
+
* - **contain**: contains.
|
|
259
|
+
*
|
|
260
|
+
* - **not_contain**: does not contain.
|
|
205
261
|
*
|
|
206
262
|
* @example
|
|
207
263
|
* contain
|
|
@@ -232,7 +288,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
232
288
|
* The action.
|
|
233
289
|
*
|
|
234
290
|
* @example
|
|
235
|
-
*
|
|
291
|
+
* block
|
|
236
292
|
*/
|
|
237
293
|
action?: string;
|
|
238
294
|
/**
|
|
@@ -252,6 +308,10 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
252
308
|
* @remarks
|
|
253
309
|
* The logical operator. Valid values:
|
|
254
310
|
*
|
|
311
|
+
* - **0**: The action is executed on a match.
|
|
312
|
+
*
|
|
313
|
+
* - **1**: The action is executed on a non-match.
|
|
314
|
+
*
|
|
255
315
|
* @example
|
|
256
316
|
* 0
|
|
257
317
|
*/
|
|
@@ -260,6 +320,10 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
260
320
|
* @remarks
|
|
261
321
|
* The rule type. Valid values:
|
|
262
322
|
*
|
|
323
|
+
* - **char**: string match.
|
|
324
|
+
*
|
|
325
|
+
* - **hex**: hexadecimal match.
|
|
326
|
+
*
|
|
263
327
|
* @example
|
|
264
328
|
* char
|
|
265
329
|
*/
|
|
@@ -277,6 +341,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
277
341
|
/**
|
|
278
342
|
* @remarks
|
|
279
343
|
* The rule priority. Valid values: 1 to 100.
|
|
344
|
+
* >A smaller value indicates a higher priority.
|
|
280
345
|
*
|
|
281
346
|
* @example
|
|
282
347
|
* 1
|
|
@@ -326,6 +391,8 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
326
391
|
* @remarks
|
|
327
392
|
* The match action. Valid values:
|
|
328
393
|
*
|
|
394
|
+
* - **drop**: Drop.
|
|
395
|
+
*
|
|
329
396
|
* This parameter is required.
|
|
330
397
|
*
|
|
331
398
|
* @example
|
|
@@ -336,6 +403,9 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
336
403
|
* @remarks
|
|
337
404
|
* The protocol type. Valid values:
|
|
338
405
|
*
|
|
406
|
+
* - **tcp**: Transmission Control Protocol.
|
|
407
|
+
* - **udp**: User Datagram Protocol.
|
|
408
|
+
*
|
|
339
409
|
* This parameter is required.
|
|
340
410
|
*
|
|
341
411
|
* @example
|
|
@@ -345,6 +415,7 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
345
415
|
/**
|
|
346
416
|
* @remarks
|
|
347
417
|
* The priority number, expressed as an integer.
|
|
418
|
+
* >A smaller number indicates a higher priority.
|
|
348
419
|
*
|
|
349
420
|
* This parameter is required.
|
|
350
421
|
*
|
|
@@ -386,7 +457,10 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
386
457
|
export declare class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
387
458
|
/**
|
|
388
459
|
* @remarks
|
|
389
|
-
* Specifies whether
|
|
460
|
+
* Specifies whether SIP protection is enabled. Valid values:
|
|
461
|
+
*
|
|
462
|
+
* - **true**: Enabled.
|
|
463
|
+
* - **false**: Disabled.
|
|
390
464
|
*
|
|
391
465
|
* @example
|
|
392
466
|
* true
|
|
@@ -492,6 +566,10 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $d
|
|
|
492
566
|
/**
|
|
493
567
|
* @remarks
|
|
494
568
|
* The source rate limiting type. Valid values:
|
|
569
|
+
* - **3**: source PPS rate limiting.
|
|
570
|
+
* - **4**: source bandwidth throttling.
|
|
571
|
+
* - **5**: source SYN PPS rate limiting.
|
|
572
|
+
* - **6**: source SYN bandwidth throttling.
|
|
495
573
|
*
|
|
496
574
|
* This parameter is required.
|
|
497
575
|
*
|
|
@@ -513,7 +591,7 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $d
|
|
|
513
591
|
export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
514
592
|
/**
|
|
515
593
|
* @remarks
|
|
516
|
-
* The source bandwidth throttling value, in bytes per second.
|
|
594
|
+
* The source bandwidth throttling value, in bytes per second (Byte/s).
|
|
517
595
|
*
|
|
518
596
|
* @example
|
|
519
597
|
* 2048
|
|
@@ -521,7 +599,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
521
599
|
bps?: number;
|
|
522
600
|
/**
|
|
523
601
|
* @remarks
|
|
524
|
-
* The source PPS rate limit, in packets per second.
|
|
602
|
+
* The source PPS rate limit, in packets per second (Packet/s).
|
|
525
603
|
*
|
|
526
604
|
* @example
|
|
527
605
|
* 64
|
|
@@ -529,7 +607,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
529
607
|
pps?: number;
|
|
530
608
|
/**
|
|
531
609
|
* @remarks
|
|
532
|
-
* The source SYN bandwidth throttling value, in bytes per second.
|
|
610
|
+
* The source SYN bandwidth throttling value, in bytes per second (Byte/s).
|
|
533
611
|
*
|
|
534
612
|
* @example
|
|
535
613
|
* 2048
|
|
@@ -537,7 +615,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
537
615
|
synBps?: number;
|
|
538
616
|
/**
|
|
539
617
|
* @remarks
|
|
540
|
-
* The source SYN PPS rate limit, in packets per second.
|
|
618
|
+
* The source SYN PPS rate limit, in packets per second (Packet/s).
|
|
541
619
|
*
|
|
542
620
|
* @example
|
|
543
621
|
* 64
|
|
@@ -557,7 +635,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
557
635
|
export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
558
636
|
/**
|
|
559
637
|
* @remarks
|
|
560
|
-
* The expiration time of the IP blacklist
|
|
638
|
+
* The expiration time of the IP blacklist, in UNIX timestamp format.
|
|
561
639
|
*
|
|
562
640
|
* @example
|
|
563
641
|
* 1716878000
|
|
@@ -589,13 +667,17 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
589
667
|
enableL4Defense?: boolean;
|
|
590
668
|
/**
|
|
591
669
|
* @remarks
|
|
592
|
-
* The list of
|
|
670
|
+
* The list of Byte-Match Filter rules.
|
|
593
671
|
*/
|
|
594
672
|
fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
|
|
595
673
|
/**
|
|
596
674
|
* @remarks
|
|
597
675
|
* The protection level of AI-based intelligent protection. Valid values:
|
|
598
676
|
*
|
|
677
|
+
* - **default**: Normal.
|
|
678
|
+
* - **hard**: Strict.
|
|
679
|
+
* - **weak**: Loose.
|
|
680
|
+
*
|
|
599
681
|
* @example
|
|
600
682
|
* default
|
|
601
683
|
*/
|
|
@@ -687,6 +769,10 @@ export declare class ModifyPolicyContentRequest extends $dara.Model {
|
|
|
687
769
|
* @remarks
|
|
688
770
|
* The version of the port-specific mitigation policy. Valid values:
|
|
689
771
|
*
|
|
772
|
+
* - **Not specified**: Modifies the default surf mitigation engine policy.
|
|
773
|
+
* - **2**: Modifies the new stream mitigation engine policy.
|
|
774
|
+
* > Only port-specific mitigation policies are supported.
|
|
775
|
+
*
|
|
690
776
|
* @example
|
|
691
777
|
* 2
|
|
692
778
|
*/
|
|
@@ -39,36 +39,44 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
comment: 'Comment',
|
|
42
43
|
dstPortEnd: 'DstPortEnd',
|
|
43
44
|
dstPortStart: 'DstPortStart',
|
|
44
45
|
id: 'Id',
|
|
45
46
|
matchAction: 'MatchAction',
|
|
46
47
|
maxPktLen: 'MaxPktLen',
|
|
47
48
|
minPktLen: 'MinPktLen',
|
|
49
|
+
mode: 'Mode',
|
|
48
50
|
offset: 'Offset',
|
|
49
51
|
payloadBytes: 'PayloadBytes',
|
|
50
52
|
protocol: 'Protocol',
|
|
51
53
|
rateValue: 'RateValue',
|
|
54
|
+
rule: 'Rule',
|
|
52
55
|
seqNo: 'SeqNo',
|
|
53
56
|
srcPortEnd: 'SrcPortEnd',
|
|
54
57
|
srcPortStart: 'SrcPortStart',
|
|
58
|
+
type: 'Type',
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
static types() {
|
|
58
62
|
return {
|
|
63
|
+
comment: 'string',
|
|
59
64
|
dstPortEnd: 'number',
|
|
60
65
|
dstPortStart: 'number',
|
|
61
66
|
id: 'string',
|
|
62
67
|
matchAction: 'string',
|
|
63
68
|
maxPktLen: 'number',
|
|
64
69
|
minPktLen: 'number',
|
|
70
|
+
mode: 'number',
|
|
65
71
|
offset: 'number',
|
|
66
72
|
payloadBytes: 'string',
|
|
67
73
|
protocol: 'string',
|
|
68
74
|
rateValue: 'number',
|
|
75
|
+
rule: 'string',
|
|
69
76
|
seqNo: 'number',
|
|
70
77
|
srcPortEnd: 'number',
|
|
71
78
|
srcPortStart: 'number',
|
|
79
|
+
type: 'number',
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyPolicyContentRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPolicyContentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyPolicyContentRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPolicyContentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oDAAqD,SAAQ,KAAK,CAAC,KAAK;IAwJnF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,EAAE,EAAE,IAAI;YACR,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,IAAI,EAAE,MAAM;YACZ,MAAM,EA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,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,IAAI,OAAQ,IAAI,CAAC,OAAe,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvE,IAAI,CAAC,OAAe,CAAC,QAAQ,EAAE,CAAC;QACnC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,gEAgEC"}
|
|
@@ -27,6 +27,10 @@ export declare class ModifyPolicyContentShrinkRequest extends $dara.Model {
|
|
|
27
27
|
* @remarks
|
|
28
28
|
* The version of the port-specific mitigation policy. Valid values:
|
|
29
29
|
*
|
|
30
|
+
* - **Not specified**: Modifies the default surf mitigation engine policy.
|
|
31
|
+
* - **2**: Modifies the new stream mitigation engine policy.
|
|
32
|
+
* > Only port-specific mitigation policies are supported.
|
|
33
|
+
*
|
|
30
34
|
* @example
|
|
31
35
|
* 2
|
|
32
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModifyPolicyContentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPolicyContentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ModifyPolicyContentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ModifyPolicyContentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAoC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,SAAS;YACxB,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,4EA6DC"}
|