@alicloud/cloudfw20171207 8.2.1 → 8.3.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.
@@ -0,0 +1,92 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallTrafficTrendRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The end time. The value is a UNIX timestamp. Unit: seconds.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 1767493189
14
+ */
15
+ endTime?: string;
16
+ /**
17
+ * @remarks
18
+ * The language of the request and response. Valid values:
19
+ * - **zh** (default): Chinese
20
+ * - **en**: English
21
+ *
22
+ * @example
23
+ * zh
24
+ */
25
+ lang?: string;
26
+ /**
27
+ * @remarks
28
+ * The instance ID of the peer VPC instance.
29
+ *
30
+ * @example
31
+ * vpc-j6c7mscdg4hfqanfi****
32
+ */
33
+ peerVpcId?: string;
34
+ /**
35
+ * @remarks
36
+ * The private IP address.
37
+ *
38
+ * @example
39
+ * 10.21.186.XXX
40
+ */
41
+ privateIP?: string;
42
+ /**
43
+ * @remarks
44
+ * The start time. The value is a UNIX timestamp. Unit: seconds.
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * 1780626107
50
+ */
51
+ startTime?: string;
52
+ /**
53
+ * @remarks
54
+ * The instance ID of the VPC-connected instance.
55
+ *
56
+ * This parameter is required.
57
+ *
58
+ * @example
59
+ * vpc-j6cnofg4lg1ujx3xj****
60
+ */
61
+ vpcId?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ endTime: 'EndTime',
65
+ lang: 'Lang',
66
+ peerVpcId: 'PeerVpcId',
67
+ privateIP: 'PrivateIP',
68
+ startTime: 'StartTime',
69
+ vpcId: 'VpcId',
70
+ };
71
+ }
72
+
73
+ static types(): { [key: string]: any } {
74
+ return {
75
+ endTime: 'string',
76
+ lang: 'string',
77
+ peerVpcId: 'string',
78
+ privateIP: 'string',
79
+ startTime: 'string',
80
+ vpcId: 'string',
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVpcFirewallTrafficTrendResponseBody } from "./DescribeVpcFirewallTrafficTrendResponseBody";
4
+
5
+
6
+ export class DescribeVpcFirewallTrafficTrendResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVpcFirewallTrafficTrendResponseBody;
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: DescribeVpcFirewallTrafficTrendResponseBody,
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,284 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallTrafficTrendResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The inbound bandwidth. Unit: bit/s.
9
+ *
10
+ * @example
11
+ * 187
12
+ */
13
+ inBps?: number;
14
+ /**
15
+ * @remarks
16
+ * The inbound traffic. Unit: bytes.
17
+ *
18
+ * @example
19
+ * 32
20
+ */
21
+ inBytes?: number;
22
+ /**
23
+ * @remarks
24
+ * The inbound packet forwarding rate. Unit: pps.
25
+ *
26
+ * @example
27
+ * 2
28
+ */
29
+ inPps?: number;
30
+ /**
31
+ * @remarks
32
+ * The number of new connections.
33
+ *
34
+ * @example
35
+ * 27
36
+ */
37
+ newConn?: number;
38
+ /**
39
+ * @remarks
40
+ * The outbound traffic. Unit: bytes.
41
+ *
42
+ * @example
43
+ * 45
44
+ */
45
+ outBps?: number;
46
+ /**
47
+ * @remarks
48
+ * The total outbound network throughput. Unit: bytes.
49
+ *
50
+ * @example
51
+ * 230
52
+ */
53
+ outBytes?: number;
54
+ /**
55
+ * @remarks
56
+ * The outbound packet forwarding rate. Unit: pps.
57
+ *
58
+ * @example
59
+ * 2
60
+ */
61
+ outPps?: number;
62
+ /**
63
+ * @remarks
64
+ * The number of sessions.
65
+ *
66
+ * @example
67
+ * 27
68
+ */
69
+ sessionCount?: number;
70
+ /**
71
+ * @remarks
72
+ * The time when the traffic occurred. The value is a UNIX timestamp. Unit: seconds.
73
+ *
74
+ * @example
75
+ * 1758470400
76
+ */
77
+ time?: number;
78
+ static names(): { [key: string]: string } {
79
+ return {
80
+ inBps: 'InBps',
81
+ inBytes: 'InBytes',
82
+ inPps: 'InPps',
83
+ newConn: 'NewConn',
84
+ outBps: 'OutBps',
85
+ outBytes: 'OutBytes',
86
+ outPps: 'OutPps',
87
+ sessionCount: 'SessionCount',
88
+ time: 'Time',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ inBps: 'number',
95
+ inBytes: 'number',
96
+ inPps: 'number',
97
+ newConn: 'number',
98
+ outBps: 'number',
99
+ outBytes: 'number',
100
+ outPps: 'number',
101
+ sessionCount: 'number',
102
+ time: 'number',
103
+ };
104
+ }
105
+
106
+ validate() {
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
115
+ export class DescribeVpcFirewallTrafficTrendResponseBody extends $dara.Model {
116
+ /**
117
+ * @remarks
118
+ * The average inbound network throughput. Unit: bit/s.
119
+ *
120
+ * @example
121
+ * 1264110
122
+ */
123
+ avgInBps?: number;
124
+ /**
125
+ * @remarks
126
+ * The average outbound network throughput. Unit: bit/s.
127
+ *
128
+ * @example
129
+ * 68915
130
+ */
131
+ avgOutBps?: number;
132
+ /**
133
+ * @remarks
134
+ * The average number of requests.
135
+ *
136
+ * @example
137
+ * 1995
138
+ */
139
+ avgSession?: number;
140
+ /**
141
+ * @remarks
142
+ * The average total network throughput in both the outbound and inbound directions. Unit: bit/s.
143
+ *
144
+ * @example
145
+ * 34291
146
+ */
147
+ avgTotalBps?: number;
148
+ /**
149
+ * @remarks
150
+ * The data list.
151
+ */
152
+ dataList?: DescribeVpcFirewallTrafficTrendResponseBodyDataList[];
153
+ /**
154
+ * @remarks
155
+ * The timestamp when the peak bandwidth occurred. The value is a UNIX timestamp. Unit: seconds.
156
+ *
157
+ * @example
158
+ * 1768008060
159
+ */
160
+ maxBandwidthTime?: number;
161
+ /**
162
+ * @remarks
163
+ * The peak inbound network throughput. Unit: bit/s.
164
+ *
165
+ * @example
166
+ * 1436
167
+ */
168
+ maxInBps?: number;
169
+ /**
170
+ * @remarks
171
+ * The peak outbound network throughput. Unit: bit/s.
172
+ *
173
+ * @example
174
+ * 2128
175
+ */
176
+ maxOutBps?: number;
177
+ /**
178
+ * @remarks
179
+ * The peak number of requests.
180
+ *
181
+ * @example
182
+ * 2003
183
+ */
184
+ maxSession?: number;
185
+ /**
186
+ * @remarks
187
+ * The peak total network throughput in both the outbound and inbound directions. Unit: bit/s.
188
+ *
189
+ * @example
190
+ * 61947852
191
+ */
192
+ maxTotalBps?: number;
193
+ /**
194
+ * @remarks
195
+ * The request ID.
196
+ *
197
+ * @example
198
+ * 45F8B9E6-8583-56B3-A127-1B421C9E****
199
+ */
200
+ requestId?: string;
201
+ /**
202
+ * @remarks
203
+ * The total traffic. Unit: bytes.
204
+ *
205
+ * @example
206
+ * 141688156232
207
+ */
208
+ totalBytes?: number;
209
+ /**
210
+ * @remarks
211
+ * The total inbound network throughput. Unit: bytes.
212
+ *
213
+ * @example
214
+ * 2659635037
215
+ */
216
+ totalInBytes?: number;
217
+ /**
218
+ * @remarks
219
+ * The total outbound network throughput. Unit: bytes.
220
+ *
221
+ * @example
222
+ * 399762701
223
+ */
224
+ totalOutBytes?: number;
225
+ /**
226
+ * @remarks
227
+ * The total number of requests.
228
+ *
229
+ * @example
230
+ * 1078757
231
+ */
232
+ totalSession?: number;
233
+ static names(): { [key: string]: string } {
234
+ return {
235
+ avgInBps: 'AvgInBps',
236
+ avgOutBps: 'AvgOutBps',
237
+ avgSession: 'AvgSession',
238
+ avgTotalBps: 'AvgTotalBps',
239
+ dataList: 'DataList',
240
+ maxBandwidthTime: 'MaxBandwidthTime',
241
+ maxInBps: 'MaxInBps',
242
+ maxOutBps: 'MaxOutBps',
243
+ maxSession: 'MaxSession',
244
+ maxTotalBps: 'MaxTotalBps',
245
+ requestId: 'RequestId',
246
+ totalBytes: 'TotalBytes',
247
+ totalInBytes: 'TotalInBytes',
248
+ totalOutBytes: 'TotalOutBytes',
249
+ totalSession: 'TotalSession',
250
+ };
251
+ }
252
+
253
+ static types(): { [key: string]: any } {
254
+ return {
255
+ avgInBps: 'number',
256
+ avgOutBps: 'number',
257
+ avgSession: 'number',
258
+ avgTotalBps: 'number',
259
+ dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallTrafficTrendResponseBodyDataList },
260
+ maxBandwidthTime: 'number',
261
+ maxInBps: 'number',
262
+ maxOutBps: 'number',
263
+ maxSession: 'number',
264
+ maxTotalBps: 'number',
265
+ requestId: 'string',
266
+ totalBytes: 'number',
267
+ totalInBytes: 'number',
268
+ totalOutBytes: 'number',
269
+ totalSession: 'number',
270
+ };
271
+ }
272
+
273
+ validate() {
274
+ if(Array.isArray(this.dataList)) {
275
+ $dara.Model.validateArray(this.dataList);
276
+ }
277
+ super.validate();
278
+ }
279
+
280
+ constructor(map?: { [key: string]: any }) {
281
+ super(map);
282
+ }
283
+ }
284
+
@@ -238,6 +238,7 @@ export { DescribeVpcFirewallPrecheckDetailResponseBodyPrecheckDetailPrecheckEnti
238
238
  export { DescribeVpcFirewallPrecheckDetailResponseBodyPrecheckDetailPrecheckEntityGroups } from './DescribeVpcFirewallPrecheckDetailResponseBody';
239
239
  export { DescribeVpcFirewallPrecheckDetailResponseBodyPrecheckDetail } from './DescribeVpcFirewallPrecheckDetailResponseBody';
240
240
  export { DescribeVpcFirewallTrafficAssetListResponseBodyDataList } from './DescribeVpcFirewallTrafficAssetListResponseBody';
241
+ export { DescribeVpcFirewallTrafficTrendResponseBodyDataList } from './DescribeVpcFirewallTrafficTrendResponseBody';
241
242
  export { DescribeVpcFirewallZoneResponseBodyZoneList } from './DescribeVpcFirewallZoneResponseBody';
242
243
  export { DescribeVpcListLiteResponseBodyVpcList } from './DescribeVpcListLiteResponseBody';
243
244
  export { DescribeVpcZoneResponseBodyZoneList } from './DescribeVpcZoneResponseBody';
@@ -914,6 +915,9 @@ export { DescribeVpcFirewallSummaryInfoResponse } from './DescribeVpcFirewallSum
914
915
  export { DescribeVpcFirewallTrafficAssetListRequest } from './DescribeVpcFirewallTrafficAssetListRequest';
915
916
  export { DescribeVpcFirewallTrafficAssetListResponseBody } from './DescribeVpcFirewallTrafficAssetListResponseBody';
916
917
  export { DescribeVpcFirewallTrafficAssetListResponse } from './DescribeVpcFirewallTrafficAssetListResponse';
918
+ export { DescribeVpcFirewallTrafficTrendRequest } from './DescribeVpcFirewallTrafficTrendRequest';
919
+ export { DescribeVpcFirewallTrafficTrendResponseBody } from './DescribeVpcFirewallTrafficTrendResponseBody';
920
+ export { DescribeVpcFirewallTrafficTrendResponse } from './DescribeVpcFirewallTrafficTrendResponse';
917
921
  export { DescribeVpcFirewallZoneRequest } from './DescribeVpcFirewallZoneRequest';
918
922
  export { DescribeVpcFirewallZoneResponseBody } from './DescribeVpcFirewallZoneResponseBody';
919
923
  export { DescribeVpcFirewallZoneResponse } from './DescribeVpcFirewallZoneResponse';