@alicloud/cloudfw20171207 8.2.0 → 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.
- package/dist/client.d.ts +49 -34
- package/dist/client.js +130 -37
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressBookRequest.d.ts +291 -10
- package/dist/models/AddAddressBookRequest.js +146 -1
- package/dist/models/AddAddressBookRequest.js.map +1 -1
- package/dist/models/AddAddressBookResponseBody.d.ts +1 -1
- package/dist/models/AddAddressBookShrinkRequest.d.ts +186 -0
- package/dist/models/AddAddressBookShrinkRequest.js +135 -0
- package/dist/models/AddAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -2
- package/dist/models/DescribeAclWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeAclWhitelistResponseBody.d.ts +11 -19
- package/dist/models/DescribeAclWhitelistResponseBody.js.map +1 -1
- package/dist/models/DescribeAddressBookRequest.d.ts +16 -9
- package/dist/models/DescribeAddressBookRequest.js +5 -0
- package/dist/models/DescribeAddressBookRequest.js.map +1 -1
- package/dist/models/DescribeAddressBookResponseBody.d.ts +304 -19
- package/dist/models/DescribeAddressBookResponseBody.js +146 -1
- package/dist/models/DescribeAddressBookResponseBody.js.map +1 -1
- package/dist/models/DescribeAddressBookShrinkRequest.d.ts +82 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js +72 -0
- package/dist/models/DescribeAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +12 -0
- package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -1
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +43 -0
- package/dist/models/DescribeFirewallTrafficTrendResponseBody.js.map +1 -1
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +6 -2
- package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeVpcFirewallTrafficTrendRequest.d.ts +69 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js +68 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendRequest.js.map +1 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponse.d.ts +19 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js +69 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponse.js.map +1 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.d.ts +214 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js +124 -0
- package/dist/models/DescribeVpcFirewallTrafficTrendResponseBody.js.map +1 -0
- package/dist/models/ModifyAddressBookRequest.d.ts +302 -17
- package/dist/models/ModifyAddressBookRequest.js +146 -1
- package/dist/models/ModifyAddressBookRequest.js.map +1 -1
- package/dist/models/ModifyAddressBookShrinkRequest.d.ts +192 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js +135 -0
- package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -0
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.d.ts +6 -9
- package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.js.map +1 -1
- package/dist/models/ModifyNatFirewallControlPolicyPositionResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +79 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +149 -37
- package/src/models/AddAddressBookRequest.ts +400 -10
- package/src/models/AddAddressBookResponseBody.ts +1 -1
- package/src/models/AddAddressBookShrinkRequest.ts +258 -0
- package/src/models/DescribeAclWhitelistRequest.ts +1 -2
- package/src/models/DescribeAclWhitelistResponseBody.ts +11 -19
- package/src/models/DescribeAddressBookRequest.ts +21 -9
- package/src/models/DescribeAddressBookResponseBody.ts +413 -19
- package/src/models/DescribeAddressBookShrinkRequest.ts +109 -0
- package/src/models/DescribeFirewallTrafficTrendRequest.ts +12 -0
- package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +43 -0
- package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +6 -2
- package/src/models/DescribeVpcFirewallTrafficTrendRequest.ts +92 -0
- package/src/models/DescribeVpcFirewallTrafficTrendResponse.ts +40 -0
- package/src/models/DescribeVpcFirewallTrafficTrendResponseBody.ts +284 -0
- package/src/models/ModifyAddressBookRequest.ts +411 -17
- package/src/models/ModifyAddressBookShrinkRequest.ts +264 -0
- package/src/models/ModifyNatFirewallControlPolicyPositionRequest.ts +6 -9
- package/src/models/ModifyNatFirewallControlPolicyPositionResponseBody.ts +1 -1
- package/src/models/model.ts +23 -0
|
@@ -4,26 +4,43 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class DescribeFirewallTrafficTrendResponseBodyDataList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The Internet firewall traffic.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 100
|
|
9
12
|
*/
|
|
10
13
|
internetBps?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The NAT firewall traffic.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 100
|
|
14
20
|
*/
|
|
15
21
|
natBps?: number;
|
|
16
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The time when the traffic occurred. The value is a UNIX timestamp. Unit: seconds.
|
|
25
|
+
*
|
|
26
|
+
* If the data at this point in time has not been processed, the values of all other fields are -1.
|
|
27
|
+
*
|
|
17
28
|
* @example
|
|
18
29
|
* 1758470400
|
|
19
30
|
*/
|
|
20
31
|
time?: number;
|
|
21
32
|
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The total firewall traffic.
|
|
35
|
+
*
|
|
22
36
|
* @example
|
|
23
37
|
* 300
|
|
24
38
|
*/
|
|
25
39
|
totalBps?: number;
|
|
26
40
|
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The VPC firewall traffic.
|
|
43
|
+
*
|
|
27
44
|
* @example
|
|
28
45
|
* 100
|
|
29
46
|
*/
|
|
@@ -59,21 +76,33 @@ export class DescribeFirewallTrafficTrendResponseBodyDataList extends $dara.Mode
|
|
|
59
76
|
|
|
60
77
|
export class DescribeFirewallTrafficTrendResponseBodyMaxBandwidthTimeBps extends $dara.Model {
|
|
61
78
|
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The Internet firewall traffic at the time of peak total traffic.
|
|
81
|
+
*
|
|
62
82
|
* @example
|
|
63
83
|
* 100
|
|
64
84
|
*/
|
|
65
85
|
internetBps?: number;
|
|
66
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The NAT firewall traffic at the time of peak total traffic.
|
|
89
|
+
*
|
|
67
90
|
* @example
|
|
68
91
|
* 100
|
|
69
92
|
*/
|
|
70
93
|
natBps?: number;
|
|
71
94
|
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The peak total traffic.
|
|
97
|
+
*
|
|
72
98
|
* @example
|
|
73
99
|
* 1000
|
|
74
100
|
*/
|
|
75
101
|
totalBps?: number;
|
|
76
102
|
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The VPC firewall traffic at the time of peak total traffic.
|
|
105
|
+
*
|
|
77
106
|
* @example
|
|
78
107
|
* 100
|
|
79
108
|
*/
|
|
@@ -106,14 +135,28 @@ export class DescribeFirewallTrafficTrendResponseBodyMaxBandwidthTimeBps extends
|
|
|
106
135
|
}
|
|
107
136
|
|
|
108
137
|
export class DescribeFirewallTrafficTrendResponseBody extends $dara.Model {
|
|
138
|
+
/**
|
|
139
|
+
* @remarks
|
|
140
|
+
* The returned data list.
|
|
141
|
+
*/
|
|
109
142
|
dataList?: DescribeFirewallTrafficTrendResponseBodyDataList[];
|
|
110
143
|
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The timestamp when the peak total traffic occurred. The value is a UNIX timestamp. Unit: seconds.
|
|
146
|
+
*
|
|
111
147
|
* @example
|
|
112
148
|
* 1758470400
|
|
113
149
|
*/
|
|
114
150
|
maxBandwidthTime?: number;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* The traffic distribution at the time of peak total traffic.
|
|
154
|
+
*/
|
|
115
155
|
maxBandwidthTimeBps?: DescribeFirewallTrafficTrendResponseBodyMaxBandwidthTimeBps;
|
|
116
156
|
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The request ID.
|
|
159
|
+
*
|
|
117
160
|
* @example
|
|
118
161
|
* 4E7F94C7-781F-5192-86CF-DB085****
|
|
119
162
|
*/
|
|
@@ -13,7 +13,11 @@ export class DescribeOutgoingDomainDetailResponseBodyAssetListTagList extends $d
|
|
|
13
13
|
classId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The risk level.
|
|
16
|
+
* The risk level. Valid values:
|
|
17
|
+
* - **0**: no risk.
|
|
18
|
+
* - **1**: low risk.
|
|
19
|
+
* - **2**: medium risk.
|
|
20
|
+
* - **3**: high risk.
|
|
17
21
|
*
|
|
18
22
|
* @example
|
|
19
23
|
* 0
|
|
@@ -232,7 +236,7 @@ export class DescribeOutgoingDomainDetailResponseBodyAssetList extends $dara.Mod
|
|
|
232
236
|
totalBytes?: string;
|
|
233
237
|
/**
|
|
234
238
|
* @remarks
|
|
235
|
-
* The instance ID
|
|
239
|
+
* The VPC instance ID.
|
|
236
240
|
*
|
|
237
241
|
* @example
|
|
238
242
|
* vpc-9dp16jgwgyvn****
|
|
@@ -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
|
+
|