@alicloud/vpc20160428 6.6.3 → 6.6.5

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/src/client.ts CHANGED
@@ -6546,9 +6546,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6546
6546
  *
6547
6547
  * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
6548
6548
  *
6549
- * >
6550
- *
6551
- * If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
6549
+ * > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
6552
6550
  *
6553
6551
  * @example
6554
6552
  * 02fb3da4-130e-11e9-8e44-001****
@@ -6558,7 +6556,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6558
6556
  * @remarks
6559
6557
  * The description of the Internet Shared Bandwidth instance.
6560
6558
  *
6561
- * The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
6559
+ * The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
6562
6560
  *
6563
6561
  * @example
6564
6562
  * abc
@@ -6568,7 +6566,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6568
6566
  * @remarks
6569
6567
  * The line type. Valid values:
6570
6568
  *
6571
- * * **BGP** All regions support BGP (Multi-ISP).
6569
+ * * **BGP** (default) All regions support BGP (Multi-ISP).
6572
6570
  * * **BGP_PRO** BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
6573
6571
  *
6574
6572
  * If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
@@ -6595,7 +6593,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6595
6593
  * @remarks
6596
6594
  * The name of the Internet Shared Bandwidth instance.
6597
6595
  *
6598
- * The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
6596
+ * The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
6599
6597
  *
6600
6598
  * @example
6601
6599
  * test123
@@ -6607,9 +6605,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6607
6605
  * @remarks
6608
6606
  * The percentage of the minimum bandwidth commitment. Set the parameter to **20**.
6609
6607
  *
6610
- * >
6611
- *
6612
- * This parameter is available only on the Alibaba Cloud China site.
6608
+ * > This parameter is available only on the Alibaba Cloud China site.
6613
6609
  *
6614
6610
  * @example
6615
6611
  * 20
@@ -8672,6 +8668,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8672
8668
  * myFlowlog
8673
8669
  */
8674
8670
  flowLogName?: string;
8671
+ ipVersion?: string;
8675
8672
  /**
8676
8673
  * @remarks
8677
8674
  * The name of the Logstore that stores the captured traffic data.
@@ -8778,6 +8775,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8778
8775
  aggregationInterval: 'AggregationInterval',
8779
8776
  description: 'Description',
8780
8777
  flowLogName: 'FlowLogName',
8778
+ ipVersion: 'IpVersion',
8781
8779
  logStoreName: 'LogStoreName',
8782
8780
  ownerAccount: 'OwnerAccount',
8783
8781
  ownerId: 'OwnerId',
@@ -8799,6 +8797,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8799
8797
  aggregationInterval: 'number',
8800
8798
  description: 'string',
8801
8799
  flowLogName: 'string',
8800
+ ipVersion: 'string',
8802
8801
  logStoreName: 'string',
8803
8802
  ownerAccount: 'string',
8804
8803
  ownerId: 'number',
@@ -11320,6 +11319,11 @@ export class CreateIpv6GatewayResponse extends $tea.Model {
11320
11319
  }
11321
11320
 
11322
11321
  export class CreateNatGatewayRequest extends $tea.Model {
11322
+ /**
11323
+ * @remarks
11324
+ * The access mode for reverse access to the VPC NAT gateway.
11325
+ */
11326
+ accessMode?: CreateNatGatewayRequestAccessMode;
11323
11327
  /**
11324
11328
  * @remarks
11325
11329
  * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
@@ -11362,13 +11366,11 @@ export class CreateNatGatewayRequest extends $tea.Model {
11362
11366
  * @remarks
11363
11367
  * The mode in which the EIP is associated with the NAT gateway. Valid values:
11364
11368
  *
11365
- * * **MULTI_BINDED** (default): Multi-EIP-to-ENI mode.
11369
+ * - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
11366
11370
  *
11367
- * * **NAT**: NAT mode. IPv4 gateways are supported in this mode.
11368
- *
11369
- * **
11371
+ * - **NAT**: NAT mode, which is compatible with IPv4 addresses.
11370
11372
  *
11371
- * **Note** If a NAT gateway is associated with an EIP in NAT mode, the EIP occupies one private IP address in the vSwitch. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, the NAT gateway fails to be associated with the EIP. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
11373
+ * > If an EIP is associated with a NAT gateway in NAT mode, the EIP occupies a private IP address of the vSwitch where the NAT gateway is deployed. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, EIPs cannot be associated with the NAT gateway. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
11372
11374
  *
11373
11375
  * @example
11374
11376
  * MULTI_BINDED
@@ -11382,7 +11384,272 @@ export class CreateNatGatewayRequest extends $tea.Model {
11382
11384
  * * **false**
11383
11385
  *
11384
11386
  * @example
11387
+ * true
11388
+ */
11389
+ icmpReplyEnabled?: boolean;
11390
+ /**
11391
+ * @remarks
11392
+ * The billing method of the NAT gateway.
11393
+ *
11394
+ * Set the value to **PostPaid** (pay-as-you-go), which is the default value.
11395
+ *
11396
+ * For more information, see [Internet NAT gateway billing](https://help.aliyun.com/document_detail/48126.html) and [VPC NAT gateway billing](https://help.aliyun.com/document_detail/270913.html).
11397
+ *
11398
+ * @example
11399
+ * PostPaid
11400
+ */
11401
+ instanceChargeType?: string;
11402
+ /**
11403
+ * @remarks
11404
+ * The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
11405
+ *
11406
+ * @example
11407
+ * PayByLcu
11408
+ */
11409
+ internetChargeType?: string;
11410
+ /**
11411
+ * @remarks
11412
+ * The name of the NAT gateway.
11413
+ *
11414
+ * The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
11415
+ *
11416
+ * If this parameter is not set, the system assigns a default name to the NAT gateway.
11417
+ *
11418
+ * @example
11419
+ * fortest
11420
+ */
11421
+ name?: string;
11422
+ /**
11423
+ * @remarks
11424
+ * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
11425
+ *
11426
+ * @example
11427
+ * Enhanced
11428
+ */
11429
+ natType?: string;
11430
+ /**
11431
+ * @remarks
11432
+ * The network type of the NAT gateway. Valid values:
11433
+ *
11434
+ * * **internet**: Internet
11435
+ * * **intranet**: VPC
11436
+ *
11437
+ * @example
11438
+ * internet
11439
+ */
11440
+ networkType?: string;
11441
+ ownerAccount?: string;
11442
+ ownerId?: number;
11443
+ /**
11444
+ * @remarks
11445
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11446
+ *
11447
+ * @example
11448
+ * Invalid parameter.
11449
+ */
11450
+ pricingCycle?: string;
11451
+ /**
11452
+ * @remarks
11453
+ * PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
11454
+ */
11455
+ privateLinkEnabled?: boolean;
11456
+ /**
11457
+ * @remarks
11458
+ * The region ID of the NAT gateway.
11459
+ *
11460
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to obtain the region ID.
11461
+ *
11462
+ * This parameter is required.
11463
+ *
11464
+ * @example
11465
+ * cn-hangzhou
11466
+ */
11467
+ regionId?: string;
11468
+ resourceOwnerAccount?: string;
11469
+ resourceOwnerId?: number;
11470
+ /**
11471
+ * @remarks
11472
+ * Specifies whether to enable the firewall feature. Valid values:
11473
+ *
11474
+ * * **false** (default)>Notice: This parameter is deprecated.
11475
+ *
11476
+ * @example
11385
11477
  * false
11478
+ *
11479
+ * @deprecated
11480
+ */
11481
+ securityProtectionEnabled?: boolean;
11482
+ /**
11483
+ * @remarks
11484
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11485
+ *
11486
+ * @example
11487
+ * Invalid parameter.
11488
+ */
11489
+ spec?: string;
11490
+ /**
11491
+ * @remarks
11492
+ * The tags.
11493
+ *
11494
+ * @example
11495
+ * MULTI_BINDED
11496
+ */
11497
+ tag?: CreateNatGatewayRequestTag[];
11498
+ /**
11499
+ * @remarks
11500
+ * The ID of the vSwitch to which the NAT gateway is attached.
11501
+ *
11502
+ * When you create a NAT gateway, you must specify a vSwitch for the NAT gateway. Then, the system assigns an idle private IP address from the vSwitch to the NAT gateway.
11503
+ *
11504
+ * * To attach the NAT gateway to an existing vSwitch, make sure that the zone to which the vSwitch belongs supports NAT gateways. In addition, the vSwitch must have idle IP addresses.
11505
+ * * If no vSwitch exists in the VPC, create a vSwitch in a zone that supports NAT gateways. Then, specify the vSwitch for the NAT gateway.
11506
+ *
11507
+ * > You can call the [ListEnhanhcedNatGatewayAvailableZones](https://help.aliyun.com/document_detail/182292.html) operation to query zones that support NAT gateways. You can call the [DescribeVSwitches](https://help.aliyun.com/document_detail/35748.html) operation to query idle IP addresses in a vSwitch.
11508
+ *
11509
+ * @example
11510
+ * vsw-bp1e3se98n9fq8hle****
11511
+ */
11512
+ vSwitchId?: string;
11513
+ /**
11514
+ * @remarks
11515
+ * The ID of the VPC where you want to create the NAT gateway.
11516
+ *
11517
+ * This parameter is required.
11518
+ *
11519
+ * @example
11520
+ * vpc-bp1di7uewzmtvfuq8****
11521
+ */
11522
+ vpcId?: string;
11523
+ static names(): { [key: string]: string } {
11524
+ return {
11525
+ accessMode: 'AccessMode',
11526
+ autoPay: 'AutoPay',
11527
+ clientToken: 'ClientToken',
11528
+ description: 'Description',
11529
+ duration: 'Duration',
11530
+ eipBindMode: 'EipBindMode',
11531
+ icmpReplyEnabled: 'IcmpReplyEnabled',
11532
+ instanceChargeType: 'InstanceChargeType',
11533
+ internetChargeType: 'InternetChargeType',
11534
+ name: 'Name',
11535
+ natType: 'NatType',
11536
+ networkType: 'NetworkType',
11537
+ ownerAccount: 'OwnerAccount',
11538
+ ownerId: 'OwnerId',
11539
+ pricingCycle: 'PricingCycle',
11540
+ privateLinkEnabled: 'PrivateLinkEnabled',
11541
+ regionId: 'RegionId',
11542
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11543
+ resourceOwnerId: 'ResourceOwnerId',
11544
+ securityProtectionEnabled: 'SecurityProtectionEnabled',
11545
+ spec: 'Spec',
11546
+ tag: 'Tag',
11547
+ vSwitchId: 'VSwitchId',
11548
+ vpcId: 'VpcId',
11549
+ };
11550
+ }
11551
+
11552
+ static types(): { [key: string]: any } {
11553
+ return {
11554
+ accessMode: CreateNatGatewayRequestAccessMode,
11555
+ autoPay: 'boolean',
11556
+ clientToken: 'string',
11557
+ description: 'string',
11558
+ duration: 'string',
11559
+ eipBindMode: 'string',
11560
+ icmpReplyEnabled: 'boolean',
11561
+ instanceChargeType: 'string',
11562
+ internetChargeType: 'string',
11563
+ name: 'string',
11564
+ natType: 'string',
11565
+ networkType: 'string',
11566
+ ownerAccount: 'string',
11567
+ ownerId: 'number',
11568
+ pricingCycle: 'string',
11569
+ privateLinkEnabled: 'boolean',
11570
+ regionId: 'string',
11571
+ resourceOwnerAccount: 'string',
11572
+ resourceOwnerId: 'number',
11573
+ securityProtectionEnabled: 'boolean',
11574
+ spec: 'string',
11575
+ tag: { 'type': 'array', 'itemType': CreateNatGatewayRequestTag },
11576
+ vSwitchId: 'string',
11577
+ vpcId: 'string',
11578
+ };
11579
+ }
11580
+
11581
+ constructor(map?: { [key: string]: any }) {
11582
+ super(map);
11583
+ }
11584
+ }
11585
+
11586
+ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11587
+ /**
11588
+ * @remarks
11589
+ * The access mode for reverse access to the VPC NAT gateway.
11590
+ */
11591
+ accessModeShrink?: string;
11592
+ /**
11593
+ * @remarks
11594
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11595
+ *
11596
+ * @example
11597
+ * Invalid parameter.
11598
+ */
11599
+ autoPay?: boolean;
11600
+ /**
11601
+ * @remarks
11602
+ * The client token that is used to ensure the idempotence of the request.
11603
+ *
11604
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests.
11605
+ *
11606
+ * > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
11607
+ *
11608
+ * @example
11609
+ * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898
11610
+ */
11611
+ clientToken?: string;
11612
+ /**
11613
+ * @remarks
11614
+ * The description of the NAT gateway.
11615
+ *
11616
+ * You can leave this parameter empty or enter a description. If you enter a description, the description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
11617
+ *
11618
+ * @example
11619
+ * testnat
11620
+ */
11621
+ description?: string;
11622
+ /**
11623
+ * @remarks
11624
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11625
+ *
11626
+ * @example
11627
+ * Invalid parameter.
11628
+ */
11629
+ duration?: string;
11630
+ /**
11631
+ * @remarks
11632
+ * The mode in which the EIP is associated with the NAT gateway. Valid values:
11633
+ *
11634
+ * - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
11635
+ *
11636
+ * - **NAT**: NAT mode, which is compatible with IPv4 addresses.
11637
+ *
11638
+ * > If an EIP is associated with a NAT gateway in NAT mode, the EIP occupies a private IP address of the vSwitch where the NAT gateway is deployed. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, EIPs cannot be associated with the NAT gateway. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
11639
+ *
11640
+ * @example
11641
+ * MULTI_BINDED
11642
+ */
11643
+ eipBindMode?: string;
11644
+ /**
11645
+ * @remarks
11646
+ * Specifies whether to enable ICMP retrieval. Valid values:
11647
+ *
11648
+ * * **true** (default)
11649
+ * * **false**
11650
+ *
11651
+ * @example
11652
+ * true
11386
11653
  */
11387
11654
  icmpReplyEnabled?: boolean;
11388
11655
  /**
@@ -11409,7 +11676,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11409
11676
  * @remarks
11410
11677
  * The name of the NAT gateway.
11411
11678
  *
11412
- * The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
11679
+ * The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
11413
11680
  *
11414
11681
  * If this parameter is not set, the system assigns a default name to the NAT gateway.
11415
11682
  *
@@ -11446,6 +11713,11 @@ export class CreateNatGatewayRequest extends $tea.Model {
11446
11713
  * Invalid parameter.
11447
11714
  */
11448
11715
  pricingCycle?: string;
11716
+ /**
11717
+ * @remarks
11718
+ * PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
11719
+ */
11720
+ privateLinkEnabled?: boolean;
11449
11721
  /**
11450
11722
  * @remarks
11451
11723
  * The region ID of the NAT gateway.
@@ -11483,8 +11755,11 @@ export class CreateNatGatewayRequest extends $tea.Model {
11483
11755
  /**
11484
11756
  * @remarks
11485
11757
  * The tags.
11758
+ *
11759
+ * @example
11760
+ * MULTI_BINDED
11486
11761
  */
11487
- tag?: CreateNatGatewayRequestTag[];
11762
+ tag?: CreateNatGatewayShrinkRequestTag[];
11488
11763
  /**
11489
11764
  * @remarks
11490
11765
  * The ID of the vSwitch to which the NAT gateway is attached.
@@ -11512,6 +11787,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11512
11787
  vpcId?: string;
11513
11788
  static names(): { [key: string]: string } {
11514
11789
  return {
11790
+ accessModeShrink: 'AccessMode',
11515
11791
  autoPay: 'AutoPay',
11516
11792
  clientToken: 'ClientToken',
11517
11793
  description: 'Description',
@@ -11526,6 +11802,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11526
11802
  ownerAccount: 'OwnerAccount',
11527
11803
  ownerId: 'OwnerId',
11528
11804
  pricingCycle: 'PricingCycle',
11805
+ privateLinkEnabled: 'PrivateLinkEnabled',
11529
11806
  regionId: 'RegionId',
11530
11807
  resourceOwnerAccount: 'ResourceOwnerAccount',
11531
11808
  resourceOwnerId: 'ResourceOwnerId',
@@ -11539,6 +11816,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11539
11816
 
11540
11817
  static types(): { [key: string]: any } {
11541
11818
  return {
11819
+ accessModeShrink: 'string',
11542
11820
  autoPay: 'boolean',
11543
11821
  clientToken: 'string',
11544
11822
  description: 'string',
@@ -11553,12 +11831,13 @@ export class CreateNatGatewayRequest extends $tea.Model {
11553
11831
  ownerAccount: 'string',
11554
11832
  ownerId: 'number',
11555
11833
  pricingCycle: 'string',
11834
+ privateLinkEnabled: 'boolean',
11556
11835
  regionId: 'string',
11557
11836
  resourceOwnerAccount: 'string',
11558
11837
  resourceOwnerId: 'number',
11559
11838
  securityProtectionEnabled: 'boolean',
11560
11839
  spec: 'string',
11561
- tag: { 'type': 'array', 'itemType': CreateNatGatewayRequestTag },
11840
+ tag: { 'type': 'array', 'itemType': CreateNatGatewayShrinkRequestTag },
11562
11841
  vSwitchId: 'string',
11563
11842
  vpcId: 'string',
11564
11843
  };
@@ -14539,22 +14818,35 @@ export class CreateSslVpnServerRequest extends $tea.Model {
14539
14818
  compress?: boolean;
14540
14819
  /**
14541
14820
  * @remarks
14542
- * Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must configure `IDaaSInstanceId` and `IDaaSRegionId`. Valid values:
14821
+ * Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify `IDaaSInstanceId`, `IDaaSRegionId`, and `IDaaSApplicationId`. Valid values:
14543
14822
  *
14544
- * * **true**: enables this feature.
14545
- * * **false** (default): disables this feature.
14823
+ * * **true**
14824
+ * * **false** (default)
14546
14825
  *
14547
- * > - Two-factor authentication supports only earlier versions of IDaaS instances. If you do not have and cannot create earlier versions of IDaaS instances, you cannot enable two-factor authentication.
14548
- * > - If two-factor authentication is already enabled for existing SSL servers, you can continue to use two-factor authentication.
14826
+ * >
14827
+ *
14828
+ * * If you use two-factor authentication for the first time, you need to complete [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D) before you create an SSL server.
14829
+ *
14830
+ * * IDaaS EIAM 1.0 instances are no longer available for purchase. If your Alibaba Cloud account has IDaaS EIAM 1.0 instances, IDaaS EIAM 1.0 instances can be associated after two-factor authentication is enabled. If your Alibaba Cloud account does not have IDaaS EIAM 1.0 instances, only IDaaS EIAM 2.0 instances can be associated after two-factor authentication is enabled.
14549
14831
  *
14550
14832
  * @example
14551
14833
  * false
14552
14834
  */
14553
14835
  enableMultiFactorAuth?: boolean;
14836
+ /**
14837
+ * @remarks
14838
+ * The ID of the IDaaS application.
14839
+ *
14840
+ * * If an IDaaS EIAM 2.0 instance is associated, you need to specify an IDaaS application ID.
14841
+ * * If an IDaaS EIAM 1.0 instance is associated, you do not need to specify an IDaaS application ID.
14842
+ *
14843
+ * @example
14844
+ * app_my6g4qmvnwxzj2f****
14845
+ */
14554
14846
  IDaaSApplicationId?: string;
14555
14847
  /**
14556
14848
  * @remarks
14557
- * The Identity as a Service (IDaaS) instance ID.
14849
+ * The ID of the IDaaS EIAM instance.
14558
14850
  *
14559
14851
  * @example
14560
14852
  * idaas-cn-hangzhou-p****
@@ -14562,7 +14854,7 @@ export class CreateSslVpnServerRequest extends $tea.Model {
14562
14854
  IDaaSInstanceId?: string;
14563
14855
  /**
14564
14856
  * @remarks
14565
- * The ID of the region where the IDaaS instance is created.
14857
+ * The region ID of the IDaaS EIAM instance.
14566
14858
  *
14567
14859
  * @example
14568
14860
  * cn-hangzhou
@@ -17756,9 +18048,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17756
18048
  clientToken?: string;
17757
18049
  /**
17758
18050
  * @remarks
17759
- * The ID of the customer gateway.
17760
- *
17761
- * This parameter is required.
18051
+ * The customer gateway ID.
17762
18052
  *
17763
18053
  * @example
17764
18054
  * cgw-p0w2jemrcj5u61un8****
@@ -17797,6 +18087,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17797
18087
  * true
17798
18088
  */
17799
18089
  enableNatTraversal?: boolean;
18090
+ enableTunnelsBgp?: boolean;
17800
18091
  /**
17801
18092
  * @remarks
17802
18093
  * The health check configuration:
@@ -17824,14 +18115,14 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17824
18115
  * @remarks
17825
18116
  * The configurations of Phase 1 negotiations:
17826
18117
  *
17827
- * * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the VPN gateway and the data center.
18118
+ * * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
17828
18119
  *
17829
- * * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
17830
- * * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
18120
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18121
+ * * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
17831
18122
  *
17832
- * > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise, a connection cannot be established between the data center and the VPN gateway.
18123
+ * > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
17833
18124
  *
17834
- * * **IkeConfig.IkeVersion**: the IKE version. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
18125
+ * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
17835
18126
  *
17836
18127
  * * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**. Default value: **main**.
17837
18128
  *
@@ -17841,9 +18132,9 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17841
18132
  *
17842
18133
  * * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
17843
18134
  *
17844
- * * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18135
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
17845
18136
  *
17846
- * * **IkeConfig.LocalId**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is empty by default.
18137
+ * * **IkeConfig.LocalIdIPsec**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is left empty by default.
17847
18138
  *
17848
18139
  * * **IkeConfig.RemoteId**: the identifier on the data center side. The identifier cannot exceed 100 characters in length. The default value is the IP address of the customer gateway.
17849
18140
  *
@@ -17962,6 +18253,11 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17962
18253
  * Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
17963
18254
  */
17964
18255
  tags?: CreateVpnAttachmentRequestTags[];
18256
+ /**
18257
+ * **if can be null:**
18258
+ * true
18259
+ */
18260
+ tunnelOptionsSpecification?: CreateVpnAttachmentRequestTunnelOptionsSpecification[];
17965
18261
  static names(): { [key: string]: string } {
17966
18262
  return {
17967
18263
  autoConfigRoute: 'AutoConfigRoute',
@@ -17971,6 +18267,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17971
18267
  effectImmediately: 'EffectImmediately',
17972
18268
  enableDpd: 'EnableDpd',
17973
18269
  enableNatTraversal: 'EnableNatTraversal',
18270
+ enableTunnelsBgp: 'EnableTunnelsBgp',
17974
18271
  healthCheckConfig: 'HealthCheckConfig',
17975
18272
  ikeConfig: 'IkeConfig',
17976
18273
  ipsecConfig: 'IpsecConfig',
@@ -17985,6 +18282,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17985
18282
  resourceOwnerAccount: 'ResourceOwnerAccount',
17986
18283
  resourceOwnerId: 'ResourceOwnerId',
17987
18284
  tags: 'Tags',
18285
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
17988
18286
  };
17989
18287
  }
17990
18288
 
@@ -17997,6 +18295,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
17997
18295
  effectImmediately: 'boolean',
17998
18296
  enableDpd: 'boolean',
17999
18297
  enableNatTraversal: 'boolean',
18298
+ enableTunnelsBgp: 'boolean',
18000
18299
  healthCheckConfig: 'string',
18001
18300
  ikeConfig: 'string',
18002
18301
  ipsecConfig: 'string',
@@ -18011,6 +18310,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18011
18310
  resourceOwnerAccount: 'string',
18012
18311
  resourceOwnerId: 'number',
18013
18312
  tags: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTags },
18313
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTunnelOptionsSpecification },
18014
18314
  };
18015
18315
  }
18016
18316
 
@@ -18261,26 +18561,28 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18261
18561
  healthCheckConfig?: string;
18262
18562
  /**
18263
18563
  * @remarks
18264
- * This parameter is available if you create an IPsec-VPN connection in single-tunnel mode.
18564
+ * This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
18265
18565
  *
18266
18566
  * The configurations of Phase 1 negotiations:
18267
18567
  *
18268
- * * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the VPN gateway and the on-premises database.
18568
+ * * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
18569
+ *
18570
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18269
18571
  *
18270
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18572
+ * * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
18271
18573
  *
18272
- * * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
18574
+ * **
18273
18575
  *
18274
- * >The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises database. Otherwise, the on-premises database and the VPN gateway cannot establish a connection.
18576
+ * **Note** The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
18275
18577
  *
18276
18578
  * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
18277
18579
  *
18278
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
18580
+ * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
18279
18581
  *
18280
18582
  * * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
18281
18583
  *
18282
18584
  * * **main:** This mode offers higher security during negotiations.
18283
- * * **aggressive:** This mode is faster and has a higher success rate.
18585
+ * * **aggressive**: This mode supports faster negotiations and a higher success rate.
18284
18586
  *
18285
18587
  * * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
18286
18588
  *
@@ -18290,13 +18592,13 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18290
18592
  *
18291
18593
  * Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
18292
18594
  *
18293
- * * **IkeConfig.IkePfs**: the Diffie-Hellman (DH) key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
18595
+ * * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
18294
18596
  *
18295
- * * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18597
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18296
18598
  *
18297
- * * **IkeConfig.LocalId**: the identifier of the VPN gateway. The value can be up to 100 characters in length. The default value is the IP address of the VPN gateway.
18599
+ * * **IkeConfig.LocalId**: the identifier of the VPN gateway. It can contain at most 100 characters. The default value is the IP address of the VPN gateway.
18298
18600
  *
18299
- * * **IkeConfig.RemoteId**: the identifier of the customer gateway. The value can be up to 100 characters in length. The default value is the IP address of the customer gateway.
18601
+ * * **IkeConfig.RemoteId**: the identifier of the customer gateway. It can contain at most 100 characters. The default value is the IP address of the customer gateway.
18300
18602
  *
18301
18603
  * @example
18302
18604
  * {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
@@ -18408,8 +18710,8 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18408
18710
  * @remarks
18409
18711
  * The tunnel configurations.
18410
18712
  *
18411
- * * You can specify the parameters in the **TunnelOptionsSpecification** array if you create an IPsec-VPN connection in dual-tunnel mode.
18412
- * * If you create an IPsec-VPN connection in dual-tunnel mode, you need to configure an active tunnel and a standby tunnel. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
18713
+ * * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
18714
+ * * When you create an IPsec-VPN connection in dual tunnel mode, you must add configurations of the active and standby tunnels for the IPsec-VPN connection. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
18413
18715
  *
18414
18716
  * **if can be null:**
18415
18717
  * true
@@ -38569,6 +38871,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38569
38871
  * The list of routes.
38570
38872
  */
38571
38873
  vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
38874
+ vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
38572
38875
  static names(): { [key: string]: string } {
38573
38876
  return {
38574
38877
  pageNumber: 'PageNumber',
@@ -38576,6 +38879,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38576
38879
  requestId: 'RequestId',
38577
38880
  totalCount: 'TotalCount',
38578
38881
  vcoRouteEntries: 'VcoRouteEntries',
38882
+ vpnRouteCounts: 'VpnRouteCounts',
38579
38883
  };
38580
38884
  }
38581
38885
 
@@ -38586,6 +38890,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38586
38890
  requestId: 'string',
38587
38891
  totalCount: 'number',
38588
38892
  vcoRouteEntries: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVcoRouteEntries },
38893
+ vpnRouteCounts: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVpnRouteCounts },
38589
38894
  };
38590
38895
  }
38591
38896
 
@@ -41098,31 +41403,36 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41098
41403
  status?: string;
41099
41404
  /**
41100
41405
  * @remarks
41101
- * The automatically generated tag of the VPN gateway.
41406
+ * The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
41102
41407
  *
41103
41408
  * * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
41104
41409
  *
41105
41410
  * * **true**
41106
41411
  * * **false**
41107
41412
  *
41108
- * * **VisuallySsl**: indicates whether the VPN gateway allows you to view information about connected SSL clients.
41413
+ * * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
41109
41414
  *
41110
41415
  * * **true**
41111
41416
  * * **false**
41112
41417
  *
41113
- * * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
41418
+ * * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
41114
41419
  *
41115
41420
  * * **true**
41116
41421
  * * **false**
41117
41422
  *
41118
- * * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
41423
+ * * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
41119
41424
  *
41120
41425
  * * **true**
41121
41426
  * * **false**
41122
41427
  *
41123
- * * **description**
41428
+ * * **description**: the description of the VPN gateway. This parameter is only for internal use.
41124
41429
  *
41125
- * * **VpnVersion**
41430
+ * * **VpnVersion**: the version of the VPN gateway.
41431
+ *
41432
+ * * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
41433
+ *
41434
+ * * **true**
41435
+ * * **false**
41126
41436
  *
41127
41437
  * @example
41128
41438
  * {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
@@ -41130,7 +41440,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41130
41440
  tag?: string;
41131
41441
  /**
41132
41442
  * @remarks
41133
- * The tag value.
41443
+ * The tags that are added to the VPN gateway.
41134
41444
  */
41135
41445
  tags?: DescribeVpnGatewayResponseBodyTags;
41136
41446
  /**
@@ -41159,9 +41469,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41159
41469
  vpnGatewayId?: string;
41160
41470
  /**
41161
41471
  * @remarks
41162
- * The type of the VPN gateway.
41163
- *
41164
- * Only **Normal** may be returned, which indicates a standard VPN gateway.
41472
+ * The type of VPN gateway. Only **Normal** may be returned, which indicates a standard VPN gateway.
41165
41473
  *
41166
41474
  * @example
41167
41475
  * Normal
@@ -41457,11 +41765,7 @@ export class DescribeVpnGatewaysRequest extends $tea.Model {
41457
41765
  status?: string;
41458
41766
  /**
41459
41767
  * @remarks
41460
- * The value of tag N to add to the resource.
41461
- *
41462
- * The value of this parameter can be an empty string and cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
41463
- *
41464
- * Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
41768
+ * The tags that are added to the VPN gateway.
41465
41769
  */
41466
41770
  tag?: DescribeVpnGatewaysRequestTag[];
41467
41771
  /**
@@ -41558,7 +41862,7 @@ export class DescribeVpnGatewaysResponseBody extends $tea.Model {
41558
41862
  totalCount?: number;
41559
41863
  /**
41560
41864
  * @remarks
41561
- * The VPN gateways.
41865
+ * The information about the VPN gateways.
41562
41866
  */
41563
41867
  vpnGateways?: DescribeVpnGatewaysResponseBodyVpnGateways;
41564
41868
  static names(): { [key: string]: string } {
@@ -41893,6 +42197,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
41893
42197
  * 1
41894
42198
  */
41895
42199
  totalCount?: number;
42200
+ vpnRouteCounts?: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts;
41896
42201
  /**
41897
42202
  * @remarks
41898
42203
  * The list of route entries.
@@ -41904,6 +42209,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
41904
42209
  pageSize: 'PageSize',
41905
42210
  requestId: 'RequestId',
41906
42211
  totalCount: 'TotalCount',
42212
+ vpnRouteCounts: 'VpnRouteCounts',
41907
42213
  vpnRouteEntries: 'VpnRouteEntries',
41908
42214
  };
41909
42215
  }
@@ -41914,6 +42220,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
41914
42220
  pageSize: 'number',
41915
42221
  requestId: 'string',
41916
42222
  totalCount: 'number',
42223
+ vpnRouteCounts: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts,
41917
42224
  vpnRouteEntries: DescribeVpnRouteEntriesResponseBodyVpnRouteEntries,
41918
42225
  };
41919
42226
  }
@@ -43280,7 +43587,7 @@ export class DissociateVpnGatewayWithCertificateRequest extends $tea.Model {
43280
43587
  * @remarks
43281
43588
  * The certificate ID.
43282
43589
  *
43283
- * > The certificate ID refers to the ID generated after the SSL certificate is associated with a VPN gateway. It is not the ID of the certificate itself. You can call [ListVpnCertificateAssociations](https://help.aliyun.com/document_detail/448813.html) to query certificate IDs.
43590
+ * > The certificate ID refers to the ID generated after the SSL certificate is associated with the VPN gateway. It is not the ID of the SSL certificate. You can call the [ListVpnCertificateAssociations](https://help.aliyun.com/document_detail/2521961.html) operation to query certificate IDs.
43284
43591
  *
43285
43592
  * This parameter is required.
43286
43593
  *
@@ -44609,6 +44916,7 @@ export class GetNatGatewayAttributeRequest extends $tea.Model {
44609
44916
  }
44610
44917
 
44611
44918
  export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44919
+ accessMode?: GetNatGatewayAttributeResponseBodyAccessMode;
44612
44920
  /**
44613
44921
  * @remarks
44614
44922
  * The billing information.
@@ -44797,6 +45105,7 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44797
45105
  vpcId?: string;
44798
45106
  static names(): { [key: string]: string } {
44799
45107
  return {
45108
+ accessMode: 'AccessMode',
44800
45109
  billingConfig: 'BillingConfig',
44801
45110
  businessStatus: 'BusinessStatus',
44802
45111
  creationTime: 'CreationTime',
@@ -44827,6 +45136,7 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44827
45136
 
44828
45137
  static types(): { [key: string]: any } {
44829
45138
  return {
45139
+ accessMode: GetNatGatewayAttributeResponseBodyAccessMode,
44830
45140
  billingConfig: GetNatGatewayAttributeResponseBodyBillingConfig,
44831
45141
  businessStatus: 'string',
44832
45142
  creationTime: 'string',
@@ -52346,7 +52656,7 @@ export class ModifyExpressCloudConnectionAttributeRequest extends $tea.Model {
52346
52656
  * The peer IP address when the SAG device is connected to the cloud.
52347
52657
  *
52348
52658
  * @example
52349
- * 172.16.\*\*.**
52659
+ * ``172.16.**.**``
52350
52660
  */
52351
52661
  ceIp?: string;
52352
52662
  /**
@@ -52382,7 +52692,7 @@ export class ModifyExpressCloudConnectionAttributeRequest extends $tea.Model {
52382
52692
  * The on-premises IP address when the SAG device is connected to the cloud.
52383
52693
  *
52384
52694
  * @example
52385
- * 10.10.\*\*.**
52695
+ * ``10.10.**.**``
52386
52696
  */
52387
52697
  peIp?: string;
52388
52698
  /**
@@ -53259,6 +53569,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53259
53569
  * myFlowlog
53260
53570
  */
53261
53571
  flowLogName?: string;
53572
+ ipVersion?: string;
53262
53573
  ownerAccount?: string;
53263
53574
  ownerId?: number;
53264
53575
  /**
@@ -53281,6 +53592,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53281
53592
  description: 'Description',
53282
53593
  flowLogId: 'FlowLogId',
53283
53594
  flowLogName: 'FlowLogName',
53595
+ ipVersion: 'IpVersion',
53284
53596
  ownerAccount: 'OwnerAccount',
53285
53597
  ownerId: 'OwnerId',
53286
53598
  regionId: 'RegionId',
@@ -53295,6 +53607,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53295
53607
  description: 'string',
53296
53608
  flowLogId: 'string',
53297
53609
  flowLogName: 'string',
53610
+ ipVersion: 'string',
53298
53611
  ownerAccount: 'string',
53299
53612
  ownerId: 'number',
53300
53613
  regionId: 'string',
@@ -56518,6 +56831,13 @@ export class ModifyRouteEntryRequest extends $tea.Model {
56518
56831
  * EntryDescription
56519
56832
  */
56520
56833
  description?: string;
56834
+ /**
56835
+ * @remarks
56836
+ * The destination CIDR block of the route entry. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
56837
+ *
56838
+ * @example
56839
+ * 192.168.0.0/24
56840
+ */
56521
56841
  destinationCidrBlock?: string;
56522
56842
  /**
56523
56843
  * @remarks
@@ -56569,6 +56889,13 @@ export class ModifyRouteEntryRequest extends $tea.Model {
56569
56889
  * EntryName
56570
56890
  */
56571
56891
  routeEntryName?: string;
56892
+ /**
56893
+ * @remarks
56894
+ * The ID of the route table to which the route entry belongs.
56895
+ *
56896
+ * @example
56897
+ * vtb-bp1nk7zk65du3pni8z9td
56898
+ */
56572
56899
  routeTableId?: string;
56573
56900
  static names(): { [key: string]: string } {
56574
56901
  return {
@@ -59586,6 +59913,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59586
59913
  * true
59587
59914
  */
59588
59915
  enableNatTraversal?: boolean;
59916
+ /**
59917
+ * **if can be null:**
59918
+ * true
59919
+ */
59920
+ enableTunnelsBgp?: boolean;
59589
59921
  /**
59590
59922
  * @remarks
59591
59923
  * The health check configurations:
@@ -59730,6 +60062,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59730
60062
  remoteSubnet?: string;
59731
60063
  resourceOwnerAccount?: string;
59732
60064
  resourceOwnerId?: number;
60065
+ /**
60066
+ * **if can be null:**
60067
+ * true
60068
+ */
60069
+ tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification[];
59733
60070
  /**
59734
60071
  * @remarks
59735
60072
  * The ID of the IPsec-VPN connection.
@@ -59749,6 +60086,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59749
60086
  effectImmediately: 'EffectImmediately',
59750
60087
  enableDpd: 'EnableDpd',
59751
60088
  enableNatTraversal: 'EnableNatTraversal',
60089
+ enableTunnelsBgp: 'EnableTunnelsBgp',
59752
60090
  healthCheckConfig: 'HealthCheckConfig',
59753
60091
  ikeConfig: 'IkeConfig',
59754
60092
  ipsecConfig: 'IpsecConfig',
@@ -59761,6 +60099,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59761
60099
  remoteSubnet: 'RemoteSubnet',
59762
60100
  resourceOwnerAccount: 'ResourceOwnerAccount',
59763
60101
  resourceOwnerId: 'ResourceOwnerId',
60102
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
59764
60103
  vpnConnectionId: 'VpnConnectionId',
59765
60104
  };
59766
60105
  }
@@ -59774,6 +60113,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59774
60113
  effectImmediately: 'boolean',
59775
60114
  enableDpd: 'boolean',
59776
60115
  enableNatTraversal: 'boolean',
60116
+ enableTunnelsBgp: 'boolean',
59777
60117
  healthCheckConfig: 'string',
59778
60118
  ikeConfig: 'string',
59779
60119
  ipsecConfig: 'string',
@@ -59786,6 +60126,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59786
60126
  remoteSubnet: 'string',
59787
60127
  resourceOwnerAccount: 'string',
59788
60128
  resourceOwnerId: 'number',
60129
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification },
59789
60130
  vpnConnectionId: 'string',
59790
60131
  };
59791
60132
  }
@@ -59875,6 +60216,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
59875
60216
  * true
59876
60217
  */
59877
60218
  enableNatTraversal?: boolean;
60219
+ enableTunnelsBgp?: boolean;
59878
60220
  /**
59879
60221
  * @remarks
59880
60222
  * The configuration of Phase 1 negotiations.
@@ -59961,6 +60303,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
59961
60303
  * ike_sa_not_established
59962
60304
  */
59963
60305
  status?: string;
60306
+ tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
59964
60307
  /**
59965
60308
  * @remarks
59966
60309
  * The health check configuration of the IPsec-VPN connection.
@@ -59997,6 +60340,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
59997
60340
  effectImmediately: 'EffectImmediately',
59998
60341
  enableDpd: 'EnableDpd',
59999
60342
  enableNatTraversal: 'EnableNatTraversal',
60343
+ enableTunnelsBgp: 'EnableTunnelsBgp',
60000
60344
  ikeConfig: 'IkeConfig',
60001
60345
  ipsecConfig: 'IpsecConfig',
60002
60346
  localSubnet: 'LocalSubnet',
@@ -60007,6 +60351,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60007
60351
  resourceGroupId: 'ResourceGroupId',
60008
60352
  spec: 'Spec',
60009
60353
  status: 'Status',
60354
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
60010
60355
  vcoHealthCheck: 'VcoHealthCheck',
60011
60356
  vpnBgpConfig: 'VpnBgpConfig',
60012
60357
  vpnConnectionId: 'VpnConnectionId',
@@ -60024,6 +60369,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60024
60369
  effectImmediately: 'boolean',
60025
60370
  enableDpd: 'boolean',
60026
60371
  enableNatTraversal: 'boolean',
60372
+ enableTunnelsBgp: 'boolean',
60027
60373
  ikeConfig: ModifyVpnAttachmentAttributeResponseBodyIkeConfig,
60028
60374
  ipsecConfig: ModifyVpnAttachmentAttributeResponseBodyIpsecConfig,
60029
60375
  localSubnet: 'string',
@@ -60034,6 +60380,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60034
60380
  resourceGroupId: 'string',
60035
60381
  spec: 'string',
60036
60382
  status: 'string',
60383
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification },
60037
60384
  vcoHealthCheck: ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck,
60038
60385
  vpnBgpConfig: ModifyVpnAttachmentAttributeResponseBodyVpnBgpConfig,
60039
60386
  vpnConnectionId: 'string',
@@ -60085,27 +60432,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60085
60432
  autoConfigRoute?: boolean;
60086
60433
  /**
60087
60434
  * @remarks
60088
- * This parameter is supported by single-tunnel IPsec-VPN connections.
60435
+ * This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
60089
60436
  *
60090
- * The Border Gateway Protocol (BGP) configurations:
60437
+ * BGP configuration:
60091
60438
  *
60092
- * * **BgpConfig.EnableBgp:** specifies whether to enable BGP. Valid values: **true** and **false**.
60439
+ * * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**.
60093
60440
  *
60094
60441
  * * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
60095
60442
  *
60096
- * You can enter the ASN in two segments. Separate the first 16 bits of the ASN from the remaining 16 bits with a period (.). Enter the number in each segment in decimal format.
60443
+ * You can enter a value in two segments separated by a period (.). Each segment is 16 bits in length. Enter the number in each segment in decimal format.
60097
60444
  *
60098
- * For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
60445
+ * For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
60099
60446
  *
60100
- * * **BgpConfig.TunnelCidr**: the CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16. The subnet mask of the CIDR block must be 30 bits in length.
60447
+ * * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
60101
60448
  *
60102
- * > The CIDR block of the IPsec tunnel of each IPsec-VPN connection must be unique on a VPN gateway.
60449
+ * > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
60103
60450
  *
60104
- * * **LocalBgpIp**: the BGP IP address on the Alibaba Cloud side. This IP address must fall within the CIDR block range of the IPsec tunnel.
60451
+ * * **LocalBgpIp**: the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
60105
60452
  *
60106
60453
  * > - This parameter is required when the VPN gateway has dynamic BGP enabled.
60107
- * > - Before you configure BGP, we recommend that you learn about how BGP works and its limits. For more information, see [BGP dynamic routing ](https://help.aliyun.com/document_detail/170235.html).
60108
- * > - We recommend that you use a private ASN to establish a connection with Alibaba Cloud over BGP. For information about the range of private ASNs, see the relevant documentation.
60454
+ * > - Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
60455
+ * > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
60109
60456
  *
60110
60457
  * @example
60111
60458
  * {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
@@ -60191,25 +60538,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60191
60538
  healthCheckConfig?: string;
60192
60539
  /**
60193
60540
  * @remarks
60194
- * This parameter is supported by single-tunnel IPsec-VPN connections.
60541
+ * This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
60195
60542
  *
60196
60543
  * The configurations of Phase 1 negotiations:
60197
60544
  *
60198
- * * **IkeConfig.Psk**: the pre-shared key that is used for authentication between the VPN gateway and the data center.
60545
+ * * **IkeConfig.Psk**: The pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
60199
60546
  *
60200
- * * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
60201
- * * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
60547
+ * * The key cannot contain space characters. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
60548
+ * * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
60202
60549
  *
60203
- * > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises database. Otherwise, the on-premises database and the VPN gateway cannot establish a connection.
60550
+ * **
60551
+ *
60552
+ * **Description** The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
60204
60553
  *
60205
60554
  * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
60206
60555
  *
60207
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
60556
+ * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
60208
60557
  *
60209
60558
  * * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**.
60210
60559
  *
60211
- * * **main**: This mode offers higher security during negotiations.
60212
- * * **aggressive**: This mode is faster and has a higher success rate.
60560
+ * * **main:** This mode offers higher security during negotiations.
60561
+ * * **aggressive:** This mode supports faster negotiations and a higher success rate.
60213
60562
  *
60214
60563
  * * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
60215
60564
  *
@@ -60219,13 +60568,13 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60219
60568
  *
60220
60569
  * Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
60221
60570
  *
60222
- * * **IkeConfig.IkePfs**: the Diffie-Hellman (DH) key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
60571
+ * * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
60223
60572
  *
60224
- * * **IkeConfig.IkeLifetime**: the security association (SA) lifetime that is determined by Phase 1 negotiations. Unit: seconds. Valid values: **0 to 86400**.
60573
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
60225
60574
  *
60226
- * * **IkeConfig.LocalId**: the identifier of the VPN gateway. The identifier cannot exceed 100 characters in length. The default value is the IP address of the VPN gateway.
60575
+ * * **IkeConfig.LocalId**: the identifier of the VPN gateway. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the VPN gateway.
60227
60576
  *
60228
- * * **IkeConfig.RemoteId**: the identifier of the customer gateway. The identifier cannot exceed 100 characters in length. The default value is the IP address of the customer gateway.
60577
+ * * **IkeConfig.RemoteId**: the identifier of the customer gateway. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway.
60229
60578
  *
60230
60579
  * @example
60231
60580
  * {"Psk":"pgw6dy7d1i8i****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"116.64.XX.XX","RemoteId":"139.18.XX.XX"}
@@ -60325,7 +60674,7 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60325
60674
  * @remarks
60326
60675
  * The tunnel configurations.
60327
60676
  *
60328
- * You can specify the parameters in **TunnelOptionsSpecification** if you modify the configuration of a dual-tunnel IPsec-VPN connection. You can modify both the active and standby tunnels of the IPsec-VPN connection.
60677
+ * You can specify parameters in the **TunnelOptionsSpecification** array when you modify the configurations of an IPsec-VPN connection in dual-tunnel mode. You can modify the configurations of both the active and standby tunnels of the IPsec-VPN connection.
60329
60678
  *
60330
60679
  * **if can be null:**
60331
60680
  * true
@@ -70360,10 +70709,89 @@ export class CreateIpv6GatewayRequestTag extends $tea.Model {
70360
70709
  }
70361
70710
  }
70362
70711
 
70712
+ export class CreateNatGatewayRequestAccessMode extends $tea.Model {
70713
+ /**
70714
+ * @remarks
70715
+ * Access mode. Valid values:
70716
+ *
70717
+ * - **route**: route mode
70718
+ *
70719
+ * - **tunnel**: tunnel mode
70720
+ *
70721
+ * > If this parameter is specified, you must set **PrivateLinkEnabled** to **true**.
70722
+ *
70723
+ * @example
70724
+ * route
70725
+ */
70726
+ modeValue?: string;
70727
+ /**
70728
+ * @remarks
70729
+ * Tunnel mode type:
70730
+ *
70731
+ * - **geneve**: Geneve type
70732
+ *
70733
+ * > This value takes effect if the access mode is the tunnel mode.
70734
+ */
70735
+ tunnelType?: string;
70736
+ static names(): { [key: string]: string } {
70737
+ return {
70738
+ modeValue: 'ModeValue',
70739
+ tunnelType: 'TunnelType',
70740
+ };
70741
+ }
70742
+
70743
+ static types(): { [key: string]: any } {
70744
+ return {
70745
+ modeValue: 'string',
70746
+ tunnelType: 'string',
70747
+ };
70748
+ }
70749
+
70750
+ constructor(map?: { [key: string]: any }) {
70751
+ super(map);
70752
+ }
70753
+ }
70754
+
70363
70755
  export class CreateNatGatewayRequestTag extends $tea.Model {
70364
70756
  /**
70365
70757
  * @remarks
70366
- * The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
70758
+ * The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
70759
+ *
70760
+ * @example
70761
+ * TestKey
70762
+ */
70763
+ key?: string;
70764
+ /**
70765
+ * @remarks
70766
+ * The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
70767
+ *
70768
+ * @example
70769
+ * TestValue
70770
+ */
70771
+ value?: string;
70772
+ static names(): { [key: string]: string } {
70773
+ return {
70774
+ key: 'Key',
70775
+ value: 'Value',
70776
+ };
70777
+ }
70778
+
70779
+ static types(): { [key: string]: any } {
70780
+ return {
70781
+ key: 'string',
70782
+ value: 'string',
70783
+ };
70784
+ }
70785
+
70786
+ constructor(map?: { [key: string]: any }) {
70787
+ super(map);
70788
+ }
70789
+ }
70790
+
70791
+ export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
70792
+ /**
70793
+ * @remarks
70794
+ * The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
70367
70795
  *
70368
70796
  * @example
70369
70797
  * TestKey
@@ -70371,7 +70799,7 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
70371
70799
  key?: string;
70372
70800
  /**
70373
70801
  * @remarks
70374
- * The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag value cannot be an empty string. The tag value can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
70802
+ * The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
70375
70803
  *
70376
70804
  * @example
70377
70805
  * TestValue
@@ -72202,6 +72630,139 @@ export class CreateVpnAttachmentRequestTags extends $tea.Model {
72202
72630
  }
72203
72631
  }
72204
72632
 
72633
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
72634
+ localAsn?: number;
72635
+ localBgpIp?: string;
72636
+ tunnelCidr?: string;
72637
+ static names(): { [key: string]: string } {
72638
+ return {
72639
+ localAsn: 'LocalAsn',
72640
+ localBgpIp: 'LocalBgpIp',
72641
+ tunnelCidr: 'TunnelCidr',
72642
+ };
72643
+ }
72644
+
72645
+ static types(): { [key: string]: any } {
72646
+ return {
72647
+ localAsn: 'number',
72648
+ localBgpIp: 'string',
72649
+ tunnelCidr: 'string',
72650
+ };
72651
+ }
72652
+
72653
+ constructor(map?: { [key: string]: any }) {
72654
+ super(map);
72655
+ }
72656
+ }
72657
+
72658
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
72659
+ ikeAuthAlg?: string;
72660
+ ikeEncAlg?: string;
72661
+ ikeLifetime?: number;
72662
+ ikeMode?: string;
72663
+ ikePfs?: string;
72664
+ ikeVersion?: string;
72665
+ localId?: string;
72666
+ psk?: string;
72667
+ remoteId?: string;
72668
+ static names(): { [key: string]: string } {
72669
+ return {
72670
+ ikeAuthAlg: 'IkeAuthAlg',
72671
+ ikeEncAlg: 'IkeEncAlg',
72672
+ ikeLifetime: 'IkeLifetime',
72673
+ ikeMode: 'IkeMode',
72674
+ ikePfs: 'IkePfs',
72675
+ ikeVersion: 'IkeVersion',
72676
+ localId: 'LocalId',
72677
+ psk: 'Psk',
72678
+ remoteId: 'RemoteId',
72679
+ };
72680
+ }
72681
+
72682
+ static types(): { [key: string]: any } {
72683
+ return {
72684
+ ikeAuthAlg: 'string',
72685
+ ikeEncAlg: 'string',
72686
+ ikeLifetime: 'number',
72687
+ ikeMode: 'string',
72688
+ ikePfs: 'string',
72689
+ ikeVersion: 'string',
72690
+ localId: 'string',
72691
+ psk: 'string',
72692
+ remoteId: 'string',
72693
+ };
72694
+ }
72695
+
72696
+ constructor(map?: { [key: string]: any }) {
72697
+ super(map);
72698
+ }
72699
+ }
72700
+
72701
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
72702
+ ipsecAuthAlg?: string;
72703
+ ipsecEncAlg?: string;
72704
+ ipsecLifetime?: number;
72705
+ ipsecPfs?: string;
72706
+ static names(): { [key: string]: string } {
72707
+ return {
72708
+ ipsecAuthAlg: 'IpsecAuthAlg',
72709
+ ipsecEncAlg: 'IpsecEncAlg',
72710
+ ipsecLifetime: 'IpsecLifetime',
72711
+ ipsecPfs: 'IpsecPfs',
72712
+ };
72713
+ }
72714
+
72715
+ static types(): { [key: string]: any } {
72716
+ return {
72717
+ ipsecAuthAlg: 'string',
72718
+ ipsecEncAlg: 'string',
72719
+ ipsecLifetime: 'number',
72720
+ ipsecPfs: 'string',
72721
+ };
72722
+ }
72723
+
72724
+ constructor(map?: { [key: string]: any }) {
72725
+ super(map);
72726
+ }
72727
+ }
72728
+
72729
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $tea.Model {
72730
+ customerGatewayId?: string;
72731
+ enableDpd?: boolean;
72732
+ enableNatTraversal?: boolean;
72733
+ tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
72734
+ tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
72735
+ tunnelIndex?: number;
72736
+ tunnelIpsecConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig;
72737
+ static names(): { [key: string]: string } {
72738
+ return {
72739
+ customerGatewayId: 'CustomerGatewayId',
72740
+ enableDpd: 'EnableDpd',
72741
+ enableNatTraversal: 'EnableNatTraversal',
72742
+ tunnelBgpConfig: 'TunnelBgpConfig',
72743
+ tunnelIkeConfig: 'TunnelIkeConfig',
72744
+ tunnelIndex: 'TunnelIndex',
72745
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
72746
+ };
72747
+ }
72748
+
72749
+ static types(): { [key: string]: any } {
72750
+ return {
72751
+ customerGatewayId: 'string',
72752
+ enableDpd: 'boolean',
72753
+ enableNatTraversal: 'boolean',
72754
+ tunnelBgpConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig,
72755
+ tunnelIkeConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig,
72756
+ tunnelIndex: 'number',
72757
+ tunnelIpsecConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig,
72758
+ };
72759
+ }
72760
+
72761
+ constructor(map?: { [key: string]: any }) {
72762
+ super(map);
72763
+ }
72764
+ }
72765
+
72205
72766
  export class CreateVpnConnectionRequestTags extends $tea.Model {
72206
72767
  /**
72207
72768
  * @remarks
@@ -72249,11 +72810,13 @@ export class CreateVpnConnectionRequestTags extends $tea.Model {
72249
72810
  export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
72250
72811
  /**
72251
72812
  * @remarks
72252
- * The ASN on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
72813
+ * The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
72253
72814
  *
72254
- * > * If you set **EnableTunnelsBgp** to **true**, this parameter is required.
72255
- * >* Before you configure BGP, we recommend that you learn about how BGP works and its limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
72256
- * >* We recommend that you use a private ASN to establish a connection with Alibaba Cloud over BGP. For information about the range of private ASNs, see the relevant documentation.
72815
+ *
72816
+ *
72817
+ * > - If you set **EnableTunnelsBgp** to **true**, you must set this parameter.
72818
+ * > - Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
72819
+ * > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
72257
72820
  *
72258
72821
  * @example
72259
72822
  * 65530
@@ -72261,7 +72824,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig
72261
72824
  localAsn?: number;
72262
72825
  /**
72263
72826
  * @remarks
72264
- * The BGP address on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block range.
72827
+ * The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block.
72265
72828
  *
72266
72829
  * @example
72267
72830
  * 169.254.10.1
@@ -72269,9 +72832,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig
72269
72832
  localBgpIp?: string;
72270
72833
  /**
72271
72834
  * @remarks
72272
- * The BGP CIDR block of the tunnel. The CIDR block must belong to 169.254.0.0/16. The subnet mask of the CIDR block must be 30 bits in length.
72835
+ * The BGP CIDR block of the tunnel. The CIDR block must fall within the 169.254.0.0/16 range. The subnet mask of the CIDR block must be 30 bits in length.
72273
72836
  *
72274
- * > The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
72837
+ * > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
72275
72838
  *
72276
72839
  * @example
72277
72840
  * 169.254.10.0/30
@@ -72321,7 +72884,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72321
72884
  ikeEncAlg?: string;
72322
72885
  /**
72323
72886
  * @remarks
72324
- * The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds.
72887
+ * The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
72325
72888
  *
72326
72889
  * Valid values: **0** to **86400**. Default value: **86400**.
72327
72890
  *
@@ -72333,8 +72896,8 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72333
72896
  * @remarks
72334
72897
  * The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
72335
72898
  *
72336
- * * **main**: This mode offers higher security during negotiations.
72337
- * * **aggressive**: This mode is faster and has a higher success rate.
72899
+ * * **main:** This mode offers higher security during negotiations.
72900
+ * * **aggressive**: This mode supports faster negotiations and a higher success rate.
72338
72901
  *
72339
72902
  * @example
72340
72903
  * main
@@ -72342,7 +72905,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72342
72905
  ikeMode?: string;
72343
72906
  /**
72344
72907
  * @remarks
72345
- * The DH key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
72908
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
72346
72909
  * Valid values: **group1**, **group2**, **group5**, and **group14**.
72347
72910
  *
72348
72911
  * @example
@@ -72353,7 +72916,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72353
72916
  * @remarks
72354
72917
  * The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
72355
72918
  *
72356
- * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
72919
+ * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
72357
72920
  *
72358
72921
  * @example
72359
72922
  * ikev1
@@ -72361,9 +72924,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72361
72924
  ikeVersion?: string;
72362
72925
  /**
72363
72926
  * @remarks
72364
- * The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The value can be up to 100 characters in length. The default identifier is the IP address of the tunnel.
72927
+ * The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the tunnel.
72365
72928
  *
72366
- * You can set **LocalId** to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to **aggressive**.
72929
+ * **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
72367
72930
  *
72368
72931
  * @example
72369
72932
  * 47.21.XX.XX
@@ -72371,10 +72934,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72371
72934
  localId?: string;
72372
72935
  /**
72373
72936
  * @remarks
72374
- * The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
72937
+ * The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
72375
72938
  *
72376
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
72377
- * * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
72939
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
72940
+ * * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
72378
72941
  *
72379
72942
  * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
72380
72943
  *
@@ -72384,9 +72947,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72384
72947
  psk?: string;
72385
72948
  /**
72386
72949
  * @remarks
72387
- * The identifier of the tunnel peer, which is used in Phase 1 negotiations. The value can be up to 100 characters in length. The default identifier is the IP address of the customer gateway associated with the tunnel.
72950
+ * The identifier of the tunnel peer, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
72388
72951
  *
72389
- * You can set **RemoteId** to an FQDN. In this case, we recommend that you set IkeMode to **aggressive**.
72952
+ * **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
72390
72953
  *
72391
72954
  * @example
72392
72955
  * 47.42.XX.XX
@@ -72448,7 +73011,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72448
73011
  ipsecEncAlg?: string;
72449
73012
  /**
72450
73013
  * @remarks
72451
- * The SA lifetime that is determined by Phase 2 negotiations. Unit: seconds.
73014
+ * The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
72452
73015
  *
72453
73016
  * Valid values: **0** to **86400**. Default value: **86400**.
72454
73017
  *
@@ -72458,7 +73021,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72458
73021
  ipsecLifetime?: number;
72459
73022
  /**
72460
73023
  * @remarks
72461
- * The DH key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
73024
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
72462
73025
  *
72463
73026
  * Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
72464
73027
  *
@@ -72492,11 +73055,11 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72492
73055
  export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.Model {
72493
73056
  /**
72494
73057
  * @remarks
72495
- * The ID of the customer gateway associated with the tunnel.
73058
+ * The ID of the customer gateway that is associated with the tunnel.
72496
73059
  *
72497
- * > * This parameter is required if the VPN gateway supports the dual-tunnel mode.
72498
- * >* You can specify the parameters in the **TunnelOptionsSpecification** array if you create an IPsec-VPN connection in dual-tunnel mode.
72499
- * >* If you create an IPsec-VPN connection in dual-tunnel mode, you need to configure an active tunnel and a standby tunnel. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
73060
+ * > - This parameter is required when you create an IPsec-VPN connection in dual-tunnel mode.
73061
+ * > - You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
73062
+ * > - When you create an IPsec-VPN connection in dual tunnel mode, you must add configurations of the active and standby tunnels for the IPsec-VPN connection. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
72500
73063
  *
72501
73064
  * @example
72502
73065
  * cgw-p0wy363lucf1uyae8****
@@ -72504,10 +73067,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72504
73067
  customerGatewayId?: string;
72505
73068
  /**
72506
73069
  * @remarks
72507
- * Specifies whether to enable DPD for the tunnel. Valid values:
73070
+ * Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
72508
73071
  *
72509
- * * **true** (default) The initiator of the IPsec-VPN connection sends DPD packets to verify the existence and availability of the peer. If no feedback is received from the peer within a specified period of time, the connection fails. ISAKMP SAs and IPsec SAs are deleted. The IPsec tunnel is also deleted.
72510
- * * **false**
73072
+ * * **true** (default): enables DPD. The initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no feedback is received from the peer within the specified period of time, the connection fails. In this case, ISAKMP SA and IPsec SA are deleted. The security tunnel is also deleted.
73073
+ * * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
72511
73074
  *
72512
73075
  * @example
72513
73076
  * true
@@ -72517,8 +73080,8 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72517
73080
  * @remarks
72518
73081
  * Specifies whether to enable NAT traversal for the tunnel. Valid values:
72519
73082
  *
72520
- * * **true** (default) After NAT traversal is enabled, the verification process for the peer UDP port is deleted from IKE negotiations. In addition, the NAT gateway in the tunnel can be found.
72521
- * * **false**
73083
+ * * **true** (default): enables NAT traversal. After NAT traversal is enabled, the initiator does not check the UDP ports during IKE negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel.
73084
+ * * **false**: disables NAT traversal.
72522
73085
  *
72523
73086
  * @example
72524
73087
  * true
@@ -72526,10 +73089,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72526
73089
  enableNatTraversal?: boolean;
72527
73090
  /**
72528
73091
  * @remarks
72529
- * The CA certificate. If the VPN gateway is of the SM type, you must configure a CA certificate for the peer gateway device.
73092
+ * If the VPN gateway uses an SM certificate, you need to configure the CA certificate used by the IPsec peer.
72530
73093
  *
72531
- * * If an SM VPN gateway is used to create the IPsec-VPN connection, this parameter is required.
72532
- * * If a standard VPN gateway is used to create the IPsec-VPN connection, leave this parameter empty.
73094
+ * * If the VPN gateway uses an SM certificate, this parameter is required.
73095
+ * * If the VPN gateway does not use an SM certificate, leave this parameter empty.
72533
73096
  *
72534
73097
  * @example
72535
73098
  * -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
@@ -72537,10 +73100,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72537
73100
  remoteCaCertificate?: string;
72538
73101
  /**
72539
73102
  * @remarks
72540
- * The role of the tunnel. Valid values:
73103
+ * The role of the tunnel. Valid values: Valid values:
72541
73104
  *
72542
- * * **master**: The tunnel is the active tunnel.
72543
- * * **slave**: The tunnel is the standby tunnel.
73105
+ * * **master**: The tunnel is an active tunnel.
73106
+ * * **slave**: The tunnel is a standby tunnel.
72544
73107
  *
72545
73108
  * @example
72546
73109
  * master
@@ -72548,7 +73111,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72548
73111
  role?: string;
72549
73112
  /**
72550
73113
  * @remarks
72551
- * The BGP configurations for the tunnel.
73114
+ * The Border Gateway Protocol (BGP) configurations of the tunnel.
72552
73115
  */
72553
73116
  tunnelBgpConfig?: CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig;
72554
73117
  /**
@@ -76605,6 +77168,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76605
77168
  * myFlowlog
76606
77169
  */
76607
77170
  flowLogName?: string;
77171
+ ipVersion?: string;
76608
77172
  /**
76609
77173
  * @remarks
76610
77174
  * The Logstore that stores the captured traffic data.
@@ -76719,6 +77283,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76719
77283
  flowLogDeliverStatus: 'FlowLogDeliverStatus',
76720
77284
  flowLogId: 'FlowLogId',
76721
77285
  flowLogName: 'FlowLogName',
77286
+ ipVersion: 'IpVersion',
76722
77287
  logStoreName: 'LogStoreName',
76723
77288
  projectName: 'ProjectName',
76724
77289
  regionId: 'RegionId',
@@ -76743,6 +77308,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76743
77308
  flowLogDeliverStatus: 'string',
76744
77309
  flowLogId: 'string',
76745
77310
  flowLogName: 'string',
77311
+ ipVersion: 'string',
76746
77312
  logStoreName: 'string',
76747
77313
  projectName: 'string',
76748
77314
  regionId: 'string',
@@ -79145,7 +79711,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $tea
79145
79711
  export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set extends $tea.Model {
79146
79712
  /**
79147
79713
  * @example
79148
- * 172.17.\*\*.**
79714
+ * ``172.17.**.**``
79149
79715
  */
79150
79716
  IPv4Address?: string;
79151
79717
  /**
@@ -79213,6 +79779,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79213
79779
  * PrivateLink
79214
79780
  */
79215
79781
  resourceType?: string;
79782
+ tunnelIndex?: string;
79216
79783
  static names(): { [key: string]: string } {
79217
79784
  return {
79218
79785
  IPv4Sets: 'IPv4Sets',
@@ -79220,6 +79787,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79220
79787
  resourceId: 'ResourceId',
79221
79788
  resourceOwnerId: 'ResourceOwnerId',
79222
79789
  resourceType: 'ResourceType',
79790
+ tunnelIndex: 'TunnelIndex',
79223
79791
  };
79224
79792
  }
79225
79793
 
@@ -79230,6 +79798,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79230
79798
  resourceId: 'string',
79231
79799
  resourceOwnerId: 'string',
79232
79800
  resourceType: 'string',
79801
+ tunnelIndex: 'string',
79233
79802
  };
79234
79803
  }
79235
79804
 
@@ -79297,6 +79866,28 @@ export class DescribeNatGatewaysRequestTag extends $tea.Model {
79297
79866
  }
79298
79867
  }
79299
79868
 
79869
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode extends $tea.Model {
79870
+ modeValue?: string;
79871
+ tunnelType?: string;
79872
+ static names(): { [key: string]: string } {
79873
+ return {
79874
+ modeValue: 'ModeValue',
79875
+ tunnelType: 'TunnelType',
79876
+ };
79877
+ }
79878
+
79879
+ static types(): { [key: string]: any } {
79880
+ return {
79881
+ modeValue: 'string',
79882
+ tunnelType: 'string',
79883
+ };
79884
+ }
79885
+
79886
+ constructor(map?: { [key: string]: any }) {
79887
+ super(map);
79888
+ }
79889
+ }
79890
+
79300
79891
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
79301
79892
  forwardTableId?: string[];
79302
79893
  static names(): { [key: string]: string } {
@@ -79602,6 +80193,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $t
79602
80193
  }
79603
80194
 
79604
80195
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
80196
+ accessMode?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode;
79605
80197
  /**
79606
80198
  * @remarks
79607
80199
  * Indicates whether automatic payment is enabled. Valid values:
@@ -79864,6 +80456,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
79864
80456
  vpcId?: string;
79865
80457
  static names(): { [key: string]: string } {
79866
80458
  return {
80459
+ accessMode: 'AccessMode',
79867
80460
  autoPay: 'AutoPay',
79868
80461
  businessStatus: 'BusinessStatus',
79869
80462
  creationTime: 'CreationTime',
@@ -79899,6 +80492,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
79899
80492
 
79900
80493
  static types(): { [key: string]: any } {
79901
80494
  return {
80495
+ accessMode: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode,
79902
80496
  autoPay: 'boolean',
79903
80497
  businessStatus: 'string',
79904
80498
  creationTime: 'string',
@@ -85264,6 +85858,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85264
85858
  * vco-p0w2jpkhi2eeop6q6****
85265
85859
  */
85266
85860
  nextHop?: string;
85861
+ nextHopTunnelIdList?: string[];
85267
85862
  /**
85268
85863
  * @remarks
85269
85864
  * The destination CIDR block of the route.
@@ -85330,6 +85925,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85330
85925
  community: 'Community',
85331
85926
  createTime: 'CreateTime',
85332
85927
  nextHop: 'NextHop',
85928
+ nextHopTunnelIdList: 'NextHopTunnelIdList',
85333
85929
  routeDest: 'RouteDest',
85334
85930
  routeEntryType: 'RouteEntryType',
85335
85931
  source: 'Source',
@@ -85345,6 +85941,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85345
85941
  community: 'string',
85346
85942
  createTime: 'number',
85347
85943
  nextHop: 'string',
85944
+ nextHopTunnelIdList: { 'type': 'array', 'itemType': 'string' },
85348
85945
  routeDest: 'string',
85349
85946
  routeEntryType: 'string',
85350
85947
  source: 'string',
@@ -85359,6 +85956,31 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85359
85956
  }
85360
85957
  }
85361
85958
 
85959
+ export class DescribeVcoRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
85960
+ routeCount?: number;
85961
+ routeEntryType?: string;
85962
+ source?: string;
85963
+ static names(): { [key: string]: string } {
85964
+ return {
85965
+ routeCount: 'RouteCount',
85966
+ routeEntryType: 'RouteEntryType',
85967
+ source: 'Source',
85968
+ };
85969
+ }
85970
+
85971
+ static types(): { [key: string]: any } {
85972
+ return {
85973
+ routeCount: 'number',
85974
+ routeEntryType: 'string',
85975
+ source: 'string',
85976
+ };
85977
+ }
85978
+
85979
+ constructor(map?: { [key: string]: any }) {
85980
+ super(map);
85981
+ }
85982
+ }
85983
+
85362
85984
  export class DescribeVirtualBorderRoutersRequestFilter extends $tea.Model {
85363
85985
  /**
85364
85986
  * @remarks
@@ -87490,6 +88112,28 @@ export class DescribeVpcsResponseBodyVpcs extends $tea.Model {
87490
88112
  }
87491
88113
  }
87492
88114
 
88115
+ export class DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags extends $tea.Model {
88116
+ key?: string;
88117
+ value?: string;
88118
+ static names(): { [key: string]: string } {
88119
+ return {
88120
+ key: 'Key',
88121
+ value: 'Value',
88122
+ };
88123
+ }
88124
+
88125
+ static types(): { [key: string]: any } {
88126
+ return {
88127
+ key: 'string',
88128
+ value: 'string',
88129
+ };
88130
+ }
88131
+
88132
+ constructor(map?: { [key: string]: any }) {
88133
+ super(map);
88134
+ }
88135
+ }
88136
+
87493
88137
  export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model {
87494
88138
  /**
87495
88139
  * @remarks
@@ -87534,6 +88178,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87534
88178
  * nametest1
87535
88179
  */
87536
88180
  name?: string;
88181
+ tag?: string;
88182
+ tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
87537
88183
  /**
87538
88184
  * @remarks
87539
88185
  * The ID of the transit router with which the IPsec-VPN connection is associated.
@@ -87557,6 +88203,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87557
88203
  description: 'Description',
87558
88204
  instanceId: 'InstanceId',
87559
88205
  name: 'Name',
88206
+ tag: 'Tag',
88207
+ tags: 'Tags',
87560
88208
  transitRouterId: 'TransitRouterId',
87561
88209
  transitRouterName: 'TransitRouterName',
87562
88210
  };
@@ -87569,6 +88217,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87569
88217
  description: 'string',
87570
88218
  instanceId: 'string',
87571
88219
  name: 'string',
88220
+ tag: 'string',
88221
+ tags: { 'type': 'array', 'itemType': DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags },
87572
88222
  transitRouterId: 'string',
87573
88223
  transitRouterName: 'string',
87574
88224
  };
@@ -88151,6 +88801,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88151
88801
  * The configuration of Phase 1 negotiations.
88152
88802
  */
88153
88803
  tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
88804
+ tunnelIndex?: number;
88154
88805
  /**
88155
88806
  * @remarks
88156
88807
  * The configurations of Phase 2 negotiations.
@@ -88179,6 +88830,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88179
88830
  tunnelBgpConfig: 'TunnelBgpConfig',
88180
88831
  tunnelId: 'TunnelId',
88181
88832
  tunnelIkeConfig: 'TunnelIkeConfig',
88833
+ tunnelIndex: 'TunnelIndex',
88182
88834
  tunnelIpsecConfig: 'TunnelIpsecConfig',
88183
88835
  zoneNo: 'ZoneNo',
88184
88836
  };
@@ -88197,6 +88849,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88197
88849
  tunnelBgpConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
88198
88850
  tunnelId: 'string',
88199
88851
  tunnelIkeConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
88852
+ tunnelIndex: 'number',
88200
88853
  tunnelIpsecConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
88201
88854
  zoneNo: 'string',
88202
88855
  };
@@ -89058,6 +89711,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89058
89711
  * The configuration of Phase 1 negotiations.
89059
89712
  */
89060
89713
  tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
89714
+ tunnelIndex?: number;
89061
89715
  /**
89062
89716
  * @remarks
89063
89717
  * The configurations of Phase 2 negotiations.
@@ -89084,6 +89738,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89084
89738
  tunnelBgpConfig: 'TunnelBgpConfig',
89085
89739
  tunnelId: 'TunnelId',
89086
89740
  tunnelIkeConfig: 'TunnelIkeConfig',
89741
+ tunnelIndex: 'TunnelIndex',
89087
89742
  tunnelIpsecConfig: 'TunnelIpsecConfig',
89088
89743
  zoneNo: 'ZoneNo',
89089
89744
  };
@@ -89102,6 +89757,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89102
89757
  tunnelBgpConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
89103
89758
  tunnelId: 'string',
89104
89759
  tunnelIkeConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
89760
+ tunnelIndex: 'number',
89105
89761
  tunnelIpsecConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
89106
89762
  zoneNo: 'string',
89107
89763
  };
@@ -89966,11 +90622,9 @@ export class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList ext
89966
90622
  export class DescribeVpnGatewaysRequestTag extends $tea.Model {
89967
90623
  /**
89968
90624
  * @remarks
89969
- * The tag key. The tag key cannot be an empty string.
89970
- *
89971
- * It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
90625
+ * The tag key.
89972
90626
  *
89973
- * You can specify at most 20 tag keys in each call.
90627
+ * You can specify at most 20 tag keys at a time.
89974
90628
  *
89975
90629
  * @example
89976
90630
  * FinanceDept
@@ -89980,9 +90634,7 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
89980
90634
  * @remarks
89981
90635
  * The tag value.
89982
90636
  *
89983
- * The tag value can be an empty string and cannot exceed 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
89984
- *
89985
- * Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
90637
+ * Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
89986
90638
  *
89987
90639
  * @example
89988
90640
  * FinanceJoshua
@@ -90391,7 +91043,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
90391
91043
  status?: string;
90392
91044
  /**
90393
91045
  * @remarks
90394
- * The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
91046
+ * The tag that is automatically generated for the VPN gateway.
90395
91047
  *
90396
91048
  * * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
90397
91049
  *
@@ -90410,13 +91062,18 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
90410
91062
  *
90411
91063
  * * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
90412
91064
  *
90413
- * * **true**
91065
+ * * **true**: queries only SQL templates that need to be optimized.
90414
91066
  * * **false**: does not query only SQL statements that need to be optimized.
90415
91067
  *
90416
91068
  * * **description**: the description of the VPN gateway. This parameter is only for internal use.
90417
91069
  *
90418
91070
  * * **VpnVersion**: the version of the VPN gateway.
90419
91071
  *
91072
+ * * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
91073
+ *
91074
+ * * **true**
91075
+ * * **false**
91076
+ *
90420
91077
  * @example
90421
91078
  * {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
90422
91079
  */
@@ -90689,6 +91346,50 @@ export class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntries extends $t
90689
91346
  }
90690
91347
  }
90691
91348
 
91349
+ export class DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount extends $tea.Model {
91350
+ routeCount?: number;
91351
+ routeEntryType?: string;
91352
+ source?: string;
91353
+ static names(): { [key: string]: string } {
91354
+ return {
91355
+ routeCount: 'RouteCount',
91356
+ routeEntryType: 'RouteEntryType',
91357
+ source: 'Source',
91358
+ };
91359
+ }
91360
+
91361
+ static types(): { [key: string]: any } {
91362
+ return {
91363
+ routeCount: 'number',
91364
+ routeEntryType: 'string',
91365
+ source: 'string',
91366
+ };
91367
+ }
91368
+
91369
+ constructor(map?: { [key: string]: any }) {
91370
+ super(map);
91371
+ }
91372
+ }
91373
+
91374
+ export class DescribeVpnRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
91375
+ vpnRouteCount?: DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount[];
91376
+ static names(): { [key: string]: string } {
91377
+ return {
91378
+ vpnRouteCount: 'VpnRouteCount',
91379
+ };
91380
+ }
91381
+
91382
+ static types(): { [key: string]: any } {
91383
+ return {
91384
+ vpnRouteCount: { 'type': 'array', 'itemType': DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount },
91385
+ };
91386
+ }
91387
+
91388
+ constructor(map?: { [key: string]: any }) {
91389
+ super(map);
91390
+ }
91391
+ }
91392
+
90692
91393
  export class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry extends $tea.Model {
90693
91394
  /**
90694
91395
  * @remarks
@@ -91703,6 +92404,28 @@ export class GetIpv4GatewayAttributeResponseBodyTags extends $tea.Model {
91703
92404
  }
91704
92405
  }
91705
92406
 
92407
+ export class GetNatGatewayAttributeResponseBodyAccessMode extends $tea.Model {
92408
+ modeValue?: string;
92409
+ tunnelType?: string;
92410
+ static names(): { [key: string]: string } {
92411
+ return {
92412
+ modeValue: 'ModeValue',
92413
+ tunnelType: 'TunnelType',
92414
+ };
92415
+ }
92416
+
92417
+ static types(): { [key: string]: any } {
92418
+ return {
92419
+ modeValue: 'string',
92420
+ tunnelType: 'string',
92421
+ };
92422
+ }
92423
+
92424
+ constructor(map?: { [key: string]: any }) {
92425
+ super(map);
92426
+ }
92427
+ }
92428
+
91706
92429
  export class GetNatGatewayAttributeResponseBodyBillingConfig extends $tea.Model {
91707
92430
  /**
91708
92431
  * @remarks
@@ -97051,6 +97774,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecCo
97051
97774
  }
97052
97775
 
97053
97776
  export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
97777
+ customerGatewayId?: string;
97054
97778
  /**
97055
97779
  * @remarks
97056
97780
  * Specifies whether to enable the dead peer detection (DPD) feature. Valid values:
@@ -97100,6 +97824,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
97100
97824
  tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
97101
97825
  static names(): { [key: string]: string } {
97102
97826
  return {
97827
+ customerGatewayId: 'CustomerGatewayId',
97103
97828
  enableDpd: 'EnableDpd',
97104
97829
  enableNatTraversal: 'EnableNatTraversal',
97105
97830
  remoteCaCertificate: 'RemoteCaCertificate',
@@ -97111,6 +97836,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
97111
97836
 
97112
97837
  static types(): { [key: string]: any } {
97113
97838
  return {
97839
+ customerGatewayId: 'string',
97114
97840
  enableDpd: 'boolean',
97115
97841
  enableNatTraversal: 'boolean',
97116
97842
  remoteCaCertificate: 'string',
@@ -97450,6 +98176,142 @@ export class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $tea.Model
97450
98176
  }
97451
98177
  }
97452
98178
 
98179
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
98180
+ localAsn?: number;
98181
+ localBgpIp?: string;
98182
+ tunnelCidr?: string;
98183
+ static names(): { [key: string]: string } {
98184
+ return {
98185
+ localAsn: 'LocalAsn',
98186
+ localBgpIp: 'LocalBgpIp',
98187
+ tunnelCidr: 'TunnelCidr',
98188
+ };
98189
+ }
98190
+
98191
+ static types(): { [key: string]: any } {
98192
+ return {
98193
+ localAsn: 'number',
98194
+ localBgpIp: 'string',
98195
+ tunnelCidr: 'string',
98196
+ };
98197
+ }
98198
+
98199
+ constructor(map?: { [key: string]: any }) {
98200
+ super(map);
98201
+ }
98202
+ }
98203
+
98204
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
98205
+ ikeAuthAlg?: string;
98206
+ ikeEncAlg?: string;
98207
+ ikeLifetime?: number;
98208
+ ikeMode?: string;
98209
+ ikePfs?: string;
98210
+ ikeVersion?: string;
98211
+ localId?: string;
98212
+ psk?: string;
98213
+ remoteId?: string;
98214
+ static names(): { [key: string]: string } {
98215
+ return {
98216
+ ikeAuthAlg: 'IkeAuthAlg',
98217
+ ikeEncAlg: 'IkeEncAlg',
98218
+ ikeLifetime: 'IkeLifetime',
98219
+ ikeMode: 'IkeMode',
98220
+ ikePfs: 'IkePfs',
98221
+ ikeVersion: 'IkeVersion',
98222
+ localId: 'LocalId',
98223
+ psk: 'Psk',
98224
+ remoteId: 'RemoteId',
98225
+ };
98226
+ }
98227
+
98228
+ static types(): { [key: string]: any } {
98229
+ return {
98230
+ ikeAuthAlg: 'string',
98231
+ ikeEncAlg: 'string',
98232
+ ikeLifetime: 'number',
98233
+ ikeMode: 'string',
98234
+ ikePfs: 'string',
98235
+ ikeVersion: 'string',
98236
+ localId: 'string',
98237
+ psk: 'string',
98238
+ remoteId: 'string',
98239
+ };
98240
+ }
98241
+
98242
+ constructor(map?: { [key: string]: any }) {
98243
+ super(map);
98244
+ }
98245
+ }
98246
+
98247
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
98248
+ ipsecAuthAlg?: string;
98249
+ ipsecEncAlg?: string;
98250
+ ipsecLifetime?: number;
98251
+ ipsecPfs?: string;
98252
+ static names(): { [key: string]: string } {
98253
+ return {
98254
+ ipsecAuthAlg: 'IpsecAuthAlg',
98255
+ ipsecEncAlg: 'IpsecEncAlg',
98256
+ ipsecLifetime: 'IpsecLifetime',
98257
+ ipsecPfs: 'IpsecPfs',
98258
+ };
98259
+ }
98260
+
98261
+ static types(): { [key: string]: any } {
98262
+ return {
98263
+ ipsecAuthAlg: 'string',
98264
+ ipsecEncAlg: 'string',
98265
+ ipsecLifetime: 'number',
98266
+ ipsecPfs: 'string',
98267
+ };
98268
+ }
98269
+
98270
+ constructor(map?: { [key: string]: any }) {
98271
+ super(map);
98272
+ }
98273
+ }
98274
+
98275
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $tea.Model {
98276
+ customerGatewayId?: string;
98277
+ enableDpd?: boolean;
98278
+ enableNatTraversal?: boolean;
98279
+ tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
98280
+ tunnelId?: string;
98281
+ tunnelIkeConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
98282
+ tunnelIndex?: number;
98283
+ tunnelIpsecConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
98284
+ static names(): { [key: string]: string } {
98285
+ return {
98286
+ customerGatewayId: 'CustomerGatewayId',
98287
+ enableDpd: 'EnableDpd',
98288
+ enableNatTraversal: 'EnableNatTraversal',
98289
+ tunnelBgpConfig: 'TunnelBgpConfig',
98290
+ tunnelId: 'TunnelId',
98291
+ tunnelIkeConfig: 'TunnelIkeConfig',
98292
+ tunnelIndex: 'TunnelIndex',
98293
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
98294
+ };
98295
+ }
98296
+
98297
+ static types(): { [key: string]: any } {
98298
+ return {
98299
+ customerGatewayId: 'string',
98300
+ enableDpd: 'boolean',
98301
+ enableNatTraversal: 'boolean',
98302
+ tunnelBgpConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
98303
+ tunnelId: 'string',
98304
+ tunnelIkeConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
98305
+ tunnelIndex: 'number',
98306
+ tunnelIpsecConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
98307
+ };
98308
+ }
98309
+
98310
+ constructor(map?: { [key: string]: any }) {
98311
+ super(map);
98312
+ }
98313
+ }
98314
+
97453
98315
  export class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $tea.Model {
97454
98316
  /**
97455
98317
  * @remarks
@@ -97614,6 +98476,157 @@ export class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends $tea.Mo
97614
98476
  }
97615
98477
  }
97616
98478
 
98479
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
98480
+ localAsn?: number;
98481
+ localBgpIp?: string;
98482
+ peerAsn?: number;
98483
+ peerBgpIp?: string;
98484
+ tunnelCidr?: string;
98485
+ static names(): { [key: string]: string } {
98486
+ return {
98487
+ localAsn: 'LocalAsn',
98488
+ localBgpIp: 'LocalBgpIp',
98489
+ peerAsn: 'PeerAsn',
98490
+ peerBgpIp: 'PeerBgpIp',
98491
+ tunnelCidr: 'TunnelCidr',
98492
+ };
98493
+ }
98494
+
98495
+ static types(): { [key: string]: any } {
98496
+ return {
98497
+ localAsn: 'number',
98498
+ localBgpIp: 'string',
98499
+ peerAsn: 'number',
98500
+ peerBgpIp: 'string',
98501
+ tunnelCidr: 'string',
98502
+ };
98503
+ }
98504
+
98505
+ constructor(map?: { [key: string]: any }) {
98506
+ super(map);
98507
+ }
98508
+ }
98509
+
98510
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
98511
+ ikeAuthAlg?: string;
98512
+ ikeEncAlg?: string;
98513
+ ikeLifetime?: number;
98514
+ ikeMode?: string;
98515
+ ikePfs?: string;
98516
+ ikeVersion?: string;
98517
+ localId?: string;
98518
+ psk?: string;
98519
+ remoteId?: string;
98520
+ static names(): { [key: string]: string } {
98521
+ return {
98522
+ ikeAuthAlg: 'IkeAuthAlg',
98523
+ ikeEncAlg: 'IkeEncAlg',
98524
+ ikeLifetime: 'IkeLifetime',
98525
+ ikeMode: 'IkeMode',
98526
+ ikePfs: 'IkePfs',
98527
+ ikeVersion: 'IkeVersion',
98528
+ localId: 'LocalId',
98529
+ psk: 'Psk',
98530
+ remoteId: 'RemoteId',
98531
+ };
98532
+ }
98533
+
98534
+ static types(): { [key: string]: any } {
98535
+ return {
98536
+ ikeAuthAlg: 'string',
98537
+ ikeEncAlg: 'string',
98538
+ ikeLifetime: 'number',
98539
+ ikeMode: 'string',
98540
+ ikePfs: 'string',
98541
+ ikeVersion: 'string',
98542
+ localId: 'string',
98543
+ psk: 'string',
98544
+ remoteId: 'string',
98545
+ };
98546
+ }
98547
+
98548
+ constructor(map?: { [key: string]: any }) {
98549
+ super(map);
98550
+ }
98551
+ }
98552
+
98553
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
98554
+ ipsecAuthAlg?: string;
98555
+ ipsecEncAlg?: string;
98556
+ ipsecLifetime?: number;
98557
+ ipsecPfs?: string;
98558
+ static names(): { [key: string]: string } {
98559
+ return {
98560
+ ipsecAuthAlg: 'IpsecAuthAlg',
98561
+ ipsecEncAlg: 'IpsecEncAlg',
98562
+ ipsecLifetime: 'IpsecLifetime',
98563
+ ipsecPfs: 'IpsecPfs',
98564
+ };
98565
+ }
98566
+
98567
+ static types(): { [key: string]: any } {
98568
+ return {
98569
+ ipsecAuthAlg: 'string',
98570
+ ipsecEncAlg: 'string',
98571
+ ipsecLifetime: 'number',
98572
+ ipsecPfs: 'string',
98573
+ };
98574
+ }
98575
+
98576
+ constructor(map?: { [key: string]: any }) {
98577
+ super(map);
98578
+ }
98579
+ }
98580
+
98581
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification extends $tea.Model {
98582
+ customerGatewayId?: string;
98583
+ enableDpd?: boolean;
98584
+ enableNatTraversal?: boolean;
98585
+ internetIp?: string;
98586
+ role?: string;
98587
+ state?: string;
98588
+ tunnelBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig;
98589
+ tunnelId?: string;
98590
+ tunnelIkeConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig;
98591
+ tunnelIndex?: number;
98592
+ tunnelIpsecConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig;
98593
+ static names(): { [key: string]: string } {
98594
+ return {
98595
+ customerGatewayId: 'CustomerGatewayId',
98596
+ enableDpd: 'EnableDpd',
98597
+ enableNatTraversal: 'EnableNatTraversal',
98598
+ internetIp: 'InternetIp',
98599
+ role: 'Role',
98600
+ state: 'State',
98601
+ tunnelBgpConfig: 'TunnelBgpConfig',
98602
+ tunnelId: 'TunnelId',
98603
+ tunnelIkeConfig: 'TunnelIkeConfig',
98604
+ tunnelIndex: 'TunnelIndex',
98605
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
98606
+ };
98607
+ }
98608
+
98609
+ static types(): { [key: string]: any } {
98610
+ return {
98611
+ customerGatewayId: 'string',
98612
+ enableDpd: 'boolean',
98613
+ enableNatTraversal: 'boolean',
98614
+ internetIp: 'string',
98615
+ role: 'string',
98616
+ state: 'string',
98617
+ tunnelBgpConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig,
98618
+ tunnelId: 'string',
98619
+ tunnelIkeConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig,
98620
+ tunnelIndex: 'number',
98621
+ tunnelIpsecConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig,
98622
+ };
98623
+ }
98624
+
98625
+ constructor(map?: { [key: string]: any }) {
98626
+ super(map);
98627
+ }
98628
+ }
98629
+
97617
98630
  export class ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck extends $tea.Model {
97618
98631
  /**
97619
98632
  * @remarks
@@ -97793,9 +98806,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97793
98806
  * @remarks
97794
98807
  * The ASN of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
97795
98808
  *
97796
- * > - You can specify or modify this parameter if BGP is enabled for the IPsec-VPN connection (**EnableTunnelsBgp** is set to **true**).
97797
- * > - Before you configure BGP, we recommend that you learn about how BGP works and its limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
97798
- * > - We recommend that you use a private ASN to establish a connection with Alibaba Cloud over BGP. For information about the range of private ASNs, see the relevant documentation.
98809
+ * > You can specify this parameter only if **EnableTunnelsBgp** is set to **true**.
98810
+ *
98811
+ * * Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
98812
+ *
98813
+ * * We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
97799
98814
  *
97800
98815
  * @example
97801
98816
  * 65530
@@ -97803,7 +98818,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97803
98818
  localAsn?: number;
97804
98819
  /**
97805
98820
  * @remarks
97806
- * The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block range.
98821
+ * The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block.
97807
98822
  *
97808
98823
  * @example
97809
98824
  * 169.254.10.1
@@ -97811,9 +98826,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97811
98826
  localBgpIp?: string;
97812
98827
  /**
97813
98828
  * @remarks
97814
- * The BGP CIDR block of the tunnel. The CIDR block must belong to 169.254.0.0/16. The subnet mask of the CIDR block must be 30 bits in length.
98829
+ * The BGP CIDR block of the tunnel.
98830
+ *
98831
+ * The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
97815
98832
  *
97816
- * > The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
98833
+ * > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
97817
98834
  *
97818
98835
  * @example
97819
98836
  * 169.254.10.0/30
@@ -97863,7 +98880,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97863
98880
  ikeEncAlg?: string;
97864
98881
  /**
97865
98882
  * @remarks
97866
- * The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**.
98883
+ * The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**.
97867
98884
  *
97868
98885
  * @example
97869
98886
  * 86400
@@ -97871,10 +98888,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97871
98888
  ikeLifetime?: number;
97872
98889
  /**
97873
98890
  * @remarks
97874
- * The IKE negotiation mode. Valid values:
98891
+ * The negotiation mode of IKE. Valid values:
97875
98892
  *
97876
- * * **main**: This mode offers higher security during negotiations.
97877
- * * **aggressive**: This mode is faster and has a higher success rate.
98893
+ * * **main:** This mode offers higher security during negotiations.
98894
+ * * **aggressive:** This mode supports faster negotiations and a higher success rate.
97878
98895
  *
97879
98896
  * @example
97880
98897
  * main
@@ -97882,7 +98899,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97882
98899
  ikeMode?: string;
97883
98900
  /**
97884
98901
  * @remarks
97885
- * The DH key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
98902
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
97886
98903
  *
97887
98904
  * @example
97888
98905
  * group2
@@ -97892,7 +98909,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97892
98909
  * @remarks
97893
98910
  * The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
97894
98911
  *
97895
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
98912
+ * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
97896
98913
  *
97897
98914
  * @example
97898
98915
  * ikev1
@@ -97900,9 +98917,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97900
98917
  ikeVersion?: string;
97901
98918
  /**
97902
98919
  * @remarks
97903
- * The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default identifier is the IP address of the tunnel.
98920
+ * The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the tunnel.
97904
98921
  *
97905
- * You can set **LocalId** to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to **aggressive**.
98922
+ * **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
97906
98923
  *
97907
98924
  * @example
97908
98925
  * 47.21.XX.XX
@@ -97912,10 +98929,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97912
98929
  * @remarks
97913
98930
  * The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
97914
98931
  *
97915
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
97916
- * * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
98932
+ * * The key cannot contain space characters. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
98933
+ * * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
97917
98934
  *
97918
- * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
98935
+ * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be built.
97919
98936
  *
97920
98937
  * @example
97921
98938
  * 123456****
@@ -97923,9 +98940,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97923
98940
  psk?: string;
97924
98941
  /**
97925
98942
  * @remarks
97926
- * The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default identifier is the IP address of the customer gateway associated with the tunnel.
98943
+ * The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
97927
98944
  *
97928
- * You can set **RemoteId** to an FQDN. In this case, we recommend that you set IkeMode to **aggressive**.
98945
+ * **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
97929
98946
  *
97930
98947
  * @example
97931
98948
  * 47.42.XX.XX
@@ -97987,7 +99004,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97987
99004
  ipsecEncAlg?: string;
97988
99005
  /**
97989
99006
  * @remarks
97990
- * The SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: **0** to **86400**.
99007
+ * The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0** to **86400**.
97991
99008
  *
97992
99009
  * @example
97993
99010
  * 86400
@@ -97995,7 +99012,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
97995
99012
  ipsecLifetime?: number;
97996
99013
  /**
97997
99014
  * @remarks
97998
- * The DH key exchange algorithm that is used in Phase 2 negotiations.
99015
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
97999
99016
  *
98000
99017
  * Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
98001
99018
  *
@@ -98027,12 +99044,20 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98027
99044
  }
98028
99045
 
98029
99046
  export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification extends $tea.Model {
99047
+ /**
99048
+ * @remarks
99049
+ * The ID of the customer gateway associated with the tunnel.
99050
+ *
99051
+ * @example
99052
+ * cgw-1nmwbpgrp7ssqm1yn****
99053
+ */
99054
+ customerGatewayId?: string;
98030
99055
  /**
98031
99056
  * @remarks
98032
99057
  * Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
98033
99058
  *
98034
- * * **true** The initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no feedback is received from the peer within a specified period of time, the connection fails. ISAKMP SA and IPsec SA are deleted. The security tunnel is also deleted.
98035
- * * **false**
99059
+ * * **true**: enables DPD. The initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no feedback is received from the peer within the specified period of time, the connection fails. In this case, ISAKMP SA and IPsec SA are deleted. The security tunnel is also deleted.
99060
+ * * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
98036
99061
  *
98037
99062
  * @example
98038
99063
  * true
@@ -98042,8 +99067,8 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98042
99067
  * @remarks
98043
99068
  * Specifies whether to enable NAT traversal for the tunnel. Valid values:
98044
99069
  *
98045
- * * **true** After NAT traversal is enabled, the initiator does not check the UDP ports during Internet Key Exchange (IKE) negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel.
98046
- * * **false**
99070
+ * * **true**: enables NAT traversal. After NAT traversal is enabled, the initiator does not check the UDP ports during IKE negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel.
99071
+ * * **false**: disables NAT traversal.
98047
99072
  *
98048
99073
  * @example
98049
99074
  * true
@@ -98077,8 +99102,6 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98077
99102
  tunnelBgpConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
98078
99103
  /**
98079
99104
  * @remarks
98080
- * **TunnelOptionsSpecification** parameters are supported by dual-tunnel IPsec-VPN gateways. You can modify both the active and standby tunnels of the IPsec-VPN connection.
98081
- *
98082
99105
  * The tunnel ID.
98083
99106
  *
98084
99107
  * @example
@@ -98097,6 +99120,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98097
99120
  tunnelIpsecConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
98098
99121
  static names(): { [key: string]: string } {
98099
99122
  return {
99123
+ customerGatewayId: 'CustomerGatewayId',
98100
99124
  enableDpd: 'EnableDpd',
98101
99125
  enableNatTraversal: 'EnableNatTraversal',
98102
99126
  remoteCaCertificate: 'RemoteCaCertificate',
@@ -98110,6 +99134,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98110
99134
 
98111
99135
  static types(): { [key: string]: any } {
98112
99136
  return {
99137
+ customerGatewayId: 'string',
98113
99138
  enableDpd: 'boolean',
98114
99139
  enableNatTraversal: 'boolean',
98115
99140
  remoteCaCertificate: 'string',
@@ -103910,6 +104935,10 @@ export default class Client extends OpenApi {
103910
104935
  query["FlowLogName"] = request.flowLogName;
103911
104936
  }
103912
104937
 
104938
+ if (!Util.isUnset(request.ipVersion)) {
104939
+ query["IpVersion"] = request.ipVersion;
104940
+ }
104941
+
103913
104942
  if (!Util.isUnset(request.logStoreName)) {
103914
104943
  query["LogStoreName"] = request.logStoreName;
103915
104944
  }
@@ -105201,23 +106230,32 @@ export default class Client extends OpenApi {
105201
106230
  * Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
105202
106231
  *
105203
106232
  * @remarks
105204
- * ## [](#)
106233
+ * ## Usage notes
105205
106234
  * Before you call this operation, take note of the following items:
105206
- * * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
106235
+ * * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
105207
106236
  * * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
105208
106237
  * * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
105209
106238
  * * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
105210
106239
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
105211
106240
  * It takes 1 to 3 minutes to create a NAT gateway.
105212
- * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
105213
106241
  *
105214
- * @param request - CreateNatGatewayRequest
106242
+ * @param tmpReq - CreateNatGatewayRequest
105215
106243
  * @param runtime - runtime options for this request RuntimeOptions
105216
106244
  * @returns CreateNatGatewayResponse
105217
106245
  */
105218
- async createNatGatewayWithOptions(request: CreateNatGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatGatewayResponse> {
105219
- Util.validateModel(request);
106246
+ async createNatGatewayWithOptions(tmpReq: CreateNatGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatGatewayResponse> {
106247
+ Util.validateModel(tmpReq);
106248
+ let request = new CreateNatGatewayShrinkRequest({ });
106249
+ OpenApiUtil.convert(tmpReq, request);
106250
+ if (!Util.isUnset(tmpReq.accessMode)) {
106251
+ request.accessModeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accessMode, "AccessMode", "json");
106252
+ }
106253
+
105220
106254
  let query = { };
106255
+ if (!Util.isUnset(request.accessModeShrink)) {
106256
+ query["AccessMode"] = request.accessModeShrink;
106257
+ }
106258
+
105221
106259
  if (!Util.isUnset(request.autoPay)) {
105222
106260
  query["AutoPay"] = request.autoPay;
105223
106261
  }
@@ -105274,6 +106312,10 @@ export default class Client extends OpenApi {
105274
106312
  query["PricingCycle"] = request.pricingCycle;
105275
106313
  }
105276
106314
 
106315
+ if (!Util.isUnset(request.privateLinkEnabled)) {
106316
+ query["PrivateLinkEnabled"] = request.privateLinkEnabled;
106317
+ }
106318
+
105277
106319
  if (!Util.isUnset(request.regionId)) {
105278
106320
  query["RegionId"] = request.regionId;
105279
106321
  }
@@ -105327,15 +106369,14 @@ export default class Client extends OpenApi {
105327
106369
  * Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
105328
106370
  *
105329
106371
  * @remarks
105330
- * ## [](#)
106372
+ * ## Usage notes
105331
106373
  * Before you call this operation, take note of the following items:
105332
- * * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
106374
+ * * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
105333
106375
  * * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
105334
106376
  * * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
105335
106377
  * * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
105336
106378
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
105337
106379
  * It takes 1 to 3 minutes to create a NAT gateway.
105338
- * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
105339
106380
  *
105340
106381
  * @param request - CreateNatGatewayRequest
105341
106382
  * @returns CreateNatGatewayResponse
@@ -106735,12 +107776,13 @@ export default class Client extends OpenApi {
106735
107776
  * Creates an SSL server.
106736
107777
  *
106737
107778
  * @remarks
106738
- * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) operation to query the status of the task.
107779
+ * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
106739
107780
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
106740
107781
  * * If the VPN gateway is in the **active** state, the SSL server is created.
106741
- * * You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
106742
- * ### [](#)Prerequisites
106743
- * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2526913.html).
107782
+ * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
107783
+ * ### [](#)Prerequisite
107784
+ * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
107785
+ * * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
106744
107786
  *
106745
107787
  * @param request - CreateSslVpnServerRequest
106746
107788
  * @param runtime - runtime options for this request RuntimeOptions
@@ -106842,12 +107884,13 @@ export default class Client extends OpenApi {
106842
107884
  * Creates an SSL server.
106843
107885
  *
106844
107886
  * @remarks
106845
- * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) operation to query the status of the task.
107887
+ * **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
106846
107888
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
106847
107889
  * * If the VPN gateway is in the **active** state, the SSL server is created.
106848
- * * You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
106849
- * ### [](#)Prerequisites
106850
- * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2526913.html).
107890
+ * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
107891
+ * ### [](#)Prerequisite
107892
+ * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
107893
+ * * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
106851
107894
  *
106852
107895
  * @param request - CreateSslVpnServerRequest
106853
107896
  * @returns CreateSslVpnServerResponse
@@ -108281,6 +109324,10 @@ export default class Client extends OpenApi {
108281
109324
  query["EnableNatTraversal"] = request.enableNatTraversal;
108282
109325
  }
108283
109326
 
109327
+ if (!Util.isUnset(request.enableTunnelsBgp)) {
109328
+ query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
109329
+ }
109330
+
108284
109331
  if (!Util.isUnset(request.healthCheckConfig)) {
108285
109332
  query["HealthCheckConfig"] = request.healthCheckConfig;
108286
109333
  }
@@ -108337,8 +109384,19 @@ export default class Client extends OpenApi {
108337
109384
  query["Tags"] = request.tags;
108338
109385
  }
108339
109386
 
109387
+ let body : {[key: string ]: any} = { };
109388
+ let bodyFlat : {[key: string ]: any} = { };
109389
+ if (!Util.isUnset(request.tunnelOptionsSpecification)) {
109390
+ bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
109391
+ }
109392
+
109393
+ body = {
109394
+ ...body,
109395
+ ...OpenApiUtil.query(bodyFlat),
109396
+ };
108340
109397
  let req = new $OpenApi.OpenApiRequest({
108341
109398
  query: OpenApiUtil.query(query),
109399
+ body: OpenApiUtil.parseToMap(body),
108342
109400
  });
108343
109401
  let params = new $OpenApi.Params({
108344
109402
  action: "CreateVpnAttachment",
@@ -119655,10 +120713,13 @@ export default class Client extends OpenApi {
119655
120713
  /**
119656
120714
  * Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
119657
120715
  *
120716
+ * @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
120717
+ *
119658
120718
  * @param request - DisableNatGatewayEcsMetricRequest
119659
120719
  * @param runtime - runtime options for this request RuntimeOptions
119660
120720
  * @returns DisableNatGatewayEcsMetricResponse
119661
120721
  */
120722
+ // Deprecated
119662
120723
  async disableNatGatewayEcsMetricWithOptions(request: DisableNatGatewayEcsMetricRequest, runtime: $Util.RuntimeOptions): Promise<DisableNatGatewayEcsMetricResponse> {
119663
120724
  Util.validateModel(request);
119664
120725
  let query = { };
@@ -119698,9 +120759,12 @@ export default class Client extends OpenApi {
119698
120759
  /**
119699
120760
  * Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
119700
120761
  *
120762
+ * @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
120763
+ *
119701
120764
  * @param request - DisableNatGatewayEcsMetricRequest
119702
120765
  * @returns DisableNatGatewayEcsMetricResponse
119703
120766
  */
120767
+ // Deprecated
119704
120768
  async disableNatGatewayEcsMetric(request: DisableNatGatewayEcsMetricRequest): Promise<DisableNatGatewayEcsMetricResponse> {
119705
120769
  let runtime = new $Util.RuntimeOptions({ });
119706
120770
  return await this.disableNatGatewayEcsMetricWithOptions(request, runtime);
@@ -120067,10 +121131,13 @@ export default class Client extends OpenApi {
120067
121131
  /**
120068
121132
  * Enables Elastic Compute Service (ECS) traffic monitoring.
120069
121133
  *
121134
+ * @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
121135
+ *
120070
121136
  * @param request - EnableNatGatewayEcsMetricRequest
120071
121137
  * @param runtime - runtime options for this request RuntimeOptions
120072
121138
  * @returns EnableNatGatewayEcsMetricResponse
120073
121139
  */
121140
+ // Deprecated
120074
121141
  async enableNatGatewayEcsMetricWithOptions(request: EnableNatGatewayEcsMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableNatGatewayEcsMetricResponse> {
120075
121142
  Util.validateModel(request);
120076
121143
  let query = { };
@@ -120110,9 +121177,12 @@ export default class Client extends OpenApi {
120110
121177
  /**
120111
121178
  * Enables Elastic Compute Service (ECS) traffic monitoring.
120112
121179
  *
121180
+ * @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
121181
+ *
120113
121182
  * @param request - EnableNatGatewayEcsMetricRequest
120114
121183
  * @returns EnableNatGatewayEcsMetricResponse
120115
121184
  */
121185
+ // Deprecated
120116
121186
  async enableNatGatewayEcsMetric(request: EnableNatGatewayEcsMetricRequest): Promise<EnableNatGatewayEcsMetricResponse> {
120117
121187
  let runtime = new $Util.RuntimeOptions({ });
120118
121188
  return await this.enableNatGatewayEcsMetricWithOptions(request, runtime);
@@ -124386,6 +125456,10 @@ export default class Client extends OpenApi {
124386
125456
  query["FlowLogName"] = request.flowLogName;
124387
125457
  }
124388
125458
 
125459
+ if (!Util.isUnset(request.ipVersion)) {
125460
+ query["IpVersion"] = request.ipVersion;
125461
+ }
125462
+
124389
125463
  if (!Util.isUnset(request.ownerAccount)) {
124390
125464
  query["OwnerAccount"] = request.ownerAccount;
124391
125465
  }
@@ -126121,7 +127195,7 @@ export default class Client extends OpenApi {
126121
127195
  }
126122
127196
 
126123
127197
  /**
126124
- * 修改路由条目属性
127198
+ * Modifies the name and description of a custom route entry.
126125
127199
  *
126126
127200
  * @remarks
126127
127201
  * You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
@@ -126199,7 +127273,7 @@ export default class Client extends OpenApi {
126199
127273
  }
126200
127274
 
126201
127275
  /**
126202
- * 修改路由条目属性
127276
+ * Modifies the name and description of a custom route entry.
126203
127277
  *
126204
127278
  * @remarks
126205
127279
  * You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
@@ -127593,6 +128667,10 @@ export default class Client extends OpenApi {
127593
128667
  query["EnableNatTraversal"] = request.enableNatTraversal;
127594
128668
  }
127595
128669
 
128670
+ if (!Util.isUnset(request.enableTunnelsBgp)) {
128671
+ query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
128672
+ }
128673
+
127596
128674
  if (!Util.isUnset(request.healthCheckConfig)) {
127597
128675
  query["HealthCheckConfig"] = request.healthCheckConfig;
127598
128676
  }
@@ -127645,8 +128723,19 @@ export default class Client extends OpenApi {
127645
128723
  query["VpnConnectionId"] = request.vpnConnectionId;
127646
128724
  }
127647
128725
 
128726
+ let body : {[key: string ]: any} = { };
128727
+ let bodyFlat : {[key: string ]: any} = { };
128728
+ if (!Util.isUnset(request.tunnelOptionsSpecification)) {
128729
+ bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
128730
+ }
128731
+
128732
+ body = {
128733
+ ...body,
128734
+ ...OpenApiUtil.query(bodyFlat),
128735
+ };
127648
128736
  let req = new $OpenApi.OpenApiRequest({
127649
128737
  query: OpenApiUtil.query(query),
128738
+ body: OpenApiUtil.parseToMap(body),
127650
128739
  });
127651
128740
  let params = new $OpenApi.Params({
127652
128741
  action: "ModifyVpnAttachmentAttribute",
@@ -131777,10 +132866,13 @@ export default class Client extends OpenApi {
131777
132866
  * * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
131778
132867
  * * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
131779
132868
  *
132869
+ * @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
132870
+ *
131780
132871
  * @param request - UpdateNatGatewayNatTypeRequest
131781
132872
  * @param runtime - runtime options for this request RuntimeOptions
131782
132873
  * @returns UpdateNatGatewayNatTypeResponse
131783
132874
  */
132875
+ // Deprecated
131784
132876
  async updateNatGatewayNatTypeWithOptions(request: UpdateNatGatewayNatTypeRequest, runtime: $Util.RuntimeOptions): Promise<UpdateNatGatewayNatTypeResponse> {
131785
132877
  Util.validateModel(request);
131786
132878
  let query = { };
@@ -131859,9 +132951,12 @@ export default class Client extends OpenApi {
131859
132951
  * * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
131860
132952
  * * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
131861
132953
  *
132954
+ * @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
132955
+ *
131862
132956
  * @param request - UpdateNatGatewayNatTypeRequest
131863
132957
  * @returns UpdateNatGatewayNatTypeResponse
131864
132958
  */
132959
+ // Deprecated
131865
132960
  async updateNatGatewayNatType(request: UpdateNatGatewayNatTypeRequest): Promise<UpdateNatGatewayNatTypeResponse> {
131866
132961
  let runtime = new $Util.RuntimeOptions({ });
131867
132962
  return await this.updateNatGatewayNatTypeWithOptions(request, runtime);