@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.
Files changed (148) hide show
  1. package/dist/client.d.ts +89 -53
  2. package/dist/client.js +147 -53
  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/CheckGrantRequest.d.ts +4 -3
  15. package/dist/models/CheckGrantRequest.js.map +1 -1
  16. package/dist/models/CheckGrantResponseBody.d.ts +3 -2
  17. package/dist/models/CheckGrantResponseBody.js.map +1 -1
  18. package/dist/models/CreatePolicyRequest.d.ts +15 -5
  19. package/dist/models/CreatePolicyRequest.js.map +1 -1
  20. package/dist/models/CreatePolicyResponseBody.d.ts +2 -2
  21. package/dist/models/DeleteIpRequest.d.ts +8 -10
  22. package/dist/models/DeleteIpRequest.js.map +1 -1
  23. package/dist/models/DeleteIpResponseBody.d.ts +1 -1
  24. package/dist/models/DescribeAssetGroupRequest.d.ts +4 -3
  25. package/dist/models/DescribeAssetGroupRequest.js.map +1 -1
  26. package/dist/models/DescribeAssetGroupToInstanceRequest.d.ts +5 -4
  27. package/dist/models/DescribeAssetGroupToInstanceRequest.js.map +1 -1
  28. package/dist/models/DescribeDdosOriginInstanceBillRequest.d.ts +12 -14
  29. package/dist/models/DescribeDdosOriginInstanceBillRequest.js.map +1 -1
  30. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.d.ts +72 -85
  31. package/dist/models/DescribeDdosOriginInstanceBillResponseBody.js.map +1 -1
  32. package/dist/models/DescribeInstanceListRequest.d.ts +13 -9
  33. package/dist/models/DescribeInstanceListRequest.js.map +1 -1
  34. package/dist/models/DescribeInstanceListResponseBody.d.ts +28 -18
  35. package/dist/models/DescribeInstanceListResponseBody.js.map +1 -1
  36. package/dist/models/DescribeNetworkLayerInterceptsRequest.d.ts +107 -0
  37. package/dist/models/DescribeNetworkLayerInterceptsRequest.js +78 -0
  38. package/dist/models/DescribeNetworkLayerInterceptsRequest.js.map +1 -0
  39. package/dist/models/DescribeNetworkLayerInterceptsResponse.d.ts +19 -0
  40. package/dist/models/DescribeNetworkLayerInterceptsResponse.js +69 -0
  41. package/dist/models/DescribeNetworkLayerInterceptsResponse.js.map +1 -0
  42. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.d.ts +144 -0
  43. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js +106 -0
  44. package/dist/models/DescribeNetworkLayerInterceptsResponseBody.js.map +1 -0
  45. package/dist/models/DescribePackIpListRequest.d.ts +14 -11
  46. package/dist/models/DescribePackIpListRequest.js.map +1 -1
  47. package/dist/models/DescribePackIpListResponseBody.d.ts +28 -22
  48. package/dist/models/DescribePackIpListResponseBody.js.map +1 -1
  49. package/dist/models/DescribeRdMemberListRequest.d.ts +1 -1
  50. package/dist/models/DescribeRdMemberListResponseBody.d.ts +2 -2
  51. package/dist/models/DescribeRdStatusResponseBody.d.ts +5 -3
  52. package/dist/models/DescribeRdStatusResponseBody.js.map +1 -1
  53. package/dist/models/DescribeRegionsRequest.d.ts +4 -4
  54. package/dist/models/DescribeRegionsResponseBody.d.ts +5 -6
  55. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  56. package/dist/models/DescribeTrafficRequest.d.ts +16 -21
  57. package/dist/models/DescribeTrafficRequest.js.map +1 -1
  58. package/dist/models/DescribeTrafficResponseBody.d.ts +11 -12
  59. package/dist/models/DescribeTrafficResponseBody.js.map +1 -1
  60. package/dist/models/DetachFromPolicyRequest.d.ts +26 -8
  61. package/dist/models/DetachFromPolicyRequest.js.map +1 -1
  62. package/dist/models/DetachFromPolicyResponseBody.d.ts +1 -1
  63. package/dist/models/DetachFromPolicyShrinkRequest.d.ts +16 -6
  64. package/dist/models/DetachFromPolicyShrinkRequest.js.map +1 -1
  65. package/dist/models/DettachAssetGroupToInstanceRequest.d.ts +5 -4
  66. package/dist/models/DettachAssetGroupToInstanceRequest.js.map +1 -1
  67. package/dist/models/DettachAssetGroupToInstanceShrinkRequest.d.ts +2 -2
  68. package/dist/models/ListPolicyAttachmentRequest.d.ts +27 -11
  69. package/dist/models/ListPolicyAttachmentRequest.js.map +1 -1
  70. package/dist/models/ListPolicyAttachmentResponseBody.d.ts +19 -13
  71. package/dist/models/ListPolicyAttachmentResponseBody.js.map +1 -1
  72. package/dist/models/ListPolicyAttachmentShrinkRequest.d.ts +18 -9
  73. package/dist/models/ListPolicyAttachmentShrinkRequest.js.map +1 -1
  74. package/dist/models/ListPolicyRequest.d.ts +5 -16
  75. package/dist/models/ListPolicyRequest.js.map +1 -1
  76. package/dist/models/ListPolicyResponseBody.d.ts +182 -94
  77. package/dist/models/ListPolicyResponseBody.js +41 -1
  78. package/dist/models/ListPolicyResponseBody.js.map +1 -1
  79. package/dist/models/ModifyPolicyContentRequest.d.ts +176 -90
  80. package/dist/models/ModifyPolicyContentRequest.js +41 -1
  81. package/dist/models/ModifyPolicyContentRequest.js.map +1 -1
  82. package/dist/models/ModifyPolicyContentResponseBody.d.ts +1 -1
  83. package/dist/models/ModifyPolicyContentShrinkRequest.d.ts +9 -2
  84. package/dist/models/ModifyPolicyContentShrinkRequest.js.map +1 -1
  85. package/dist/models/ModifyPolicyRequest.d.ts +181 -118
  86. package/dist/models/ModifyPolicyRequest.js +41 -1
  87. package/dist/models/ModifyPolicyRequest.js.map +1 -1
  88. package/dist/models/ModifyPolicyResponseBody.d.ts +1 -1
  89. package/dist/models/ModifyPolicyShrinkRequest.d.ts +10 -26
  90. package/dist/models/ModifyPolicyShrinkRequest.js.map +1 -1
  91. package/dist/models/ModifyRemarkRequest.d.ts +5 -7
  92. package/dist/models/ModifyRemarkRequest.js.map +1 -1
  93. package/dist/models/ReleaseDdosOriginInstanceRequest.d.ts +1 -1
  94. package/dist/models/model.d.ts +7 -0
  95. package/dist/models/model.js +34 -20
  96. package/dist/models/model.js.map +1 -1
  97. package/package.json +2 -2
  98. package/src/client.ts +160 -53
  99. package/src/models/AddIpRequest.ts +11 -10
  100. package/src/models/AddIpResponseBody.ts +1 -1
  101. package/src/models/AttachAssetGroupToInstanceRequest.ts +2 -2
  102. package/src/models/AttachAssetGroupToInstanceShrinkRequest.ts +2 -2
  103. package/src/models/AttachToPolicyRequest.ts +27 -10
  104. package/src/models/AttachToPolicyResponseBody.ts +1 -1
  105. package/src/models/AttachToPolicyShrinkRequest.ts +12 -1
  106. package/src/models/CheckGrantRequest.ts +4 -3
  107. package/src/models/CheckGrantResponseBody.ts +3 -2
  108. package/src/models/CreatePolicyRequest.ts +15 -5
  109. package/src/models/CreatePolicyResponseBody.ts +2 -2
  110. package/src/models/DeleteIpRequest.ts +8 -10
  111. package/src/models/DeleteIpResponseBody.ts +1 -1
  112. package/src/models/DescribeAssetGroupRequest.ts +4 -3
  113. package/src/models/DescribeAssetGroupToInstanceRequest.ts +5 -4
  114. package/src/models/DescribeDdosOriginInstanceBillRequest.ts +12 -14
  115. package/src/models/DescribeDdosOriginInstanceBillResponseBody.ts +72 -85
  116. package/src/models/DescribeInstanceListRequest.ts +13 -9
  117. package/src/models/DescribeInstanceListResponseBody.ts +28 -18
  118. package/src/models/DescribeNetworkLayerInterceptsRequest.ts +140 -0
  119. package/src/models/DescribeNetworkLayerInterceptsResponse.ts +40 -0
  120. package/src/models/DescribeNetworkLayerInterceptsResponseBody.ts +196 -0
  121. package/src/models/DescribePackIpListRequest.ts +14 -11
  122. package/src/models/DescribePackIpListResponseBody.ts +28 -22
  123. package/src/models/DescribeRdMemberListRequest.ts +1 -1
  124. package/src/models/DescribeRdMemberListResponseBody.ts +2 -2
  125. package/src/models/DescribeRdStatusResponseBody.ts +5 -3
  126. package/src/models/DescribeRegionsRequest.ts +4 -4
  127. package/src/models/DescribeRegionsResponseBody.ts +5 -6
  128. package/src/models/DescribeTrafficRequest.ts +16 -21
  129. package/src/models/DescribeTrafficResponseBody.ts +11 -12
  130. package/src/models/DetachFromPolicyRequest.ts +26 -8
  131. package/src/models/DetachFromPolicyResponseBody.ts +1 -1
  132. package/src/models/DetachFromPolicyShrinkRequest.ts +16 -6
  133. package/src/models/DettachAssetGroupToInstanceRequest.ts +5 -4
  134. package/src/models/DettachAssetGroupToInstanceShrinkRequest.ts +2 -2
  135. package/src/models/ListPolicyAttachmentRequest.ts +27 -11
  136. package/src/models/ListPolicyAttachmentResponseBody.ts +19 -13
  137. package/src/models/ListPolicyAttachmentShrinkRequest.ts +18 -9
  138. package/src/models/ListPolicyRequest.ts +5 -16
  139. package/src/models/ListPolicyResponseBody.ts +213 -94
  140. package/src/models/ModifyPolicyContentRequest.ts +207 -90
  141. package/src/models/ModifyPolicyContentResponseBody.ts +1 -1
  142. package/src/models/ModifyPolicyContentShrinkRequest.ts +9 -2
  143. package/src/models/ModifyPolicyRequest.ts +212 -118
  144. package/src/models/ModifyPolicyResponseBody.ts +1 -1
  145. package/src/models/ModifyPolicyShrinkRequest.ts +10 -26
  146. package/src/models/ModifyRemarkRequest.ts +5 -7
  147. package/src/models/ReleaseDdosOriginInstanceRequest.ts +1 -1
  148. package/src/models/model.ts +7 -0
@@ -15,8 +15,9 @@ export class DescribeInstanceListRequestTag extends $dara.Model {
15
15
  * @remarks
16
16
  * The mitigation plan of the Anti-DDoS Origin instance. Valid values:
17
17
  *
18
- * * 0: the Professional mitigation plan.
19
- * * 1: the Enterprise mitigation plan.
18
+ * - 0: the Professional mitigation plan.
19
+ *
20
+ * - 1: the Enterprise mitigation plan.
20
21
  *
21
22
  * @example
22
23
  * test-value
@@ -73,8 +74,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
73
74
  * @remarks
74
75
  * The sorting method. Valid values:
75
76
  *
76
- * * **desc**: the descending order. This is the default value.
77
- * * **asc**: the ascending order.
77
+ * - **desc**: the descending order. This is the default value.
78
+ *
79
+ * - **asc**: the ascending order.
78
80
  *
79
81
  * @example
80
82
  * 47.89.XX.XX
@@ -92,7 +94,7 @@ export class DescribeInstanceListRequest extends $dara.Model {
92
94
  * @remarks
93
95
  * The ID of the region where the Anti-DDoS Origin instance to query resides.
94
96
  *
95
- * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
97
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/118703.html) operation to query the most recent region list.
96
98
  *
97
99
  * @example
98
100
  * expireTime
@@ -110,8 +112,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
110
112
  * @remarks
111
113
  * The protocol type of the IP address asset that is protected by the Anti-DDoS Origin instance to query. Valid values:
112
114
  *
113
- * * **Ipv4**: IPv4
114
- * * **Ipv6**: IPv6
115
+ * - **Ipv4**: IPv4
116
+ *
117
+ * - **Ipv6**: IPv6
115
118
  *
116
119
  * This parameter is required.
117
120
  *
@@ -123,8 +126,9 @@ export class DescribeInstanceListRequest extends $dara.Model {
123
126
  * @remarks
124
127
  * The mitigation plan of the Anti-DDoS Origin instance to query. Valid values:
125
128
  *
126
- * * **0**: the Professional mitigation plan
127
- * * **1**: the Enterprise mitigation plan
129
+ * - **0**: the Professional mitigation plan
130
+ *
131
+ * - **1**: the Enterprise mitigation plan
128
132
  *
129
133
  * This parameter is required.
130
134
  *
@@ -37,9 +37,11 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
37
37
  * @remarks
38
38
  * The event that triggers automatic association. Valid values:
39
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.
40
+ * - **any**: The instance is automatically associated with an object based on traffic scrubbing events or blackhole filtering events.
41
+ *
42
+ * - **clean**: The instance is automatically associated with an object based on traffic scrubbing events.
43
+ *
44
+ * - **blackhole**: The instance is automatically associated with an object based on blackhole filtering events.
43
45
  */
44
46
  autoProtectCondition?: DescribeInstanceListResponseBodyInstanceListAutoProtectCondition;
45
47
  /**
@@ -54,8 +56,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
54
56
  * @remarks
55
57
  * The type of the instance.
56
58
  *
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).
59
+ * - **ddos_ddosorigin_public_cn**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the China site (aliyun.com).
60
+ *
61
+ * - **ddos_ddosorigin_public_intl**: Anti-DDoS Origin 2.0 (Pay-as-you-go) on the International site (alibabacloud.com).
59
62
  *
60
63
  * @example
61
64
  * 0
@@ -73,8 +76,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
73
76
  * @remarks
74
77
  * Indicates whether overdue payments exist. Valid values:
75
78
  *
76
- * * **0**: Overdue payments do not exist.
77
- * * **1**: Overdue payments exist.
79
+ * - **0**: Overdue payments do not exist.
80
+ *
81
+ * - **1**: Overdue payments exist.
78
82
  *
79
83
  * @example
80
84
  * 1
@@ -100,8 +104,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
100
104
  * @remarks
101
105
  * The mitigation plan of the instance. Valid values:
102
106
  *
103
- * * **0**: the Professional mitigation plan
104
- * * **1**: the Enterprise mitigation plan
107
+ * - **0**: the Professional mitigation plan
108
+ *
109
+ * - **1**: the Enterprise mitigation plan
105
110
  *
106
111
  * @example
107
112
  * 1592886047000
@@ -111,7 +116,7 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
111
116
  * @remarks
112
117
  * The number of protected public IP addresses for which blackhole filtering is triggered.
113
118
  *
114
- * > You can call the [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) operation to deactivate blackhole filtering for a protected IP address.
119
+ * > You can call the [DeleteBlackhole](https://help.aliyun.com/document_detail/118692.html) operation to deactivate blackhole filtering for a protected IP address.
115
120
  *
116
121
  * @example
117
122
  * ddosbgp-cn-oew1pjrk****
@@ -121,10 +126,13 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
121
126
  * @remarks
122
127
  * The application scope of the instance.
123
128
  *
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.
129
+ * - **1**: The instance supports public IP addresses in all regions.
130
+ *
131
+ * - **2**: The instance supports public IP addresses in regions in the Chinese mainland.
132
+ *
133
+ * - **3**: The instance supports public IP addresses in regions outside the Chinese mainland.
134
+ *
135
+ * - **4**: The instance supports public IP addresses in a region in or outside the Chinese mainland.
128
136
  *
129
137
  * @example
130
138
  * 1
@@ -152,8 +160,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
152
160
  *
153
161
  * Valid values:
154
162
  *
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.
163
+ * - **gamebox**: The Anti-DDoS Origin instance is created by using Game Security Box.
164
+ *
165
+ * - **eip**: The Anti-DDoS Origin instance is created by using an elastic IP address (EIP) for which Anti-DDoS (Enhanced Edition) is enabled.
157
166
  *
158
167
  * @example
159
168
  * test
@@ -171,8 +180,9 @@ export class DescribeInstanceListResponseBodyInstanceList extends $dara.Model {
171
180
  * @remarks
172
181
  * Indicates whether auto-renewal is enabled for the instance. Valid values:
173
182
  *
174
- * * **true**
175
- * * **false**
183
+ * - **true**
184
+ *
185
+ * - **false**
176
186
  *
177
187
  * @example
178
188
  * 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****