@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.
Files changed (59) hide show
  1. package/dist/client.d.ts +34 -34
  2. package/dist/client.js +73 -37
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAddressBookRequest.d.ts +291 -10
  5. package/dist/models/AddAddressBookRequest.js +146 -1
  6. package/dist/models/AddAddressBookRequest.js.map +1 -1
  7. package/dist/models/AddAddressBookResponseBody.d.ts +1 -1
  8. package/dist/models/AddAddressBookShrinkRequest.d.ts +186 -0
  9. package/dist/models/AddAddressBookShrinkRequest.js +135 -0
  10. package/dist/models/AddAddressBookShrinkRequest.js.map +1 -0
  11. package/dist/models/DescribeAclWhitelistRequest.d.ts +1 -2
  12. package/dist/models/DescribeAclWhitelistRequest.js.map +1 -1
  13. package/dist/models/DescribeAclWhitelistResponseBody.d.ts +11 -19
  14. package/dist/models/DescribeAclWhitelistResponseBody.js.map +1 -1
  15. package/dist/models/DescribeAddressBookRequest.d.ts +16 -9
  16. package/dist/models/DescribeAddressBookRequest.js +5 -0
  17. package/dist/models/DescribeAddressBookRequest.js.map +1 -1
  18. package/dist/models/DescribeAddressBookResponseBody.d.ts +304 -19
  19. package/dist/models/DescribeAddressBookResponseBody.js +146 -1
  20. package/dist/models/DescribeAddressBookResponseBody.js.map +1 -1
  21. package/dist/models/DescribeAddressBookShrinkRequest.d.ts +82 -0
  22. package/dist/models/DescribeAddressBookShrinkRequest.js +72 -0
  23. package/dist/models/DescribeAddressBookShrinkRequest.js.map +1 -0
  24. package/dist/models/DescribeFirewallTrafficTrendRequest.d.ts +12 -0
  25. package/dist/models/DescribeFirewallTrafficTrendRequest.js.map +1 -1
  26. package/dist/models/DescribeFirewallTrafficTrendResponseBody.d.ts +43 -0
  27. package/dist/models/DescribeFirewallTrafficTrendResponseBody.js.map +1 -1
  28. package/dist/models/DescribeOutgoingDomainDetailResponseBody.d.ts +6 -2
  29. package/dist/models/DescribeOutgoingDomainDetailResponseBody.js.map +1 -1
  30. package/dist/models/ModifyAddressBookRequest.d.ts +302 -17
  31. package/dist/models/ModifyAddressBookRequest.js +146 -1
  32. package/dist/models/ModifyAddressBookRequest.js.map +1 -1
  33. package/dist/models/ModifyAddressBookShrinkRequest.d.ts +192 -0
  34. package/dist/models/ModifyAddressBookShrinkRequest.js +135 -0
  35. package/dist/models/ModifyAddressBookShrinkRequest.js.map +1 -0
  36. package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.d.ts +6 -9
  37. package/dist/models/ModifyNatFirewallControlPolicyPositionRequest.js.map +1 -1
  38. package/dist/models/ModifyNatFirewallControlPolicyPositionResponseBody.d.ts +1 -1
  39. package/dist/models/model.d.ts +19 -0
  40. package/dist/models/model.js +71 -32
  41. package/dist/models/model.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/client.ts +83 -37
  44. package/src/models/AddAddressBookRequest.ts +400 -10
  45. package/src/models/AddAddressBookResponseBody.ts +1 -1
  46. package/src/models/AddAddressBookShrinkRequest.ts +258 -0
  47. package/src/models/DescribeAclWhitelistRequest.ts +1 -2
  48. package/src/models/DescribeAclWhitelistResponseBody.ts +11 -19
  49. package/src/models/DescribeAddressBookRequest.ts +21 -9
  50. package/src/models/DescribeAddressBookResponseBody.ts +413 -19
  51. package/src/models/DescribeAddressBookShrinkRequest.ts +109 -0
  52. package/src/models/DescribeFirewallTrafficTrendRequest.ts +12 -0
  53. package/src/models/DescribeFirewallTrafficTrendResponseBody.ts +43 -0
  54. package/src/models/DescribeOutgoingDomainDetailResponseBody.ts +6 -2
  55. package/src/models/ModifyAddressBookRequest.ts +411 -17
  56. package/src/models/ModifyAddressBookShrinkRequest.ts +264 -0
  57. package/src/models/ModifyNatFirewallControlPolicyPositionRequest.ts +6 -9
  58. package/src/models/ModifyNatFirewallControlPolicyPositionResponseBody.ts +1 -1
  59. package/src/models/model.ts +19 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeAddressBookResponseBodyAclsAckLabels extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of the ACK pod label.
8
+ * The key of the pod label in the ACK cluster.
9
9
  *
10
10
  * @example
11
11
  * app
@@ -13,7 +13,7 @@ export class DescribeAddressBookResponseBodyAclsAckLabels extends $dara.Model {
13
13
  key?: string;
14
14
  /**
15
15
  * @remarks
16
- * The value of the ACK pod label.
16
+ * The value of the pod label in the ACK cluster.
17
17
  *
18
18
  * @example
19
19
  * storage-operator
@@ -45,7 +45,7 @@ export class DescribeAddressBookResponseBodyAclsAckLabels extends $dara.Model {
45
45
  export class DescribeAddressBookResponseBodyAclsAddresses extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The IP address or CIDR block.
48
+ * The address information of the address book.
49
49
  *
50
50
  * @example
51
51
  * 192.168.0.1/32
@@ -53,7 +53,7 @@ export class DescribeAddressBookResponseBodyAclsAddresses extends $dara.Model {
53
53
  address?: string;
54
54
  /**
55
55
  * @remarks
56
- * The note for the address.
56
+ * The description of the individual address.
57
57
  *
58
58
  * @example
59
59
  * Single Address Description
@@ -82,10 +82,380 @@ export class DescribeAddressBookResponseBodyAclsAddresses extends $dara.Model {
82
82
  }
83
83
  }
84
84
 
85
+ export class DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv4 extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The asset type: AIGatewayEIP.
89
+ *
90
+ * @example
91
+ * false
92
+ */
93
+ aiGatewayEIP?: boolean;
94
+ /**
95
+ * @remarks
96
+ * The asset type: AlbEIP.
97
+ *
98
+ * @example
99
+ * false
100
+ */
101
+ albEIP?: boolean;
102
+ /**
103
+ * @remarks
104
+ * The asset type: ApigEIP.
105
+ *
106
+ * @example
107
+ * false
108
+ */
109
+ apiGatewayEIP?: boolean;
110
+ /**
111
+ * @remarks
112
+ * The asset type: BastionHostEgressIP.
113
+ *
114
+ * @example
115
+ * false
116
+ */
117
+ bastionHostEgressIP?: boolean;
118
+ /**
119
+ * @remarks
120
+ * The asset type: BastionHostIP.
121
+ *
122
+ * @example
123
+ * false
124
+ */
125
+ bastionHostIP?: boolean;
126
+ /**
127
+ * @remarks
128
+ * The asset type: BastionHostIngressIP.
129
+ *
130
+ * @example
131
+ * false
132
+ */
133
+ bastionHostIngressIP?: boolean;
134
+ /**
135
+ * @remarks
136
+ * The asset type: EIP.
137
+ *
138
+ * @example
139
+ * false
140
+ */
141
+ EIP?: boolean;
142
+ /**
143
+ * @remarks
144
+ * The asset type: EcsEIP.
145
+ *
146
+ * @example
147
+ * false
148
+ */
149
+ ecsEIP?: boolean;
150
+ /**
151
+ * @remarks
152
+ * The asset type: EcsPublicIP.
153
+ *
154
+ * @example
155
+ * false
156
+ */
157
+ ecsPublicIP?: boolean;
158
+ /**
159
+ * @remarks
160
+ * The asset type: EniEIP.
161
+ *
162
+ * @example
163
+ * false
164
+ */
165
+ eniEIP?: boolean;
166
+ /**
167
+ * @remarks
168
+ * The asset type: GaEIP.
169
+ *
170
+ * @example
171
+ * false
172
+ */
173
+ gaEIP?: boolean;
174
+ /**
175
+ * @remarks
176
+ * The asset type: HAVIP.
177
+ *
178
+ * @example
179
+ * false
180
+ */
181
+ HAVIP?: boolean;
182
+ /**
183
+ * @remarks
184
+ * The asset type: NatEIP.
185
+ *
186
+ * @example
187
+ * false
188
+ */
189
+ natEIP?: boolean;
190
+ /**
191
+ * @remarks
192
+ * The asset type: NatPublicIP.
193
+ *
194
+ * @example
195
+ * false
196
+ */
197
+ natPublicIP?: boolean;
198
+ /**
199
+ * @remarks
200
+ * The asset type: NlbEIP.
201
+ *
202
+ * @example
203
+ * false
204
+ */
205
+ nlbEIP?: boolean;
206
+ /**
207
+ * @remarks
208
+ * The asset type: SlbEIP.
209
+ *
210
+ * @example
211
+ * true
212
+ */
213
+ slbEIP?: boolean;
214
+ /**
215
+ * @remarks
216
+ * The asset type: SlbPublicIP.
217
+ *
218
+ * @example
219
+ * false
220
+ */
221
+ slbPublicIP?: boolean;
222
+ static names(): { [key: string]: string } {
223
+ return {
224
+ aiGatewayEIP: 'AiGatewayEIP',
225
+ albEIP: 'AlbEIP',
226
+ apiGatewayEIP: 'ApiGatewayEIP',
227
+ bastionHostEgressIP: 'BastionHostEgressIP',
228
+ bastionHostIP: 'BastionHostIP',
229
+ bastionHostIngressIP: 'BastionHostIngressIP',
230
+ EIP: 'EIP',
231
+ ecsEIP: 'EcsEIP',
232
+ ecsPublicIP: 'EcsPublicIP',
233
+ eniEIP: 'EniEIP',
234
+ gaEIP: 'GaEIP',
235
+ HAVIP: 'HAVIP',
236
+ natEIP: 'NatEIP',
237
+ natPublicIP: 'NatPublicIP',
238
+ nlbEIP: 'NlbEIP',
239
+ slbEIP: 'SlbEIP',
240
+ slbPublicIP: 'SlbPublicIP',
241
+ };
242
+ }
243
+
244
+ static types(): { [key: string]: any } {
245
+ return {
246
+ aiGatewayEIP: 'boolean',
247
+ albEIP: 'boolean',
248
+ apiGatewayEIP: 'boolean',
249
+ bastionHostEgressIP: 'boolean',
250
+ bastionHostIP: 'boolean',
251
+ bastionHostIngressIP: 'boolean',
252
+ EIP: 'boolean',
253
+ ecsEIP: 'boolean',
254
+ ecsPublicIP: 'boolean',
255
+ eniEIP: 'boolean',
256
+ gaEIP: 'boolean',
257
+ HAVIP: 'boolean',
258
+ natEIP: 'boolean',
259
+ natPublicIP: 'boolean',
260
+ nlbEIP: 'boolean',
261
+ slbEIP: 'boolean',
262
+ slbPublicIP: 'boolean',
263
+ };
264
+ }
265
+
266
+ validate() {
267
+ super.validate();
268
+ }
269
+
270
+ constructor(map?: { [key: string]: any }) {
271
+ super(map);
272
+ }
273
+ }
274
+
275
+ export class DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv6 extends $dara.Model {
276
+ /**
277
+ * @remarks
278
+ * The asset type: AIGatewayEIPv6.
279
+ *
280
+ * @example
281
+ * false
282
+ */
283
+ aiGatewayEIPv6?: boolean;
284
+ /**
285
+ * @remarks
286
+ * The asset type: AlbIPv6.
287
+ *
288
+ * @example
289
+ * false
290
+ */
291
+ albIPv6?: boolean;
292
+ /**
293
+ * @remarks
294
+ * The asset type: ApigEIPv6.
295
+ *
296
+ * @example
297
+ * false
298
+ */
299
+ apiGatewayEIPv6?: boolean;
300
+ /**
301
+ * @remarks
302
+ * The asset type: EcsIPv6.
303
+ *
304
+ * @example
305
+ * false
306
+ */
307
+ ecsIPv6?: boolean;
308
+ /**
309
+ * @remarks
310
+ * The asset type: EniEIPv6.
311
+ *
312
+ * @example
313
+ * false
314
+ */
315
+ eniEIPv6?: boolean;
316
+ /**
317
+ * @remarks
318
+ * The asset type: GaEIPv6.
319
+ *
320
+ * @example
321
+ * false
322
+ */
323
+ gaEIPv6?: boolean;
324
+ /**
325
+ * @remarks
326
+ * The asset type: NlbIPv6.
327
+ *
328
+ * @example
329
+ * false
330
+ */
331
+ nlbIPv6?: boolean;
332
+ /**
333
+ * @remarks
334
+ * The asset type: SlbIPv6.
335
+ *
336
+ * @example
337
+ * false
338
+ */
339
+ slbIPv6?: boolean;
340
+ static names(): { [key: string]: string } {
341
+ return {
342
+ aiGatewayEIPv6: 'AiGatewayEIPv6',
343
+ albIPv6: 'AlbIPv6',
344
+ apiGatewayEIPv6: 'ApiGatewayEIPv6',
345
+ ecsIPv6: 'EcsIPv6',
346
+ eniEIPv6: 'EniEIPv6',
347
+ gaEIPv6: 'GaEIPv6',
348
+ nlbIPv6: 'NlbIPv6',
349
+ slbIPv6: 'SlbIPv6',
350
+ };
351
+ }
352
+
353
+ static types(): { [key: string]: any } {
354
+ return {
355
+ aiGatewayEIPv6: 'boolean',
356
+ albIPv6: 'boolean',
357
+ apiGatewayEIPv6: 'boolean',
358
+ ecsIPv6: 'boolean',
359
+ eniEIPv6: 'boolean',
360
+ gaEIPv6: 'boolean',
361
+ nlbIPv6: 'boolean',
362
+ slbIPv6: 'boolean',
363
+ };
364
+ }
365
+
366
+ validate() {
367
+ super.validate();
368
+ }
369
+
370
+ constructor(map?: { [key: string]: any }) {
371
+ super(map);
372
+ }
373
+ }
374
+
375
+ export class DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceType extends $dara.Model {
376
+ /**
377
+ * @remarks
378
+ * The IPv4 asset type.
379
+ */
380
+ ipv4?: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv4;
381
+ /**
382
+ * @remarks
383
+ * The IPv6 asset type.
384
+ */
385
+ ipv6?: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv6;
386
+ static names(): { [key: string]: string } {
387
+ return {
388
+ ipv4: 'Ipv4',
389
+ ipv6: 'Ipv6',
390
+ };
391
+ }
392
+
393
+ static types(): { [key: string]: any } {
394
+ return {
395
+ ipv4: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv4,
396
+ ipv6: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceTypeIpv6,
397
+ };
398
+ }
399
+
400
+ validate() {
401
+ if(this.ipv4 && typeof (this.ipv4 as any).validate === 'function') {
402
+ (this.ipv4 as any).validate();
403
+ }
404
+ if(this.ipv6 && typeof (this.ipv6 as any).validate === 'function') {
405
+ (this.ipv6 as any).validate();
406
+ }
407
+ super.validate();
408
+ }
409
+
410
+ constructor(map?: { [key: string]: any }) {
411
+ super(map);
412
+ }
413
+ }
414
+
415
+ export class DescribeAddressBookResponseBodyAclsAssetRegionResourceTypes extends $dara.Model {
416
+ /**
417
+ * @remarks
418
+ * The region ID of the asset.
419
+ *
420
+ * @example
421
+ * all
422
+ */
423
+ assetRegionId?: string;
424
+ /**
425
+ * @remarks
426
+ * The asset type.
427
+ */
428
+ resourceType?: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceType;
429
+ static names(): { [key: string]: string } {
430
+ return {
431
+ assetRegionId: 'AssetRegionId',
432
+ resourceType: 'ResourceType',
433
+ };
434
+ }
435
+
436
+ static types(): { [key: string]: any } {
437
+ return {
438
+ assetRegionId: 'string',
439
+ resourceType: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypesResourceType,
440
+ };
441
+ }
442
+
443
+ validate() {
444
+ if(this.resourceType && typeof (this.resourceType as any).validate === 'function') {
445
+ (this.resourceType as any).validate();
446
+ }
447
+ super.validate();
448
+ }
449
+
450
+ constructor(map?: { [key: string]: any }) {
451
+ super(map);
452
+ }
453
+ }
454
+
85
455
  export class DescribeAddressBookResponseBodyAclsTagList extends $dara.Model {
86
456
  /**
87
457
  * @remarks
88
- * The key of the tag.
458
+ * The key of the ECS tag.
89
459
  *
90
460
  * @example
91
461
  * company
@@ -93,7 +463,7 @@ export class DescribeAddressBookResponseBodyAclsTagList extends $dara.Model {
93
463
  tagKey?: string;
94
464
  /**
95
465
  * @remarks
96
- * The value of the tag.
466
+ * The value of the ECS tag.
97
467
  *
98
468
  * @example
99
469
  * ALL VALUE
@@ -141,17 +511,17 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
141
511
  ackClusterConnectorName?: string;
142
512
  /**
143
513
  * @remarks
144
- * A list of ACK pod labels.
514
+ * The list of pod labels in the ACK cluster.
145
515
  */
146
516
  ackLabels?: DescribeAddressBookResponseBodyAclsAckLabels[];
147
517
  /**
148
518
  * @remarks
149
- * A list of ACK namespaces.
519
+ * The list of pod namespaces in the ACK cluster.
150
520
  */
151
521
  ackNamespaces?: string[];
152
522
  /**
153
523
  * @remarks
154
- * A list of CIDR blocks in the address book.
524
+ * The address list of the address book.
155
525
  */
156
526
  addressList?: string[];
157
527
  /**
@@ -164,12 +534,24 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
164
534
  addressListCount?: number;
165
535
  /**
166
536
  * @remarks
167
- * A list of addresses, each with a description.
537
+ * The address list of the address book that includes descriptions for individual addresses.
168
538
  */
169
539
  addresses?: DescribeAddressBookResponseBodyAclsAddresses[];
170
540
  /**
171
541
  * @remarks
172
- * Indicates whether to automatically add the public IPs of tagged ECS instances to the address book. This applies to newly purchased instances and existing instances whose tags are modified to match.
542
+ * The list of member accounts for the asset address book.
543
+ */
544
+ assetMemberUids?: number[];
545
+ /**
546
+ * @remarks
547
+ * The list of regions and resource types for the asset address book.
548
+ */
549
+ assetRegionResourceTypes?: DescribeAddressBookResponseBodyAclsAssetRegionResourceTypes[];
550
+ /**
551
+ * @remarks
552
+ * Indicates whether the public IP addresses of ECS instances that match new tags are automatically added to the address book. Valid values:
553
+ * - **0**: The public IP addresses are not automatically added.
554
+ * - **1**: The public IP addresses are automatically added.
173
555
  *
174
556
  * @example
175
557
  * 1
@@ -193,7 +575,7 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
193
575
  groupName?: string;
194
576
  /**
195
577
  * @remarks
196
- * The type of the address book. Valid values:
578
+ * The type of the address book.
197
579
  *
198
580
  * @example
199
581
  * ip
@@ -201,7 +583,7 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
201
583
  groupType?: string;
202
584
  /**
203
585
  * @remarks
204
- * The UUID of the address book.
586
+ * The unique ID of the address book.
205
587
  *
206
588
  * @example
207
589
  * f04ac7ce-628b-4cb7-be61-310222b7****
@@ -217,7 +599,7 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
217
599
  referenceCount?: number;
218
600
  /**
219
601
  * @remarks
220
- * The region where the ACK cluster connector is deployed. This parameter is returned only when the GroupType parameter is "ack".
602
+ * The region of the ACK cluster connector to which the address book belongs when GroupType is an ACK address book.
221
603
  *
222
604
  * @example
223
605
  * cn-beijing
@@ -225,12 +607,14 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
225
607
  regionNo?: string;
226
608
  /**
227
609
  * @remarks
228
- * A list of ECS tags.
610
+ * The list of ECS tags.
229
611
  */
230
612
  tagList?: DescribeAddressBookResponseBodyAclsTagList[];
231
613
  /**
232
614
  * @remarks
233
- * The logical relationship among multiple ECS tags. Valid values:
615
+ * The relationship between multiple ECS tags. Valid values:
616
+ * - **or**: The relationship between multiple tags is OR. The public IP address of an ECS instance that matches any tag is added to the address book.
617
+ * - **and**: The relationship between multiple tags is AND. The public IP address of an ECS instance that matches all tags is added to the address book.
234
618
  *
235
619
  * @example
236
620
  * and
@@ -245,6 +629,8 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
245
629
  addressList: 'AddressList',
246
630
  addressListCount: 'AddressListCount',
247
631
  addresses: 'Addresses',
632
+ assetMemberUids: 'AssetMemberUids',
633
+ assetRegionResourceTypes: 'AssetRegionResourceTypes',
248
634
  autoAddTagEcs: 'AutoAddTagEcs',
249
635
  description: 'Description',
250
636
  groupName: 'GroupName',
@@ -266,6 +652,8 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
266
652
  addressList: { 'type': 'array', 'itemType': 'string' },
267
653
  addressListCount: 'number',
268
654
  addresses: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAclsAddresses },
655
+ assetMemberUids: { 'type': 'array', 'itemType': 'number' },
656
+ assetRegionResourceTypes: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAclsAssetRegionResourceTypes },
269
657
  autoAddTagEcs: 'number',
270
658
  description: 'string',
271
659
  groupName: 'string',
@@ -291,6 +679,12 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
291
679
  if(Array.isArray(this.addresses)) {
292
680
  $dara.Model.validateArray(this.addresses);
293
681
  }
682
+ if(Array.isArray(this.assetMemberUids)) {
683
+ $dara.Model.validateArray(this.assetMemberUids);
684
+ }
685
+ if(Array.isArray(this.assetRegionResourceTypes)) {
686
+ $dara.Model.validateArray(this.assetRegionResourceTypes);
687
+ }
294
688
  if(Array.isArray(this.tagList)) {
295
689
  $dara.Model.validateArray(this.tagList);
296
690
  }
@@ -305,12 +699,12 @@ export class DescribeAddressBookResponseBodyAcls extends $dara.Model {
305
699
  export class DescribeAddressBookResponseBody extends $dara.Model {
306
700
  /**
307
701
  * @remarks
308
- * A list of address books.
702
+ * The list of address books.
309
703
  */
310
704
  acls?: DescribeAddressBookResponseBodyAcls[];
311
705
  /**
312
706
  * @remarks
313
- * The current page number.
707
+ * The page number of the current page.
314
708
  *
315
709
  * @example
316
710
  * 1
@@ -318,7 +712,7 @@ export class DescribeAddressBookResponseBody extends $dara.Model {
318
712
  pageNo?: string;
319
713
  /**
320
714
  * @remarks
321
- * The number of address books returned per page.
715
+ * The number of address books on each page.
322
716
  *
323
717
  * @example
324
718
  * 10
@@ -0,0 +1,109 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAddressBookShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The list of member accounts for the asset address book.
9
+ */
10
+ assetMemberUidsShrink?: string;
11
+ /**
12
+ * @remarks
13
+ * Queries address books that contain the specified port. This parameter takes effect only when the **GroupType** parameter is set to **port**.
14
+ *
15
+ * @example
16
+ * 80
17
+ */
18
+ containPort?: string;
19
+ /**
20
+ * @remarks
21
+ * The page number in a paged query.
22
+ *
23
+ * Default value: 1, which indicates that the first page of data is returned.
24
+ *
25
+ * @example
26
+ * 1
27
+ */
28
+ currentPage?: string;
29
+ /**
30
+ * @remarks
31
+ * The type of the address book.
32
+ *
33
+ * > If you do not set this parameter, IP address books and ECS tag-based address books are queried.
34
+ *
35
+ * @example
36
+ * ip
37
+ */
38
+ groupType?: string;
39
+ /**
40
+ * @remarks
41
+ * The unique ID of the address book.
42
+ *
43
+ * @example
44
+ * f04ac7ce-628b-4cb7-be61-310222b7****
45
+ */
46
+ groupUuid?: string;
47
+ /**
48
+ * @remarks
49
+ * The language type for the address book description. Valid values:
50
+ * - **en**: English.
51
+ * - **zh**: Chinese (default).
52
+ *
53
+ * @example
54
+ * zh
55
+ */
56
+ lang?: string;
57
+ /**
58
+ * @remarks
59
+ * The number of address books on each page in a paged query.
60
+ *
61
+ * Default value: 10, which indicates that each page contains 10 results. Maximum value: 50.
62
+ *
63
+ * @example
64
+ * 10
65
+ */
66
+ pageSize?: string;
67
+ /**
68
+ * @remarks
69
+ * The search condition. Enter the address book information that you want to query.
70
+ *
71
+ * @example
72
+ * 192.0.XX.XX
73
+ */
74
+ query?: string;
75
+ static names(): { [key: string]: string } {
76
+ return {
77
+ assetMemberUidsShrink: 'AssetMemberUids',
78
+ containPort: 'ContainPort',
79
+ currentPage: 'CurrentPage',
80
+ groupType: 'GroupType',
81
+ groupUuid: 'GroupUuid',
82
+ lang: 'Lang',
83
+ pageSize: 'PageSize',
84
+ query: 'Query',
85
+ };
86
+ }
87
+
88
+ static types(): { [key: string]: any } {
89
+ return {
90
+ assetMemberUidsShrink: 'string',
91
+ containPort: 'string',
92
+ currentPage: 'string',
93
+ groupType: 'string',
94
+ groupUuid: 'string',
95
+ lang: 'string',
96
+ pageSize: 'string',
97
+ query: 'string',
98
+ };
99
+ }
100
+
101
+ validate() {
102
+ super.validate();
103
+ }
104
+
105
+ constructor(map?: { [key: string]: any }) {
106
+ super(map);
107
+ }
108
+ }
109
+
@@ -4,16 +4,28 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeFirewallTrafficTrendRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The end time of the query. The value is a UNIX timestamp. Unit: seconds.
9
+ *
7
10
  * @example
8
11
  * 1758474000
9
12
  */
10
13
  endTime?: number;
11
14
  /**
15
+ * @remarks
16
+ * The language of the response. Valid values:
17
+ *
18
+ * - **zh** (default): Chinese
19
+ * - **en**: English
20
+ *
12
21
  * @example
13
22
  * zh
14
23
  */
15
24
  lang?: string;
16
25
  /**
26
+ * @remarks
27
+ * The start time of the query. The value is a UNIX timestamp. Unit: seconds.
28
+ *
17
29
  * @example
18
30
  * 1758470400
19
31
  */