@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.
- package/dist/client.d.ts +8 -8
- package/dist/client.js +56 -18
- package/dist/client.js.map +1 -1
- package/dist/models/AttachToPolicyRequest.d.ts +2 -2
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +9 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +2 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +3 -3
- package/dist/models/ListPolicyAttachmentRequest.d.ts +3 -3
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +14 -3
- package/dist/models/ListPolicyAttachmentResponseBody.js +2 -0
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +3 -3
- package/dist/models/ListPolicyResponseBody.d.ts +36 -36
- package/dist/models/ModifyPolicyContentRequest.d.ts +43 -43
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +2 -2
- package/dist/models/ModifyPolicyRequest.d.ts +64 -64
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +25 -25
- package/package.json +1 -1
- package/src/client.ts +57 -18
- package/src/models/AttachToPolicyRequest.ts +2 -2
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +11 -1
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +3 -3
- package/src/models/ListPolicyAttachmentRequest.ts +3 -3
- package/src/models/ListPolicyAttachmentResponseBody.ts +16 -3
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +3 -3
- package/src/models/ListPolicyResponseBody.ts +36 -36
- package/src/models/ModifyPolicyContentRequest.ts +43 -43
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +2 -2
- package/src/models/ModifyPolicyRequest.ts +64 -64
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +25 -25
|
@@ -43,8 +43,8 @@ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $dar
|
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
45
|
* The policy type. Valid values:
|
|
46
|
-
* - **l3**: IP-specific mitigation
|
|
47
|
-
* - **l4**: port-specific mitigation
|
|
46
|
+
* - **l3**: IP-specific mitigation policies.
|
|
47
|
+
* - **l4**: port-specific mitigation policies.
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* l3
|
|
@@ -85,6 +85,17 @@ export declare class ListPolicyAttachmentResponseBodyAttachmentList extends $dar
|
|
|
85
85
|
* cn-hangzhou
|
|
86
86
|
*/
|
|
87
87
|
region?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The current status of the policy. Valid values:
|
|
91
|
+
*
|
|
92
|
+
* - **enabled**: Normal and available.
|
|
93
|
+
* - **disabled**: Abnormal and unavailable.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* enabled
|
|
97
|
+
*/
|
|
98
|
+
status?: string;
|
|
88
99
|
static names(): {
|
|
89
100
|
[key: string]: string;
|
|
90
101
|
};
|
|
@@ -104,7 +115,7 @@ export declare class ListPolicyAttachmentResponseBody extends $dara.Model {
|
|
|
104
115
|
attachmentList?: ListPolicyAttachmentResponseBodyAttachmentList[];
|
|
105
116
|
/**
|
|
106
117
|
* @remarks
|
|
107
|
-
* The request ID, which is a unique identifier generated by Alibaba Cloud for
|
|
118
|
+
* The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.
|
|
108
119
|
*
|
|
109
120
|
* @example
|
|
110
121
|
* B4B379C2-9319-4C6B-B579-FE36831B09F4
|
|
@@ -49,6 +49,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model {
|
|
|
49
49
|
portRange: 'PortRange',
|
|
50
50
|
protocol: 'Protocol',
|
|
51
51
|
region: 'Region',
|
|
52
|
+
status: 'Status',
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
static types() {
|
|
@@ -63,6 +64,7 @@ class ListPolicyAttachmentResponseBodyAttachmentList extends $dara.Model {
|
|
|
63
64
|
portRange: 'string',
|
|
64
65
|
protocol: 'string',
|
|
65
66
|
region: 'string',
|
|
67
|
+
status: 'string',
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
70
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListPolicyAttachmentResponseBody.js","sourceRoot":"","sources":["../../src/models/ListPolicyAttachmentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListPolicyAttachmentResponseBody.js","sourceRoot":"","sources":["../../src/models/ListPolicyAttachmentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8CAA+C,SAAQ,KAAK,CAAC,KAAK;IAiG7E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,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;AAxID,wGAwIC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,8CAA8C,EAAE;YAC/F,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,4EAgDC"}
|
|
@@ -15,7 +15,7 @@ export declare class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
|
15
15
|
pageNo?: number;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The number of
|
|
18
|
+
* The number of entries per page in a paging query. Default value: **10**.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 10
|
|
@@ -44,8 +44,8 @@ export declare class ListPolicyAttachmentShrinkRequest extends $dara.Model {
|
|
|
44
44
|
* @remarks
|
|
45
45
|
* The version of the port-specific mitigation policy. Valid values:
|
|
46
46
|
*
|
|
47
|
-
* - **Not specified**: queries the policy associations
|
|
48
|
-
* - **2**: queries the policy associations
|
|
47
|
+
* - **Not specified**: queries the policy associations of the default surf DPI engine.
|
|
48
|
+
* - **2**: queries the policy associations of the new stream DPI engine.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The remarks
|
|
5
|
+
* The rule remarks.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* comment
|
|
@@ -38,8 +38,8 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
38
38
|
*
|
|
39
39
|
* - **accept**: Allow traffic that matches the fingerprint.
|
|
40
40
|
* - **drop**: Drop traffic that matches the fingerprint.
|
|
41
|
-
* - **ip_rate**:
|
|
42
|
-
* - **session_rate**:
|
|
41
|
+
* - **ip_rate**: Rate-limit the source IP address of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
|
|
42
|
+
* - **session_rate**: Rate-limit the source session of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* drop
|
|
@@ -98,7 +98,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
98
98
|
protocol?: string;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The rate limit. Valid values: **1** to **100000**.
|
|
101
|
+
* The rate limit value. Valid values: **1** to **100000**.
|
|
102
102
|
*
|
|
103
103
|
* > 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**).
|
|
104
104
|
*
|
|
@@ -116,7 +116,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
116
116
|
rule?: string;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The priority
|
|
119
|
+
* The priority number, represented as an integer.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 1
|
|
@@ -199,15 +199,15 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionL
|
|
|
199
199
|
arg?: string;
|
|
200
200
|
/**
|
|
201
201
|
* @remarks
|
|
202
|
-
* The
|
|
202
|
+
* The matching content.
|
|
203
203
|
*
|
|
204
|
-
* 1.
|
|
204
|
+
* 1. If **Encode** is set to **str**, the following requirements must be met:
|
|
205
205
|
*
|
|
206
206
|
* - The length of **Content** cannot exceed 1500.
|
|
207
207
|
*
|
|
208
208
|
* - **End** - **Start** >= the length of **Content**.
|
|
209
209
|
*
|
|
210
|
-
* 2.
|
|
210
|
+
* 2. If **Encode** is set to **hex**, the following requirements must be met:
|
|
211
211
|
*
|
|
212
212
|
* - **Content** must be hexadecimal characters.
|
|
213
213
|
*
|
|
@@ -243,12 +243,12 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionL
|
|
|
243
243
|
encode?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* The
|
|
246
|
+
* The matching range.
|
|
247
247
|
*/
|
|
248
248
|
offset?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset;
|
|
249
249
|
/**
|
|
250
250
|
* @remarks
|
|
251
|
-
* The
|
|
251
|
+
* The matching pattern. Valid values:
|
|
252
252
|
*
|
|
253
253
|
* - **contain**: contains.
|
|
254
254
|
*
|
|
@@ -260,7 +260,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionL
|
|
|
260
260
|
pattern?: string;
|
|
261
261
|
/**
|
|
262
262
|
* @remarks
|
|
263
|
-
* The start position
|
|
263
|
+
* The detection start position. Valid values: **0** to **2047**.
|
|
264
264
|
*
|
|
265
265
|
* @example
|
|
266
266
|
* 0
|
|
@@ -305,9 +305,9 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
305
305
|
* @remarks
|
|
306
306
|
* The logical operator. Valid values:
|
|
307
307
|
*
|
|
308
|
-
* - **0**: Execute the action when
|
|
308
|
+
* - **0**: Execute the action when matched.
|
|
309
309
|
*
|
|
310
|
-
* - **1**: Execute the action when
|
|
310
|
+
* - **1**: Execute the action when not matched.
|
|
311
311
|
*
|
|
312
312
|
* @example
|
|
313
313
|
* 1
|
|
@@ -317,9 +317,9 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
317
317
|
* @remarks
|
|
318
318
|
* The rule type. Valid values:
|
|
319
319
|
*
|
|
320
|
-
* - **char**: string
|
|
320
|
+
* - **char**: string matching.
|
|
321
321
|
*
|
|
322
|
-
* - **hex**: hexadecimal
|
|
322
|
+
* - **hex**: hexadecimal matching.
|
|
323
323
|
*
|
|
324
324
|
* @example
|
|
325
325
|
* char
|
|
@@ -400,7 +400,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
400
400
|
protocol?: string;
|
|
401
401
|
/**
|
|
402
402
|
* @remarks
|
|
403
|
-
* The priority
|
|
403
|
+
* The priority number, represented as an integer.
|
|
404
404
|
*
|
|
405
405
|
* @example
|
|
406
406
|
* 1
|
|
@@ -478,7 +478,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSipDefense extends $
|
|
|
478
478
|
sipPort?: string;
|
|
479
479
|
/**
|
|
480
480
|
* @remarks
|
|
481
|
-
* The SIP source rate limit value
|
|
481
|
+
* The SIP source rate limit value in PPS.
|
|
482
482
|
*
|
|
483
483
|
* @example
|
|
484
484
|
* 1000
|
|
@@ -486,7 +486,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSipDefense extends $
|
|
|
486
486
|
sipRate?: number;
|
|
487
487
|
/**
|
|
488
488
|
* @remarks
|
|
489
|
-
* The SIP activation threshold
|
|
489
|
+
* The SIP activation threshold in Mbit/s.
|
|
490
490
|
*
|
|
491
491
|
* @example
|
|
492
492
|
* 100
|
|
@@ -494,7 +494,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSipDefense extends $
|
|
|
494
494
|
sipStartMbps?: number;
|
|
495
495
|
/**
|
|
496
496
|
* @remarks
|
|
497
|
-
* The SIP activation threshold
|
|
497
|
+
* The SIP activation threshold in PPS.
|
|
498
498
|
*
|
|
499
499
|
* @example
|
|
500
500
|
* 500
|
|
@@ -522,7 +522,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
522
522
|
blockExpireSeconds?: number;
|
|
523
523
|
/**
|
|
524
524
|
* @remarks
|
|
525
|
-
* The statistical period for source rate limiting
|
|
525
|
+
* The statistical period for source rate limiting blacklisting. Unit: seconds.
|
|
526
526
|
*
|
|
527
527
|
* @example
|
|
528
528
|
* 60
|
|
@@ -530,7 +530,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
530
530
|
everySeconds?: number;
|
|
531
531
|
/**
|
|
532
532
|
* @remarks
|
|
533
|
-
* The number of times
|
|
533
|
+
* The number of times the source IP address exceeds the rate limit within one statistical period.
|
|
534
534
|
*
|
|
535
535
|
* @example
|
|
536
536
|
* 5
|
|
@@ -538,7 +538,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
538
538
|
exceedLimitTimes?: number;
|
|
539
539
|
/**
|
|
540
540
|
* @remarks
|
|
541
|
-
* The
|
|
541
|
+
* The source rate limiting type. Valid values:
|
|
542
542
|
*
|
|
543
543
|
* - **3**: source PPS rate limiting.
|
|
544
544
|
*
|
|
@@ -566,7 +566,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
566
566
|
export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Model {
|
|
567
567
|
/**
|
|
568
568
|
* @remarks
|
|
569
|
-
* The source bandwidth throttling value
|
|
569
|
+
* The source bandwidth throttling value, in bytes per second (Byte/s).
|
|
570
570
|
*
|
|
571
571
|
* @example
|
|
572
572
|
* 2048
|
|
@@ -574,7 +574,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
574
574
|
bps?: number;
|
|
575
575
|
/**
|
|
576
576
|
* @remarks
|
|
577
|
-
* The source PPS rate limit
|
|
577
|
+
* The source PPS rate limit, in packets per second (Packet/s).
|
|
578
578
|
*
|
|
579
579
|
* @example
|
|
580
580
|
* 64
|
|
@@ -582,7 +582,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
582
582
|
pps?: number;
|
|
583
583
|
/**
|
|
584
584
|
* @remarks
|
|
585
|
-
* The source SYN bandwidth throttling value
|
|
585
|
+
* The source SYN bandwidth throttling value, in bytes per second (Byte/s).
|
|
586
586
|
*
|
|
587
587
|
* @example
|
|
588
588
|
* 2048
|
|
@@ -590,7 +590,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
590
590
|
synBps?: number;
|
|
591
591
|
/**
|
|
592
592
|
* @remarks
|
|
593
|
-
* The source SYN PPS rate limit
|
|
593
|
+
* The source SYN PPS rate limit, in packets per second (Packet/s).
|
|
594
594
|
*
|
|
595
595
|
* @example
|
|
596
596
|
* 64
|
|
@@ -610,7 +610,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
610
610
|
export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
611
611
|
/**
|
|
612
612
|
* @remarks
|
|
613
|
-
* The expiration time of the IP blacklist
|
|
613
|
+
* The expiration time of the IP blacklist (UNIX timestamp).
|
|
614
614
|
*
|
|
615
615
|
* @example
|
|
616
616
|
* 1716878000
|
|
@@ -664,16 +664,16 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
664
664
|
l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
|
|
665
665
|
/**
|
|
666
666
|
* @remarks
|
|
667
|
-
* The list of
|
|
667
|
+
* The list of port blocking rules.
|
|
668
668
|
*/
|
|
669
669
|
portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
|
|
670
670
|
/**
|
|
671
671
|
* @remarks
|
|
672
672
|
* The version of the port-specific mitigation policy. Valid values:
|
|
673
673
|
*
|
|
674
|
-
* - **
|
|
675
|
-
* - **2**: the new stream
|
|
676
|
-
* > Only port-specific mitigation policies
|
|
674
|
+
* - **Not specified**: the default surf mitigation engine policy.
|
|
675
|
+
* - **2**: the new stream mitigation engine policy.
|
|
676
|
+
* > Only port-specific mitigation policies support this parameter.
|
|
677
677
|
*
|
|
678
678
|
* @example
|
|
679
679
|
* 2
|
|
@@ -696,12 +696,12 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
696
696
|
regionBlockProvinceList?: number[];
|
|
697
697
|
/**
|
|
698
698
|
* @remarks
|
|
699
|
-
* The SIP
|
|
699
|
+
* The SIP Protection Settings.
|
|
700
700
|
*/
|
|
701
701
|
sipDefense?: ListPolicyResponseBodyPolicyListContentSipDefense;
|
|
702
702
|
/**
|
|
703
703
|
* @remarks
|
|
704
|
-
* The list of source rate limiting
|
|
704
|
+
* The list of source rate limiting blacklist rules.
|
|
705
705
|
*/
|
|
706
706
|
sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
|
|
707
707
|
/**
|
|
@@ -731,7 +731,7 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
731
731
|
export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
732
732
|
/**
|
|
733
733
|
* @remarks
|
|
734
|
-
* The number of protected objects
|
|
734
|
+
* The number of protected objects associated with the policy.
|
|
735
735
|
*
|
|
736
736
|
* @example
|
|
737
737
|
* 0
|
|
@@ -760,7 +760,7 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
760
760
|
name?: string;
|
|
761
761
|
/**
|
|
762
762
|
* @remarks
|
|
763
|
-
* The remarks
|
|
763
|
+
* The policy remarks.
|
|
764
764
|
*
|
|
765
765
|
* @example
|
|
766
766
|
* test
|
|
@@ -796,7 +796,7 @@ export declare class ListPolicyResponseBody extends $dara.Model {
|
|
|
796
796
|
policyList?: ListPolicyResponseBodyPolicyList[];
|
|
797
797
|
/**
|
|
798
798
|
* @remarks
|
|
799
|
-
* The ID of
|
|
799
|
+
* 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.
|
|
800
800
|
*
|
|
801
801
|
* @example
|
|
802
802
|
* B4B379C2-9319-4C6B-B579-FE36831B09F4
|
|
@@ -34,12 +34,12 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
34
34
|
id?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The action to take
|
|
37
|
+
* The action to take when the fingerprint is matched. Valid values:
|
|
38
38
|
*
|
|
39
|
-
* - **permit**:
|
|
40
|
-
* - **drop**:
|
|
41
|
-
* - **ip_rate**:
|
|
42
|
-
* - **session_rate**:
|
|
39
|
+
* - **permit**: allows 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. The rate limit is specified by the **RateValue** parameter.
|
|
42
|
+
* - **session_rate**: rate-limits the source session of traffic that matches the fingerprint. The rate limit is specified by the **RateValue** parameter.
|
|
43
43
|
*
|
|
44
44
|
* This parameter is required.
|
|
45
45
|
*
|
|
@@ -81,7 +81,7 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
81
81
|
offset?: number;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
* The detection payload
|
|
84
|
+
* The detection payload. The value is in hexadecimal string format.
|
|
85
85
|
*
|
|
86
86
|
* @example
|
|
87
87
|
* abcd
|
|
@@ -100,9 +100,9 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
100
100
|
protocol?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The rate limit
|
|
103
|
+
* The rate limit. Valid values: **1** to **100000**.
|
|
104
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**).
|
|
105
|
+
* > 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**).
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* 100
|
|
@@ -118,8 +118,8 @@ export declare class ModifyPolicyContentRequestContentFingerPrintRuleList extend
|
|
|
118
118
|
rule?: string;
|
|
119
119
|
/**
|
|
120
120
|
* @remarks
|
|
121
|
-
* The priority
|
|
122
|
-
* >A smaller
|
|
121
|
+
* The priority of the rule, represented as an integer.
|
|
122
|
+
* >A smaller value indicates a higher priority.
|
|
123
123
|
*
|
|
124
124
|
* This parameter is required.
|
|
125
125
|
*
|
|
@@ -204,13 +204,13 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
204
204
|
arg?: string;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
* The
|
|
207
|
+
* The matching content.
|
|
208
208
|
*
|
|
209
209
|
* 1. When **Encode** is set to **str**, the following requirements must be met:
|
|
210
210
|
*
|
|
211
211
|
* - The length of **Content** must not exceed 1500.
|
|
212
212
|
*
|
|
213
|
-
* - **End** - **Start** >=
|
|
213
|
+
* - **End** - **Start** >= length of **Content**.
|
|
214
214
|
*
|
|
215
215
|
* 2. When **Encode** is set to **hex**, the following requirements must be met:
|
|
216
216
|
*
|
|
@@ -220,7 +220,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
220
220
|
*
|
|
221
221
|
* - The length of **Content** must not exceed 3000.
|
|
222
222
|
*
|
|
223
|
-
* - **End** - **Start** + 1 >=
|
|
223
|
+
* - **End** - **Start** + 1 >= length of **Content** / 2.
|
|
224
224
|
*
|
|
225
225
|
* @example
|
|
226
226
|
* test**
|
|
@@ -248,12 +248,12 @@ export declare class ModifyPolicyContentRequestContentL4RuleListConditionList ex
|
|
|
248
248
|
encode?: string;
|
|
249
249
|
/**
|
|
250
250
|
* @remarks
|
|
251
|
-
* The
|
|
251
|
+
* The matching range.
|
|
252
252
|
*/
|
|
253
253
|
offset?: ModifyPolicyContentRequestContentL4RuleListConditionListOffset;
|
|
254
254
|
/**
|
|
255
255
|
* @remarks
|
|
256
|
-
* The
|
|
256
|
+
* The matching pattern. Valid values:
|
|
257
257
|
*
|
|
258
258
|
* - **contain**: contains.
|
|
259
259
|
*
|
|
@@ -298,7 +298,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
298
298
|
conditionList?: ModifyPolicyContentRequestContentL4RuleListConditionList[];
|
|
299
299
|
/**
|
|
300
300
|
* @remarks
|
|
301
|
-
* The minimum number of bytes in a session flow
|
|
301
|
+
* The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
|
|
302
302
|
*
|
|
303
303
|
* @example
|
|
304
304
|
* 0
|
|
@@ -308,9 +308,9 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
308
308
|
* @remarks
|
|
309
309
|
* The logical operator. Valid values:
|
|
310
310
|
*
|
|
311
|
-
* - **0**:
|
|
311
|
+
* - **0**: executes the action when the rule is matched.
|
|
312
312
|
*
|
|
313
|
-
* - **1**:
|
|
313
|
+
* - **1**: executes the action when the rule is not matched.
|
|
314
314
|
*
|
|
315
315
|
* @example
|
|
316
316
|
* 0
|
|
@@ -320,9 +320,9 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
320
320
|
* @remarks
|
|
321
321
|
* The rule type. Valid values:
|
|
322
322
|
*
|
|
323
|
-
* - **char**: string
|
|
323
|
+
* - **char**: string matching.
|
|
324
324
|
*
|
|
325
|
-
* - **hex**: hexadecimal
|
|
325
|
+
* - **hex**: hexadecimal matching.
|
|
326
326
|
*
|
|
327
327
|
* @example
|
|
328
328
|
* char
|
|
@@ -341,7 +341,7 @@ export declare class ModifyPolicyContentRequestContentL4RuleList extends $dara.M
|
|
|
341
341
|
/**
|
|
342
342
|
* @remarks
|
|
343
343
|
* The rule priority. Valid values: 1 to 100.
|
|
344
|
-
* >A smaller value indicates a higher priority.
|
|
344
|
+
* > A smaller value indicates a higher priority.
|
|
345
345
|
*
|
|
346
346
|
* @example
|
|
347
347
|
* 1
|
|
@@ -414,8 +414,8 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
414
414
|
protocol?: string;
|
|
415
415
|
/**
|
|
416
416
|
* @remarks
|
|
417
|
-
* The priority
|
|
418
|
-
* >A smaller
|
|
417
|
+
* The priority of the rule, represented as an integer.
|
|
418
|
+
* >A smaller value indicates a higher priority.
|
|
419
419
|
*
|
|
420
420
|
* This parameter is required.
|
|
421
421
|
*
|
|
@@ -457,7 +457,7 @@ export declare class ModifyPolicyContentRequestContentPortRuleList extends $dara
|
|
|
457
457
|
export declare class ModifyPolicyContentRequestContentSipDefense extends $dara.Model {
|
|
458
458
|
/**
|
|
459
459
|
* @remarks
|
|
460
|
-
* Specifies whether SIP protection
|
|
460
|
+
* Specifies whether to enable SIP protection. Valid values:
|
|
461
461
|
*
|
|
462
462
|
* - **true**: Enabled.
|
|
463
463
|
* - **false**: Disabled.
|
|
@@ -499,7 +499,7 @@ export declare class ModifyPolicyContentRequestContentSipDefense extends $dara.M
|
|
|
499
499
|
sipPort?: string;
|
|
500
500
|
/**
|
|
501
501
|
* @remarks
|
|
502
|
-
* The SIP source rate limit
|
|
502
|
+
* The SIP source rate limit (PPS).
|
|
503
503
|
*
|
|
504
504
|
* @example
|
|
505
505
|
* 1000
|
|
@@ -507,7 +507,7 @@ export declare class ModifyPolicyContentRequestContentSipDefense extends $dara.M
|
|
|
507
507
|
sipRate?: number;
|
|
508
508
|
/**
|
|
509
509
|
* @remarks
|
|
510
|
-
* The SIP activation threshold
|
|
510
|
+
* The SIP activation threshold (Mbps).
|
|
511
511
|
*
|
|
512
512
|
* @example
|
|
513
513
|
* 100
|
|
@@ -515,7 +515,7 @@ export declare class ModifyPolicyContentRequestContentSipDefense extends $dara.M
|
|
|
515
515
|
sipStartMbps?: number;
|
|
516
516
|
/**
|
|
517
517
|
* @remarks
|
|
518
|
-
* The SIP activation threshold
|
|
518
|
+
* The SIP activation threshold (PPS).
|
|
519
519
|
*
|
|
520
520
|
* @example
|
|
521
521
|
* 500
|
|
@@ -566,10 +566,10 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $d
|
|
|
566
566
|
/**
|
|
567
567
|
* @remarks
|
|
568
568
|
* The source rate limiting type. Valid values:
|
|
569
|
-
* - **3**:
|
|
570
|
-
* - **4**:
|
|
571
|
-
* - **5**:
|
|
572
|
-
* - **6**:
|
|
569
|
+
* - **3**: Source PPS rate limiting.
|
|
570
|
+
* - **4**: Source bandwidth throttling.
|
|
571
|
+
* - **5**: Source SYN PPS rate limiting.
|
|
572
|
+
* - **6**: Source SYN bandwidth throttling.
|
|
573
573
|
*
|
|
574
574
|
* This parameter is required.
|
|
575
575
|
*
|
|
@@ -591,7 +591,7 @@ export declare class ModifyPolicyContentRequestContentSourceBlockList extends $d
|
|
|
591
591
|
export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.Model {
|
|
592
592
|
/**
|
|
593
593
|
* @remarks
|
|
594
|
-
* The source bandwidth throttling value, in bytes per second (
|
|
594
|
+
* The source bandwidth throttling value, in bytes per second (byte/s).
|
|
595
595
|
*
|
|
596
596
|
* @example
|
|
597
597
|
* 2048
|
|
@@ -599,7 +599,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
599
599
|
bps?: number;
|
|
600
600
|
/**
|
|
601
601
|
* @remarks
|
|
602
|
-
* The source PPS rate limit, in packets per second (
|
|
602
|
+
* The source PPS rate limit, in packets per second (packet/s).
|
|
603
603
|
*
|
|
604
604
|
* @example
|
|
605
605
|
* 64
|
|
@@ -607,7 +607,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
607
607
|
pps?: number;
|
|
608
608
|
/**
|
|
609
609
|
* @remarks
|
|
610
|
-
* The source SYN bandwidth throttling value, in bytes per second (
|
|
610
|
+
* The source SYN bandwidth throttling value, in bytes per second (byte/s).
|
|
611
611
|
*
|
|
612
612
|
* @example
|
|
613
613
|
* 2048
|
|
@@ -615,7 +615,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
615
615
|
synBps?: number;
|
|
616
616
|
/**
|
|
617
617
|
* @remarks
|
|
618
|
-
* The source SYN PPS rate limit, in packets per second (
|
|
618
|
+
* The source SYN PPS rate limit, in packets per second (packet/s).
|
|
619
619
|
*
|
|
620
620
|
* @example
|
|
621
621
|
* 64
|
|
@@ -635,7 +635,7 @@ export declare class ModifyPolicyContentRequestContentSourceLimit extends $dara.
|
|
|
635
635
|
export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
636
636
|
/**
|
|
637
637
|
* @remarks
|
|
638
|
-
* The expiration time of the IP blacklist
|
|
638
|
+
* The expiration time of the IP blacklist (UNIX timestamp).
|
|
639
639
|
*
|
|
640
640
|
* @example
|
|
641
641
|
* 1716878000
|
|
@@ -651,7 +651,7 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
651
651
|
enableDropIcmp?: boolean;
|
|
652
652
|
/**
|
|
653
653
|
* @remarks
|
|
654
|
-
* Specifies whether to enable AI-based intelligent
|
|
654
|
+
* Specifies whether to enable AI-based intelligent analysis.
|
|
655
655
|
*
|
|
656
656
|
* @example
|
|
657
657
|
* true
|
|
@@ -659,7 +659,7 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
659
659
|
enableIntelligence?: boolean;
|
|
660
660
|
/**
|
|
661
661
|
* @remarks
|
|
662
|
-
* Specifies whether to enable port
|
|
662
|
+
* Specifies whether to enable port-specific mitigation.
|
|
663
663
|
*
|
|
664
664
|
* @example
|
|
665
665
|
* true
|
|
@@ -672,7 +672,7 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
672
672
|
fingerPrintRuleList?: ModifyPolicyContentRequestContentFingerPrintRuleList[];
|
|
673
673
|
/**
|
|
674
674
|
* @remarks
|
|
675
|
-
* The protection level of AI-based intelligent
|
|
675
|
+
* The protection level of AI-based intelligent analysis. Valid values:
|
|
676
676
|
*
|
|
677
677
|
* - **default**: Normal.
|
|
678
678
|
* - **hard**: Strict.
|
|
@@ -694,7 +694,7 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
694
694
|
portRuleList?: ModifyPolicyContentRequestContentPortRuleList[];
|
|
695
695
|
/**
|
|
696
696
|
* @remarks
|
|
697
|
-
* The list of ports filtered by reflection attack prevention.
|
|
697
|
+
* The list of ports filtered by the reflection attack prevention feature.
|
|
698
698
|
*/
|
|
699
699
|
reflectBlockUdpPortList?: number[];
|
|
700
700
|
/**
|
|
@@ -724,7 +724,7 @@ export declare class ModifyPolicyContentRequestContent extends $dara.Model {
|
|
|
724
724
|
sourceLimit?: ModifyPolicyContentRequestContentSourceLimit;
|
|
725
725
|
/**
|
|
726
726
|
* @remarks
|
|
727
|
-
* Specifies whether to whitelist the back-to-origin IP addresses of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland
|
|
727
|
+
* 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).
|
|
728
728
|
*
|
|
729
729
|
* @example
|
|
730
730
|
* false
|
|
@@ -769,8 +769,8 @@ export declare class ModifyPolicyContentRequest extends $dara.Model {
|
|
|
769
769
|
* @remarks
|
|
770
770
|
* The version of the port-specific mitigation policy. Valid values:
|
|
771
771
|
*
|
|
772
|
-
* - **Not specified**:
|
|
773
|
-
* - **2**:
|
|
772
|
+
* - **Not specified**: modifies the default surf mitigation engine policy.
|
|
773
|
+
* - **2**: modifies the new stream mitigation engine policy.
|
|
774
774
|
* > Only port-specific mitigation policies are supported.
|
|
775
775
|
*
|
|
776
776
|
* @example
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class ModifyPolicyContentResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The request ID. Alibaba Cloud generates a unique ID for each request
|
|
5
|
+
* The request ID. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 3777EF25-940B-51F4-BB1D-99B5********
|
|
@@ -27,8 +27,8 @@ 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**:
|
|
31
|
-
* - **2**:
|
|
30
|
+
* - **Not specified**: modifies the default surf mitigation engine policy.
|
|
31
|
+
* - **2**: modifies the new stream mitigation engine policy.
|
|
32
32
|
* > Only port-specific mitigation policies are supported.
|
|
33
33
|
*
|
|
34
34
|
* @example
|