@alicloud/cloudfw20171207 6.2.0 → 6.4.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 +60 -0
- package/dist/client.js +252 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeVpcFirewallDomainListRequest.d.ts +74 -0
- package/dist/models/DescribeVpcFirewallDomainListRequest.js +78 -0
- package/dist/models/DescribeVpcFirewallDomainListRequest.js.map +1 -0
- package/dist/models/DescribeVpcFirewallDomainListResponse.d.ts +19 -0
- package/dist/models/DescribeVpcFirewallDomainListResponse.js +69 -0
- package/dist/models/DescribeVpcFirewallDomainListResponse.js.map +1 -0
- package/dist/models/DescribeVpcFirewallDomainListResponseBody.d.ts +82 -0
- package/dist/models/DescribeVpcFirewallDomainListResponseBody.js +105 -0
- package/dist/models/DescribeVpcFirewallDomainListResponseBody.js.map +1 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListRequest.d.ts +75 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js +83 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js.map +1 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponse.d.ts +19 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js +69 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js.map +1 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.d.ts +149 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js +144 -0
- package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js.map +1 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.d.ts +74 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js +78 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js.map +1 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.d.ts +19 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js +69 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js.map +1 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.d.ts +66 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js +94 -0
- package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js.map +1 -0
- package/dist/models/ModifyCfwInstanceRequest.d.ts +41 -0
- package/dist/models/ModifyCfwInstanceRequest.js +84 -0
- package/dist/models/ModifyCfwInstanceRequest.js.map +1 -0
- package/dist/models/ModifyCfwInstanceResponse.d.ts +19 -0
- package/dist/models/ModifyCfwInstanceResponse.js +69 -0
- package/dist/models/ModifyCfwInstanceResponse.js.map +1 -0
- package/dist/models/ModifyCfwInstanceResponseBody.d.ts +18 -0
- package/dist/models/ModifyCfwInstanceResponseBody.js +58 -0
- package/dist/models/ModifyCfwInstanceResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +51 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +296 -0
- package/src/models/DescribeVpcFirewallDomainListRequest.ts +107 -0
- package/src/models/DescribeVpcFirewallDomainListResponse.ts +40 -0
- package/src/models/DescribeVpcFirewallDomainListResponseBody.ts +133 -0
- package/src/models/DescribeVpcFirewallDomainRelationListRequest.ts +113 -0
- package/src/models/DescribeVpcFirewallDomainRelationListResponse.ts +40 -0
- package/src/models/DescribeVpcFirewallDomainRelationListResponseBody.ts +230 -0
- package/src/models/DescribeVpcFirewallTrafficAssetListRequest.ts +107 -0
- package/src/models/DescribeVpcFirewallTrafficAssetListResponse.ts +40 -0
- package/src/models/DescribeVpcFirewallTrafficAssetListResponseBody.ts +106 -0
- package/src/models/ModifyCfwInstanceRequest.ts +71 -0
- package/src/models/ModifyCfwInstanceResponse.ts +40 -0
- package/src/models/ModifyCfwInstanceResponseBody.ts +31 -0
- package/src/models/model.ts +17 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVpcFirewallDomainRelationListResponseBody } from "./DescribeVpcFirewallDomainRelationListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVpcFirewallDomainRelationListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVpcFirewallDomainRelationListResponseBody;
|
|
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: DescribeVpcFirewallDomainRelationListResponseBody,
|
|
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,230 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVpcFirewallDomainRelationListResponseBodyDataList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Google
|
|
9
|
+
*/
|
|
10
|
+
business?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* www.example.com
|
|
14
|
+
*/
|
|
15
|
+
domain?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 192.0.XX.XX
|
|
19
|
+
*/
|
|
20
|
+
dstIP?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-beijing
|
|
24
|
+
*/
|
|
25
|
+
dstRegionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* vpc-bp10w5nb30r4jzfyc****
|
|
29
|
+
*/
|
|
30
|
+
dstVpcId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* vpc-****
|
|
34
|
+
*/
|
|
35
|
+
dstVpcName?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 1767147003
|
|
39
|
+
*/
|
|
40
|
+
firstTime?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* Google
|
|
44
|
+
*/
|
|
45
|
+
groupName?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* 10
|
|
49
|
+
*/
|
|
50
|
+
ipsHitCnt?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 1767147003
|
|
54
|
+
*/
|
|
55
|
+
lastTime?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 10000
|
|
59
|
+
*/
|
|
60
|
+
requestBytes?: number;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 10000
|
|
64
|
+
*/
|
|
65
|
+
responseBytes?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* 27
|
|
69
|
+
*/
|
|
70
|
+
sessionCount?: number;
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* 192.0.XX.XX
|
|
74
|
+
*/
|
|
75
|
+
srcIP?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* cn-hangzhou
|
|
79
|
+
*/
|
|
80
|
+
srcRegionId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* vpc-t4nlt09olhpazpoeg****
|
|
84
|
+
*/
|
|
85
|
+
srcVpcId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* vpc-****
|
|
89
|
+
*/
|
|
90
|
+
srcVpcName?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* 16287823
|
|
94
|
+
*/
|
|
95
|
+
totalBytes?: number;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
business: 'Business',
|
|
99
|
+
domain: 'Domain',
|
|
100
|
+
dstIP: 'DstIP',
|
|
101
|
+
dstRegionId: 'DstRegionId',
|
|
102
|
+
dstVpcId: 'DstVpcId',
|
|
103
|
+
dstVpcName: 'DstVpcName',
|
|
104
|
+
firstTime: 'FirstTime',
|
|
105
|
+
groupName: 'GroupName',
|
|
106
|
+
ipsHitCnt: 'IpsHitCnt',
|
|
107
|
+
lastTime: 'LastTime',
|
|
108
|
+
requestBytes: 'RequestBytes',
|
|
109
|
+
responseBytes: 'ResponseBytes',
|
|
110
|
+
sessionCount: 'SessionCount',
|
|
111
|
+
srcIP: 'SrcIP',
|
|
112
|
+
srcRegionId: 'SrcRegionId',
|
|
113
|
+
srcVpcId: 'SrcVpcId',
|
|
114
|
+
srcVpcName: 'SrcVpcName',
|
|
115
|
+
totalBytes: 'TotalBytes',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
static types(): { [key: string]: any } {
|
|
120
|
+
return {
|
|
121
|
+
business: 'string',
|
|
122
|
+
domain: 'string',
|
|
123
|
+
dstIP: 'string',
|
|
124
|
+
dstRegionId: 'string',
|
|
125
|
+
dstVpcId: 'string',
|
|
126
|
+
dstVpcName: 'string',
|
|
127
|
+
firstTime: 'number',
|
|
128
|
+
groupName: 'string',
|
|
129
|
+
ipsHitCnt: 'number',
|
|
130
|
+
lastTime: 'number',
|
|
131
|
+
requestBytes: 'number',
|
|
132
|
+
responseBytes: 'number',
|
|
133
|
+
sessionCount: 'number',
|
|
134
|
+
srcIP: 'string',
|
|
135
|
+
srcRegionId: 'string',
|
|
136
|
+
srcVpcId: 'string',
|
|
137
|
+
srcVpcName: 'string',
|
|
138
|
+
totalBytes: 'number',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
validate() {
|
|
143
|
+
super.validate();
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
constructor(map?: { [key: string]: any }) {
|
|
147
|
+
super(map);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export class DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList extends $dara.Model {
|
|
152
|
+
/**
|
|
153
|
+
* @example
|
|
154
|
+
* vpc-bp10w5nb30r4jzfyc****
|
|
155
|
+
*/
|
|
156
|
+
vpcId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @example
|
|
159
|
+
* vpc-****
|
|
160
|
+
*/
|
|
161
|
+
vpcName?: string;
|
|
162
|
+
static names(): { [key: string]: string } {
|
|
163
|
+
return {
|
|
164
|
+
vpcId: 'VpcId',
|
|
165
|
+
vpcName: 'VpcName',
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
static types(): { [key: string]: any } {
|
|
170
|
+
return {
|
|
171
|
+
vpcId: 'string',
|
|
172
|
+
vpcName: 'string',
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
validate() {
|
|
177
|
+
super.validate();
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
constructor(map?: { [key: string]: any }) {
|
|
181
|
+
super(map);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class DescribeVpcFirewallDomainRelationListResponseBody extends $dara.Model {
|
|
186
|
+
dataList?: DescribeVpcFirewallDomainRelationListResponseBodyDataList[];
|
|
187
|
+
dstVpcList?: DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList[];
|
|
188
|
+
/**
|
|
189
|
+
* @example
|
|
190
|
+
* C5DDD596-1191-5F36-A504-8733045A****
|
|
191
|
+
*/
|
|
192
|
+
requestId?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @example
|
|
195
|
+
* 132
|
|
196
|
+
*/
|
|
197
|
+
totalCount?: number;
|
|
198
|
+
static names(): { [key: string]: string } {
|
|
199
|
+
return {
|
|
200
|
+
dataList: 'DataList',
|
|
201
|
+
dstVpcList: 'DstVpcList',
|
|
202
|
+
requestId: 'RequestId',
|
|
203
|
+
totalCount: 'TotalCount',
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
static types(): { [key: string]: any } {
|
|
208
|
+
return {
|
|
209
|
+
dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainRelationListResponseBodyDataList },
|
|
210
|
+
dstVpcList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList },
|
|
211
|
+
requestId: 'string',
|
|
212
|
+
totalCount: 'number',
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
validate() {
|
|
217
|
+
if(Array.isArray(this.dataList)) {
|
|
218
|
+
$dara.Model.validateArray(this.dataList);
|
|
219
|
+
}
|
|
220
|
+
if(Array.isArray(this.dstVpcList)) {
|
|
221
|
+
$dara.Model.validateArray(this.dstVpcList);
|
|
222
|
+
}
|
|
223
|
+
super.validate();
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
constructor(map?: { [key: string]: any }) {
|
|
227
|
+
super(map);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVpcFirewallTrafficAssetListRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
currentPage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* www.****.com
|
|
14
|
+
*/
|
|
15
|
+
domain?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 1656750960
|
|
22
|
+
*/
|
|
23
|
+
endTime?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 47.92.x.x
|
|
27
|
+
*/
|
|
28
|
+
IP?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* true
|
|
32
|
+
*/
|
|
33
|
+
isAITraffic?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* zh
|
|
37
|
+
*/
|
|
38
|
+
lang?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* SessionCount
|
|
42
|
+
*/
|
|
43
|
+
order?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* 10
|
|
47
|
+
*/
|
|
48
|
+
pageSize?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* desc
|
|
52
|
+
*/
|
|
53
|
+
sort?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1656664560
|
|
60
|
+
*/
|
|
61
|
+
startTime?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* vpc-m5ewlqkuf7orclr1****
|
|
65
|
+
*/
|
|
66
|
+
vpcId?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
currentPage: 'CurrentPage',
|
|
70
|
+
domain: 'Domain',
|
|
71
|
+
endTime: 'EndTime',
|
|
72
|
+
IP: 'IP',
|
|
73
|
+
isAITraffic: 'IsAITraffic',
|
|
74
|
+
lang: 'Lang',
|
|
75
|
+
order: 'Order',
|
|
76
|
+
pageSize: 'PageSize',
|
|
77
|
+
sort: 'Sort',
|
|
78
|
+
startTime: 'StartTime',
|
|
79
|
+
vpcId: 'VpcId',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
currentPage: 'string',
|
|
86
|
+
domain: 'string',
|
|
87
|
+
endTime: 'string',
|
|
88
|
+
IP: 'string',
|
|
89
|
+
isAITraffic: 'string',
|
|
90
|
+
lang: 'string',
|
|
91
|
+
order: 'string',
|
|
92
|
+
pageSize: 'string',
|
|
93
|
+
sort: 'string',
|
|
94
|
+
startTime: 'string',
|
|
95
|
+
vpcId: 'string',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
validate() {
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeVpcFirewallTrafficAssetListResponseBody } from "./DescribeVpcFirewallTrafficAssetListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeVpcFirewallTrafficAssetListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeVpcFirewallTrafficAssetListResponseBody;
|
|
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: DescribeVpcFirewallTrafficAssetListResponseBody,
|
|
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,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeVpcFirewallTrafficAssetListResponseBodyDataList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* a.com
|
|
9
|
+
*/
|
|
10
|
+
IP?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 10
|
|
14
|
+
*/
|
|
15
|
+
ipsHitCnt?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 12
|
|
19
|
+
*/
|
|
20
|
+
sessionCount?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 253023143
|
|
24
|
+
*/
|
|
25
|
+
totalBytes?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* a.com
|
|
29
|
+
*/
|
|
30
|
+
vpcId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* vpc-bp1mos0vhefmx5ah6****
|
|
34
|
+
*/
|
|
35
|
+
vpcName?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
IP: 'IP',
|
|
39
|
+
ipsHitCnt: 'IpsHitCnt',
|
|
40
|
+
sessionCount: 'SessionCount',
|
|
41
|
+
totalBytes: 'TotalBytes',
|
|
42
|
+
vpcId: 'VpcId',
|
|
43
|
+
vpcName: 'VpcName',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
IP: 'string',
|
|
50
|
+
ipsHitCnt: 'number',
|
|
51
|
+
sessionCount: 'number',
|
|
52
|
+
totalBytes: 'number',
|
|
53
|
+
vpcId: 'string',
|
|
54
|
+
vpcName: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class DescribeVpcFirewallTrafficAssetListResponseBody extends $dara.Model {
|
|
68
|
+
dataList?: DescribeVpcFirewallTrafficAssetListResponseBodyDataList[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* C5BE1AA4-934A-5085-89CC-9AD1CAC3****
|
|
72
|
+
*/
|
|
73
|
+
requestId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* 132
|
|
77
|
+
*/
|
|
78
|
+
totalCount?: number;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
dataList: 'DataList',
|
|
82
|
+
requestId: 'RequestId',
|
|
83
|
+
totalCount: 'TotalCount',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static types(): { [key: string]: any } {
|
|
88
|
+
return {
|
|
89
|
+
dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallTrafficAssetListResponseBodyDataList },
|
|
90
|
+
requestId: 'string',
|
|
91
|
+
totalCount: 'number',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(Array.isArray(this.dataList)) {
|
|
97
|
+
$dara.Model.validateArray(this.dataList);
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCfwInstanceRequestUpdateList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Sdl
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
code: 'Code',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
code: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class ModifyCfwInstanceRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* cfw_elasticity_public_cn-zsk39m******
|
|
43
|
+
*/
|
|
44
|
+
instanceId?: string;
|
|
45
|
+
updateList?: ModifyCfwInstanceRequestUpdateList[];
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
instanceId: 'InstanceId',
|
|
49
|
+
updateList: 'UpdateList',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
instanceId: 'string',
|
|
56
|
+
updateList: { 'type': 'array', 'itemType': ModifyCfwInstanceRequestUpdateList },
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
if(Array.isArray(this.updateList)) {
|
|
62
|
+
$dara.Model.validateArray(this.updateList);
|
|
63
|
+
}
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyCfwInstanceResponseBody } from "./ModifyCfwInstanceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyCfwInstanceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyCfwInstanceResponseBody;
|
|
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: ModifyCfwInstanceResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyCfwInstanceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* F0F82705-CFC7-5F83-86C8-A063892F****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|