@alicloud/ddosbgp20180720 3.1.2 → 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.
Files changed (39) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +56 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachToPolicyRequest.d.ts +2 -2
  5. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  6. package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
  7. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +9 -1
  8. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +2 -0
  9. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -1
  10. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +3 -3
  11. package/dist/models/ListPolicyAttachmentRequest.d.ts +3 -3
  12. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +14 -3
  13. package/dist/models/ListPolicyAttachmentResponseBody.js +2 -0
  14. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  15. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +3 -3
  16. package/dist/models/ListPolicyResponseBody.d.ts +36 -36
  17. package/dist/models/ModifyPolicyContentRequest.d.ts +43 -43
  18. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  19. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +2 -2
  20. package/dist/models/ModifyPolicyRequest.d.ts +64 -64
  21. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  22. package/dist/models/ModifyPolicyShrinkRequest.d.ts +25 -25
  23. package/package.json +1 -1
  24. package/src/client.ts +57 -18
  25. package/src/models/AttachToPolicyRequest.ts +2 -2
  26. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  27. package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
  28. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +11 -1
  29. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +3 -3
  30. package/src/models/ListPolicyAttachmentRequest.ts +3 -3
  31. package/src/models/ListPolicyAttachmentResponseBody.ts +16 -3
  32. package/src/models/ListPolicyAttachmentShrinkRequest.ts +3 -3
  33. package/src/models/ListPolicyResponseBody.ts +36 -36
  34. package/src/models/ModifyPolicyContentRequest.ts +43 -43
  35. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  36. package/src/models/ModifyPolicyContentShrinkRequest.ts +2 -2
  37. package/src/models/ModifyPolicyRequest.ts +64 -64
  38. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  39. package/src/models/ModifyPolicyShrinkRequest.ts +25 -25
@@ -41,8 +41,8 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $dara.Model {
41
41
  *
42
42
  * - **accept**: Allows traffic that matches the fingerprint.
43
43
  * - **drop**: Drops traffic that matches the fingerprint.
44
- * - **ip_rate**: Rate-limits the source IP address of traffic that matches the fingerprint. Set the rate limit value by using the **RateValue** parameter.
45
- * - **session_rate**: Rate-limits the source session of traffic that matches the fingerprint. Set the rate limit value by using the **RateValue** parameter.
44
+ * - **ip_rate**: Rate-limits the source IP address of traffic that matches the fingerprint. The rate limit value is specified by the **RateValue** parameter.
45
+ * - **session_rate**: Rate-limits the source session of traffic that matches the fingerprint. The rate limit value is specified by the **RateValue** parameter.
46
46
  *
47
47
  * This parameter is required.
48
48
  *
@@ -84,7 +84,7 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $dara.Model {
84
84
  offset?: number;
85
85
  /**
86
86
  * @remarks
87
- * The detection payload. Expressed in hexadecimal string format.
87
+ * The detection payload. The value is in hexadecimal string format.
88
88
  *
89
89
  * @example
90
90
  * abcd
@@ -121,8 +121,8 @@ export class ModifyPolicyRequestContentFingerPrintRuleList extends $dara.Model {
121
121
  rule?: string;
122
122
  /**
123
123
  * @remarks
124
- * The priority number, expressed as an integer.
125
- * > A smaller number indicates a higher priority.
124
+ * The priority, expressed as an integer.
125
+ * > A smaller value indicates a higher priority.
126
126
  *
127
127
  * This parameter is required.
128
128
  *
@@ -263,19 +263,19 @@ export class ModifyPolicyRequestContentL4RuleListConditionList extends $dara.Mod
263
263
  * @remarks
264
264
  * The matching content.
265
265
  *
266
- * 1. When **Encode** is set to **str**, the following requirements must be met:
266
+ * 1. When **Encode** is set to **str**, the value must meet the following requirements:
267
267
  *
268
- * - The length of **Content** must not exceed 1500.
268
+ * - The length of **Content** does not exceed 1500.
269
269
  *
270
270
  * - **End** - **Start** >= the length of **Content**.
271
271
  *
272
- * 2. When **Encode** is set to **hex**, the following requirements must be met:
272
+ * 2. When **Encode** is set to **hex**, the value must meet the following requirements:
273
273
  *
274
274
  * - **Content** must be hexadecimal characters.
275
275
  *
276
276
  * - The length of **Content** must be an even number.
277
277
  *
278
- * - The length of **Content** must not exceed 3000.
278
+ * - The length of **Content** does not exceed 3000.
279
279
  *
280
280
  * - **End** - **Start** + 1 >= the length of **Content** / 2.
281
281
  *
@@ -295,9 +295,9 @@ export class ModifyPolicyRequestContentL4RuleListConditionList extends $dara.Mod
295
295
  * @remarks
296
296
  * The character type. Valid values:
297
297
  *
298
- * - **str**: string.
298
+ * - **str**: String.
299
299
  *
300
- * - **hex**: hexadecimal.
300
+ * - **hex**: Hexadecimal.
301
301
  *
302
302
  * @example
303
303
  * str
@@ -310,20 +310,20 @@ export class ModifyPolicyRequestContentL4RuleListConditionList extends $dara.Mod
310
310
  offset?: ModifyPolicyRequestContentL4RuleListConditionListOffset;
311
311
  /**
312
312
  * @remarks
313
- * The matching pattern. Valid values vary depending on the value of the **Encode** field:
313
+ * The matching pattern. Valid values depend on the **Encode** field:
314
314
  *
315
- * (1) When **Encode** is set to **str**, valid values:
316
- * - **contain**: contains.
315
+ * (1) When **Encode** is set to **str**:
316
+ * - **contain**: Contains.
317
317
  *
318
- * - **not_contain**: does not contain.
318
+ * - **not_contain**: Does not contain.
319
319
  *
320
- * - **regex**: regular expression.
320
+ * - **regex**: Regular expression.
321
321
  *
322
- * (2) When **Encode** is set to **hex**, valid values:
322
+ * (2) When **Encode** is set to **hex**:
323
323
  *
324
- * - **contain**: contains.
324
+ * - **contain**: Contains.
325
325
  *
326
- * - **not_contain**: does not contain.
326
+ * - **not_contain**: Does not contain.
327
327
  *
328
328
  * @example
329
329
  * contain
@@ -389,7 +389,7 @@ export class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
389
389
  conditionList?: ModifyPolicyRequestContentL4RuleListConditionList[];
390
390
  /**
391
391
  * @remarks
392
- * The minimum number of bytes in a session flow that triggers rule matching. Valid values: **0** to **2048**.
392
+ * The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
393
393
  *
394
394
  * @example
395
395
  * 0
@@ -399,9 +399,9 @@ export class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
399
399
  * @remarks
400
400
  * The logical operator. Valid values:
401
401
  *
402
- * - **0**: The action is executed when the condition is met.
402
+ * - **0**: Executes the action when the rule is hit.
403
403
  *
404
- * - **1**: The action is executed when the condition is not met.
404
+ * - **1**: Executes the action when the rule is not hit.
405
405
  *
406
406
  * @example
407
407
  * 0
@@ -411,9 +411,9 @@ export class ModifyPolicyRequestContentL4RuleList extends $dara.Model {
411
411
  * @remarks
412
412
  * The rule type. Valid values:
413
413
  *
414
- * - **hex**: hexadecimal match.
414
+ * - **hex**: Hexadecimal matching.
415
415
  *
416
- * - **char**: string match.
416
+ * - **char**: String matching.
417
417
  *
418
418
  * @example
419
419
  * char
@@ -508,7 +508,7 @@ export class ModifyPolicyRequestContentPortRuleList extends $dara.Model {
508
508
  * @remarks
509
509
  * The match action. Valid values:
510
510
  *
511
- * - **drop**: Drops the traffic.
511
+ * - **drop**: Drop.
512
512
  *
513
513
  * This parameter is required.
514
514
  *
@@ -531,8 +531,8 @@ export class ModifyPolicyRequestContentPortRuleList extends $dara.Model {
531
531
  protocol?: string;
532
532
  /**
533
533
  * @remarks
534
- * The priority number, expressed as an integer.
535
- * > A smaller number indicates a higher priority.
534
+ * The priority, expressed as an integer.
535
+ * > A smaller value indicates a higher priority.
536
536
  *
537
537
  * This parameter is required.
538
538
  *
@@ -598,7 +598,7 @@ export class ModifyPolicyRequestContentPortRuleList extends $dara.Model {
598
598
  export class ModifyPolicyRequestContentSipDefense extends $dara.Model {
599
599
  /**
600
600
  * @remarks
601
- * Specifies whether SIP protection is enabled. Valid values:
601
+ * Specifies whether to enable SIP protection. Valid values:
602
602
  *
603
603
  * - **true**: Enabled.
604
604
  * - **false**: Disabled.
@@ -640,7 +640,7 @@ export class ModifyPolicyRequestContentSipDefense extends $dara.Model {
640
640
  sipPort?: string;
641
641
  /**
642
642
  * @remarks
643
- * The SIP source rate limit value in PPS.
643
+ * The SIP source rate limit value (PPS).
644
644
  *
645
645
  * @example
646
646
  * 1000
@@ -648,7 +648,7 @@ export class ModifyPolicyRequestContentSipDefense extends $dara.Model {
648
648
  sipRate?: number;
649
649
  /**
650
650
  * @remarks
651
- * The SIP activation threshold in Mbit/s.
651
+ * The SIP activation threshold (Mbit/s).
652
652
  *
653
653
  * @example
654
654
  * 100
@@ -656,7 +656,7 @@ export class ModifyPolicyRequestContentSipDefense extends $dara.Model {
656
656
  sipStartMbps?: number;
657
657
  /**
658
658
  * @remarks
659
- * The SIP activation threshold in PPS.
659
+ * The SIP activation threshold (PPS).
660
660
  *
661
661
  * @example
662
662
  * 500
@@ -778,7 +778,7 @@ export class ModifyPolicyRequestContentSourceBlockList extends $dara.Model {
778
778
  export class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
779
779
  /**
780
780
  * @remarks
781
- * The source bandwidth throttling value. Unit: bytes per second.
781
+ * The source bandwidth throttling rate limit, in bytes per second.
782
782
  *
783
783
  * @example
784
784
  * 2048
@@ -786,7 +786,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
786
786
  bps?: number;
787
787
  /**
788
788
  * @remarks
789
- * The source PPS rate limit. Unit: packets per second.
789
+ * The source PPS rate limit, in packets per second.
790
790
  *
791
791
  * @example
792
792
  * 64
@@ -794,7 +794,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
794
794
  pps?: number;
795
795
  /**
796
796
  * @remarks
797
- * The source SYN bandwidth throttling value. Unit: bytes per second.
797
+ * The source SYN bandwidth throttling rate limit, in bytes per second.
798
798
  *
799
799
  * @example
800
800
  * 2048
@@ -802,7 +802,7 @@ export class ModifyPolicyRequestContentSourceLimit extends $dara.Model {
802
802
  synBps?: number;
803
803
  /**
804
804
  * @remarks
805
- * The source SYN PPS rate limit. Unit: packets per second.
805
+ * The source SYN PPS rate limit, in packets per second.
806
806
  *
807
807
  * @example
808
808
  * 64
@@ -875,7 +875,7 @@ export class ModifyPolicyRequestContent extends $dara.Model {
875
875
  enableL4Defense?: boolean;
876
876
  /**
877
877
  * @remarks
878
- * The list of byte-match filter rules.
878
+ * The list of Byte-Match Filter rules.
879
879
  */
880
880
  fingerPrintRuleList?: ModifyPolicyRequestContentFingerPrintRuleList[];
881
881
  /**
@@ -892,7 +892,7 @@ export class ModifyPolicyRequestContent extends $dara.Model {
892
892
  intelligenceLevel?: string;
893
893
  /**
894
894
  * @remarks
895
- * The list of port forwarding rules.
895
+ * The list of port-specific mitigation rules.
896
896
  */
897
897
  l4RuleList?: ModifyPolicyRequestContentL4RuleList[];
898
898
  /**
@@ -902,7 +902,7 @@ export class ModifyPolicyRequestContent extends $dara.Model {
902
902
  portRuleList?: ModifyPolicyRequestContentPortRuleList[];
903
903
  /**
904
904
  * @remarks
905
- * The list of ports filtered by Reflection Attack Filtering.
905
+ * The list of ports filtered by reflection attack prevention.
906
906
  */
907
907
  reflectBlockUdpPortList?: number[];
908
908
  /**
@@ -917,7 +917,7 @@ export class ModifyPolicyRequestContent extends $dara.Model {
917
917
  regionBlockProvinceList?: number[];
918
918
  /**
919
919
  * @remarks
920
- * The SIP protection settings.
920
+ * The SIP Protection Settings.
921
921
  */
922
922
  sipDefense?: ModifyPolicyRequestContentSipDefense;
923
923
  /**
@@ -1034,28 +1034,28 @@ export class ModifyPolicyRequest extends $dara.Model {
1034
1034
  * @remarks
1035
1035
  * The action type. Valid values:
1036
1036
  *
1037
- * - **10**: Modifies the name (Name is required).
1038
- * - **11**: Modifies the blacklist timeout period (BlackIpListExpireAt is required). Only IP-specific mitigation policies are supported.
1039
- * - **12**: Modifies the switch for whitelisting back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (WhitenGfbrNets is required). Only IP-specific mitigation policies are supported.
1040
- * - **13**: Modifies the switch for ICMP Blocking (EnableDropIcmp is required). Only IP-specific mitigation policies are supported.
1041
- * - **20**: Adds blacklist and whitelist entries (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policies are supported.
1042
- * - **21**: Deletes blacklist and whitelist entries (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policies are supported.
1043
- * - **22**: Clears the whitelist. Only IP-specific mitigation policies are supported.
1044
- * - **23**: Clears the blacklist. Only IP-specific mitigation policies are supported.
1045
- * - **30**: Modifies the AI-based intelligent protection switch and level (EnableIntelligence and IntelligenceLevel are required). Only IP-specific mitigation policies are supported.
1046
- * - **31**: Modifies the Location Blacklist configuration (RegionBlockCountryList and RegionBlockProvinceList are optional). Only IP-specific mitigation policies are supported.
1047
- * - **32**: Modifies the Source Rate Limiting configuration (SourceLimit and SourceBlockList are required). Only IP-specific mitigation policies are supported.
1048
- * - **33**: Modifies the Reflection Attack Filtering (ReflectBlockUdpPortList is required). Only IP-specific mitigation policies are supported.
1049
- * - **40**: Creates a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
1050
- * - **41**: Modifies a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
1051
- * - **42**: Deletes a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
1052
- * - **50**: Creates a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
1053
- * - **51**: Modifies a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
1054
- * - **52**: Deletes a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
1055
- * - **60**: Modifies the port-specific mitigation switch (EnableL4Defense is required). Only port-specific mitigation policies are supported.
1056
- * - **61**: Creates a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
1057
- * - **62**: Modifies a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
1058
- * - **63**: Deletes a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
1037
+ * - **10**: modifies the name (Name is required).
1038
+ * - **11**: modifies the blacklist timeout period (BlackIpListExpireAt is required). Only IP-specific mitigation policy is supported.
1039
+ * - **12**: modifies the switch for whitelisting back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (WhitenGfbrNets is required). Only IP-specific mitigation policy is supported.
1040
+ * - **13**: modifies the switch for ICMP Blocking (EnableDropIcmp is required). Only IP-specific mitigation policy is supported.
1041
+ * - **20**: adds entries to blacklists and whitelists (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policy is supported.
1042
+ * - **21**: deletes entries from blacklists and whitelists (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policy is supported.
1043
+ * - **22**: clears the whitelist. Only IP-specific mitigation policy is supported.
1044
+ * - **23**: clears the blacklist. Only IP-specific mitigation policy is supported.
1045
+ * - **30**: modifies the AI-based intelligent protection switch and level (EnableIntelligence and IntelligenceLevel are required). Only IP-specific mitigation policy is supported.
1046
+ * - **31**: modifies the Location Blacklist configuration (RegionBlockCountryList and RegionBlockProvinceList are optional). Only IP-specific mitigation policy is supported.
1047
+ * - **32**: modifies the source rate limiting configuration (SourceLimit and SourceBlockList are required). Only IP-specific mitigation policy is supported.
1048
+ * - **33**: modifies the reflection attack port filtering (ReflectBlockUdpPortList is required). Only IP-specific mitigation policy is supported.
1049
+ * - **40**: creates a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
1050
+ * - **41**: modifies a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
1051
+ * - **42**: deletes a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
1052
+ * - **50**: creates a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
1053
+ * - **51**: modifies a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
1054
+ * - **52**: deletes a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
1055
+ * - **60**: modifies the port-specific mitigation switch (EnableL4Defense is required). Only port-specific mitigation policy is supported.
1056
+ * - **61**: creates a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
1057
+ * - **62**: modifies a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
1058
+ * - **63**: deletes a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
1059
1059
  *
1060
1060
  * This parameter is required.
1061
1061
  *
@@ -1088,10 +1088,10 @@ export class ModifyPolicyRequest extends $dara.Model {
1088
1088
  name?: string;
1089
1089
  /**
1090
1090
  * @remarks
1091
- * The port-specific mitigation policy version. Valid values:
1091
+ * The version of the port-specific mitigation policy. Valid values:
1092
1092
  *
1093
- * - **Empty**: Modifies the default surf DPI engine policy.
1094
- * - **2**: Modifies the new stream DPI engine policy.
1093
+ * - **Not specified**: Modifies the default surf mitigation engine policy.
1094
+ * - **2**: Modifies the new stream mitigation engine policy.
1095
1095
  * > Only port-specific mitigation policies are supported.
1096
1096
  *
1097
1097
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyPolicyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID. Alibaba Cloud generates a unique ID for each request, which can be used for troubleshooting and diagnostics.
8
+ * The request ID. Alibaba Cloud generates a unique ID for each API request. You can use this ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * B4B379C2-9319-4C6B-B579-FE36831****
@@ -7,28 +7,28 @@ export class ModifyPolicyShrinkRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The action type. Valid values:
9
9
  *
10
- * - **10**: Modifies the name (Name is required).
11
- * - **11**: Modifies the blacklist timeout period (BlackIpListExpireAt is required). Only IP-specific mitigation policies are supported.
12
- * - **12**: Modifies the switch for whitelisting back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (WhitenGfbrNets is required). Only IP-specific mitigation policies are supported.
13
- * - **13**: Modifies the switch for ICMP Blocking (EnableDropIcmp is required). Only IP-specific mitigation policies are supported.
14
- * - **20**: Adds blacklist and whitelist entries (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policies are supported.
15
- * - **21**: Deletes blacklist and whitelist entries (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policies are supported.
16
- * - **22**: Clears the whitelist. Only IP-specific mitigation policies are supported.
17
- * - **23**: Clears the blacklist. Only IP-specific mitigation policies are supported.
18
- * - **30**: Modifies the AI-based intelligent protection switch and level (EnableIntelligence and IntelligenceLevel are required). Only IP-specific mitigation policies are supported.
19
- * - **31**: Modifies the Location Blacklist configuration (RegionBlockCountryList and RegionBlockProvinceList are optional). Only IP-specific mitigation policies are supported.
20
- * - **32**: Modifies the Source Rate Limiting configuration (SourceLimit and SourceBlockList are required). Only IP-specific mitigation policies are supported.
21
- * - **33**: Modifies the Reflection Attack Filtering (ReflectBlockUdpPortList is required). Only IP-specific mitigation policies are supported.
22
- * - **40**: Creates a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
23
- * - **41**: Modifies a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
24
- * - **42**: Deletes a Port Blocking rule (PortRuleList is required). Only IP-specific mitigation policies are supported.
25
- * - **50**: Creates a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
26
- * - **51**: Modifies a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
27
- * - **52**: Deletes a Byte-Match Filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policies are supported.
28
- * - **60**: Modifies the port-specific mitigation switch (EnableL4Defense is required). Only port-specific mitigation policies are supported.
29
- * - **61**: Creates a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
30
- * - **62**: Modifies a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
31
- * - **63**: Deletes a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policies are supported.
10
+ * - **10**: modifies the name (Name is required).
11
+ * - **11**: modifies the blacklist timeout period (BlackIpListExpireAt is required). Only IP-specific mitigation policy is supported.
12
+ * - **12**: modifies the switch for whitelisting back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (WhitenGfbrNets is required). Only IP-specific mitigation policy is supported.
13
+ * - **13**: modifies the switch for ICMP Blocking (EnableDropIcmp is required). Only IP-specific mitigation policy is supported.
14
+ * - **20**: adds entries to blacklists and whitelists (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policy is supported.
15
+ * - **21**: deletes entries from blacklists and whitelists (WhiteIpList and BlackIpList are optional). Only IP-specific mitigation policy is supported.
16
+ * - **22**: clears the whitelist. Only IP-specific mitigation policy is supported.
17
+ * - **23**: clears the blacklist. Only IP-specific mitigation policy is supported.
18
+ * - **30**: modifies the AI-based intelligent protection switch and level (EnableIntelligence and IntelligenceLevel are required). Only IP-specific mitigation policy is supported.
19
+ * - **31**: modifies the Location Blacklist configuration (RegionBlockCountryList and RegionBlockProvinceList are optional). Only IP-specific mitigation policy is supported.
20
+ * - **32**: modifies the source rate limiting configuration (SourceLimit and SourceBlockList are required). Only IP-specific mitigation policy is supported.
21
+ * - **33**: modifies the reflection attack port filtering (ReflectBlockUdpPortList is required). Only IP-specific mitigation policy is supported.
22
+ * - **40**: creates a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
23
+ * - **41**: modifies a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
24
+ * - **42**: deletes a port blocking rule (PortRuleList is required). Only IP-specific mitigation policy is supported.
25
+ * - **50**: creates a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
26
+ * - **51**: modifies a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
27
+ * - **52**: deletes a byte-match filter rule (FingerPrintRuleList is required). Only IP-specific mitigation policy is supported.
28
+ * - **60**: modifies the port-specific mitigation switch (EnableL4Defense is required). Only port-specific mitigation policy is supported.
29
+ * - **61**: creates a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
30
+ * - **62**: modifies a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
31
+ * - **63**: deletes a port-specific mitigation rule (L4RuleList is required). Only port-specific mitigation policy is supported.
32
32
  *
33
33
  * This parameter is required.
34
34
  *
@@ -61,10 +61,10 @@ export class ModifyPolicyShrinkRequest extends $dara.Model {
61
61
  name?: string;
62
62
  /**
63
63
  * @remarks
64
- * The port-specific mitigation policy version. Valid values:
64
+ * The version of the port-specific mitigation policy. Valid values:
65
65
  *
66
- * - **Empty**: Modifies the default surf DPI engine policy.
67
- * - **2**: Modifies the new stream DPI engine policy.
66
+ * - **Not specified**: Modifies the default surf mitigation engine policy.
67
+ * - **2**: Modifies the new stream mitigation engine policy.
68
68
  * > Only port-specific mitigation policies are supported.
69
69
  *
70
70
  * @example