@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
@@ -83,7 +83,7 @@ export class ListPolicyAttachmentRequest extends $dara.Model {
83
83
  pageNo?: number;
84
84
  /**
85
85
  * @remarks
86
- * The number of rows per page in a paging query. Default value: **10**.
86
+ * The number of entries per page in a paging query. Default value: **10**.
87
87
  *
88
88
  * @example
89
89
  * 10
@@ -112,8 +112,8 @@ export class ListPolicyAttachmentRequest extends $dara.Model {
112
112
  * @remarks
113
113
  * The version of the port-specific mitigation policy. Valid values:
114
114
  *
115
- * - **Not specified**: queries the policy associations that attach to the default surf DPI engine.
116
- * - **2**: queries the policy associations that attach to the new stream DPI engine.
115
+ * - **Not specified**: queries the policy associations of the default surf DPI engine.
116
+ * - **2**: queries the policy associations of the new stream DPI engine.
117
117
  *
118
118
  * @example
119
119
  * 2
@@ -46,8 +46,8 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
46
46
  /**
47
47
  * @remarks
48
48
  * The policy type. Valid values:
49
- * - **l3**: IP-specific mitigation policy.
50
- * - **l4**: port-specific mitigation policy.
49
+ * - **l3**: IP-specific mitigation policies.
50
+ * - **l4**: port-specific mitigation policies.
51
51
  *
52
52
  * @example
53
53
  * l3
@@ -88,6 +88,17 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
88
88
  * cn-hangzhou
89
89
  */
90
90
  region?: string;
91
+ /**
92
+ * @remarks
93
+ * The current status of the policy. Valid values:
94
+ *
95
+ * - **enabled**: Normal and available.
96
+ * - **disabled**: Abnormal and unavailable.
97
+ *
98
+ * @example
99
+ * enabled
100
+ */
101
+ status?: string;
91
102
  static names(): { [key: string]: string } {
92
103
  return {
93
104
  ip: 'Ip',
@@ -100,6 +111,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
100
111
  portRange: 'PortRange',
101
112
  protocol: 'Protocol',
102
113
  region: 'Region',
114
+ status: 'Status',
103
115
  };
104
116
  }
105
117
 
@@ -115,6 +127,7 @@ export class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model
115
127
  portRange: 'string',
116
128
  protocol: 'string',
117
129
  region: 'string',
130
+ status: 'string',
118
131
  };
119
132
  }
120
133
 
@@ -135,7 +148,7 @@ export class ListPolicyAttachmentResponseBody extends $dara.Model {
135
148
  attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
136
149
  /**
137
150
  * @remarks
138
- * The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.
151
+ * The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.
139
152
  *
140
153
  * @example
141
154
  * B4B379C2-9319-4C6B-B579-FE36831B09F4
@@ -18,7 +18,7 @@ export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
18
18
  pageNo?: number;
19
19
  /**
20
20
  * @remarks
21
- * The number of rows per page in a paging query. Default value: **10**.
21
+ * The number of entries per page in a paging query. Default value: **10**.
22
22
  *
23
23
  * @example
24
24
  * 10
@@ -47,8 +47,8 @@ export class ListPolicyAttachmentShrinkRequest extends $dara.Model {
47
47
  * @remarks
48
48
  * The version of the port-specific mitigation policy. Valid values:
49
49
  *
50
- * - **Not specified**: queries the policy associations that attach to the default surf DPI engine.
51
- * - **2**: queries the policy associations that attach to the new stream DPI engine.
50
+ * - **Not specified**: queries the policy associations of the default surf DPI engine.
51
+ * - **2**: queries the policy associations of the new stream DPI engine.
52
52
  *
53
53
  * @example
54
54
  * 2
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The remarks of the rule.
8
+ * The rule remarks.
9
9
  *
10
10
  * @example
11
11
  * comment
@@ -41,8 +41,8 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
41
41
  *
42
42
  * - **accept**: Allow traffic that matches the fingerprint.
43
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.
44
+ * - **ip_rate**: Rate-limit the source IP address of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
45
+ * - **session_rate**: Rate-limit the source session of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
46
46
  *
47
47
  * @example
48
48
  * drop
@@ -101,7 +101,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
101
101
  protocol?: string;
102
102
  /**
103
103
  * @remarks
104
- * The rate limit. Valid values: **1** to **100000**.
104
+ * The rate limit value. Valid values: **1** to **100000**.
105
105
  *
106
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**).
107
107
  *
@@ -119,7 +119,7 @@ export class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends
119
119
  rule?: string;
120
120
  /**
121
121
  * @remarks
122
- * The priority of the rule, represented as an integer.
122
+ * The priority number, represented as an integer.
123
123
  *
124
124
  * @example
125
125
  * 1
@@ -256,15 +256,15 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
256
256
  arg?: string;
257
257
  /**
258
258
  * @remarks
259
- * The match content.
259
+ * The matching content.
260
260
  *
261
- * 1. When **Encode** is set to **str**, the following requirements must be met:
261
+ * 1. If **Encode** is set to **str**, the following requirements must be met:
262
262
  *
263
263
  * - The length of **Content** cannot exceed 1500.
264
264
  *
265
265
  * - **End** - **Start** >= the length of **Content**.
266
266
  *
267
- * 2. When **Encode** is set to **hex**, the following requirements must be met:
267
+ * 2. If **Encode** is set to **hex**, the following requirements must be met:
268
268
  *
269
269
  * - **Content** must be hexadecimal characters.
270
270
  *
@@ -300,12 +300,12 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
300
300
  encode?: string;
301
301
  /**
302
302
  * @remarks
303
- * The match range.
303
+ * The matching range.
304
304
  */
305
305
  offset?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset;
306
306
  /**
307
307
  * @remarks
308
- * The match pattern. Valid values:
308
+ * The matching pattern. Valid values:
309
309
  *
310
310
  * - **contain**: contains.
311
311
  *
@@ -317,7 +317,7 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList exte
317
317
  pattern?: string;
318
318
  /**
319
319
  * @remarks
320
- * The start position of detection. Valid values: **0** to **2047**.
320
+ * The detection start position. Valid values: **0** to **2047**.
321
321
  *
322
322
  * @example
323
323
  * 0
@@ -387,9 +387,9 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
387
387
  * @remarks
388
388
  * The logical operator. Valid values:
389
389
  *
390
- * - **0**: Execute the action when the rule is matched.
390
+ * - **0**: Execute the action when matched.
391
391
  *
392
- * - **1**: Execute the action when the rule is not matched.
392
+ * - **1**: Execute the action when not matched.
393
393
  *
394
394
  * @example
395
395
  * 1
@@ -399,9 +399,9 @@ export class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Mod
399
399
  * @remarks
400
400
  * The rule type. Valid values:
401
401
  *
402
- * - **char**: string match.
402
+ * - **char**: string matching.
403
403
  *
404
- * - **hex**: hexadecimal match.
404
+ * - **hex**: hexadecimal matching.
405
405
  *
406
406
  * @example
407
407
  * char
@@ -507,7 +507,7 @@ export class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.M
507
507
  protocol?: string;
508
508
  /**
509
509
  * @remarks
510
- * The priority of the rule, represented as an integer.
510
+ * The priority number, represented as an integer.
511
511
  *
512
512
  * @example
513
513
  * 1
@@ -609,7 +609,7 @@ export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Mod
609
609
  sipPort?: string;
610
610
  /**
611
611
  * @remarks
612
- * The SIP source rate limit value (PPS).
612
+ * The SIP source rate limit value in PPS.
613
613
  *
614
614
  * @example
615
615
  * 1000
@@ -617,7 +617,7 @@ export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Mod
617
617
  sipRate?: number;
618
618
  /**
619
619
  * @remarks
620
- * The SIP activation threshold (Mbit/s).
620
+ * The SIP activation threshold in Mbit/s.
621
621
  *
622
622
  * @example
623
623
  * 100
@@ -625,7 +625,7 @@ export class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Mod
625
625
  sipStartMbps?: number;
626
626
  /**
627
627
  * @remarks
628
- * The SIP activation threshold (PPS).
628
+ * The SIP activation threshold in PPS.
629
629
  *
630
630
  * @example
631
631
  * 500
@@ -679,7 +679,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
679
679
  blockExpireSeconds?: number;
680
680
  /**
681
681
  * @remarks
682
- * The statistical period for source rate limiting and blacklisting. Unit: seconds.
682
+ * The statistical period for source rate limiting blacklisting. Unit: seconds.
683
683
  *
684
684
  * @example
685
685
  * 60
@@ -687,7 +687,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
687
687
  everySeconds?: number;
688
688
  /**
689
689
  * @remarks
690
- * The number of times that the source IP address exceeds the rate limit within a single statistical period.
690
+ * The number of times the source IP address exceeds the rate limit within one statistical period.
691
691
  *
692
692
  * @example
693
693
  * 5
@@ -695,7 +695,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
695
695
  exceedLimitTimes?: number;
696
696
  /**
697
697
  * @remarks
698
- * The type of source rate limiting. Valid values:
698
+ * The source rate limiting type. Valid values:
699
699
  *
700
700
  * - **3**: source PPS rate limiting.
701
701
  *
@@ -739,7 +739,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dar
739
739
  export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Model {
740
740
  /**
741
741
  * @remarks
742
- * The source bandwidth throttling value. Unit: bytes per second.
742
+ * The source bandwidth throttling value, in bytes per second (Byte/s).
743
743
  *
744
744
  * @example
745
745
  * 2048
@@ -747,7 +747,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
747
747
  bps?: number;
748
748
  /**
749
749
  * @remarks
750
- * The source PPS rate limit. Unit: packets per second.
750
+ * The source PPS rate limit, in packets per second (Packet/s).
751
751
  *
752
752
  * @example
753
753
  * 64
@@ -755,7 +755,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
755
755
  pps?: number;
756
756
  /**
757
757
  * @remarks
758
- * The source SYN bandwidth throttling value. Unit: bytes per second.
758
+ * The source SYN bandwidth throttling value, in bytes per second (Byte/s).
759
759
  *
760
760
  * @example
761
761
  * 2048
@@ -763,7 +763,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
763
763
  synBps?: number;
764
764
  /**
765
765
  * @remarks
766
- * The source SYN PPS rate limit. Unit: packets per second.
766
+ * The source SYN PPS rate limit, in packets per second (Packet/s).
767
767
  *
768
768
  * @example
769
769
  * 64
@@ -799,7 +799,7 @@ export class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Mo
799
799
  export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
800
800
  /**
801
801
  * @remarks
802
- * The expiration time of the IP blacklist. The value is a UNIX timestamp.
802
+ * The expiration time of the IP blacklist (UNIX timestamp).
803
803
  *
804
804
  * @example
805
805
  * 1716878000
@@ -853,16 +853,16 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
853
853
  l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
854
854
  /**
855
855
  * @remarks
856
- * The list of Port Blocking rules.
856
+ * The list of port blocking rules.
857
857
  */
858
858
  portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
859
859
  /**
860
860
  * @remarks
861
861
  * The version of the port-specific mitigation policy. Valid values:
862
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.
863
+ * - **Not specified**: the default surf mitigation engine policy.
864
+ * - **2**: the new stream mitigation engine policy.
865
+ * > Only port-specific mitigation policies support this parameter.
866
866
  *
867
867
  * @example
868
868
  * 2
@@ -885,12 +885,12 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
885
885
  regionBlockProvinceList?: number[];
886
886
  /**
887
887
  * @remarks
888
- * The SIP protection settings.
888
+ * The SIP Protection Settings.
889
889
  */
890
890
  sipDefense?: ListPolicyResponseBodyPolicyListContentSipDefense;
891
891
  /**
892
892
  * @remarks
893
- * The list of source rate limiting and blacklisting rules.
893
+ * The list of source rate limiting blacklist rules.
894
894
  */
895
895
  sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
896
896
  /**
@@ -987,7 +987,7 @@ export class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
987
987
  export class ListPolicyResponseBodyPolicyList extends $dara.Model {
988
988
  /**
989
989
  * @remarks
990
- * The number of protected objects that are associated with the policy.
990
+ * The number of protected objects associated with the policy.
991
991
  *
992
992
  * @example
993
993
  * 0
@@ -1016,7 +1016,7 @@ export class ListPolicyResponseBodyPolicyList extends $dara.Model {
1016
1016
  name?: string;
1017
1017
  /**
1018
1018
  * @remarks
1019
- * The remarks of the policy.
1019
+ * The policy remarks.
1020
1020
  *
1021
1021
  * @example
1022
1022
  * test
@@ -1075,7 +1075,7 @@ export class ListPolicyResponseBody extends $dara.Model {
1075
1075
  policyList?: ListPolicyResponseBodyPolicyList[];
1076
1076
  /**
1077
1077
  * @remarks
1078
- * The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues.
1078
+ * The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.
1079
1079
  *
1080
1080
  * @example
1081
1081
  * B4B379C2-9319-4C6B-B579-FE36831B09F4
@@ -37,12 +37,12 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
37
37
  id?: string;
38
38
  /**
39
39
  * @remarks
40
- * The action to take after a fingerprint match. Valid values:
40
+ * The action to take when the fingerprint is matched. Valid values:
41
41
  *
42
- * - **permit**: Permits 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. Set the rate limit by using the **RateValue** parameter.
45
- * - **session_rate**: Rate-limits the source session of traffic that matches the fingerprint. Set the rate limit by using the **RateValue** parameter.
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.
46
46
  *
47
47
  * This parameter is required.
48
48
  *
@@ -84,7 +84,7 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
84
84
  offset?: number;
85
85
  /**
86
86
  * @remarks
87
- * The detection payload, represented in hexadecimal string format.
87
+ * The detection payload. The value is in hexadecimal string format.
88
88
  *
89
89
  * @example
90
90
  * abcd
@@ -103,9 +103,9 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
103
103
  protocol?: string;
104
104
  /**
105
105
  * @remarks
106
- * The rate limit value. Valid values: **1** to **100000**.
106
+ * The rate limit. Valid values: **1** to **100000**.
107
107
  *
108
- * > 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**).
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**).
109
109
  *
110
110
  * @example
111
111
  * 100
@@ -121,8 +121,8 @@ export class ModifyPolicyContentRequestContentFingerPrintRuleList extends $dara.
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 of the rule, represented as an integer.
125
+ * >A smaller value indicates a higher priority.
126
126
  *
127
127
  * This parameter is required.
128
128
  *
@@ -261,13 +261,13 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
261
261
  arg?: string;
262
262
  /**
263
263
  * @remarks
264
- * The match content.
264
+ * The matching content.
265
265
  *
266
266
  * 1. When **Encode** is set to **str**, the following requirements must be met:
267
267
  *
268
268
  * - The length of **Content** must not exceed 1500.
269
269
  *
270
- * - **End** - **Start** >= the length of **Content**.
270
+ * - **End** - **Start** >= length of **Content**.
271
271
  *
272
272
  * 2. When **Encode** is set to **hex**, the following requirements must be met:
273
273
  *
@@ -277,7 +277,7 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
277
277
  *
278
278
  * - The length of **Content** must not exceed 3000.
279
279
  *
280
- * - **End** - **Start** + 1 >= the length of **Content** / 2.
280
+ * - **End** - **Start** + 1 >= length of **Content** / 2.
281
281
  *
282
282
  * @example
283
283
  * test**
@@ -305,12 +305,12 @@ export class ModifyPolicyContentRequestContentL4RuleListConditionList extends $d
305
305
  encode?: string;
306
306
  /**
307
307
  * @remarks
308
- * The match range.
308
+ * The matching range.
309
309
  */
310
310
  offset?: ModifyPolicyContentRequestContentL4RuleListConditionListOffset;
311
311
  /**
312
312
  * @remarks
313
- * The match mode. Valid values:
313
+ * The matching pattern. Valid values:
314
314
  *
315
315
  * - **contain**: contains.
316
316
  *
@@ -380,7 +380,7 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
380
380
  conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
381
381
  /**
382
382
  * @remarks
383
- * The minimum number of bytes in a session flow that triggers rule matching. Valid values: **0** to **2048**.
383
+ * The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
384
384
  *
385
385
  * @example
386
386
  * 0
@@ -390,9 +390,9 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
390
390
  * @remarks
391
391
  * The logical operator. Valid values:
392
392
  *
393
- * - **0**: The action is executed on a match.
393
+ * - **0**: executes the action when the rule is matched.
394
394
  *
395
- * - **1**: The action is executed on a non-match.
395
+ * - **1**: executes the action when the rule is not matched.
396
396
  *
397
397
  * @example
398
398
  * 0
@@ -402,9 +402,9 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
402
402
  * @remarks
403
403
  * The rule type. Valid values:
404
404
  *
405
- * - **char**: string match.
405
+ * - **char**: string matching.
406
406
  *
407
- * - **hex**: hexadecimal match.
407
+ * - **hex**: hexadecimal matching.
408
408
  *
409
409
  * @example
410
410
  * char
@@ -423,7 +423,7 @@ export class ModifyPolicyContentRequestContentL4RuleList extends $dara.Model {
423
423
  /**
424
424
  * @remarks
425
425
  * The rule priority. Valid values: 1 to 100.
426
- * >A smaller value indicates a higher priority.
426
+ * > A smaller value indicates a higher priority.
427
427
  *
428
428
  * @example
429
429
  * 1
@@ -521,8 +521,8 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $dara.Model {
521
521
  protocol?: string;
522
522
  /**
523
523
  * @remarks
524
- * The priority number, expressed as an integer.
525
- * >A smaller number indicates a higher priority.
524
+ * The priority of the rule, represented as an integer.
525
+ * >A smaller value indicates a higher priority.
526
526
  *
527
527
  * This parameter is required.
528
528
  *
@@ -588,7 +588,7 @@ export class ModifyPolicyContentRequestContentPortRuleList extends $dara.Model {
588
588
  export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
589
589
  /**
590
590
  * @remarks
591
- * Specifies whether SIP protection is enabled. Valid values:
591
+ * Specifies whether to enable SIP protection. Valid values:
592
592
  *
593
593
  * - **true**: Enabled.
594
594
  * - **false**: Disabled.
@@ -630,7 +630,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
630
630
  sipPort?: string;
631
631
  /**
632
632
  * @remarks
633
- * The SIP source rate limit value in PPS.
633
+ * The SIP source rate limit (PPS).
634
634
  *
635
635
  * @example
636
636
  * 1000
@@ -638,7 +638,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
638
638
  sipRate?: number;
639
639
  /**
640
640
  * @remarks
641
- * The SIP activation threshold in Mbit/s.
641
+ * The SIP activation threshold (Mbps).
642
642
  *
643
643
  * @example
644
644
  * 100
@@ -646,7 +646,7 @@ export class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
646
646
  sipStartMbps?: number;
647
647
  /**
648
648
  * @remarks
649
- * The SIP activation threshold in PPS.
649
+ * The SIP activation threshold (PPS).
650
650
  *
651
651
  * @example
652
652
  * 500
@@ -723,10 +723,10 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $dara.Mode
723
723
  /**
724
724
  * @remarks
725
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.
726
+ * - **3**: Source PPS rate limiting.
727
+ * - **4**: Source bandwidth throttling.
728
+ * - **5**: Source SYN PPS rate limiting.
729
+ * - **6**: Source SYN bandwidth throttling.
730
730
  *
731
731
  * This parameter is required.
732
732
  *
@@ -764,7 +764,7 @@ export class ModifyPolicyContentRequestContentSourceBlockList extends $dara.Mode
764
764
  export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
765
765
  /**
766
766
  * @remarks
767
- * The source bandwidth throttling value, in bytes per second (Byte/s).
767
+ * The source bandwidth throttling value, in bytes per second (byte/s).
768
768
  *
769
769
  * @example
770
770
  * 2048
@@ -772,7 +772,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
772
772
  bps?: number;
773
773
  /**
774
774
  * @remarks
775
- * The source PPS rate limit, in packets per second (Packet/s).
775
+ * The source PPS rate limit, in packets per second (packet/s).
776
776
  *
777
777
  * @example
778
778
  * 64
@@ -780,7 +780,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
780
780
  pps?: number;
781
781
  /**
782
782
  * @remarks
783
- * The source SYN bandwidth throttling value, in bytes per second (Byte/s).
783
+ * The source SYN bandwidth throttling value, in bytes per second (byte/s).
784
784
  *
785
785
  * @example
786
786
  * 2048
@@ -788,7 +788,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
788
788
  synBps?: number;
789
789
  /**
790
790
  * @remarks
791
- * The source SYN PPS rate limit, in packets per second (Packet/s).
791
+ * The source SYN PPS rate limit, in packets per second (packet/s).
792
792
  *
793
793
  * @example
794
794
  * 64
@@ -824,7 +824,7 @@ export class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
824
824
  export class ModifyPolicyContentRequestContent extends $dara.Model {
825
825
  /**
826
826
  * @remarks
827
- * The expiration time of the IP blacklist, in UNIX timestamp format.
827
+ * The expiration time of the IP blacklist (UNIX timestamp).
828
828
  *
829
829
  * @example
830
830
  * 1716878000
@@ -840,7 +840,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
840
840
  enableDropIcmp?: boolean;
841
841
  /**
842
842
  * @remarks
843
- * Specifies whether to enable AI-based intelligent protection.
843
+ * Specifies whether to enable AI-based intelligent analysis.
844
844
  *
845
845
  * @example
846
846
  * true
@@ -848,7 +848,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
848
848
  enableIntelligence?: boolean;
849
849
  /**
850
850
  * @remarks
851
- * Specifies whether to enable port protection.
851
+ * Specifies whether to enable port-specific mitigation.
852
852
  *
853
853
  * @example
854
854
  * true
@@ -861,7 +861,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
861
861
  fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
862
862
  /**
863
863
  * @remarks
864
- * The protection level of AI-based intelligent protection. Valid values:
864
+ * The protection level of AI-based intelligent analysis. Valid values:
865
865
  *
866
866
  * - **default**: Normal.
867
867
  * - **hard**: Strict.
@@ -883,7 +883,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
883
883
  portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
884
884
  /**
885
885
  * @remarks
886
- * The list of ports filtered by reflection attack prevention.
886
+ * The list of ports filtered by the reflection attack prevention feature.
887
887
  */
888
888
  reflectBlockUdpPortList?: number[];
889
889
  /**
@@ -913,7 +913,7 @@ export class ModifyPolicyContentRequestContent extends $dara.Model {
913
913
  sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
914
914
  /**
915
915
  * @remarks
916
- * Specifies whether to whitelist the back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland & outside 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).
917
917
  *
918
918
  * @example
919
919
  * false
@@ -1023,8 +1023,8 @@ export class ModifyPolicyContentRequest extends $dara.Model {
1023
1023
  * @remarks
1024
1024
  * The version of the port-specific mitigation policy. Valid values:
1025
1025
  *
1026
- * - **Not specified**: Modifies the default surf mitigation engine policy.
1027
- * - **2**: Modifies the new stream mitigation engine policy.
1026
+ * - **Not specified**: modifies the default surf mitigation engine policy.
1027
+ * - **2**: modifies the new stream mitigation engine policy.
1028
1028
  * > Only port-specific mitigation policies are supported.
1029
1029
  *
1030
1030
  * @example
@@ -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, which can be used for troubleshooting and diagnostics.
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,8 +30,8 @@ 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.
33
+ * - **Not specified**: modifies the default surf mitigation engine policy.
34
+ * - **2**: modifies the new stream mitigation engine policy.
35
35
  * > Only port-specific mitigation policies are supported.
36
36
  *
37
37
  * @example