@alicloud/ddosbgp20180720 3.0.0 → 3.1.1

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 (162) hide show
  1. package/dist/client.d.ts +97 -57
  2. package/dist/client.js +155 -57
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddIpRequest.d.ts +11 -10
  5. package/dist/models/AddIpRequest.js.map +1 -1
  6. package/dist/models/AddIpResponseBody.d.ts +1 -1
  7. package/dist/models/AttachAssetGroupToInstanceRequest.d.ts +2 -2
  8. package/dist/models/AttachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  9. package/dist/models/AttachToPolicyRequest.d.ts +27 -10
  10. package/dist/models/AttachToPolicyRequest.js.map +1 -1
  11. package/dist/models/AttachToPolicyResponseBody.d.ts +1 -1
  12. package/dist/models/AttachToPolicyShrinkRequest.d.ts +12 -1
  13. package/dist/models/AttachToPolicyShrinkRequest.js.map +1 -1
  14. package/dist/models/CheckAccessLogAuthRequest.d.ts +2 -2
  15. package/dist/models/CheckAccessLogAuthResponseBody.d.ts +4 -5
  16. package/dist/models/CheckAccessLogAuthResponseBody.js.map +1 -1
  17. package/dist/models/CheckGrantRequest.d.ts +4 -3
  18. package/dist/models/CheckGrantRequest.js.map +1 -1
  19. package/dist/models/CheckGrantResponseBody.d.ts +3 -2
  20. package/dist/models/CheckGrantResponseBody.js.map +1 -1
  21. package/dist/models/CreatePolicyRequest.d.ts +15 -5
  22. package/dist/models/CreatePolicyRequest.js.map +1 -1
  23. package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
  24. package/dist/models/DeleteIpRequest.d.ts +8 -10
  25. package/dist/models/DeleteIpRequest.js.map +1 -1
  26. package/dist/models/DeleteIpResponseBody.d.ts +1 -1
  27. package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
  28. package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
  29. package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
  30. package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
  31. package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
  32. package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
  33. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
  34. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
  35. package/dist/models/DescribeInstanceListRequest.d.ts +28 -29
  36. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  37. package/dist/models/DescribeInstanceListResponseBody.d.ts +46 -42
  38. package/dist/models/DescribeInstanceListResponseBody.js +2 -0
  39. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  40. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
  41. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
  42. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
  43. package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
  44. package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
  45. package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
  46. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
  47. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
  48. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
  49. package/dist/models/DescribePackIpListRequest.d.ts +14 -11
  50. package/dist/models/DescribePackIpListRequest.js.map +1 -1
  51. package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
  52. package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
  53. package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
  54. package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
  55. package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
  56. package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
  57. package/dist/models/DescribeRegionsRequest.d.ts +4 -4
  58. package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
  59. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  60. package/dist/models/DescribeTrafficRequest.d.ts +16 -21
  61. package/dist/models/DescribeTrafficRequest.js.map +1 -1
  62. package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
  63. package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
  64. package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
  65. package/dist/models/DetachFromPolicyRequest.js.map +1 -1
  66. package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
  67. package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
  68. package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
  69. package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
  70. package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
  71. package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  72. package/dist/models/GetSlsOpenStatusRequest.d.ts +1 -1
  73. package/dist/models/GetSlsOpenStatusResponseBody.d.ts +4 -4
  74. package/dist/models/ListOpenedAccessLogInstancesRequest.d.ts +3 -3
  75. package/dist/models/ListOpenedAccessLogInstancesResponseBody.d.ts +7 -7
  76. package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
  77. package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
  78. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
  79. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  80. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
  81. package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
  82. package/dist/models/ListPolicyRequest.d.ts +5 -16
  83. package/dist/models/ListPolicyRequest.js.map +1 -1
  84. package/dist/models/ListPolicyResponseBody.d.ts +182 -94
  85. package/dist/models/ListPolicyResponseBody.js +41 -1
  86. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  87. package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
  88. package/dist/models/ModifyPolicyContentRequest.js +41 -1
  89. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  90. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  91. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
  92. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  93. package/dist/models/ModifyPolicyRequest.d.ts +181 -118
  94. package/dist/models/ModifyPolicyRequest.js +41 -1
  95. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  96. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  97. package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
  98. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  99. package/dist/models/ModifyRemarkRequest.d.ts +5 -7
  100. package/dist/models/ModifyRemarkRequest.js.map +1 -1
  101. package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
  102. package/dist/models/model.d.ts +7 -0
  103. package/dist/models/model.js +34 -20
  104. package/dist/models/model.js.map +1 -1
  105. package/package.json +2 -2
  106. package/src/client.ts +168 -57
  107. package/src/models/AddIpRequest.ts +11 -10
  108. package/src/models/AddIpResponseBody.ts +1 -1
  109. package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
  110. package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
  111. package/src/models/AttachToPolicyRequest.ts +27 -10
  112. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  113. package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
  114. package/src/models/CheckAccessLogAuthRequest.ts +2 -2
  115. package/src/models/CheckAccessLogAuthResponseBody.ts +4 -5
  116. package/src/models/CheckGrantRequest.ts +4 -3
  117. package/src/models/CheckGrantResponseBody.ts +3 -2
  118. package/src/models/CreatePolicyRequest.ts +15 -5
  119. package/src/models/CreatePolicyResponseBody.ts +2 -2
  120. package/src/models/DeleteIpRequest.ts +8 -10
  121. package/src/models/DeleteIpResponseBody.ts +1 -1
  122. package/src/models/DescribeAssetGroupRequest.ts +4 -3
  123. package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
  124. package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
  125. package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
  126. package/src/models/DescribeInstanceListRequest.ts +28 -29
  127. package/src/models/DescribeInstanceListResponseBody.ts +48 -42
  128. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
  129. package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
  130. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
  131. package/src/models/DescribePackIpListRequest.ts +14 -11
  132. package/src/models/DescribePackIpListResponseBody.ts +28 -22
  133. package/src/models/DescribeRdMemberListRequest.ts +1 -1
  134. package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
  135. package/src/models/DescribeRdStatusResponseBody.ts +5 -3
  136. package/src/models/DescribeRegionsRequest.ts +4 -4
  137. package/src/models/DescribeRegionsResponseBody.ts +5 -6
  138. package/src/models/DescribeTrafficRequest.ts +16 -21
  139. package/src/models/DescribeTrafficResponseBody.ts +11 -12
  140. package/src/models/DetachFromPolicyRequest.ts +26 -8
  141. package/src/models/DetachFromPolicyResponseBody.ts +1 -1
  142. package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
  143. package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
  144. package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
  145. package/src/models/GetSlsOpenStatusRequest.ts +1 -1
  146. package/src/models/GetSlsOpenStatusResponseBody.ts +4 -4
  147. package/src/models/ListOpenedAccessLogInstancesRequest.ts +3 -3
  148. package/src/models/ListOpenedAccessLogInstancesResponseBody.ts +7 -7
  149. package/src/models/ListPolicyAttachmentRequest.ts +27 -11
  150. package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
  151. package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
  152. package/src/models/ListPolicyRequest.ts +5 -16
  153. package/src/models/ListPolicyResponseBody.ts +213 -94
  154. package/src/models/ModifyPolicyContentRequest.ts +207 -90
  155. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  156. package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
  157. package/src/models/ModifyPolicyRequest.ts +212 -118
  158. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  159. package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
  160. package/src/models/ModifyRemarkRequest.ts +5 -7
  161. package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
  162. package/src/models/model.ts +7 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Events which result in auto binding.
8
+ * The events on which automatic binding is based.
9
9
  */
10
10
  events?: string[];
11
11
  static names(): { [key: string]: string } {
@@ -35,16 +35,15 @@ export class DescribeInstanceListResponseBodyInstanceListAutoProtectCondition ex
35
35
  export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The event that triggers automatic association. Valid values:
39
- *
40
- * * **any**: The instance is automatically associated with an object based on traffic scrubbing events or blackhole filtering events.
41
- * * **clean**: The instance is automatically associated with an object based on traffic scrubbing events.
42
- * * **blackhole**: The instance is automatically associated with an object based on blackhole filtering events.
38
+ * The automatic binding condition.
43
39
  */
44
40
  autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
45
41
  /**
46
42
  * @remarks
47
- * The time when the instance expires. The value is a UNIX timestamp. Unit: milliseconds.
43
+ * Indicates whether auto-renewal is enabled for the instance. Valid values:
44
+ *
45
+ * - **true**: Enabled.
46
+ * - **false**: Disabled.
48
47
  *
49
48
  * @example
50
49
  * false
@@ -52,10 +51,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
52
51
  autoRenewal?: boolean;
53
52
  /**
54
53
  * @remarks
55
- * The type of the instance.
54
+ * The number of assets that are assigned public IP addresses protected by the instance that are in blackhole filtering status.
56
55
  *
57
- * * **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
58
- * * **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
56
+ * > You can invoke [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) to deactivate blackhole filtering for a single protected IP address.
59
57
  *
60
58
  * @example
61
59
  * 0
@@ -63,7 +61,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
63
61
  blackholdingCount?: string;
64
62
  /**
65
63
  * @remarks
66
- * The condition that triggers automatic association of the instance with an object.
64
+ * The commodity type of the instance.
65
+ *
66
+ * - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) China site.
67
+ * - **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) International site.
67
68
  *
68
69
  * @example
69
70
  * ddos_ddosorigin_public_cn
@@ -71,10 +72,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
71
72
  commodityType?: string;
72
73
  /**
73
74
  * @remarks
74
- * Indicates whether overdue payments exist. Valid values:
75
+ * The asset overwrite type of the instance.
75
76
  *
76
- * * **0**: Overdue payments do not exist.
77
- * * **1**: Overdue payments exist.
77
+ * - **1**: Supports assets that are assigned public IP addresses in multiple regions worldwide.
78
+ * - **2**: Supports assets that are assigned public IP addresses in multiple regions in the Chinese mainland.
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.
78
81
  *
79
82
  * @example
80
83
  * 1
@@ -82,7 +85,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
82
85
  coverageType?: number;
83
86
  /**
84
87
  * @remarks
85
- * The events that trigger automatic association.
88
+ * The overdue payment status. Valid values:
89
+ *
90
+ * - **0**: No overdue payment.
91
+ * - **1**: Overdue payment.
86
92
  *
87
93
  * @example
88
94
  * 0
@@ -90,7 +96,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
90
96
  debtStatus?: number;
91
97
  /**
92
98
  * @remarks
93
- * The time when the instance was purchased. The value is a UNIX timestamp. Unit: milliseconds.
99
+ * The expiration time of the instance. The value is a timestamp. Unit: milliseconds.
94
100
  *
95
101
  * @example
96
102
  * 1640275200000
@@ -98,10 +104,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
98
104
  expireTime?: number;
99
105
  /**
100
106
  * @remarks
101
- * The mitigation plan of the instance. Valid values:
102
- *
103
- * * **0**: the Professional mitigation plan
104
- * * **1**: the Enterprise mitigation plan
107
+ * The purchase time of the instance. The value is a timestamp. Unit: milliseconds.
105
108
  *
106
109
  * @example
107
110
  * 1592886047000
@@ -109,9 +112,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
109
112
  gmtCreate?: number;
110
113
  /**
111
114
  * @remarks
112
- * The number of protected public IP addresses for which blackhole filtering is triggered.
113
- *
114
- * > You can call the [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) operation to deactivate blackhole filtering for a protected IP address.
115
+ * The instance ID.
115
116
  *
116
117
  * @example
117
118
  * ddosbgp-cn-oew1pjrk****
@@ -119,12 +120,10 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
119
120
  instanceId?: string;
120
121
  /**
121
122
  * @remarks
122
- * The application scope of the instance.
123
+ * The mitigation plan type of the instance. Valid values:
123
124
  *
124
- * * **1**: The instance supports public IP addresses in all regions.
125
- * * **2**: The instance supports public IP addresses in regions in the Chinese mainland.
126
- * * **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
127
- * * **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
125
+ * - **0**: Professional.
126
+ * - **1**: Enterprise.
128
127
  *
129
128
  * @example
130
129
  * 1
@@ -132,15 +131,24 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
132
131
  instanceType?: string;
133
132
  /**
134
133
  * @remarks
135
- * The description of the instance.
134
+ * The protocol type of the IP assets protected by the instance. Valid values:
135
+ *
136
+ * - **IPv4**: IPv4 protocol.
137
+ * - **IPv6**: IPv6 protocol.
136
138
  *
137
139
  * @example
138
140
  * IPv4
139
141
  */
140
142
  ipType?: string;
143
+ logExt?: string;
141
144
  /**
142
145
  * @remarks
143
- * The ID of the instance.
146
+ * The type of the cloud service associated with the instance. This parameter is not returned by default. It is returned only when the Anti-DDoS Origin instance is created by another cloud service, with the corresponding cloud service code.
147
+ *
148
+ * Valid values:
149
+ *
150
+ * - **gamebox**: The Anti-DDoS Origin instance is created by Game Security Box.
151
+ * - **eip**: The Anti-DDoS Origin instance is created by an EIP with Anti-DDoS (Enhanced) enabled.
144
152
  *
145
153
  * @example
146
154
  * gamebox
@@ -148,12 +156,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
148
156
  product?: string;
149
157
  /**
150
158
  * @remarks
151
- * The type of the cloud service that is associated with the Anti-DDoS Origin instance By default, this parameter is not returned. If the Anti-DDoS Origin instance is created by using a different cloud service, the code of the cloud service is returned.
152
- *
153
- * Valid values:
154
- *
155
- * * **gamebox**: The Anti-DDoS Origin instance is created by using Game Security Box.
156
- * * **eip**: The Anti-DDoS Origin instance is created by using an elastic IP address (EIP) for which Anti-DDoS (Enhanced Edition) is enabled.
159
+ * The remark of the instance.
157
160
  *
158
161
  * @example
159
162
  * test
@@ -169,10 +172,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
169
172
  resourceGroupId?: string;
170
173
  /**
171
174
  * @remarks
172
- * Indicates whether auto-renewal is enabled for the instance. Valid values:
175
+ * The status of the instance. Valid values:
173
176
  *
174
- * * **true**
175
- * * **false**
177
+ * - **1**: Normal.
178
+ * - **2**: Expired.
179
+ * - **3**: Released.
176
180
  *
177
181
  * @example
178
182
  * 1
@@ -191,6 +195,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
191
195
  instanceId: 'InstanceId',
192
196
  instanceType: 'InstanceType',
193
197
  ipType: 'IpType',
198
+ logExt: 'LogExt',
194
199
  product: 'Product',
195
200
  remark: 'Remark',
196
201
  resourceGroupId: 'ResourceGroupId',
@@ -211,6 +216,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
211
216
  instanceId: 'string',
212
217
  instanceType: 'string',
213
218
  ipType: 'string',
219
+ logExt: 'string',
214
220
  product: 'string',
215
221
  remark: 'string',
216
222
  resourceGroupId: 'string',
@@ -233,12 +239,12 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
233
239
  export class DescribeInstanceListResponseBody extends $dara.Model {
234
240
  /**
235
241
  * @remarks
236
- * The details about the Anti-DDoS Origin instances.
242
+ * The details of the Anti-DDoS Origin instances.
237
243
  */
238
244
  instanceList?: DescribeInstanceListResponseBodyInstanceList[];
239
245
  /**
240
246
  * @remarks
241
- * The details about the Anti-DDoS Origin instance.
247
+ * The request ID.
242
248
  *
243
249
  * @example
244
250
  * 381D5D33-BB8F-395F-8EE4-AE3BB4B523C4
@@ -246,7 +252,7 @@ export class DescribeInstanceListResponseBody extends $dara.Model {
246
252
  requestId?: string;
247
253
  /**
248
254
  * @remarks
249
- * The details about the Anti-DDoS Origin instances.
255
+ * The total number of Anti-DDoS Origin instances returned.
250
256
  *
251
257
  * @example
252
258
  * 1
@@ -0,0 +1,140 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeNetworkLayerInterceptsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The destination IP address.
9
+ *
10
+ * @example
11
+ * 47.118.170.18
12
+ */
13
+ destinationIp?: string;
14
+ /**
15
+ * @remarks
16
+ * The destination port.
17
+ *
18
+ * @example
19
+ * 8080
20
+ */
21
+ destinationPort?: number;
22
+ /**
23
+ * @remarks
24
+ * The end time of the DDoS attack event to query. The value is a UNIX timestamp. Unit: seconds.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 1563445054
30
+ */
31
+ endTime?: number;
32
+ /**
33
+ * @remarks
34
+ * The instance ID of the Anti-DDoS Origin instance to query.
35
+ *
36
+ * This parameter is required.
37
+ *
38
+ * @example
39
+ * ddosbgp-cn-z2q1qzxb****
40
+ */
41
+ instanceId?: string;
42
+ /**
43
+ * @remarks
44
+ * The network protocol.
45
+ *
46
+ * @example
47
+ * tcp
48
+ */
49
+ networkProtocol?: string;
50
+ /**
51
+ * @remarks
52
+ * The page number.
53
+ *
54
+ * @example
55
+ * 1
56
+ */
57
+ page?: number;
58
+ /**
59
+ * @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.
61
+ *
62
+ * @example
63
+ * 10
64
+ */
65
+ pageSize?: number;
66
+ /**
67
+ * @remarks
68
+ * The network protocol number. This is a standard network protocol number.
69
+ *
70
+ * @example
71
+ * 6
72
+ */
73
+ protocolNumber?: number;
74
+ /**
75
+ * @remarks
76
+ * The source port.
77
+ *
78
+ * @example
79
+ * 5432
80
+ */
81
+ sourcePort?: number;
82
+ /**
83
+ * @remarks
84
+ * The source IP address.
85
+ *
86
+ * @example
87
+ * 37.60.241.154
88
+ */
89
+ srcIp?: string;
90
+ /**
91
+ * @remarks
92
+ * The start time of the DDoS attack event to query. The value is a UNIX timestamp. Unit: seconds.
93
+ *
94
+ * This parameter is required.
95
+ *
96
+ * @example
97
+ * 1557305044
98
+ */
99
+ startTime?: number;
100
+ static names(): { [key: string]: string } {
101
+ return {
102
+ destinationIp: 'DestinationIp',
103
+ destinationPort: 'DestinationPort',
104
+ endTime: 'EndTime',
105
+ instanceId: 'InstanceId',
106
+ networkProtocol: 'NetworkProtocol',
107
+ page: 'Page',
108
+ pageSize: 'PageSize',
109
+ protocolNumber: 'ProtocolNumber',
110
+ sourcePort: 'SourcePort',
111
+ srcIp: 'SrcIp',
112
+ startTime: 'StartTime',
113
+ };
114
+ }
115
+
116
+ static types(): { [key: string]: any } {
117
+ return {
118
+ destinationIp: 'string',
119
+ destinationPort: 'number',
120
+ endTime: 'number',
121
+ instanceId: 'string',
122
+ networkProtocol: 'string',
123
+ page: 'number',
124
+ pageSize: 'number',
125
+ protocolNumber: 'number',
126
+ sourcePort: 'number',
127
+ srcIp: 'string',
128
+ startTime: 'number',
129
+ };
130
+ }
131
+
132
+ validate() {
133
+ super.validate();
134
+ }
135
+
136
+ constructor(map?: { [key: string]: any }) {
137
+ super(map);
138
+ }
139
+ }
140
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeNetworkLayerInterceptsResponseBody } from "./DescribeNetworkLayerInterceptsResponseBody";
4
+
5
+
6
+ export class DescribeNetworkLayerInterceptsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeNetworkLayerInterceptsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DescribeNetworkLayerInterceptsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,196 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeNetworkLayerInterceptsResponseBodyInterceptionRecords extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The destination IP address.
9
+ *
10
+ * @example
11
+ * 47.254.56.252
12
+ */
13
+ destinationIp?: string;
14
+ /**
15
+ * @remarks
16
+ * The destination port in the interception log.
17
+ *
18
+ * @example
19
+ * 22
20
+ */
21
+ destinationPort?: string;
22
+ /**
23
+ * @remarks
24
+ * The interception action.
25
+ *
26
+ * @example
27
+ * drop
28
+ */
29
+ interceptAction?: string;
30
+ /**
31
+ * @remarks
32
+ * The number of interceptions within the specified time range.
33
+ *
34
+ * @example
35
+ * 1
36
+ */
37
+ interceptCount?: number;
38
+ /**
39
+ * @remarks
40
+ * The end time of the interception.
41
+ * > The value is a Unix/POSIX timestamp. Unit: seconds.
42
+ *
43
+ * @example
44
+ * 1778830500
45
+ */
46
+ interceptEndTime?: number;
47
+ /**
48
+ * @remarks
49
+ * The packet interception module.
50
+ *
51
+ * @example
52
+ * dip_blacklist
53
+ */
54
+ interceptModule?: string;
55
+ /**
56
+ * @remarks
57
+ * The start time of the interception.
58
+ * > The value is a Unix/POSIX timestamp. Unit: seconds.
59
+ *
60
+ * @example
61
+ * 1778830500
62
+ */
63
+ interceptStartTime?: number;
64
+ /**
65
+ * @remarks
66
+ * The network protocol.
67
+ *
68
+ * @example
69
+ * tcp
70
+ */
71
+ networkProtocol?: string;
72
+ /**
73
+ * @remarks
74
+ * The network protocol number. This is a standard network protocol number.
75
+ *
76
+ * @example
77
+ * 6
78
+ */
79
+ protocolNumber?: string;
80
+ /**
81
+ * @remarks
82
+ * The source IP address.
83
+ *
84
+ * @example
85
+ * 183.224.38.37
86
+ */
87
+ sourceIp?: string;
88
+ /**
89
+ * @remarks
90
+ * The source port in the interception log.
91
+ *
92
+ * @example
93
+ * 9998
94
+ */
95
+ sourcePort?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ destinationIp: 'DestinationIp',
99
+ destinationPort: 'DestinationPort',
100
+ interceptAction: 'InterceptAction',
101
+ interceptCount: 'InterceptCount',
102
+ interceptEndTime: 'InterceptEndTime',
103
+ interceptModule: 'InterceptModule',
104
+ interceptStartTime: 'InterceptStartTime',
105
+ networkProtocol: 'NetworkProtocol',
106
+ protocolNumber: 'ProtocolNumber',
107
+ sourceIp: 'SourceIp',
108
+ sourcePort: 'SourcePort',
109
+ };
110
+ }
111
+
112
+ static types(): { [key: string]: any } {
113
+ return {
114
+ destinationIp: 'string',
115
+ destinationPort: 'string',
116
+ interceptAction: 'string',
117
+ interceptCount: 'number',
118
+ interceptEndTime: 'number',
119
+ interceptModule: 'string',
120
+ interceptStartTime: 'number',
121
+ networkProtocol: 'string',
122
+ protocolNumber: 'string',
123
+ sourceIp: 'string',
124
+ sourcePort: 'string',
125
+ };
126
+ }
127
+
128
+ validate() {
129
+ super.validate();
130
+ }
131
+
132
+ constructor(map?: { [key: string]: any }) {
133
+ super(map);
134
+ }
135
+ }
136
+
137
+ export class DescribeNetworkLayerInterceptsResponseBody extends $dara.Model {
138
+ /**
139
+ * @remarks
140
+ * The number of interception log records.
141
+ *
142
+ * @example
143
+ * 10
144
+ */
145
+ interceptionRecordCount?: number;
146
+ /**
147
+ * @remarks
148
+ * The interception record details.
149
+ */
150
+ interceptionRecords?: DescribeNetworkLayerInterceptsResponseBodyInterceptionRecords[];
151
+ /**
152
+ * @remarks
153
+ * Id of the request
154
+ *
155
+ * @example
156
+ * B4B379C2-9319-4C6B-B579-FE36831B09F4
157
+ */
158
+ requestId?: string;
159
+ /**
160
+ * @remarks
161
+ * The total number of interception logs that match the current filter conditions.
162
+ *
163
+ * @example
164
+ * 17
165
+ */
166
+ totalCnt?: string;
167
+ static names(): { [key: string]: string } {
168
+ return {
169
+ interceptionRecordCount: 'InterceptionRecordCount',
170
+ interceptionRecords: 'InterceptionRecords',
171
+ requestId: 'RequestId',
172
+ totalCnt: 'TotalCnt',
173
+ };
174
+ }
175
+
176
+ static types(): { [key: string]: any } {
177
+ return {
178
+ interceptionRecordCount: 'number',
179
+ interceptionRecords: { 'type': 'array', 'itemType': DescribeNetworkLayerInterceptsResponseBodyInterceptionRecords },
180
+ requestId: 'string',
181
+ totalCnt: 'string',
182
+ };
183
+ }
184
+
185
+ validate() {
186
+ if(Array.isArray(this.interceptionRecords)) {
187
+ $dara.Model.validateArray(this.interceptionRecords);
188
+ }
189
+ super.validate();
190
+ }
191
+
192
+ constructor(map?: { [key: string]: any }) {
193
+ super(map);
194
+ }
195
+ }
196
+
@@ -7,7 +7,7 @@ export class DescribePackIpListRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The ID of the Anti-DDoS Origin instance to query.
9
9
  *
10
- * > You can call the [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) operation to query the IDs of all Anti-DDoS Origin instances.
10
+ * > Call [DescribeInstanceList](https://help.aliyun.com/document_detail/118698.html) to query the IDs of all Anti-DDoS Origin instances.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -25,7 +25,7 @@ export class DescribePackIpListRequest extends $dara.Model {
25
25
  ip?: string;
26
26
  /**
27
27
  * @remarks
28
- * The ID of the member.
28
+ * The UID of the member account.
29
29
  *
30
30
  * @example
31
31
  * 170858869679****
@@ -43,7 +43,7 @@ export class DescribePackIpListRequest extends $dara.Model {
43
43
  pageNo?: number;
44
44
  /**
45
45
  * @remarks
46
- * The number of entries to return on each page.
46
+ * The number of protected IP addresses to return on each page. The maximum value is 50.
47
47
  *
48
48
  * This parameter is required.
49
49
  *
@@ -53,12 +53,15 @@ export class DescribePackIpListRequest extends $dara.Model {
53
53
  pageSize?: number;
54
54
  /**
55
55
  * @remarks
56
- * The type of the cloud asset to which the protected IP address to query belongs. Valid values:
56
+ * The type of the cloud asset to which the protected IP address belongs. Valid values:
57
57
  *
58
- * * **ECS**: an Elastic Compute Service (ECS) instance.
59
- * * **SLB**: a Classic Load Balancer (CLB) instance, originally called a Server Load Balancer (SLB) instance.
60
- * * **EIP**: an elastic IP address (EIP). An Internet-facing Application Load Balancer (ALB) instance uses an EIP. If the IP address belongs to the Internet-facing ALB instance, set this parameter to EIP.
61
- * * **WAF**: a Web Application Firewall (WAF) instance.
58
+ * - **ECS**: an Elastic Compute Service (ECS) instance.
59
+ *
60
+ * - **SLB**: a Classic Load Balancer (CLB) instance.
61
+ *
62
+ * - **EIP**: an Elastic IP Address (EIP) instance. Because Application Load Balancer (ALB) instances use EIPs, query the public IP address of an ALB instance using the EIP.
63
+ *
64
+ * - **WAF**: a Web Application Firewall (WAF) instance.
62
65
  *
63
66
  * @example
64
67
  * ECS
@@ -66,9 +69,9 @@ export class DescribePackIpListRequest extends $dara.Model {
66
69
  productName?: string;
67
70
  /**
68
71
  * @remarks
69
- * The ID of the region where the Anti-DDoS Origin instance resides.
72
+ * The region ID of the Anti-DDoS Origin instance.
70
73
  *
71
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
74
+ * > Call [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) to query the IDs of all regions that Anti-DDoS Origin supports.
72
75
  *
73
76
  * @example
74
77
  * cn-hangzhou
@@ -78,7 +81,7 @@ export class DescribePackIpListRequest extends $dara.Model {
78
81
  * @remarks
79
82
  * The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management.
80
83
  *
81
- * If you do not specify this parameter, the instance belongs to the default resource group.
84
+ * If you do not set this parameter, the instance belongs to the default resource group.
82
85
  *
83
86
  * @example
84
87
  * rg-acfm2pz25js****