@alicloud/ddosbgp20180720 3.0.0 → 3.1.0
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 +89 -53
- package/dist/client.js +147 -53
- package/dist/client.js.map +1 -1
- package/dist/models/AddIpRequest.d.ts +11 -10
- package/dist/models/AddIpRequest.js.map +1 -1
- package/dist/models/AddIpResponseBody.d.ts +1 -1
- package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
- package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/AttachToPolicyRequest.d.ts +27 -10
- package/dist/models/AttachToPolicyRequest.js.map +1 -1
- package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
- package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
- package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
- package/dist/models/CheckGrantRequest.d.ts +4 -3
- package/dist/models/CheckGrantRequest.js.map +1 -1
- package/dist/models/CheckGrantResponseBody.d.ts +3 -2
- package/dist/models/CheckGrantResponseBody.js.map +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +15 -5
- package/dist/models/CreatePolicyRequest.js.map +1 -1
- package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
- package/dist/models/DeleteIpRequest.d.ts +8 -10
- package/dist/models/DeleteIpRequest.js.map +1 -1
- package/dist/models/DeleteIpResponseBody.d.ts +1 -1
- package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
- package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
- package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
- package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
- package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
- package/dist/models/DescribeInstanceListRequest.js.map +1 -1
- package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
- package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
- package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
- package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
- package/dist/models/DescribePackIpListRequest.d.ts +14 -11
- package/dist/models/DescribePackIpListRequest.js.map +1 -1
- package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
- package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
- package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
- package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
- package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
- package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +4 -4
- package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeTrafficRequest.d.ts +16 -21
- package/dist/models/DescribeTrafficRequest.js.map +1 -1
- package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
- package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
- package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
- package/dist/models/DetachFromPolicyRequest.js.map +1 -1
- package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
- package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
- package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
- package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
- package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
- package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
- package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
- package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
- package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
- package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
- package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
- package/dist/models/ListPolicyRequest.d.ts +5 -16
- package/dist/models/ListPolicyRequest.js.map +1 -1
- package/dist/models/ListPolicyResponseBody.d.ts +182 -94
- package/dist/models/ListPolicyResponseBody.js +41 -1
- package/dist/models/ListPolicyResponseBody.js.map +1 -1
- package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
- package/dist/models/ModifyPolicyContentRequest.js +41 -1
- package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
- package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
- package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPolicyRequest.d.ts +181 -118
- package/dist/models/ModifyPolicyRequest.js +41 -1
- package/dist/models/ModifyPolicyRequest.js.map +1 -1
- package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
- package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
- package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
- package/dist/models/ModifyRemarkRequest.d.ts +5 -7
- package/dist/models/ModifyRemarkRequest.js.map +1 -1
- package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +34 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +160 -53
- package/src/models/AddIpRequest.ts +11 -10
- package/src/models/AddIpResponseBody.ts +1 -1
- package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
- package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/AttachToPolicyRequest.ts +27 -10
- package/src/models/AttachToPolicyResponseBody.ts +1 -1
- package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
- package/src/models/CheckGrantRequest.ts +4 -3
- package/src/models/CheckGrantResponseBody.ts +3 -2
- package/src/models/CreatePolicyRequest.ts +15 -5
- package/src/models/CreatePolicyResponseBody.ts +2 -2
- package/src/models/DeleteIpRequest.ts +8 -10
- package/src/models/DeleteIpResponseBody.ts +1 -1
- package/src/models/DescribeAssetGroupRequest.ts +4 -3
- package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
- package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
- package/src/models/DescribeInstanceListRequest.ts +13 -9
- package/src/models/DescribeInstanceListResponseBody.ts +28 -18
- package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
- package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
- package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
- package/src/models/DescribePackIpListRequest.ts +14 -11
- package/src/models/DescribePackIpListResponseBody.ts +28 -22
- package/src/models/DescribeRdMemberListRequest.ts +1 -1
- package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
- package/src/models/DescribeRdStatusResponseBody.ts +5 -3
- package/src/models/DescribeRegionsRequest.ts +4 -4
- package/src/models/DescribeRegionsResponseBody.ts +5 -6
- package/src/models/DescribeTrafficRequest.ts +16 -21
- package/src/models/DescribeTrafficResponseBody.ts +11 -12
- package/src/models/DetachFromPolicyRequest.ts +26 -8
- package/src/models/DetachFromPolicyResponseBody.ts +1 -1
- package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
- package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
- package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
- package/src/models/ListPolicyAttachmentRequest.ts +27 -11
- package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
- package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
- package/src/models/ListPolicyRequest.ts +5 -16
- package/src/models/ListPolicyResponseBody.ts +213 -94
- package/src/models/ModifyPolicyContentRequest.ts +207 -90
- package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
- package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
- package/src/models/ModifyPolicyRequest.ts +212 -118
- package/src/models/ModifyPolicyResponseBody.ts +1 -1
- package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
- package/src/models/ModifyRemarkRequest.ts +5 -7
- package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
- package/src/models/model.ts +7 -0
|
@@ -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 end of the destination port range. Valid values: **0** to **65535**.
|
|
5
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 65535
|
|
@@ -10,7 +10,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
10
10
|
dstPortEnd?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
13
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 0
|
|
@@ -18,7 +18,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
18
18
|
dstPortStart?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The ID
|
|
21
|
+
* The rule ID.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 2c0b09cd-a565-4481-9acb-418b********
|
|
@@ -26,12 +26,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
26
26
|
id?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The action
|
|
30
|
-
*
|
|
31
|
-
* * **accept**: allows the traffic that matches the conditions in the byte-match filter rule.
|
|
32
|
-
* * **drop**: discards the traffic that matches the conditions in the byte-match filter rule.
|
|
33
|
-
* * **ip_rate**: limits rates on the source IP address whose traffic matches the conditions in the byte-match filter rule. The rate limit is specified by **RateValue**.
|
|
34
|
-
* * **session_rate**: limits the number of sessions from the source IP address whose traffic matches the conditions in the byte-match filter rule. The rate limit is specified by **RateValue**.
|
|
29
|
+
* The match action. Valid values:
|
|
35
30
|
*
|
|
36
31
|
* @example
|
|
37
32
|
* drop
|
|
@@ -63,7 +58,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
63
58
|
offset?: number;
|
|
64
59
|
/**
|
|
65
60
|
* @remarks
|
|
66
|
-
* The payload
|
|
61
|
+
* The detection payload, represented in hexadecimal string format.
|
|
67
62
|
*
|
|
68
63
|
* @example
|
|
69
64
|
* abcd
|
|
@@ -73,18 +68,13 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
73
68
|
* @remarks
|
|
74
69
|
* The protocol type. Valid values:
|
|
75
70
|
*
|
|
76
|
-
* * **tcp**
|
|
77
|
-
* * **udp**
|
|
78
|
-
*
|
|
79
71
|
* @example
|
|
80
72
|
* udp
|
|
81
73
|
*/
|
|
82
74
|
protocol?: string;
|
|
83
75
|
/**
|
|
84
76
|
* @remarks
|
|
85
|
-
* The rate limit. Valid values: **1** to **100000**.
|
|
86
|
-
*
|
|
87
|
-
* > This parameter is required when **MatchAction** is set to **ip_rate** or **session_rate**.
|
|
77
|
+
* The rate limit value. Valid values: **1** to **100000**.
|
|
88
78
|
*
|
|
89
79
|
* @example
|
|
90
80
|
* 1000
|
|
@@ -92,7 +82,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
92
82
|
rateValue?: number;
|
|
93
83
|
/**
|
|
94
84
|
* @remarks
|
|
95
|
-
* The
|
|
85
|
+
* The priority number, represented as an integer.
|
|
96
86
|
*
|
|
97
87
|
* @example
|
|
98
88
|
* 1
|
|
@@ -100,7 +90,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
100
90
|
seqNo?: number;
|
|
101
91
|
/**
|
|
102
92
|
* @remarks
|
|
103
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
93
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
104
94
|
*
|
|
105
95
|
* @example
|
|
106
96
|
* 65535
|
|
@@ -108,7 +98,7 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
108
98
|
srcPortEnd?: number;
|
|
109
99
|
/**
|
|
110
100
|
* @remarks
|
|
111
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
101
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
112
102
|
*
|
|
113
103
|
* @example
|
|
114
104
|
* 0
|
|
@@ -126,7 +116,21 @@ export declare class ListPolicyResponseBodyPolicyListContentFingerPrintRuleList
|
|
|
126
116
|
});
|
|
127
117
|
}
|
|
128
118
|
export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset extends $dara.Model {
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The end position. Valid values: **0** to **1499**.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 1499
|
|
125
|
+
*/
|
|
129
126
|
end?: number;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The start position. Valid values: **0** to **1499**.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 0
|
|
133
|
+
*/
|
|
130
134
|
start?: number;
|
|
131
135
|
static names(): {
|
|
132
136
|
[key: string]: string;
|
|
@@ -142,29 +146,52 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionL
|
|
|
142
146
|
export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionList extends $dara.Model {
|
|
143
147
|
/**
|
|
144
148
|
* @remarks
|
|
145
|
-
* The
|
|
146
|
-
*
|
|
147
|
-
* > If Method is set to **char**, the value of this parameter must be ASCII strings. If Method is set to **hex**, the value of this parameter must be hexadecimal strings. Maximum length: 2,048.
|
|
149
|
+
* The detection content.
|
|
148
150
|
*
|
|
149
151
|
* @example
|
|
150
152
|
* test
|
|
151
153
|
*/
|
|
152
154
|
arg?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @remarks
|
|
157
|
+
* The match content.
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* test**
|
|
161
|
+
*/
|
|
153
162
|
content?: string;
|
|
154
163
|
/**
|
|
155
164
|
* @remarks
|
|
156
|
-
* The
|
|
165
|
+
* The detection window length. Valid values: **1** to **2048**.
|
|
157
166
|
*
|
|
158
167
|
* @example
|
|
159
168
|
* 32
|
|
160
169
|
*/
|
|
161
170
|
depth?: number;
|
|
171
|
+
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* The character type. Valid values:
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* str
|
|
177
|
+
*/
|
|
162
178
|
encode?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @remarks
|
|
181
|
+
* The match range.
|
|
182
|
+
*/
|
|
163
183
|
offset?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionListOffset;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The match pattern. Valid values:
|
|
187
|
+
*
|
|
188
|
+
* @example
|
|
189
|
+
* contain
|
|
190
|
+
*/
|
|
164
191
|
pattern?: string;
|
|
165
192
|
/**
|
|
166
193
|
* @remarks
|
|
167
|
-
* The start position
|
|
194
|
+
* The detection start position. Valid values: **0** to **2047**.
|
|
168
195
|
*
|
|
169
196
|
* @example
|
|
170
197
|
* 0
|
|
@@ -184,9 +211,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleListConditionL
|
|
|
184
211
|
export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $dara.Model {
|
|
185
212
|
/**
|
|
186
213
|
* @remarks
|
|
187
|
-
* The action
|
|
188
|
-
*
|
|
189
|
-
* * **2**: The traffic is discarded.
|
|
214
|
+
* The action. Valid values:
|
|
190
215
|
*
|
|
191
216
|
* @example
|
|
192
217
|
* 2
|
|
@@ -194,12 +219,12 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
194
219
|
action?: string;
|
|
195
220
|
/**
|
|
196
221
|
* @remarks
|
|
197
|
-
* The
|
|
222
|
+
* The list of detection conditions.
|
|
198
223
|
*/
|
|
199
224
|
conditionList?: ListPolicyResponseBodyPolicyListContentL4RuleListConditionList[];
|
|
200
225
|
/**
|
|
201
226
|
* @remarks
|
|
202
|
-
* The minimum number of bytes in a session to trigger matching. Valid values: **0** to **2048**.
|
|
227
|
+
* The minimum number of bytes in a session flow to trigger rule matching. Valid values: **0** to **2048**.
|
|
203
228
|
*
|
|
204
229
|
* @example
|
|
205
230
|
* 0
|
|
@@ -207,10 +232,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
207
232
|
limited?: number;
|
|
208
233
|
/**
|
|
209
234
|
* @remarks
|
|
210
|
-
* The
|
|
211
|
-
*
|
|
212
|
-
* * **0**: If the rule is matched, the action specified in the rule is performed.
|
|
213
|
-
* * **1**: If the rule is not matched, the action specified in the rule is performed.
|
|
235
|
+
* The logical operator. Valid values:
|
|
214
236
|
*
|
|
215
237
|
* @example
|
|
216
238
|
* 1
|
|
@@ -218,10 +240,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
218
240
|
match?: string;
|
|
219
241
|
/**
|
|
220
242
|
* @remarks
|
|
221
|
-
* The type
|
|
222
|
-
*
|
|
223
|
-
* * **char**: string match.
|
|
224
|
-
* * **hex**: hexadecimal string match.
|
|
243
|
+
* The rule type. Valid values:
|
|
225
244
|
*
|
|
226
245
|
* @example
|
|
227
246
|
* char
|
|
@@ -229,7 +248,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
229
248
|
method?: string;
|
|
230
249
|
/**
|
|
231
250
|
* @remarks
|
|
232
|
-
* The name
|
|
251
|
+
* The rule name.
|
|
233
252
|
*
|
|
234
253
|
* @example
|
|
235
254
|
* test**
|
|
@@ -237,7 +256,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
237
256
|
name?: string;
|
|
238
257
|
/**
|
|
239
258
|
* @remarks
|
|
240
|
-
* The priority
|
|
259
|
+
* The rule priority.
|
|
241
260
|
*
|
|
242
261
|
* @example
|
|
243
262
|
* 1
|
|
@@ -257,7 +276,7 @@ export declare class ListPolicyResponseBodyPolicyListContentL4RuleList extends $
|
|
|
257
276
|
export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends $dara.Model {
|
|
258
277
|
/**
|
|
259
278
|
* @remarks
|
|
260
|
-
* The end of the destination port range. Valid values: **0** to **65535**.
|
|
279
|
+
* The end value of the destination port range. Valid values: **0** to **65535**.
|
|
261
280
|
*
|
|
262
281
|
* @example
|
|
263
282
|
* 65535
|
|
@@ -265,7 +284,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
265
284
|
dstPortEnd?: number;
|
|
266
285
|
/**
|
|
267
286
|
* @remarks
|
|
268
|
-
* The start of the destination port range. Valid values: **0** to **65535**.
|
|
287
|
+
* The start value of the destination port range. Valid values: **0** to **65535**.
|
|
269
288
|
*
|
|
270
289
|
* @example
|
|
271
290
|
* 0
|
|
@@ -273,7 +292,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
273
292
|
dstPortStart?: number;
|
|
274
293
|
/**
|
|
275
294
|
* @remarks
|
|
276
|
-
* The ID
|
|
295
|
+
* The rule ID.
|
|
277
296
|
*
|
|
278
297
|
* @example
|
|
279
298
|
* 8f3c3062-6c20-425d-8405-2bd1********
|
|
@@ -281,9 +300,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
281
300
|
id?: string;
|
|
282
301
|
/**
|
|
283
302
|
* @remarks
|
|
284
|
-
* The action
|
|
285
|
-
*
|
|
286
|
-
* * **drop**: The traffic is discarded.
|
|
303
|
+
* The match action. Valid values:
|
|
287
304
|
*
|
|
288
305
|
* @example
|
|
289
306
|
* drop
|
|
@@ -293,16 +310,13 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
293
310
|
* @remarks
|
|
294
311
|
* The protocol type. Valid values:
|
|
295
312
|
*
|
|
296
|
-
* * **tcp**
|
|
297
|
-
* * **udp**
|
|
298
|
-
*
|
|
299
313
|
* @example
|
|
300
314
|
* udp
|
|
301
315
|
*/
|
|
302
316
|
protocol?: string;
|
|
303
317
|
/**
|
|
304
318
|
* @remarks
|
|
305
|
-
* The
|
|
319
|
+
* The priority number, represented as an integer.
|
|
306
320
|
*
|
|
307
321
|
* @example
|
|
308
322
|
* 1
|
|
@@ -310,7 +324,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
310
324
|
seqNo?: number;
|
|
311
325
|
/**
|
|
312
326
|
* @remarks
|
|
313
|
-
* The end of the source port range. Valid values: **0** to **65535**.
|
|
327
|
+
* The end value of the source port range. Valid values: **0** to **65535**.
|
|
314
328
|
*
|
|
315
329
|
* @example
|
|
316
330
|
* 65535
|
|
@@ -318,7 +332,7 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
318
332
|
srcPortEnd?: number;
|
|
319
333
|
/**
|
|
320
334
|
* @remarks
|
|
321
|
-
* The start of the source port range. Valid values: **0** to **65535**.
|
|
335
|
+
* The start value of the source port range. Valid values: **0** to **65535**.
|
|
322
336
|
*
|
|
323
337
|
* @example
|
|
324
338
|
* 0
|
|
@@ -335,10 +349,85 @@ export declare class ListPolicyResponseBodyPolicyListContentPortRuleList extends
|
|
|
335
349
|
[key: string]: any;
|
|
336
350
|
});
|
|
337
351
|
}
|
|
352
|
+
export declare class ListPolicyResponseBodyPolicyListContentSipDefense extends $dara.Model {
|
|
353
|
+
/**
|
|
354
|
+
* @remarks
|
|
355
|
+
* Indicates whether SIP protection is enabled. Valid values:
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* true
|
|
359
|
+
*/
|
|
360
|
+
enable?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* @remarks
|
|
363
|
+
* The SIP protection level.
|
|
364
|
+
*
|
|
365
|
+
* @example
|
|
366
|
+
* normal
|
|
367
|
+
*/
|
|
368
|
+
level?: string;
|
|
369
|
+
/**
|
|
370
|
+
* @remarks
|
|
371
|
+
* The switch for the SIP defense mode.
|
|
372
|
+
*/
|
|
373
|
+
sipDefend?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* @remarks
|
|
376
|
+
* The switch for the SIP learning mode.
|
|
377
|
+
*/
|
|
378
|
+
sipLearn?: boolean;
|
|
379
|
+
/**
|
|
380
|
+
* @remarks
|
|
381
|
+
* The switch for the SIP source rate limiting module.
|
|
382
|
+
*/
|
|
383
|
+
sipModule?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The SIP protection port. Valid values: **1** to **65535**.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* 5060
|
|
390
|
+
*/
|
|
391
|
+
sipPort?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The SIP source rate limit value (PPS).
|
|
395
|
+
*
|
|
396
|
+
* @example
|
|
397
|
+
* 1000
|
|
398
|
+
*/
|
|
399
|
+
sipRate?: number;
|
|
400
|
+
/**
|
|
401
|
+
* @remarks
|
|
402
|
+
* The SIP activation threshold (Mbit/s).
|
|
403
|
+
*
|
|
404
|
+
* @example
|
|
405
|
+
* 100
|
|
406
|
+
*/
|
|
407
|
+
sipStartMbps?: number;
|
|
408
|
+
/**
|
|
409
|
+
* @remarks
|
|
410
|
+
* The SIP activation threshold (PPS).
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* 500
|
|
414
|
+
*/
|
|
415
|
+
sipStartPps?: number;
|
|
416
|
+
static names(): {
|
|
417
|
+
[key: string]: string;
|
|
418
|
+
};
|
|
419
|
+
static types(): {
|
|
420
|
+
[key: string]: any;
|
|
421
|
+
};
|
|
422
|
+
validate(): void;
|
|
423
|
+
constructor(map?: {
|
|
424
|
+
[key: string]: any;
|
|
425
|
+
});
|
|
426
|
+
}
|
|
338
427
|
export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList extends $dara.Model {
|
|
339
428
|
/**
|
|
340
429
|
* @remarks
|
|
341
|
-
* The
|
|
430
|
+
* The duration for which the source IP address is added to the blacklist. Unit: seconds.
|
|
342
431
|
*
|
|
343
432
|
* @example
|
|
344
433
|
* 120
|
|
@@ -346,7 +435,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
346
435
|
blockExpireSeconds?: number;
|
|
347
436
|
/**
|
|
348
437
|
* @remarks
|
|
349
|
-
* The statistical period
|
|
438
|
+
* The statistical period for source rate limiting blacklisting. Unit: seconds.
|
|
350
439
|
*
|
|
351
440
|
* @example
|
|
352
441
|
* 60
|
|
@@ -354,7 +443,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
354
443
|
everySeconds?: number;
|
|
355
444
|
/**
|
|
356
445
|
* @remarks
|
|
357
|
-
* The number of times
|
|
446
|
+
* The number of times the source IP address exceeds the rate limit within one statistical period.
|
|
358
447
|
*
|
|
359
448
|
* @example
|
|
360
449
|
* 5
|
|
@@ -362,12 +451,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
362
451
|
exceedLimitTimes?: number;
|
|
363
452
|
/**
|
|
364
453
|
* @remarks
|
|
365
|
-
* The
|
|
366
|
-
*
|
|
367
|
-
* * **3**: the PPS limit on source IP addresses.
|
|
368
|
-
* * **4**: the bandwidth limit on source IP addresses.
|
|
369
|
-
* * **5**: the PPS limit on source SYN packets.
|
|
370
|
-
* * **6**: the bandwidth limit on source SYN packets.
|
|
454
|
+
* The source rate limiting type. Valid values:
|
|
371
455
|
*
|
|
372
456
|
* @example
|
|
373
457
|
* 3
|
|
@@ -387,7 +471,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceBlockList exte
|
|
|
387
471
|
export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends $dara.Model {
|
|
388
472
|
/**
|
|
389
473
|
* @remarks
|
|
390
|
-
* The bandwidth
|
|
474
|
+
* The source bandwidth throttling value, in bytes per second.
|
|
391
475
|
*
|
|
392
476
|
* @example
|
|
393
477
|
* 2048
|
|
@@ -395,7 +479,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
395
479
|
bps?: number;
|
|
396
480
|
/**
|
|
397
481
|
* @remarks
|
|
398
|
-
* The
|
|
482
|
+
* The source PPS rate limit, in packets per second.
|
|
399
483
|
*
|
|
400
484
|
* @example
|
|
401
485
|
* 64
|
|
@@ -403,7 +487,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
403
487
|
pps?: number;
|
|
404
488
|
/**
|
|
405
489
|
* @remarks
|
|
406
|
-
* The
|
|
490
|
+
* The source SYN bandwidth throttling value, in bytes per second.
|
|
407
491
|
*
|
|
408
492
|
* @example
|
|
409
493
|
* 2048
|
|
@@ -411,7 +495,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
411
495
|
synBps?: number;
|
|
412
496
|
/**
|
|
413
497
|
* @remarks
|
|
414
|
-
* The PPS limit
|
|
498
|
+
* The source SYN PPS rate limit, in packets per second.
|
|
415
499
|
*
|
|
416
500
|
* @example
|
|
417
501
|
* 64
|
|
@@ -431,7 +515,7 @@ export declare class ListPolicyResponseBodyPolicyListContentSourceLimit extends
|
|
|
431
515
|
export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model {
|
|
432
516
|
/**
|
|
433
517
|
* @remarks
|
|
434
|
-
* The
|
|
518
|
+
* The expiration time of the IP blacklist (UNIX timestamp).
|
|
435
519
|
*
|
|
436
520
|
* @example
|
|
437
521
|
* 1716878000
|
|
@@ -439,7 +523,7 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
439
523
|
blackIpListExpireAt?: number;
|
|
440
524
|
/**
|
|
441
525
|
* @remarks
|
|
442
|
-
* Indicates whether ICMP
|
|
526
|
+
* Indicates whether ICMP Blocking is enabled.
|
|
443
527
|
*
|
|
444
528
|
* @example
|
|
445
529
|
* false
|
|
@@ -447,7 +531,7 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
447
531
|
enableDropIcmp?: boolean;
|
|
448
532
|
/**
|
|
449
533
|
* @remarks
|
|
450
|
-
* Indicates whether intelligent
|
|
534
|
+
* Indicates whether AI-based intelligent analysis is enabled.
|
|
451
535
|
*
|
|
452
536
|
* @example
|
|
453
537
|
* true
|
|
@@ -455,7 +539,7 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
455
539
|
enableIntelligence?: boolean;
|
|
456
540
|
/**
|
|
457
541
|
* @remarks
|
|
458
|
-
* Indicates whether port
|
|
542
|
+
* Indicates whether port protection is enabled.
|
|
459
543
|
*
|
|
460
544
|
* @example
|
|
461
545
|
* true
|
|
@@ -463,16 +547,12 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
463
547
|
enableL4Defense?: boolean;
|
|
464
548
|
/**
|
|
465
549
|
* @remarks
|
|
466
|
-
* The byte-match filter rules.
|
|
550
|
+
* The list of byte-match filter rules.
|
|
467
551
|
*/
|
|
468
552
|
fingerPrintRuleList?: ListPolicyResponseBodyPolicyListContentFingerPrintRuleList[];
|
|
469
553
|
/**
|
|
470
554
|
* @remarks
|
|
471
|
-
* The level of intelligent
|
|
472
|
-
*
|
|
473
|
-
* * **default**: normal.
|
|
474
|
-
* * **hard**: strict.
|
|
475
|
-
* * **weak**: loose.
|
|
555
|
+
* The protection level of AI-based intelligent analysis. Valid values:
|
|
476
556
|
*
|
|
477
557
|
* @example
|
|
478
558
|
* default
|
|
@@ -480,43 +560,55 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
480
560
|
intelligenceLevel?: string;
|
|
481
561
|
/**
|
|
482
562
|
* @remarks
|
|
483
|
-
* The port
|
|
563
|
+
* The list of port protection rules.
|
|
484
564
|
*/
|
|
485
565
|
l4RuleList?: ListPolicyResponseBodyPolicyListContentL4RuleList[];
|
|
486
566
|
/**
|
|
487
567
|
* @remarks
|
|
488
|
-
* The port blocking rules.
|
|
568
|
+
* The list of port blocking rules.
|
|
489
569
|
*/
|
|
490
570
|
portRuleList?: ListPolicyResponseBodyPolicyListContentPortRuleList[];
|
|
571
|
+
/**
|
|
572
|
+
* @remarks
|
|
573
|
+
* The version of the port-specific mitigation policies. Valid values:
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* 2
|
|
577
|
+
*/
|
|
491
578
|
portVersion?: string;
|
|
492
579
|
/**
|
|
493
580
|
* @remarks
|
|
494
|
-
* The
|
|
581
|
+
* The list of ports filtered by the reflection attack prevention feature.
|
|
495
582
|
*/
|
|
496
583
|
reflectBlockUdpPortList?: number[];
|
|
497
584
|
/**
|
|
498
585
|
* @remarks
|
|
499
|
-
* The countries
|
|
586
|
+
* The list of countries for the location blacklist.
|
|
500
587
|
*/
|
|
501
588
|
regionBlockCountryList?: number[];
|
|
502
589
|
/**
|
|
503
590
|
* @remarks
|
|
504
|
-
* The provinces
|
|
591
|
+
* The list of provinces for the location blacklist.
|
|
505
592
|
*/
|
|
506
593
|
regionBlockProvinceList?: number[];
|
|
507
594
|
/**
|
|
508
595
|
* @remarks
|
|
509
|
-
* The
|
|
596
|
+
* The SIP protection configuration.
|
|
597
|
+
*/
|
|
598
|
+
sipDefense?: ListPolicyResponseBodyPolicyListContentSipDefense;
|
|
599
|
+
/**
|
|
600
|
+
* @remarks
|
|
601
|
+
* The source rate limiting blacklist.
|
|
510
602
|
*/
|
|
511
603
|
sourceBlockList?: ListPolicyResponseBodyPolicyListContentSourceBlockList[];
|
|
512
604
|
/**
|
|
513
605
|
* @remarks
|
|
514
|
-
* The
|
|
606
|
+
* The source rate limiting configuration.
|
|
515
607
|
*/
|
|
516
608
|
sourceLimit?: ListPolicyResponseBodyPolicyListContentSourceLimit;
|
|
517
609
|
/**
|
|
518
610
|
* @remarks
|
|
519
|
-
* Indicates whether back-to-origin CIDR blocks of Anti-DDoS
|
|
611
|
+
* Indicates whether whitelisting of back-to-origin CIDR blocks of Anti-DDoS Pro and Anti-DDoS Premium (the Chinese mainland & outside the Chinese mainland) is enabled.
|
|
520
612
|
*
|
|
521
613
|
* @example
|
|
522
614
|
* false
|
|
@@ -536,7 +628,7 @@ export declare class ListPolicyResponseBodyPolicyListContent extends $dara.Model
|
|
|
536
628
|
export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
537
629
|
/**
|
|
538
630
|
* @remarks
|
|
539
|
-
* The number of protected objects
|
|
631
|
+
* The number of protected objects associated with the policy.
|
|
540
632
|
*
|
|
541
633
|
* @example
|
|
542
634
|
* 0
|
|
@@ -544,12 +636,12 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
544
636
|
attachedCount?: number;
|
|
545
637
|
/**
|
|
546
638
|
* @remarks
|
|
547
|
-
* The content
|
|
639
|
+
* The policy content.
|
|
548
640
|
*/
|
|
549
641
|
content?: ListPolicyResponseBodyPolicyListContent;
|
|
550
642
|
/**
|
|
551
643
|
* @remarks
|
|
552
|
-
* The ID
|
|
644
|
+
* The policy ID.
|
|
553
645
|
*
|
|
554
646
|
* @example
|
|
555
647
|
* 877afbdf-3982-4d36-9886-f043********
|
|
@@ -557,7 +649,7 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
557
649
|
id?: string;
|
|
558
650
|
/**
|
|
559
651
|
* @remarks
|
|
560
|
-
* The name
|
|
652
|
+
* The policy name.
|
|
561
653
|
*
|
|
562
654
|
* @example
|
|
563
655
|
* test**
|
|
@@ -565,7 +657,7 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
565
657
|
name?: string;
|
|
566
658
|
/**
|
|
567
659
|
* @remarks
|
|
568
|
-
* The remarks
|
|
660
|
+
* The policy remarks.
|
|
569
661
|
*
|
|
570
662
|
* @example
|
|
571
663
|
* test
|
|
@@ -573,11 +665,7 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
573
665
|
remark?: string;
|
|
574
666
|
/**
|
|
575
667
|
* @remarks
|
|
576
|
-
* The type
|
|
577
|
-
*
|
|
578
|
-
* * **default**: the default mitigation policy.
|
|
579
|
-
* * **l3**: IP-specific mitigation policies.
|
|
580
|
-
* * **l4**: port-specific mitigation policies.
|
|
668
|
+
* The policy type. Valid values:
|
|
581
669
|
*
|
|
582
670
|
* @example
|
|
583
671
|
* l3
|
|
@@ -597,12 +685,12 @@ export declare class ListPolicyResponseBodyPolicyList extends $dara.Model {
|
|
|
597
685
|
export declare class ListPolicyResponseBody extends $dara.Model {
|
|
598
686
|
/**
|
|
599
687
|
* @remarks
|
|
600
|
-
* The policies.
|
|
688
|
+
* The list of policies.
|
|
601
689
|
*/
|
|
602
690
|
policyList?: ListPolicyResponseBodyPolicyList[];
|
|
603
691
|
/**
|
|
604
692
|
* @remarks
|
|
605
|
-
* The request
|
|
693
|
+
* The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. It can be used to troubleshoot and locate issues.
|
|
606
694
|
*
|
|
607
695
|
* @example
|
|
608
696
|
* B4B379C2-9319-4C6B-B579-FE36831B09F4
|