@alicloud/vpc20160428 6.8.0 → 6.8.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "6.8.0",
3
+ "version": "6.8.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5,6 +5,58 @@ import OpenApi from '@alicloud/openapi-core';
5
5
  import { OpenApiUtil, $OpenApiUtil } from '@alicloud/openapi-core';
6
6
  import * as $dara from '@darabonba/typescript';
7
7
 
8
+ export class AllocateEipAddressRequestTag extends $dara.Model {
9
+ key?: string;
10
+ value?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ key: 'Key',
14
+ value: 'Value',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ key: 'string',
21
+ value: 'string',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
34
+ export class AllocateEipAddressProRequestTag extends $dara.Model {
35
+ key?: string;
36
+ value?: string;
37
+ static names(): { [key: string]: string } {
38
+ return {
39
+ key: 'Key',
40
+ value: 'Value',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ key: 'string',
47
+ value: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
8
60
  export class AllocateIpv6AddressRequestTag extends $dara.Model {
9
61
  /**
10
62
  * @remarks
@@ -166,6 +218,32 @@ export class AssociateNetworkAclRequestResource extends $dara.Model {
166
218
  }
167
219
  }
168
220
 
221
+ export class CreateCommonBandwidthPackageRequestTag extends $dara.Model {
222
+ key?: string;
223
+ value?: string;
224
+ static names(): { [key: string]: string } {
225
+ return {
226
+ key: 'Key',
227
+ value: 'Value',
228
+ };
229
+ }
230
+
231
+ static types(): { [key: string]: any } {
232
+ return {
233
+ key: 'string',
234
+ value: 'string',
235
+ };
236
+ }
237
+
238
+ validate() {
239
+ super.validate();
240
+ }
241
+
242
+ constructor(map?: { [key: string]: any }) {
243
+ super(map);
244
+ }
245
+ }
246
+
169
247
  export class CreateCustomerGatewayRequestTags extends $dara.Model {
170
248
  /**
171
249
  * @remarks
@@ -36007,6 +36085,7 @@ export class AllocateEipAddressRequest extends $dara.Model {
36007
36085
  * AntiDDoS_Enhanced
36008
36086
  */
36009
36087
  securityProtectionTypes?: string[];
36088
+ tag?: AllocateEipAddressRequestTag[];
36010
36089
  /**
36011
36090
  * @remarks
36012
36091
  * The zone of the EIP.
@@ -36043,6 +36122,7 @@ export class AllocateEipAddressRequest extends $dara.Model {
36043
36122
  resourceOwnerAccount: 'ResourceOwnerAccount',
36044
36123
  resourceOwnerId: 'ResourceOwnerId',
36045
36124
  securityProtectionTypes: 'SecurityProtectionTypes',
36125
+ tag: 'Tag',
36046
36126
  zone: 'Zone',
36047
36127
  };
36048
36128
  }
@@ -36071,6 +36151,7 @@ export class AllocateEipAddressRequest extends $dara.Model {
36071
36151
  resourceOwnerAccount: 'string',
36072
36152
  resourceOwnerId: 'number',
36073
36153
  securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
36154
+ tag: { 'type': 'array', 'itemType': AllocateEipAddressRequestTag },
36074
36155
  zone: 'string',
36075
36156
  };
36076
36157
  }
@@ -36079,6 +36160,9 @@ export class AllocateEipAddressRequest extends $dara.Model {
36079
36160
  if(Array.isArray(this.securityProtectionTypes)) {
36080
36161
  $dara.Model.validateArray(this.securityProtectionTypes);
36081
36162
  }
36163
+ if(Array.isArray(this.tag)) {
36164
+ $dara.Model.validateArray(this.tag);
36165
+ }
36082
36166
  super.validate();
36083
36167
  }
36084
36168
 
@@ -36388,6 +36472,7 @@ export class AllocateEipAddressProRequest extends $dara.Model {
36388
36472
  * You can configure Anti-DDoS editions for up to 10 EIPs.
36389
36473
  */
36390
36474
  securityProtectionTypes?: string[];
36475
+ tag?: AllocateEipAddressProRequestTag[];
36391
36476
  static names(): { [key: string]: string } {
36392
36477
  return {
36393
36478
  autoPay: 'AutoPay',
@@ -36409,6 +36494,7 @@ export class AllocateEipAddressProRequest extends $dara.Model {
36409
36494
  resourceOwnerAccount: 'ResourceOwnerAccount',
36410
36495
  resourceOwnerId: 'ResourceOwnerId',
36411
36496
  securityProtectionTypes: 'SecurityProtectionTypes',
36497
+ tag: 'Tag',
36412
36498
  };
36413
36499
  }
36414
36500
 
@@ -36433,6 +36519,7 @@ export class AllocateEipAddressProRequest extends $dara.Model {
36433
36519
  resourceOwnerAccount: 'string',
36434
36520
  resourceOwnerId: 'number',
36435
36521
  securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
36522
+ tag: { 'type': 'array', 'itemType': AllocateEipAddressProRequestTag },
36436
36523
  };
36437
36524
  }
36438
36525
 
@@ -36440,6 +36527,9 @@ export class AllocateEipAddressProRequest extends $dara.Model {
36440
36527
  if(Array.isArray(this.securityProtectionTypes)) {
36441
36528
  $dara.Model.validateArray(this.securityProtectionTypes);
36442
36529
  }
36530
+ if(Array.isArray(this.tag)) {
36531
+ $dara.Model.validateArray(this.tag);
36532
+ }
36443
36533
  super.validate();
36444
36534
  }
36445
36535
 
@@ -41505,9 +41595,9 @@ export class CreateBgpPeerRequest extends $dara.Model {
41505
41595
  * @remarks
41506
41596
  * The BFD hop count. Valid values: **1** to **255**.
41507
41597
  *
41508
- * This parameter is required only if you enable BFD.
41598
+ * This parameter is required only if you enable BFD. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
41509
41599
  *
41510
- * The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
41600
+ * > If you use BFD in a multi-cloud environment or a fiber-optic direct connection network without any bridge device, you need to change the default BFD hop count from **255** to **1**.
41511
41601
  *
41512
41602
  * @example
41513
41603
  * 3
@@ -41808,6 +41898,7 @@ export class CreateCommonBandwidthPackageRequest extends $dara.Model {
41808
41898
  * AntiDDoS_Enhanced
41809
41899
  */
41810
41900
  securityProtectionTypes?: string[];
41901
+ tag?: CreateCommonBandwidthPackageRequestTag[];
41811
41902
  /**
41812
41903
  * @remarks
41813
41904
  * The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
@@ -41832,6 +41923,7 @@ export class CreateCommonBandwidthPackageRequest extends $dara.Model {
41832
41923
  resourceOwnerAccount: 'ResourceOwnerAccount',
41833
41924
  resourceOwnerId: 'ResourceOwnerId',
41834
41925
  securityProtectionTypes: 'SecurityProtectionTypes',
41926
+ tag: 'Tag',
41835
41927
  zone: 'Zone',
41836
41928
  };
41837
41929
  }
@@ -41852,6 +41944,7 @@ export class CreateCommonBandwidthPackageRequest extends $dara.Model {
41852
41944
  resourceOwnerAccount: 'string',
41853
41945
  resourceOwnerId: 'number',
41854
41946
  securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
41947
+ tag: { 'type': 'array', 'itemType': CreateCommonBandwidthPackageRequestTag },
41855
41948
  zone: 'string',
41856
41949
  };
41857
41950
  }
@@ -41860,6 +41953,9 @@ export class CreateCommonBandwidthPackageRequest extends $dara.Model {
41860
41953
  if(Array.isArray(this.securityProtectionTypes)) {
41861
41954
  $dara.Model.validateArray(this.securityProtectionTypes);
41862
41955
  }
41956
+ if(Array.isArray(this.tag)) {
41957
+ $dara.Model.validateArray(this.tag);
41958
+ }
41863
41959
  super.validate();
41864
41960
  }
41865
41961
 
@@ -60860,6 +60956,8 @@ export class DeleteRouteEntriesRequest extends $dara.Model {
60860
60956
  *
60861
60957
  * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
60862
60958
  *
60959
+ * This parameter is required.
60960
+ *
60863
60961
  * @example
60864
60962
  * cn-hangzhou
60865
60963
  */
@@ -114386,6 +114484,10 @@ export default class Client extends OpenApi {
114386
114484
  query["SecurityProtectionTypes"] = request.securityProtectionTypes;
114387
114485
  }
114388
114486
 
114487
+ if (!$dara.isNull(request.tag)) {
114488
+ query["Tag"] = request.tag;
114489
+ }
114490
+
114389
114491
  if (!$dara.isNull(request.zone)) {
114390
114492
  query["Zone"] = request.zone;
114391
114493
  }
@@ -114513,6 +114615,10 @@ export default class Client extends OpenApi {
114513
114615
  query["SecurityProtectionTypes"] = request.securityProtectionTypes;
114514
114616
  }
114515
114617
 
114618
+ if (!$dara.isNull(request.tag)) {
114619
+ query["Tag"] = request.tag;
114620
+ }
114621
+
114516
114622
  let req = new $OpenApiUtil.OpenApiRequest({
114517
114623
  query: OpenApiUtil.query(query),
114518
114624
  });
@@ -114554,10 +114660,13 @@ export default class Client extends OpenApi {
114554
114660
  * * If the contiguous EIP group is in the **Allocating** state, the EIPs are being allocated. In this case, you can only perform the query operation and cannot perform other operations.
114555
114661
  * * If the contiguous EIP group is in the **Allocated** state, the EIPs are allocated.
114556
114662
  *
114663
+ * @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
114664
+ *
114557
114665
  * @param request - AllocateEipSegmentAddressRequest
114558
114666
  * @param runtime - runtime options for this request RuntimeOptions
114559
114667
  * @returns AllocateEipSegmentAddressResponse
114560
114668
  */
114669
+ // Deprecated
114561
114670
  async allocateEipSegmentAddressWithOptions(request: AllocateEipSegmentAddressRequest, runtime: $dara.RuntimeOptions): Promise<AllocateEipSegmentAddressResponse> {
114562
114671
  request.validate();
114563
114672
  let query = { };
@@ -114643,9 +114752,12 @@ export default class Client extends OpenApi {
114643
114752
  * * If the contiguous EIP group is in the **Allocating** state, the EIPs are being allocated. In this case, you can only perform the query operation and cannot perform other operations.
114644
114753
  * * If the contiguous EIP group is in the **Allocated** state, the EIPs are allocated.
114645
114754
  *
114755
+ * @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
114756
+ *
114646
114757
  * @param request - AllocateEipSegmentAddressRequest
114647
114758
  * @returns AllocateEipSegmentAddressResponse
114648
114759
  */
114760
+ // Deprecated
114649
114761
  async allocateEipSegmentAddress(request: AllocateEipSegmentAddressRequest): Promise<AllocateEipSegmentAddressResponse> {
114650
114762
  let runtime = new $dara.RuntimeOptions({ });
114651
114763
  return await this.allocateEipSegmentAddressWithOptions(request, runtime);
@@ -117265,6 +117377,10 @@ export default class Client extends OpenApi {
117265
117377
  query["SecurityProtectionTypes"] = request.securityProtectionTypes;
117266
117378
  }
117267
117379
 
117380
+ if (!$dara.isNull(request.tag)) {
117381
+ query["Tag"] = request.tag;
117382
+ }
117383
+
117268
117384
  if (!$dara.isNull(request.zone)) {
117269
117385
  query["Zone"] = request.zone;
117270
117386
  }