@alicloud/cloudfw20171207 8.2.0 → 8.2.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.
- package/dist/client.d.ts +34 -34
- package/dist/client.js +73 -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/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 +19 -0
- package/dist/models/model.js +71 -32
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +83 -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/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 +19 -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****
|
|
@@ -42,6 +42,376 @@ export class ModifyAddressBookRequestAckLabels extends $dara.Model {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export class ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv4 extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The asset type: AIGatewayEIP.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* false
|
|
52
|
+
*/
|
|
53
|
+
aiGatewayEIP?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The asset type: AlbEIP.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* false
|
|
60
|
+
*/
|
|
61
|
+
albEIP?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The asset type: ApigEIP.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* false
|
|
68
|
+
*/
|
|
69
|
+
apiGatewayEIP?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The asset type: BastionHostEgressIP.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* false
|
|
76
|
+
*/
|
|
77
|
+
bastionHostEgressIP?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The asset type: BastionHostIP.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* false
|
|
84
|
+
*/
|
|
85
|
+
bastionHostIP?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The asset type: BastionHostIngressIP.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* false
|
|
92
|
+
*/
|
|
93
|
+
bastionHostIngressIP?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The asset type: EIP.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* false
|
|
100
|
+
*/
|
|
101
|
+
EIP?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The asset type: EcsEIP.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* false
|
|
108
|
+
*/
|
|
109
|
+
ecsEIP?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The asset type: EcsPublicIP.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* false
|
|
116
|
+
*/
|
|
117
|
+
ecsPublicIP?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The asset type: EniEIP.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* false
|
|
124
|
+
*/
|
|
125
|
+
eniEIP?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The asset type: GaEIP.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* false
|
|
132
|
+
*/
|
|
133
|
+
gaEIP?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The asset type: HAVIP.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* false
|
|
140
|
+
*/
|
|
141
|
+
HAVIP?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The asset type: NatEIP.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* false
|
|
148
|
+
*/
|
|
149
|
+
natEIP?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* @remarks
|
|
152
|
+
* The asset type: NatPublicIP.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* false
|
|
156
|
+
*/
|
|
157
|
+
natPublicIP?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* @remarks
|
|
160
|
+
* The asset type: NlbEIP.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* false
|
|
164
|
+
*/
|
|
165
|
+
nlbEIP?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The asset type: SlbEIP.
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* true
|
|
172
|
+
*/
|
|
173
|
+
slbEIP?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* @remarks
|
|
176
|
+
* The asset type: SlbPublicIP.
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* false
|
|
180
|
+
*/
|
|
181
|
+
slbPublicIP?: boolean;
|
|
182
|
+
static names(): { [key: string]: string } {
|
|
183
|
+
return {
|
|
184
|
+
aiGatewayEIP: 'AiGatewayEIP',
|
|
185
|
+
albEIP: 'AlbEIP',
|
|
186
|
+
apiGatewayEIP: 'ApiGatewayEIP',
|
|
187
|
+
bastionHostEgressIP: 'BastionHostEgressIP',
|
|
188
|
+
bastionHostIP: 'BastionHostIP',
|
|
189
|
+
bastionHostIngressIP: 'BastionHostIngressIP',
|
|
190
|
+
EIP: 'EIP',
|
|
191
|
+
ecsEIP: 'EcsEIP',
|
|
192
|
+
ecsPublicIP: 'EcsPublicIP',
|
|
193
|
+
eniEIP: 'EniEIP',
|
|
194
|
+
gaEIP: 'GaEIP',
|
|
195
|
+
HAVIP: 'HAVIP',
|
|
196
|
+
natEIP: 'NatEIP',
|
|
197
|
+
natPublicIP: 'NatPublicIP',
|
|
198
|
+
nlbEIP: 'NlbEIP',
|
|
199
|
+
slbEIP: 'SlbEIP',
|
|
200
|
+
slbPublicIP: 'SlbPublicIP',
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
static types(): { [key: string]: any } {
|
|
205
|
+
return {
|
|
206
|
+
aiGatewayEIP: 'boolean',
|
|
207
|
+
albEIP: 'boolean',
|
|
208
|
+
apiGatewayEIP: 'boolean',
|
|
209
|
+
bastionHostEgressIP: 'boolean',
|
|
210
|
+
bastionHostIP: 'boolean',
|
|
211
|
+
bastionHostIngressIP: 'boolean',
|
|
212
|
+
EIP: 'boolean',
|
|
213
|
+
ecsEIP: 'boolean',
|
|
214
|
+
ecsPublicIP: 'boolean',
|
|
215
|
+
eniEIP: 'boolean',
|
|
216
|
+
gaEIP: 'boolean',
|
|
217
|
+
HAVIP: 'boolean',
|
|
218
|
+
natEIP: 'boolean',
|
|
219
|
+
natPublicIP: 'boolean',
|
|
220
|
+
nlbEIP: 'boolean',
|
|
221
|
+
slbEIP: 'boolean',
|
|
222
|
+
slbPublicIP: 'boolean',
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
validate() {
|
|
227
|
+
super.validate();
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
constructor(map?: { [key: string]: any }) {
|
|
231
|
+
super(map);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv6 extends $dara.Model {
|
|
236
|
+
/**
|
|
237
|
+
* @remarks
|
|
238
|
+
* The asset type: AIGatewayEIPv6.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* false
|
|
242
|
+
*/
|
|
243
|
+
aiGatewayEIPv6?: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* The asset type: AlbIPv6.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* false
|
|
250
|
+
*/
|
|
251
|
+
albIPv6?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The asset type: ApigEIPv6.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* false
|
|
258
|
+
*/
|
|
259
|
+
apiGatewayEIPv6?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The asset type: EcsIPv6.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* false
|
|
266
|
+
*/
|
|
267
|
+
ecsIPv6?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* @remarks
|
|
270
|
+
* The asset type: EniEIPv6.
|
|
271
|
+
*
|
|
272
|
+
* @example
|
|
273
|
+
* false
|
|
274
|
+
*/
|
|
275
|
+
eniEIPv6?: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* @remarks
|
|
278
|
+
* The asset type: GaEIPv6.
|
|
279
|
+
*
|
|
280
|
+
* @example
|
|
281
|
+
* false
|
|
282
|
+
*/
|
|
283
|
+
gaEIPv6?: boolean;
|
|
284
|
+
/**
|
|
285
|
+
* @remarks
|
|
286
|
+
* The asset type: NlbIPv6.
|
|
287
|
+
*
|
|
288
|
+
* @example
|
|
289
|
+
* false
|
|
290
|
+
*/
|
|
291
|
+
nlbIPv6?: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* @remarks
|
|
294
|
+
* The asset type: SlbIPv6.
|
|
295
|
+
*
|
|
296
|
+
* @example
|
|
297
|
+
* false
|
|
298
|
+
*/
|
|
299
|
+
slbIPv6?: boolean;
|
|
300
|
+
static names(): { [key: string]: string } {
|
|
301
|
+
return {
|
|
302
|
+
aiGatewayEIPv6: 'AiGatewayEIPv6',
|
|
303
|
+
albIPv6: 'AlbIPv6',
|
|
304
|
+
apiGatewayEIPv6: 'ApiGatewayEIPv6',
|
|
305
|
+
ecsIPv6: 'EcsIPv6',
|
|
306
|
+
eniEIPv6: 'EniEIPv6',
|
|
307
|
+
gaEIPv6: 'GaEIPv6',
|
|
308
|
+
nlbIPv6: 'NlbIPv6',
|
|
309
|
+
slbIPv6: 'SlbIPv6',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
static types(): { [key: string]: any } {
|
|
314
|
+
return {
|
|
315
|
+
aiGatewayEIPv6: 'boolean',
|
|
316
|
+
albIPv6: 'boolean',
|
|
317
|
+
apiGatewayEIPv6: 'boolean',
|
|
318
|
+
ecsIPv6: 'boolean',
|
|
319
|
+
eniEIPv6: 'boolean',
|
|
320
|
+
gaEIPv6: 'boolean',
|
|
321
|
+
nlbIPv6: 'boolean',
|
|
322
|
+
slbIPv6: 'boolean',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
validate() {
|
|
327
|
+
super.validate();
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
constructor(map?: { [key: string]: any }) {
|
|
331
|
+
super(map);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export class ModifyAddressBookRequestAssetRegionResourceTypesResourceType extends $dara.Model {
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The IPv4 asset type.
|
|
339
|
+
*/
|
|
340
|
+
ipv4?: ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv4;
|
|
341
|
+
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* The IPv6 asset type.
|
|
344
|
+
*/
|
|
345
|
+
ipv6?: ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv6;
|
|
346
|
+
static names(): { [key: string]: string } {
|
|
347
|
+
return {
|
|
348
|
+
ipv4: 'Ipv4',
|
|
349
|
+
ipv6: 'Ipv6',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
static types(): { [key: string]: any } {
|
|
354
|
+
return {
|
|
355
|
+
ipv4: ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv4,
|
|
356
|
+
ipv6: ModifyAddressBookRequestAssetRegionResourceTypesResourceTypeIpv6,
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
validate() {
|
|
361
|
+
if(this.ipv4 && typeof (this.ipv4 as any).validate === 'function') {
|
|
362
|
+
(this.ipv4 as any).validate();
|
|
363
|
+
}
|
|
364
|
+
if(this.ipv6 && typeof (this.ipv6 as any).validate === 'function') {
|
|
365
|
+
(this.ipv6 as any).validate();
|
|
366
|
+
}
|
|
367
|
+
super.validate();
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
constructor(map?: { [key: string]: any }) {
|
|
371
|
+
super(map);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export class ModifyAddressBookRequestAssetRegionResourceTypes extends $dara.Model {
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The region ID of the asset.
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* all
|
|
382
|
+
*/
|
|
383
|
+
assetRegionId?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The asset type.
|
|
387
|
+
*/
|
|
388
|
+
resourceType?: ModifyAddressBookRequestAssetRegionResourceTypesResourceType;
|
|
389
|
+
static names(): { [key: string]: string } {
|
|
390
|
+
return {
|
|
391
|
+
assetRegionId: 'AssetRegionId',
|
|
392
|
+
resourceType: 'ResourceType',
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
static types(): { [key: string]: any } {
|
|
397
|
+
return {
|
|
398
|
+
assetRegionId: 'string',
|
|
399
|
+
resourceType: ModifyAddressBookRequestAssetRegionResourceTypesResourceType,
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
validate() {
|
|
404
|
+
if(this.resourceType && typeof (this.resourceType as any).validate === 'function') {
|
|
405
|
+
(this.resourceType as any).validate();
|
|
406
|
+
}
|
|
407
|
+
super.validate();
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
constructor(map?: { [key: string]: any }) {
|
|
411
|
+
super(map);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
|
|
45
415
|
export class ModifyAddressBookRequestTagList extends $dara.Model {
|
|
46
416
|
/**
|
|
47
417
|
* @remarks
|
|
@@ -85,26 +455,26 @@ export class ModifyAddressBookRequestTagList extends $dara.Model {
|
|
|
85
455
|
export class ModifyAddressBookRequest extends $dara.Model {
|
|
86
456
|
/**
|
|
87
457
|
* @remarks
|
|
88
|
-
* The list of ACK cluster
|
|
458
|
+
* The list of labels for ACK cluster pods.
|
|
89
459
|
*
|
|
90
|
-
* >
|
|
460
|
+
* > A maximum of 10 labels are supported.
|
|
91
461
|
*/
|
|
92
462
|
ackLabels?: ModifyAddressBookRequestAckLabels[];
|
|
93
463
|
/**
|
|
94
464
|
* @remarks
|
|
95
|
-
* The list of ACK cluster
|
|
96
|
-
* >
|
|
465
|
+
* The list of namespaces for ACK cluster pods.
|
|
466
|
+
* > A maximum of 10 namespaces are supported.
|
|
97
467
|
*/
|
|
98
468
|
ackNamespaces?: string[];
|
|
99
469
|
/**
|
|
100
470
|
* @remarks
|
|
101
|
-
* The
|
|
471
|
+
* The addresses in the address book. Separate multiple addresses with commas (,). Use a space to separate an address from its description. This parameter is required when GroupType is set to **ip**, **port**, or **domain**.
|
|
102
472
|
*
|
|
103
|
-
* - When GroupType is **ip**,
|
|
473
|
+
* - When GroupType is set to **ip**, specify IP addresses. Example: 1.2.XX.XX/32 Development CIDR block,10.0.0.X/24,1.2.XX.XX/24 Test CIDR block.
|
|
104
474
|
*
|
|
105
|
-
* - When GroupType is **port**,
|
|
475
|
+
* - When GroupType is set to **port**, specify ports or port ranges. Example: 80/80 HTTP port,100/200,3306 Database port.
|
|
106
476
|
*
|
|
107
|
-
* - When GroupType is **domain**,
|
|
477
|
+
* - When GroupType is set to **domain**, specify domain names. Example: demo1.aliyun.com Test domain name,demo2.aliyun.com,www.aliyun.com Alibaba Cloud official website.
|
|
108
478
|
*
|
|
109
479
|
* @example
|
|
110
480
|
* 192.0.XX.XX/32 ,192.0.XX.XX/24
|
|
@@ -112,7 +482,17 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
112
482
|
addressList?: string;
|
|
113
483
|
/**
|
|
114
484
|
* @remarks
|
|
115
|
-
*
|
|
485
|
+
* The list of member accounts for the asset address book.
|
|
486
|
+
*/
|
|
487
|
+
assetMemberUids?: number[];
|
|
488
|
+
/**
|
|
489
|
+
* @remarks
|
|
490
|
+
* The list of regions and resource types for the asset address book.
|
|
491
|
+
*/
|
|
492
|
+
assetRegionResourceTypes?: ModifyAddressBookRequestAssetRegionResourceTypes[];
|
|
493
|
+
/**
|
|
494
|
+
* @remarks
|
|
495
|
+
* Specifies whether the public IP addresses of Elastic Compute Service (ECS) instances that match new labels is automatically added to the address book.
|
|
116
496
|
*
|
|
117
497
|
* @example
|
|
118
498
|
* 1
|
|
@@ -142,7 +522,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
142
522
|
* @remarks
|
|
143
523
|
* The unique ID of the address book.
|
|
144
524
|
*
|
|
145
|
-
* >
|
|
525
|
+
* > You can obtain the value by calling the [DescribeAddressBook](~~DescribeAddressBook~~) operation.
|
|
146
526
|
*
|
|
147
527
|
* This parameter is required.
|
|
148
528
|
*
|
|
@@ -152,7 +532,9 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
152
532
|
groupUuid?: string;
|
|
153
533
|
/**
|
|
154
534
|
* @remarks
|
|
155
|
-
* The language type.
|
|
535
|
+
* The language type. Valid values:
|
|
536
|
+
* - **en**: English.
|
|
537
|
+
* - **zh**: Chinese (default).
|
|
156
538
|
*
|
|
157
539
|
* @example
|
|
158
540
|
* zh
|
|
@@ -160,10 +542,10 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
160
542
|
lang?: string;
|
|
161
543
|
/**
|
|
162
544
|
* @remarks
|
|
163
|
-
* The modification
|
|
545
|
+
* The modification mode.
|
|
164
546
|
*
|
|
165
|
-
* >When GroupType is **ip**, **ipv6**, **port**, or **domain**,
|
|
166
|
-
* >Notice: When GroupType is **tag**, this parameter must be empty
|
|
547
|
+
* > When GroupType is set to **ip**, **ipv6**, **port**, or **domain**, the default value is **Cover** if this parameter is not specified.
|
|
548
|
+
* >Notice: When GroupType is set to **tag**, this parameter must be left empty.</notice>
|
|
167
549
|
*
|
|
168
550
|
* @example
|
|
169
551
|
* Cover
|
|
@@ -171,7 +553,7 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
171
553
|
modifyMode?: string;
|
|
172
554
|
/**
|
|
173
555
|
* @remarks
|
|
174
|
-
* The source IP address of the
|
|
556
|
+
* The source IP address of the request.
|
|
175
557
|
*
|
|
176
558
|
* @example
|
|
177
559
|
* 192.0.XX.XX
|
|
@@ -181,12 +563,14 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
181
563
|
sourceIp?: string;
|
|
182
564
|
/**
|
|
183
565
|
* @remarks
|
|
184
|
-
* The
|
|
566
|
+
* The ECS tag list.
|
|
185
567
|
*/
|
|
186
568
|
tagList?: ModifyAddressBookRequestTagList[];
|
|
187
569
|
/**
|
|
188
570
|
* @remarks
|
|
189
|
-
* The logical relationship among multiple ECS tags.
|
|
571
|
+
* The logical relationship among multiple ECS tags. Valid values:
|
|
572
|
+
* - **or**: The public IP address of an ECS instance is added to the address book if the instance matches any of the specified tags.
|
|
573
|
+
* - **and**: The public IP address of an ECS instance is added to the address book only if the instance matches all of the specified tags.
|
|
190
574
|
*
|
|
191
575
|
* @example
|
|
192
576
|
* and
|
|
@@ -197,6 +581,8 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
197
581
|
ackLabels: 'AckLabels',
|
|
198
582
|
ackNamespaces: 'AckNamespaces',
|
|
199
583
|
addressList: 'AddressList',
|
|
584
|
+
assetMemberUids: 'AssetMemberUids',
|
|
585
|
+
assetRegionResourceTypes: 'AssetRegionResourceTypes',
|
|
200
586
|
autoAddTagEcs: 'AutoAddTagEcs',
|
|
201
587
|
description: 'Description',
|
|
202
588
|
groupName: 'GroupName',
|
|
@@ -214,6 +600,8 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
214
600
|
ackLabels: { 'type': 'array', 'itemType': ModifyAddressBookRequestAckLabels },
|
|
215
601
|
ackNamespaces: { 'type': 'array', 'itemType': 'string' },
|
|
216
602
|
addressList: 'string',
|
|
603
|
+
assetMemberUids: { 'type': 'array', 'itemType': 'number' },
|
|
604
|
+
assetRegionResourceTypes: { 'type': 'array', 'itemType': ModifyAddressBookRequestAssetRegionResourceTypes },
|
|
217
605
|
autoAddTagEcs: 'string',
|
|
218
606
|
description: 'string',
|
|
219
607
|
groupName: 'string',
|
|
@@ -233,6 +621,12 @@ export class ModifyAddressBookRequest extends $dara.Model {
|
|
|
233
621
|
if(Array.isArray(this.ackNamespaces)) {
|
|
234
622
|
$dara.Model.validateArray(this.ackNamespaces);
|
|
235
623
|
}
|
|
624
|
+
if(Array.isArray(this.assetMemberUids)) {
|
|
625
|
+
$dara.Model.validateArray(this.assetMemberUids);
|
|
626
|
+
}
|
|
627
|
+
if(Array.isArray(this.assetRegionResourceTypes)) {
|
|
628
|
+
$dara.Model.validateArray(this.assetRegionResourceTypes);
|
|
629
|
+
}
|
|
236
630
|
if(Array.isArray(this.tagList)) {
|
|
237
631
|
$dara.Model.validateArray(this.tagList);
|
|
238
632
|
}
|