@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.
Files changed (53) hide show
  1. package/dist/client.d.ts +18 -14
  2. package/dist/client.js +18 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachToPolicyRequest.d.ts +3 -2
  5. package/dist/models/AttachToPolicyRequest.js.map +1 -1
  6. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  7. package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
  8. package/dist/models/CheckAccessLogAuthRequest.d.ts +2 -2
  9. package/dist/models/CheckAccessLogAuthResponseBody.d.ts +4 -5
  10. package/dist/models/CheckAccessLogAuthResponseBody.js.map +1 -1
  11. package/dist/models/DescribeInstanceListRequest.d.ts +30 -33
  12. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  13. package/dist/models/DescribeInstanceListResponseBody.d.ts +51 -50
  14. package/dist/models/DescribeInstanceListResponseBody.js +2 -0
  15. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  16. package/dist/models/GetSlsOpenStatusRequest.d.ts +1 -1
  17. package/dist/models/GetSlsOpenStatusResponseBody.d.ts +4 -4
  18. package/dist/models/ListOpenedAccessLogInstancesRequest.d.ts +3 -3
  19. package/dist/models/ListOpenedAccessLogInstancesResponseBody.d.ts +7 -7
  20. package/dist/models/ListPolicyRequest.d.ts +17 -2
  21. package/dist/models/ListPolicyRequest.js.map +1 -1
  22. package/dist/models/ListPolicyResponseBody.d.ts +133 -27
  23. package/dist/models/ListPolicyResponseBody.js +8 -0
  24. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  25. package/dist/models/ModifyPolicyContentRequest.d.ts +112 -26
  26. package/dist/models/ModifyPolicyContentRequest.js +8 -0
  27. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  28. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +4 -0
  29. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  30. package/dist/models/ModifyPolicyRequest.d.ts +155 -32
  31. package/dist/models/ModifyPolicyRequest.js +8 -0
  32. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  33. package/dist/models/ModifyPolicyShrinkRequest.d.ts +29 -2
  34. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/client.ts +18 -18
  37. package/src/models/AttachToPolicyRequest.ts +3 -2
  38. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  39. package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
  40. package/src/models/CheckAccessLogAuthRequest.ts +2 -2
  41. package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
  42. package/src/models/DescribeInstanceListRequest.ts +30 -33
  43. package/src/models/DescribeInstanceListResponseBody.ts +53 -50
  44. package/src/models/GetSlsOpenStatusRequest.ts +1 -1
  45. package/src/models/GetSlsOpenStatusResponseBody.ts +4 -4
  46. package/src/models/ListOpenedAccessLogInstancesRequest.ts +3 -3
  47. package/src/models/ListOpenedAccessLogInstancesResponseBody.ts +7 -7
  48. package/src/models/ListPolicyRequest.ts +17 -2
  49. package/src/models/ListPolicyResponseBody.ts +141 -27
  50. package/src/models/ModifyPolicyContentRequest.ts +120 -26
  51. package/src/models/ModifyPolicyContentShrinkRequest.ts +4 -0
  52. package/src/models/ModifyPolicyRequest.ts +163 -32
  53. package/src/models/ModifyPolicyShrinkRequest.ts +29 -2
@@ -5,10 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Indicates whether log analysis was enabled for the Anti-DDoS Origin instance. Valid values:
8
+ * Indicates whether log analysis is enabled for the instance. Valid values:
9
9
  *
10
- * * **true**
11
- * * **false**
10
+ * - **true**: Enabled.
11
+ * - **false**: Not enabled.
12
12
  *
13
13
  * @example
14
14
  * true
@@ -16,7 +16,7 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $da
16
16
  enable?: boolean;
17
17
  /**
18
18
  * @remarks
19
- * The ID of the Anti-DDoS Origin instance.
19
+ * The instance ID of Anti-DDoS Origin.
20
20
  *
21
21
  * @example
22
22
  * ddosbgp-cn-m7r1zce2****
@@ -48,7 +48,7 @@ export class ListOpenedAccessLogInstancesResponseBodySlsConfigStatus extends $da
48
48
  export class ListOpenedAccessLogInstancesResponseBody extends $dara.Model {
49
49
  /**
50
50
  * @remarks
51
- * The request ID.
51
+ * The ID of the request.
52
52
  *
53
53
  * @example
54
54
  * 4DB64811-70A1-41C9-A0CE-CD8B260ED551
@@ -56,12 +56,12 @@ export class ListOpenedAccessLogInstancesResponseBody extends $dara.Model {
56
56
  requestId?: string;
57
57
  /**
58
58
  * @remarks
59
- * The configuration of log analysis for the Anti-DDoS Origin instances.
59
+ * The log analysis configurations of Anti-DDoS Origin instances.
60
60
  */
61
61
  slsConfigStatus?: ListOpenedAccessLogInstancesResponseBodySlsConfigStatus[];
62
62
  /**
63
63
  * @remarks
64
- * The number of the Anti-DDoS Origin instances for which log analysis was enabled.
64
+ * The number of results returned, which is the number of Anti-DDoS Origin instances that have log analysis enabled.
65
65
  *
66
66
  * @example
67
67
  * 1
@@ -13,7 +13,7 @@ export class ListPolicyRequest extends $dara.Model {
13
13
  name?: string;
14
14
  /**
15
15
  * @remarks
16
- * Settings the page number of the current page in a paged query.
16
+ * The page number of the current page in a paging query.
17
17
  *
18
18
  * @example
19
19
  * 1
@@ -21,7 +21,7 @@ export class ListPolicyRequest extends $dara.Model {
21
21
  pageNo?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of entries per page in a paged query. Default value: **10**.
24
+ * The number of entries per page in a paging query. Default value: **10**.
25
25
  *
26
26
  * @example
27
27
  * 10
@@ -30,6 +30,15 @@ export class ListPolicyRequest extends $dara.Model {
30
30
  /**
31
31
  * @remarks
32
32
  * The applicable product type. Valid values:
33
+ * - **ecs**: queries the default policy applicable to ECS.
34
+ *
35
+ * - **slb**: queries the default policy applicable to SLB.
36
+ *
37
+ * - **eip**: queries the default policy applicable to EIP.
38
+ *
39
+ * - **gf-eip**: queries the default policy applicable to elastic IP addresses (EIPs) with Anti-DDoS Proxy Enabled.
40
+ *
41
+ * > This parameter takes effect only when the policy type is `default`.
33
42
  *
34
43
  * @example
35
44
  * ecs
@@ -39,6 +48,12 @@ export class ListPolicyRequest extends $dara.Model {
39
48
  * @remarks
40
49
  * The policy type. Valid values:
41
50
  *
51
+ * - **default**: the default mitigation policy.
52
+ *
53
+ * - **l3**: the IP-specific mitigation policy.
54
+ *
55
+ * - **l4**: the port-specific mitigation policy.
56
+ *
42
57
  * @example
43
58
  * l3
44
59
  */
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The remarks of the rule.
9
+ *
10
+ * @example
11
+ * comment
12
+ */
13
+ comment?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The end value of the destination port range. Valid values: **0** to **65535**.
@@ -31,6 +39,11 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
31
39
  * @remarks
32
40
  * The match action. Valid values:
33
41
  *
42
+ * - **accept**: Allow traffic that matches the fingerprint.
43
+ * - **drop**: Drop traffic that matches the fingerprint.
44
+ * - **ip_rate**: Apply rate limiting to the source IP address of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
45
+ * - **session_rate**: Apply rate limiting to the source session of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
46
+ *
34
47
  * @example
35
48
  * drop
36
49
  */
@@ -51,6 +64,14 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
51
64
  * 1
52
65
  */
53
66
  minPktLen?: number;
67
+ /**
68
+ * @remarks
69
+ * The rule mode.
70
+ *
71
+ * @example
72
+ * 1
73
+ */
74
+ mode?: number;
54
75
  /**
55
76
  * @remarks
56
77
  * The offset. Valid values: **0** to **1500**.
@@ -61,7 +82,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
61
82
  offset?: number;
62
83
  /**
63
84
  * @remarks
64
- * The detection payload, represented in hexadecimal string format.
85
+ * The detection payload, represented as a hexadecimal string.
65
86
  *
66
87
  * @example
67
88
  * abcd
@@ -71,13 +92,18 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
71
92
  * @remarks
72
93
  * The protocol type. Valid values:
73
94
  *
95
+ * - **tcp**: Transmission Control Protocol.
96
+ * - **udp**: User Datagram Protocol.
97
+ *
74
98
  * @example
75
99
  * udp
76
100
  */
77
101
  protocol?: string;
78
102
  /**
79
103
  * @remarks
80
- * The rate limit value. Valid values: **1** to **100000**.
104
+ * The rate limit. Valid values: **1** to **100000**.
105
+ *
106
+ * > 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**).
81
107
  *
82
108
  * @example
83
109
  * 1000
@@ -85,7 +111,15 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
85
111
  rateValue?: number;
86
112
  /**
87
113
  * @remarks
88
- * The priority number, represented as an integer.
114
+ * The rule.
115
+ *
116
+ * @example
117
+ * (ip.version == 4)
118
+ */
119
+ rule?: string;
120
+ /**
121
+ * @remarks
122
+ * The priority of the rule, represented as an integer.
89
123
  *
90
124
  * @example
91
125
  * 1
@@ -107,39 +141,55 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
107
141
  * 0
108
142
  */
109
143
  srcPortStart?: number;
144
+ /**
145
+ * @remarks
146
+ * The type.
147
+ *
148
+ * @example
149
+ * 1
150
+ */
151
+ type?: number;
110
152
  static names(): { [key: string]: string } {
111
153
  return {
154
+ comment: 'Comment',
112
155
  dstPortEnd: 'DstPortEnd',
113
156
  dstPortStart: 'DstPortStart',
114
157
  id: 'Id',
115
158
  matchAction: 'MatchAction',
116
159
  maxPktLen: 'MaxPktLen',
117
160
  minPktLen: 'MinPktLen',
161
+ mode: 'Mode',
118
162
  offset: 'Offset',
119
163
  payloadBytes: 'PayloadBytes',
120
164
  protocol: 'Protocol',
121
165
  rateValue: 'RateValue',
166
+ rule: 'Rule',
122
167
  seqNo: 'SeqNo',
123
168
  srcPortEnd: 'SrcPortEnd',
124
169
  srcPortStart: 'SrcPortStart',
170
+ type: 'Type',
125
171
  };
126
172
  }
127
173
 
128
174
  static types(): { [key: string]: any } {
129
175
  return {
176
+ comment: 'string',
130
177
  dstPortEnd: 'number',
131
178
  dstPortStart: 'number',
132
179
  id: 'string',
133
180
  matchAction: 'string',
134
181
  maxPktLen: 'number',
135
182
  minPktLen: 'number',
183
+ mode: 'number',
136
184
  offset: 'number',
137
185
  payloadBytes: 'string',
138
186
  protocol: 'string',
139
187
  rateValue: 'number',
188
+ rule: 'string',
140
189
  seqNo: 'number',
141
190
  srcPortEnd: 'number',
142
191
  srcPortStart: 'number',
192
+ type: 'number',
143
193
  };
144
194
  }
145
195
 
@@ -157,6 +207,8 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffse
157
207
  * @remarks
158
208
  * The end position. Valid values: **0** to **1499**.
159
209
  *
210
+ * > The end position must be greater than or equal to the start position.
211
+ *
160
212
  * @example
161
213
  * 1499
162
214
  */
@@ -196,6 +248,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
196
248
  /**
197
249
  * @remarks
198
250
  * The detection content.
251
+ * > 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.
199
252
  *
200
253
  * @example
201
254
  * test
@@ -205,6 +258,22 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
205
258
  * @remarks
206
259
  * The match content.
207
260
  *
261
+ * 1. When **Encode** is set to **str**, the following requirements must be met:
262
+ *
263
+ * - The length of **Content** cannot exceed 1500.
264
+ *
265
+ * - **End** - **Start** >= the length of **Content**.
266
+ *
267
+ * 2. When **Encode** is set to **hex**, the following requirements must be met:
268
+ *
269
+ * - **Content** must be hexadecimal characters.
270
+ *
271
+ * - The length of **Content** must be an even number.
272
+ *
273
+ * - The length of **Content** cannot exceed 3000.
274
+ *
275
+ * - **End** - **Start** + 1 >= the length of **Content** / 2.
276
+ *
208
277
  * @example
209
278
  * test**
210
279
  */
@@ -221,6 +290,10 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
221
290
  * @remarks
222
291
  * The character type. Valid values:
223
292
  *
293
+ * - **str**: string.
294
+ *
295
+ * - **hex**: hexadecimal.
296
+ *
224
297
  * @example
225
298
  * str
226
299
  */
@@ -234,13 +307,17 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
234
307
  * @remarks
235
308
  * The match pattern. Valid values:
236
309
  *
310
+ * - **contain**: contains.
311
+ *
312
+ * - **not_contain**: does not contain.
313
+ *
237
314
  * @example
238
315
  * contain
239
316
  */
240
317
  pattern?: string;
241
318
  /**
242
319
  * @remarks
243
- * The detection start position. Valid values: **0** to **2047**.
320
+ * The start position of detection. Valid values: **0** to **2047**.
244
321
  *
245
322
  * @example
246
323
  * 0
@@ -287,6 +364,8 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
287
364
  * @remarks
288
365
  * The action. Valid values:
289
366
  *
367
+ * - **2**: Drop.
368
+ *
290
369
  * @example
291
370
  * 2
292
371
  */
@@ -308,6 +387,10 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
308
387
  * @remarks
309
388
  * The logical operator. Valid values:
310
389
  *
390
+ * - **0**: Execute the action when the rule is matched.
391
+ *
392
+ * - **1**: Execute the action when the rule is not matched.
393
+ *
311
394
  * @example
312
395
  * 1
313
396
  */
@@ -316,6 +399,10 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
316
399
  * @remarks
317
400
  * The rule type. Valid values:
318
401
  *
402
+ * - **char**: string match.
403
+ *
404
+ * - **hex**: hexadecimal match.
405
+ *
319
406
  * @example
320
407
  * char
321
408
  */
@@ -401,6 +488,8 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
401
488
  * @remarks
402
489
  * The match action. Valid values:
403
490
  *
491
+ * - **drop**: Drop.
492
+ *
404
493
  * @example
405
494
  * drop
406
495
  */
@@ -409,13 +498,16 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
409
498
  * @remarks
410
499
  * The protocol type. Valid values:
411
500
  *
501
+ * - **tcp**: Transmission Control Protocol.
502
+ * - **udp**: User Datagram Protocol.
503
+ *
412
504
  * @example
413
505
  * udp
414
506
  */
415
507
  protocol?: string;
416
508
  /**
417
509
  * @remarks
418
- * The priority number, represented as an integer.
510
+ * The priority of the rule, represented as an integer.
419
511
  *
420
512
  * @example
421
513
  * 1
@@ -477,6 +569,9 @@ export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Mod
477
569
  * @remarks
478
570
  * Indicates whether SIP protection is enabled. Valid values:
479
571
  *
572
+ * - **true**: Enabled.
573
+ * - **false**: Disabled.
574
+ *
480
575
  * @example
481
576
  * true
482
577
  */
@@ -491,17 +586,17 @@ export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Mod
491
586
  level?: string;
492
587
  /**
493
588
  * @remarks
494
- * The switch for the SIP defense mode.
589
+ * Indicates whether SIP defense mode is enabled.
495
590
  */
496
591
  sipDefend?: boolean;
497
592
  /**
498
593
  * @remarks
499
- * The switch for the SIP learning mode.
594
+ * Indicates whether SIP learning mode is enabled.
500
595
  */
501
596
  sipLearn?: boolean;
502
597
  /**
503
598
  * @remarks
504
- * The switch for the SIP source rate limiting module.
599
+ * Indicates whether the SIP source rate limiting module is enabled.
505
600
  */
506
601
  sipModule?: boolean;
507
602
  /**
@@ -584,7 +679,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
584
679
  blockExpireSeconds?: number;
585
680
  /**
586
681
  * @remarks
587
- * The statistical period for source rate limiting blacklisting. Unit: seconds.
682
+ * The statistical period for source rate limiting and blacklisting. Unit: seconds.
588
683
  *
589
684
  * @example
590
685
  * 60
@@ -592,7 +687,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
592
687
  everySeconds?: number;
593
688
  /**
594
689
  * @remarks
595
- * The number of times the source IP address exceeds the rate limit within one statistical period.
690
+ * The number of times that the source IP address exceeds the rate limit within a single statistical period.
596
691
  *
597
692
  * @example
598
693
  * 5
@@ -600,7 +695,15 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
600
695
  exceedLimitTimes?: number;
601
696
  /**
602
697
  * @remarks
603
- * The source rate limiting type. Valid values:
698
+ * The type of source rate limiting. Valid values:
699
+ *
700
+ * - **3**: source PPS rate limiting.
701
+ *
702
+ * - **4**: source bandwidth throttling.
703
+ *
704
+ * - **5**: source SYN PPS rate limiting.
705
+ *
706
+ * - **6**: source SYN bandwidth throttling.
604
707
  *
605
708
  * @example
606
709
  * 3
@@ -636,7 +739,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
636
739
  export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Model {
637
740
  /**
638
741
  * @remarks
639
- * The source bandwidth throttling value, in bytes per second.
742
+ * The source bandwidth throttling value. Unit: bytes per second.
640
743
  *
641
744
  * @example
642
745
  * 2048
@@ -644,7 +747,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
644
747
  bps?: number;
645
748
  /**
646
749
  * @remarks
647
- * The source PPS rate limit, in packets per second.
750
+ * The source PPS rate limit. Unit: packets per second.
648
751
  *
649
752
  * @example
650
753
  * 64
@@ -652,7 +755,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
652
755
  pps?: number;
653
756
  /**
654
757
  * @remarks
655
- * The source SYN bandwidth throttling value, in bytes per second.
758
+ * The source SYN bandwidth throttling value. Unit: bytes per second.
656
759
  *
657
760
  * @example
658
761
  * 2048
@@ -660,7 +763,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
660
763
  synBps?: number;
661
764
  /**
662
765
  * @remarks
663
- * The source SYN PPS rate limit, in packets per second.
766
+ * The source SYN PPS rate limit. Unit: packets per second.
664
767
  *
665
768
  * @example
666
769
  * 64
@@ -696,7 +799,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
696
799
  export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
697
800
  /**
698
801
  * @remarks
699
- * The expiration time of the IP blacklist (UNIX timestamp).
802
+ * The expiration time of the IP blacklist. The value is a UNIX timestamp.
700
803
  *
701
804
  * @example
702
805
  * 1716878000
@@ -720,7 +823,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
720
823
  enableIntelligence?: boolean;
721
824
  /**
722
825
  * @remarks
723
- * Indicates whether port protection is enabled.
826
+ * Indicates whether port-specific mitigation is enabled.
724
827
  *
725
828
  * @example
726
829
  * true
@@ -728,30 +831,38 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
728
831
  enableL4Defense?: boolean;
729
832
  /**
730
833
  * @remarks
731
- * The list of byte-match filter rules.
834
+ * The list of Byte-Match Filter rules.
732
835
  */
733
836
  fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
734
837
  /**
735
838
  * @remarks
736
839
  * The protection level of AI-based intelligent analysis. Valid values:
737
840
  *
841
+ * - **default**: Normal.
842
+ * - **hard**: Strict.
843
+ * - **weak**: Loose.
844
+ *
738
845
  * @example
739
846
  * default
740
847
  */
741
848
  intelligenceLevel?: string;
742
849
  /**
743
850
  * @remarks
744
- * The list of port protection rules.
851
+ * The list of port-specific mitigation rules.
745
852
  */
746
853
  l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
747
854
  /**
748
855
  * @remarks
749
- * The list of port blocking rules.
856
+ * The list of Port Blocking rules.
750
857
  */
751
858
  portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
752
859
  /**
753
860
  * @remarks
754
- * The version of the port-specific mitigation policies. Valid values:
861
+ * The version of the port-specific mitigation policy. Valid values:
862
+ *
863
+ * - **Empty**: the default surf protection engine policy.
864
+ * - **2**: the new stream protection engine policy.
865
+ * > Only port-specific mitigation policies are supported.
755
866
  *
756
867
  * @example
757
868
  * 2
@@ -774,12 +885,12 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
774
885
  regionBlockProvinceList?: number[];
775
886
  /**
776
887
  * @remarks
777
- * The SIP protection configuration.
888
+ * The SIP protection settings.
778
889
  */
779
890
  sipDefense?: ListPolicyResponseBodyPolicyListContentSipDefense;
780
891
  /**
781
892
  * @remarks
782
- * The source rate limiting blacklist.
893
+ * The list of source rate limiting and blacklisting rules.
783
894
  */
784
895
  sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
785
896
  /**
@@ -789,7 +900,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
789
900
  sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
790
901
  /**
791
902
  * @remarks
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.
903
+ * Indicates whether the back-to-origin CIDR blocks of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland & outside the Chinese mainland) are added to the whitelist.
793
904
  *
794
905
  * @example
795
906
  * false
@@ -876,7 +987,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
876
987
  export class ListPolicyResponseBodyPolicyList extends $dara.Model {
877
988
  /**
878
989
  * @remarks
879
- * The number of protected objects associated with the policy.
990
+ * The number of protected objects that are associated with the policy.
880
991
  *
881
992
  * @example
882
993
  * 0
@@ -905,7 +1016,7 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
905
1016
  name?: string;
906
1017
  /**
907
1018
  * @remarks
908
- * The policy remarks.
1019
+ * The remarks of the policy.
909
1020
  *
910
1021
  * @example
911
1022
  * test
@@ -914,6 +1025,9 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
914
1025
  /**
915
1026
  * @remarks
916
1027
  * The policy type. Valid values:
1028
+ * - **default**: default mitigation policy.
1029
+ * - **l3**: IP-specific mitigation policy.
1030
+ * - **l4**: port-specific mitigation policy.
917
1031
  *
918
1032
  * @example
919
1033
  * l3
@@ -961,7 +1075,7 @@ export class ListPolicyResponseBody extends $dara.Model {
961
1075
  policyList?: ListPolicyResponseBodyPolicyList[];
962
1076
  /**
963
1077
  * @remarks
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.
1078
+ * The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.
965
1079
  *
966
1080
  * @example
967
1081
  * B4B379C2-9319-4C6B-B579-FE36831B09F4