@alicloud/ddosbgp20180720 3.1.1 → 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 (57) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +56 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AttachToPolicyRequest.d.ts +3 -2
  5. package/dist/models/AttachToPolicyRequest.js.map +1 -1
  6. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  7. package/dist/models/AttachToPolicyShrinkRequest.d.ts +2 -2
  8. package/dist/models/DescribeInstanceListRequest.d.ts +8 -6
  9. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  10. package/dist/models/DescribeInstanceListResponseBody.d.ts +13 -6
  11. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  12. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +9 -1
  13. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +2 -0
  14. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -1
  15. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +3 -3
  16. package/dist/models/ListPolicyAttachmentRequest.d.ts +3 -3
  17. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +14 -3
  18. package/dist/models/ListPolicyAttachmentResponseBody.js +2 -0
  19. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  20. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +3 -3
  21. package/dist/models/ListPolicyRequest.d.ts +17 -2
  22. package/dist/models/ListPolicyRequest.js.map +1 -1
  23. package/dist/models/ListPolicyResponseBody.d.ts +128 -22
  24. package/dist/models/ListPolicyResponseBody.js +8 -0
  25. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  26. package/dist/models/ModifyPolicyContentRequest.d.ts +119 -33
  27. package/dist/models/ModifyPolicyContentRequest.js +8 -0
  28. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  29. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  30. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +4 -0
  31. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  32. package/dist/models/ModifyPolicyRequest.d.ts +157 -34
  33. package/dist/models/ModifyPolicyRequest.js +8 -0
  34. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  35. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  36. package/dist/models/ModifyPolicyShrinkRequest.d.ts +28 -1
  37. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +57 -22
  40. package/src/models/AttachToPolicyRequest.ts +3 -2
  41. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  42. package/src/models/AttachToPolicyShrinkRequest.ts +2 -2
  43. package/src/models/DescribeInstanceListRequest.ts +8 -6
  44. package/src/models/DescribeInstanceListResponseBody.ts +13 -6
  45. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +11 -1
  46. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +3 -3
  47. package/src/models/ListPolicyAttachmentRequest.ts +3 -3
  48. package/src/models/ListPolicyAttachmentResponseBody.ts +16 -3
  49. package/src/models/ListPolicyAttachmentShrinkRequest.ts +3 -3
  50. package/src/models/ListPolicyRequest.ts +17 -2
  51. package/src/models/ListPolicyResponseBody.ts +136 -22
  52. package/src/models/ModifyPolicyContentRequest.ts +127 -33
  53. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  54. package/src/models/ModifyPolicyContentShrinkRequest.ts +4 -0
  55. package/src/models/ModifyPolicyRequest.ts +165 -34
  56. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  57. package/src/models/ModifyPolicyShrinkRequest.ts +28 -1
package/src/client.ts CHANGED
@@ -17,26 +17,57 @@ export default class Client extends OpenApi {
17
17
  'cn-beijing': "ddosbgp.aliyuncs.com",
18
18
  'cn-zhangjiakou': "ddosbgp.aliyuncs.com",
19
19
  'cn-huhehaote': "ddosbgp.aliyuncs.com",
20
+ 'cn-wulanchabu': "ddosbgp.aliyuncs.com",
20
21
  'cn-hangzhou': "ddosbgp.aliyuncs.com",
21
22
  'cn-shanghai': "ddosbgp.aliyuncs.com",
22
23
  'cn-shenzhen': "ddosbgp.aliyuncs.com",
23
- 'ap-northeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
24
- 'ap-south-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
25
- 'ap-southeast-2': "ddosbgp.ap-southeast-1.aliyuncs.com",
26
- 'ap-southeast-3': "ddosbgp.ap-southeast-1.aliyuncs.com",
27
- 'ap-southeast-5': "ddosbgp.ap-southeast-1.aliyuncs.com",
24
+ 'cn-heyuan': "ddosbgp.aliyuncs.com",
25
+ 'cn-guangzhou': "ddosbgp.aliyuncs.com",
28
26
  'cn-chengdu': "ddosbgp.aliyuncs.com",
29
- 'eu-central-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
30
- 'eu-west-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
31
- 'me-east-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
32
- 'cn-hangzhou-finance': "ddosbgp.aliyuncs.com",
27
+ 'ap-northeast-1': "ddosbgp.aliyuncs.com",
28
+ 'ap-southeast-2': "ddosbgp.aliyuncs.com",
29
+ 'ap-southeast-3': "ddosbgp.aliyuncs.com",
30
+ 'ap-southeast-5': "ddosbgp.aliyuncs.com",
31
+ 'eu-west-1': "ddosbgp.aliyuncs.com",
32
+ 'eu-central-1': "ddosbgp.aliyuncs.com",
33
+ 'ap-south-1': "ddosbgp.aliyuncs.com",
34
+ 'me-east-1': "ddosbgp.aliyuncs.com",
33
35
  'cn-shenzhen-finance-1': "ddosbgp.aliyuncs.com",
34
- 'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
36
+ 'ap-northeast-2-pop': "ddosbgp.aliyuncs.com",
37
+ 'cn-beijing-finance-1': "ddosbgp.aliyuncs.com",
38
+ 'cn-beijing-finance-pop': "ddosbgp.aliyuncs.com",
39
+ 'cn-beijing-gov-1': "ddosbgp.aliyuncs.com",
40
+ 'cn-beijing-nu16-b01': "ddosbgp.aliyuncs.com",
41
+ 'cn-edge-1': "ddosbgp.aliyuncs.com",
42
+ 'cn-fujian': "ddosbgp.aliyuncs.com",
43
+ 'cn-haidian-cm12-c01': "ddosbgp.aliyuncs.com",
44
+ 'cn-hangzhou-bj-b01': "ddosbgp.aliyuncs.com",
45
+ 'cn-hangzhou-finance': "ddosbgp.aliyuncs.com",
46
+ 'cn-hangzhou-internal-prod-1': "ddosbgp.aliyuncs.com",
47
+ 'cn-hangzhou-internal-test-1': "ddosbgp.aliyuncs.com",
48
+ 'cn-hangzhou-internal-test-2': "ddosbgp.aliyuncs.com",
49
+ 'cn-hangzhou-internal-test-3': "ddosbgp.aliyuncs.com",
50
+ 'cn-hangzhou-test-306': "ddosbgp.aliyuncs.com",
51
+ 'cn-hongkong-finance-pop': "ddosbgp.aliyuncs.com",
52
+ 'cn-huhehaote-nebula-1': "ddosbgp.aliyuncs.com",
35
53
  'cn-north-2-gov-1': "ddosbgp.aliyuncs.com",
36
- 'cn-hongkong': "ddosbgp.cn-hongkong.aliyuncs.com",
37
- 'ap-southeast-1': "ddosbgp.ap-southeast-1.aliyuncs.com",
38
- 'us-west-1': "ddosbgp.us-west-1.aliyuncs.com",
39
- 'us-east-1': "ddosbgp.us-east-1.aliyuncs.com",
54
+ 'cn-qingdao-nebula': "ddosbgp.aliyuncs.com",
55
+ 'cn-shanghai-et15-b01': "ddosbgp.aliyuncs.com",
56
+ 'cn-shanghai-et2-b01': "ddosbgp.aliyuncs.com",
57
+ 'cn-shanghai-finance-1': "ddosbgp.aliyuncs.com",
58
+ 'cn-shanghai-inner': "ddosbgp.aliyuncs.com",
59
+ 'cn-shanghai-internal-test-1': "ddosbgp.aliyuncs.com",
60
+ 'cn-shenzhen-inner': "ddosbgp.aliyuncs.com",
61
+ 'cn-shenzhen-st4-d01': "ddosbgp.aliyuncs.com",
62
+ 'cn-shenzhen-su18-b01': "ddosbgp.aliyuncs.com",
63
+ 'cn-wuhan': "ddosbgp.aliyuncs.com",
64
+ 'cn-yushanfang': "ddosbgp.aliyuncs.com",
65
+ 'cn-zhangbei': "ddosbgp.aliyuncs.com",
66
+ 'cn-zhangbei-na61-b01': "ddosbgp.aliyuncs.com",
67
+ 'cn-zhangjiakou-na62-a01': "ddosbgp.aliyuncs.com",
68
+ 'cn-zhengzhou-nebula-1': "ddosbgp.aliyuncs.com",
69
+ 'eu-west-1-oxs': "ddosbgp.aliyuncs.com",
70
+ 'rus-west-1-pop': "ddosbgp.aliyuncs.com",
40
71
  };
41
72
  this.checkConfig(config);
42
73
  this._endpoint = this.getEndpoint("ddosbgp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -969,7 +1000,7 @@ export default class Client extends OpenApi {
969
1000
  * @remarks
970
1001
  * This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
971
1002
  * ### QPS limit
972
- * You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
1003
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
973
1004
  *
974
1005
  * @param request - DescribeInstanceListRequest
975
1006
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1053,7 +1084,7 @@ export default class Client extends OpenApi {
1053
1084
  * @remarks
1054
1085
  * This operation is used to query the details of all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by paging, such as instance IDs, validity periods, and statuses.
1055
1086
  * ### QPS limit
1056
- * You can invoke this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. This may affect your business. Invoke this operation within the limit.
1087
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
1057
1088
  *
1058
1089
  * @param request - DescribeInstanceListRequest
1059
1090
  * @returns DescribeInstanceListResponse
@@ -1117,9 +1148,9 @@ export default class Client extends OpenApi {
1117
1148
  * Queries the network-layer interception records of Anti-DDoS Origin instances.
1118
1149
  *
1119
1150
  * @remarks
1120
- * This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
1151
+ * This operation is used to query the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by using paging.
1121
1152
  * ### QPS limit
1122
- * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1153
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1123
1154
  *
1124
1155
  * @param request - DescribeNetworkLayerInterceptsRequest
1125
1156
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1144,6 +1175,10 @@ export default class Client extends OpenApi {
1144
1175
  query["InstanceId"] = request.instanceId;
1145
1176
  }
1146
1177
 
1178
+ if (!$dara.isNull(request.interceptModule)) {
1179
+ query["InterceptModule"] = request.interceptModule;
1180
+ }
1181
+
1147
1182
  if (!$dara.isNull(request.networkProtocol)) {
1148
1183
  query["NetworkProtocol"] = request.networkProtocol;
1149
1184
  }
@@ -1193,9 +1228,9 @@ export default class Client extends OpenApi {
1193
1228
  * Queries the network-layer interception records of Anti-DDoS Origin instances.
1194
1229
  *
1195
1230
  * @remarks
1196
- * This operation is used to perform a paged query of the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account. Paging is supported.
1231
+ * This operation is used to query the details of Layer 3 and Layer 4 packet interception records for all Anti-DDoS Origin instances owned by the current Alibaba Cloud account by using paging.
1197
1232
  * ### QPS limit
1198
- * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API invokes are throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1233
+ * The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation at an appropriate frequency.
1199
1234
  *
1200
1235
  * @param request - DescribeNetworkLayerInterceptsRequest
1201
1236
  * @returns DescribeNetworkLayerInterceptsResponse
@@ -2124,7 +2159,7 @@ export default class Client extends OpenApi {
2124
2159
  * Modifies the content of a mitigation policy.
2125
2160
  *
2126
2161
  * @remarks
2127
- * Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
2162
+ * Ensure that all parameters are specified when you call this operation. If a parameter is not specified, the corresponding configuration is deleted.
2128
2163
  *
2129
2164
  * @param tmpReq - ModifyPolicyContentRequest
2130
2165
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2176,7 +2211,7 @@ export default class Client extends OpenApi {
2176
2211
  * Modifies the content of a mitigation policy.
2177
2212
  *
2178
2213
  * @remarks
2179
- * Make sure that you pass all parameters when you call this operation. If a parameter is left empty, the corresponding configuration is deleted.
2214
+ * Ensure that all parameters are specified when you call this operation. If a parameter is not specified, the corresponding configuration is deleted.
2180
2215
  *
2181
2216
  * @param request - ModifyPolicyContentRequest
2182
2217
  * @returns ModifyPolicyContentResponse
@@ -6,6 +6,7 @@ export class AttachToPolicyRequestIpPortProtocolList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The IP address of the protection object.
9
+ * > Prerequisite: The IP address must be added to the Anti-DDoS Origin instance by calling the AddIp operation in advance, and you must call the DescribeInstanceList operation to verify that the IP address has been added to the Anti-DDoS Origin instance.
9
10
  *
10
11
  * This parameter is required.
11
12
  *
@@ -92,8 +93,8 @@ export class AttachToPolicyRequest extends $dara.Model {
92
93
  * @remarks
93
94
  * The version of the port-specific mitigation policy. Valid values:
94
95
  *
95
- * - **Not specified**: Associates the default surf anti-DDoS engine policy.
96
- * - **2**: Associates the new stream anti-DDoS engine policy.
96
+ * - **Not specified**: Binds the default surf protection engine policy.
97
+ * - **2**: Binds the new stream protection engine policy.
97
98
  * > Only port-specific mitigation policies support this parameter.
98
99
  *
99
100
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AttachToPolicyResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues.
8
+ * The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * DC245DEE-9800-5579-BF99-189D6A5****
@@ -24,8 +24,8 @@ export class AttachToPolicyShrinkRequest extends $dara.Model {
24
24
  * @remarks
25
25
  * The version of the port-specific mitigation policy. Valid values:
26
26
  *
27
- * - **Not specified**: Associates the default surf anti-DDoS engine policy.
28
- * - **2**: Associates the new stream anti-DDoS engine policy.
27
+ * - **Not specified**: Binds the default surf protection engine policy.
28
+ * - **2**: Binds the new stream protection engine policy.
29
29
  * > Only port-specific mitigation policies support this parameter.
30
30
  *
31
31
  * @example
@@ -69,7 +69,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
69
69
  instanceTypeList?: string[];
70
70
  /**
71
71
  * @remarks
72
- * The IP address of the protected object for the Anti-DDoS Origin instance to query.
72
+ * The protected IP address of the Anti-DDoS Origin instance to query.
73
73
  *
74
74
  * @example
75
75
  * 47.89.XX.XX
@@ -88,7 +88,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
88
88
  ipVersion?: string;
89
89
  /**
90
90
  * @remarks
91
- * The field used to sort the Anti-DDoS Origin instance list. The value is fixed as **expireTime**, which indicates that instances are sorted by expiration time.
91
+ * The sort field for the Anti-DDoS Origin instance list. The value is fixed as **expireTime**, which indicates sorting by instance expiration time.
92
92
  *
93
93
  * You can use the **Orderdire** parameter to specify the sort order.
94
94
  *
@@ -109,7 +109,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
109
109
  orderdire?: string;
110
110
  /**
111
111
  * @remarks
112
- * The number of the page to return when paging is used.
112
+ * The page number of the current page in a paging query. Settings the current page number.
113
113
  *
114
114
  * This parameter is required.
115
115
  *
@@ -119,7 +119,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
119
119
  pageNo?: number;
120
120
  /**
121
121
  * @remarks
122
- * The number of instances on each page when paging is used.
122
+ * The number of instances on each page in a paging query. Settings the number of instances per page.
123
123
  *
124
124
  * This parameter is required.
125
125
  *
@@ -132,6 +132,8 @@ export class DescribeInstanceListRequest extends $dara.Model {
132
132
  * The region ID of the Anti-DDoS Origin instance to query.
133
133
  *
134
134
  * > You can call [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) to query all region IDs supported by Anti-DDoS Origin.
135
+ * >-
136
+ * >Notice: This parameter is required. If it is not specified, the API returns DDosBgp.CheckError.InvalidRegion(400).</notice>
135
137
  *
136
138
  * @example
137
139
  * cn-hangzhou
@@ -149,7 +151,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
149
151
  * @remarks
150
152
  * The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
151
153
  *
152
- * If you do not specify this parameter, the instance belongs to the default resource group.
154
+ * If you do not specify this parameter, the default resource group is used.
153
155
  *
154
156
  * @example
155
157
  * rg-acfm2pz25js****
@@ -157,7 +159,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
157
159
  resourceGroupId?: string;
158
160
  /**
159
161
  * @remarks
160
- * The tags bound to the Anti-DDoS Origin instance to query.
162
+ * The tags bound to the Anti-DDoS Origin instances to query.
161
163
  */
162
164
  tag?: DescribeInstanceListRequestTag[];
163
165
  static names(): { [key: string]: string } {
@@ -51,7 +51,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
51
51
  autoRenewal?: boolean;
52
52
  /**
53
53
  * @remarks
54
- * The number of assets that are assigned public IP addresses protected by the instance that are in blackhole filtering status.
54
+ * The number of IP addresses that are in blackhole filtering status among the assets that are assigned public IP addresses protected by the instance.
55
55
  *
56
56
  * > You can invoke [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) to deactivate blackhole filtering for a single protected IP address.
57
57
  *
@@ -74,10 +74,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
74
74
  * @remarks
75
75
  * The asset overwrite type of the instance.
76
76
  *
77
- * - **1**: Supports assets that are assigned public IP addresses in multiple regions worldwide.
77
+ * - **1**: Supports assets that are assigned public IP addresses in multiple regions globally.
78
78
  * - **2**: Supports assets that are assigned public IP addresses in multiple regions in the Chinese mainland.
79
79
  * - **3**: Supports assets that are assigned public IP addresses in multiple regions outside the Chinese mainland.
80
- * - **4**: Supports assets that are assigned public IP addresses in a single region worldwide.
80
+ * - **4**: Supports assets that are assigned public IP addresses in a single region globally.
81
81
  *
82
82
  * @example
83
83
  * 1
@@ -96,7 +96,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
96
96
  debtStatus?: number;
97
97
  /**
98
98
  * @remarks
99
- * The expiration time of the instance. The value is a timestamp. Unit: milliseconds.
99
+ * The expiration time of the instance. The value is a UNIX timestamp. Unit: milliseconds.
100
100
  *
101
101
  * @example
102
102
  * 1640275200000
@@ -104,7 +104,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
104
104
  expireTime?: number;
105
105
  /**
106
106
  * @remarks
107
- * The purchase time of the instance. The value is a timestamp. Unit: milliseconds.
107
+ * The purchase time of the instance. The value is a UNIX timestamp. Unit: milliseconds.
108
108
  *
109
109
  * @example
110
110
  * 1592886047000
@@ -140,6 +140,13 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
140
140
  * IPv4
141
141
  */
142
142
  ipType?: string;
143
+ /**
144
+ * @remarks
145
+ * The full logs property.
146
+ *
147
+ * @example
148
+ * {\\"mitigationAnalysis\\":\\"on\\",\\"mitigationAnalysisCapacity\\":1,\\"ttl\\":180}
149
+ */
143
150
  logExt?: string;
144
151
  /**
145
152
  * @remarks
@@ -244,7 +251,7 @@ export class DescribeInstanceListResponseBody extends $dara.Model {
244
251
  instanceList?: DescribeInstanceListResponseBodyInstanceList[];
245
252
  /**
246
253
  * @remarks
247
- * The request ID.
254
+ * The ID of the request.
248
255
  *
249
256
  * @example
250
257
  * 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4
@@ -39,6 +39,14 @@ export class DescribeNetworkLayerInterceptsRequest extends $dara.Model {
39
39
  * ddosbgp-cn-z2q1qzxb****
40
40
  */
41
41
  instanceId?: string;
42
+ /**
43
+ * @remarks
44
+ * The interception module.
45
+ *
46
+ * @example
47
+ * src
48
+ */
49
+ interceptModule?: string;
42
50
  /**
43
51
  * @remarks
44
52
  * The network protocol.
@@ -57,7 +65,7 @@ export class DescribeNetworkLayerInterceptsRequest extends $dara.Model {
57
65
  page?: number;
58
66
  /**
59
67
  * @remarks
60
- * Settings for the number of interception logs to return on each page when you perform a paged query. Paging is used to return results.
68
+ * The number of interception log entries per page in a paged query.
61
69
  *
62
70
  * @example
63
71
  * 10
@@ -103,6 +111,7 @@ export class DescribeNetworkLayerInterceptsRequest extends $dara.Model {
103
111
  destinationPort: 'DestinationPort',
104
112
  endTime: 'EndTime',
105
113
  instanceId: 'InstanceId',
114
+ interceptModule: 'InterceptModule',
106
115
  networkProtocol: 'NetworkProtocol',
107
116
  page: 'Page',
108
117
  pageSize: 'PageSize',
@@ -119,6 +128,7 @@ export class DescribeNetworkLayerInterceptsRequest extends $dara.Model {
119
128
  destinationPort: 'number',
120
129
  endTime: 'number',
121
130
  instanceId: 'string',
131
+ interceptModule: 'string',
122
132
  networkProtocol: 'string',
123
133
  page: 'number',
124
134
  pageSize: 'number',
@@ -37,7 +37,7 @@ export class DescribeNetworkLayerInterceptsResponseBodyInterceptionRecords exten
37
37
  interceptCount?: number;
38
38
  /**
39
39
  * @remarks
40
- * The end time of the interception.
40
+ * The interception end time.
41
41
  * > The value is a Unix/POSIX timestamp. Unit: seconds.
42
42
  *
43
43
  * @example
@@ -54,7 +54,7 @@ export class DescribeNetworkLayerInterceptsResponseBodyInterceptionRecords exten
54
54
  interceptModule?: string;
55
55
  /**
56
56
  * @remarks
57
- * The start time of the interception.
57
+ * The interception start time.
58
58
  * > The value is a Unix/POSIX timestamp. Unit: seconds.
59
59
  *
60
60
  * @example
@@ -158,7 +158,7 @@ export class DescribeNetworkLayerInterceptsResponseBody extends $dara.Model {
158
158
  requestId?: string;
159
159
  /**
160
160
  * @remarks
161
- * The total number of interception logs that match the current filter conditions.
161
+ * The total number of interception log entries that match the current filter conditions.
162
162
  *
163
163
  * @example
164
164
  * 17
@@ -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
@@ -13,7 +13,7 @@ export class ListPolicyRequest extends $dara.Model {
13
13
  name?: string;
14
14
  /**
15
15
  * @remarks
16
- * Settings the page number of the current page in a paged query.
16
+ * The page number of the current page in a paging query.
17
17
  *
18
18
  * @example
19
19
  * 1
@@ -21,7 +21,7 @@ export class ListPolicyRequest extends $dara.Model {
21
21
  pageNo?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of entries per page in a paged query. Default value: **10**.
24
+ * The number of entries per page in a paging query. Default value: **10**.
25
25
  *
26
26
  * @example
27
27
  * 10
@@ -30,6 +30,15 @@ export class ListPolicyRequest extends $dara.Model {
30
30
  /**
31
31
  * @remarks
32
32
  * The applicable product type. Valid values:
33
+ * - **ecs**: queries the default policy applicable to ECS.
34
+ *
35
+ * - **slb**: queries the default policy applicable to SLB.
36
+ *
37
+ * - **eip**: queries the default policy applicable to EIP.
38
+ *
39
+ * - **gf-eip**: queries the default policy applicable to elastic IP addresses (EIPs) with Anti-DDoS Proxy Enabled.
40
+ *
41
+ * > This parameter takes effect only when the policy type is `default`.
33
42
  *
34
43
  * @example
35
44
  * ecs
@@ -39,6 +48,12 @@ export class ListPolicyRequest extends $dara.Model {
39
48
  * @remarks
40
49
  * The policy type. Valid values:
41
50
  *
51
+ * - **default**: the default mitigation policy.
52
+ *
53
+ * - **l3**: the IP-specific mitigation policy.
54
+ *
55
+ * - **l4**: the port-specific mitigation policy.
56
+ *
42
57
  * @example
43
58
  * l3
44
59
  */