@alicloud/vpc20160428 6.6.4 → 6.6.6

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
@@ -7835,7 +7835,9 @@ export class CreateExpressConnectTrafficQosRequest extends $tea.Model {
7835
7835
  * cn-shanghai
7836
7836
  */
7837
7837
  regionId?: string;
7838
+ resourceGroupId?: string;
7838
7839
  resourceOwnerAccount?: string;
7840
+ tags?: CreateExpressConnectTrafficQosRequestTags[];
7839
7841
  static names(): { [key: string]: string } {
7840
7842
  return {
7841
7843
  clientToken: 'ClientToken',
@@ -7844,7 +7846,9 @@ export class CreateExpressConnectTrafficQosRequest extends $tea.Model {
7844
7846
  qosDescription: 'QosDescription',
7845
7847
  qosName: 'QosName',
7846
7848
  regionId: 'RegionId',
7849
+ resourceGroupId: 'ResourceGroupId',
7847
7850
  resourceOwnerAccount: 'ResourceOwnerAccount',
7851
+ tags: 'Tags',
7848
7852
  };
7849
7853
  }
7850
7854
 
@@ -7856,7 +7860,9 @@ export class CreateExpressConnectTrafficQosRequest extends $tea.Model {
7856
7860
  qosDescription: 'string',
7857
7861
  qosName: 'string',
7858
7862
  regionId: 'string',
7863
+ resourceGroupId: 'string',
7859
7864
  resourceOwnerAccount: 'string',
7865
+ tags: { 'type': 'array', 'itemType': CreateExpressConnectTrafficQosRequestTags },
7860
7866
  };
7861
7867
  }
7862
7868
 
@@ -8916,6 +8922,7 @@ export class CreateForwardEntryRequest extends $tea.Model {
8916
8922
  * 0c593ea1-3bea-11e9-b96b-88e9fe6****
8917
8923
  */
8918
8924
  clientToken?: string;
8925
+ dryRun?: boolean;
8919
8926
  /**
8920
8927
  * @remarks
8921
8928
  * * The EIP that can be accessed over the Internet when you configure a DNAT entry for an Internet NAT gateway.
@@ -9035,6 +9042,7 @@ export class CreateForwardEntryRequest extends $tea.Model {
9035
9042
  static names(): { [key: string]: string } {
9036
9043
  return {
9037
9044
  clientToken: 'ClientToken',
9045
+ dryRun: 'DryRun',
9038
9046
  externalIp: 'ExternalIp',
9039
9047
  externalPort: 'ExternalPort',
9040
9048
  forwardEntryName: 'ForwardEntryName',
@@ -9054,6 +9062,7 @@ export class CreateForwardEntryRequest extends $tea.Model {
9054
9062
  static types(): { [key: string]: any } {
9055
9063
  return {
9056
9064
  clientToken: 'string',
9065
+ dryRun: 'boolean',
9057
9066
  externalIp: 'string',
9058
9067
  externalPort: 'string',
9059
9068
  forwardEntryName: 'string',
@@ -11319,263 +11328,11 @@ export class CreateIpv6GatewayResponse extends $tea.Model {
11319
11328
  }
11320
11329
 
11321
11330
  export class CreateNatGatewayRequest extends $tea.Model {
11322
- accessMode?: CreateNatGatewayRequestAccessMode;
11323
- /**
11324
- * @remarks
11325
- * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11326
- *
11327
- * @example
11328
- * Invalid parameter.
11329
- */
11330
- autoPay?: boolean;
11331
- /**
11332
- * @remarks
11333
- * The client token that is used to ensure the idempotence of the request.
11334
- *
11335
- * You can use the client to generate the token, but you must make sure that the token is unique among different requests.
11336
- *
11337
- * > 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.
11338
- *
11339
- * @example
11340
- * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898
11341
- */
11342
- clientToken?: string;
11343
- /**
11344
- * @remarks
11345
- * The description of the NAT gateway.
11346
- *
11347
- * 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://`.
11348
- *
11349
- * @example
11350
- * testnat
11351
- */
11352
- description?: string;
11353
- /**
11354
- * @remarks
11355
- * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11356
- *
11357
- * @example
11358
- * Invalid parameter.
11359
- */
11360
- duration?: string;
11361
- /**
11362
- * @remarks
11363
- * The mode in which the EIP is associated with the NAT gateway. Valid values:
11364
- *
11365
- * * **MULTI_BINDED** (default): Multi-EIP-to-ENI mode.
11366
- *
11367
- * * **NAT**: NAT mode. IPv4 gateways are supported in this mode.
11368
- *
11369
- * **
11370
- *
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.
11372
- *
11373
- * @example
11374
- * MULTI_BINDED
11375
- */
11376
- eipBindMode?: string;
11377
- /**
11378
- * @remarks
11379
- * Specifies whether to enable ICMP retrieval. Valid values:
11380
- *
11381
- * * **true** (default)
11382
- * * **false**
11383
- *
11384
- * @example
11385
- * false
11386
- */
11387
- icmpReplyEnabled?: boolean;
11388
- /**
11389
- * @remarks
11390
- * The billing method of the NAT gateway.
11391
- *
11392
- * Set the value to **PostPaid** (pay-as-you-go), which is the default value.
11393
- *
11394
- * 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).
11395
- *
11396
- * @example
11397
- * PostPaid
11398
- */
11399
- instanceChargeType?: string;
11400
11331
  /**
11401
11332
  * @remarks
11402
- * The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
11403
- *
11404
- * @example
11405
- * PayByLcu
11406
- */
11407
- internetChargeType?: string;
11408
- /**
11409
- * @remarks
11410
- * The name of the NAT gateway.
11411
- *
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.
11413
- *
11414
- * If this parameter is not set, the system assigns a default name to the NAT gateway.
11415
- *
11416
- * @example
11417
- * fortest
11333
+ * The access mode for reverse access to the VPC NAT gateway.
11418
11334
  */
11419
- name?: string;
11420
- /**
11421
- * @remarks
11422
- * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
11423
- *
11424
- * @example
11425
- * Enhanced
11426
- */
11427
- natType?: string;
11428
- /**
11429
- * @remarks
11430
- * The network type of the NAT gateway. Valid values:
11431
- *
11432
- * * **internet**: Internet
11433
- * * **intranet**: VPC
11434
- *
11435
- * @example
11436
- * internet
11437
- */
11438
- networkType?: string;
11439
- ownerAccount?: string;
11440
- ownerId?: number;
11441
- /**
11442
- * @remarks
11443
- * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11444
- *
11445
- * @example
11446
- * Invalid parameter.
11447
- */
11448
- pricingCycle?: string;
11449
- privateLinkEnabled?: boolean;
11450
- /**
11451
- * @remarks
11452
- * The region ID of the NAT gateway.
11453
- *
11454
- * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to obtain the region ID.
11455
- *
11456
- * This parameter is required.
11457
- *
11458
- * @example
11459
- * cn-hangzhou
11460
- */
11461
- regionId?: string;
11462
- resourceOwnerAccount?: string;
11463
- resourceOwnerId?: number;
11464
- /**
11465
- * @remarks
11466
- * Specifies whether to enable the firewall feature. Valid values:
11467
- *
11468
- * * **false** (default)>Notice: This parameter is deprecated.
11469
- *
11470
- * @example
11471
- * false
11472
- *
11473
- * @deprecated
11474
- */
11475
- securityProtectionEnabled?: boolean;
11476
- /**
11477
- * @remarks
11478
- * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11479
- *
11480
- * @example
11481
- * Invalid parameter.
11482
- */
11483
- spec?: string;
11484
- /**
11485
- * @remarks
11486
- * The tags.
11487
- */
11488
- tag?: CreateNatGatewayRequestTag[];
11489
- /**
11490
- * @remarks
11491
- * The ID of the vSwitch to which the NAT gateway is attached.
11492
- *
11493
- * 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.
11494
- *
11495
- * * 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.
11496
- * * 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.
11497
- *
11498
- * > 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.
11499
- *
11500
- * @example
11501
- * vsw-bp1e3se98n9fq8hle****
11502
- */
11503
- vSwitchId?: string;
11504
- /**
11505
- * @remarks
11506
- * The ID of the VPC where you want to create the NAT gateway.
11507
- *
11508
- * This parameter is required.
11509
- *
11510
- * @example
11511
- * vpc-bp1di7uewzmtvfuq8****
11512
- */
11513
- vpcId?: string;
11514
- static names(): { [key: string]: string } {
11515
- return {
11516
- accessMode: 'AccessMode',
11517
- autoPay: 'AutoPay',
11518
- clientToken: 'ClientToken',
11519
- description: 'Description',
11520
- duration: 'Duration',
11521
- eipBindMode: 'EipBindMode',
11522
- icmpReplyEnabled: 'IcmpReplyEnabled',
11523
- instanceChargeType: 'InstanceChargeType',
11524
- internetChargeType: 'InternetChargeType',
11525
- name: 'Name',
11526
- natType: 'NatType',
11527
- networkType: 'NetworkType',
11528
- ownerAccount: 'OwnerAccount',
11529
- ownerId: 'OwnerId',
11530
- pricingCycle: 'PricingCycle',
11531
- privateLinkEnabled: 'PrivateLinkEnabled',
11532
- regionId: 'RegionId',
11533
- resourceOwnerAccount: 'ResourceOwnerAccount',
11534
- resourceOwnerId: 'ResourceOwnerId',
11535
- securityProtectionEnabled: 'SecurityProtectionEnabled',
11536
- spec: 'Spec',
11537
- tag: 'Tag',
11538
- vSwitchId: 'VSwitchId',
11539
- vpcId: 'VpcId',
11540
- };
11541
- }
11542
-
11543
- static types(): { [key: string]: any } {
11544
- return {
11545
- accessMode: CreateNatGatewayRequestAccessMode,
11546
- autoPay: 'boolean',
11547
- clientToken: 'string',
11548
- description: 'string',
11549
- duration: 'string',
11550
- eipBindMode: 'string',
11551
- icmpReplyEnabled: 'boolean',
11552
- instanceChargeType: 'string',
11553
- internetChargeType: 'string',
11554
- name: 'string',
11555
- natType: 'string',
11556
- networkType: 'string',
11557
- ownerAccount: 'string',
11558
- ownerId: 'number',
11559
- pricingCycle: 'string',
11560
- privateLinkEnabled: 'boolean',
11561
- regionId: 'string',
11562
- resourceOwnerAccount: 'string',
11563
- resourceOwnerId: 'number',
11564
- securityProtectionEnabled: 'boolean',
11565
- spec: 'string',
11566
- tag: { 'type': 'array', 'itemType': CreateNatGatewayRequestTag },
11567
- vSwitchId: 'string',
11568
- vpcId: 'string',
11569
- };
11570
- }
11571
-
11572
- constructor(map?: { [key: string]: any }) {
11573
- super(map);
11574
- }
11575
- }
11576
-
11577
- export class CreateNatGatewayShrinkRequest extends $tea.Model {
11578
- accessModeShrink?: string;
11335
+ accessMode?: CreateNatGatewayRequestAccessMode;
11579
11336
  /**
11580
11337
  * @remarks
11581
11338
  * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
@@ -11618,13 +11375,11 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11618
11375
  * @remarks
11619
11376
  * The mode in which the EIP is associated with the NAT gateway. Valid values:
11620
11377
  *
11621
- * * **MULTI_BINDED** (default): Multi-EIP-to-ENI mode.
11378
+ * - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
11622
11379
  *
11623
- * * **NAT**: NAT mode. IPv4 gateways are supported in this mode.
11380
+ * - **NAT**: NAT mode, which is compatible with IPv4 addresses.
11624
11381
  *
11625
- * **
11626
- *
11627
- * **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.
11382
+ * > 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.
11628
11383
  *
11629
11384
  * @example
11630
11385
  * MULTI_BINDED
@@ -11638,7 +11393,272 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11638
11393
  * * **false**
11639
11394
  *
11640
11395
  * @example
11396
+ * true
11397
+ */
11398
+ icmpReplyEnabled?: boolean;
11399
+ /**
11400
+ * @remarks
11401
+ * The billing method of the NAT gateway.
11402
+ *
11403
+ * Set the value to **PostPaid** (pay-as-you-go), which is the default value.
11404
+ *
11405
+ * 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).
11406
+ *
11407
+ * @example
11408
+ * PostPaid
11409
+ */
11410
+ instanceChargeType?: string;
11411
+ /**
11412
+ * @remarks
11413
+ * The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
11414
+ *
11415
+ * @example
11416
+ * PayByLcu
11417
+ */
11418
+ internetChargeType?: string;
11419
+ /**
11420
+ * @remarks
11421
+ * The name of the NAT gateway.
11422
+ *
11423
+ * 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.
11424
+ *
11425
+ * If this parameter is not set, the system assigns a default name to the NAT gateway.
11426
+ *
11427
+ * @example
11428
+ * fortest
11429
+ */
11430
+ name?: string;
11431
+ /**
11432
+ * @remarks
11433
+ * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
11434
+ *
11435
+ * @example
11436
+ * Enhanced
11437
+ */
11438
+ natType?: string;
11439
+ /**
11440
+ * @remarks
11441
+ * The network type of the NAT gateway. Valid values:
11442
+ *
11443
+ * * **internet**: Internet
11444
+ * * **intranet**: VPC
11445
+ *
11446
+ * @example
11447
+ * internet
11448
+ */
11449
+ networkType?: string;
11450
+ ownerAccount?: string;
11451
+ ownerId?: number;
11452
+ /**
11453
+ * @remarks
11454
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11455
+ *
11456
+ * @example
11457
+ * Invalid parameter.
11458
+ */
11459
+ pricingCycle?: string;
11460
+ /**
11461
+ * @remarks
11462
+ * PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
11463
+ */
11464
+ privateLinkEnabled?: boolean;
11465
+ /**
11466
+ * @remarks
11467
+ * The region ID of the NAT gateway.
11468
+ *
11469
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to obtain the region ID.
11470
+ *
11471
+ * This parameter is required.
11472
+ *
11473
+ * @example
11474
+ * cn-hangzhou
11475
+ */
11476
+ regionId?: string;
11477
+ resourceOwnerAccount?: string;
11478
+ resourceOwnerId?: number;
11479
+ /**
11480
+ * @remarks
11481
+ * Specifies whether to enable the firewall feature. Valid values:
11482
+ *
11483
+ * * **false** (default)>Notice: This parameter is deprecated.
11484
+ *
11485
+ * @example
11641
11486
  * false
11487
+ *
11488
+ * @deprecated
11489
+ */
11490
+ securityProtectionEnabled?: boolean;
11491
+ /**
11492
+ * @remarks
11493
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11494
+ *
11495
+ * @example
11496
+ * Invalid parameter.
11497
+ */
11498
+ spec?: string;
11499
+ /**
11500
+ * @remarks
11501
+ * The tags.
11502
+ *
11503
+ * @example
11504
+ * MULTI_BINDED
11505
+ */
11506
+ tag?: CreateNatGatewayRequestTag[];
11507
+ /**
11508
+ * @remarks
11509
+ * The ID of the vSwitch to which the NAT gateway is attached.
11510
+ *
11511
+ * 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.
11512
+ *
11513
+ * * 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.
11514
+ * * 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.
11515
+ *
11516
+ * > 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.
11517
+ *
11518
+ * @example
11519
+ * vsw-bp1e3se98n9fq8hle****
11520
+ */
11521
+ vSwitchId?: string;
11522
+ /**
11523
+ * @remarks
11524
+ * The ID of the VPC where you want to create the NAT gateway.
11525
+ *
11526
+ * This parameter is required.
11527
+ *
11528
+ * @example
11529
+ * vpc-bp1di7uewzmtvfuq8****
11530
+ */
11531
+ vpcId?: string;
11532
+ static names(): { [key: string]: string } {
11533
+ return {
11534
+ accessMode: 'AccessMode',
11535
+ autoPay: 'AutoPay',
11536
+ clientToken: 'ClientToken',
11537
+ description: 'Description',
11538
+ duration: 'Duration',
11539
+ eipBindMode: 'EipBindMode',
11540
+ icmpReplyEnabled: 'IcmpReplyEnabled',
11541
+ instanceChargeType: 'InstanceChargeType',
11542
+ internetChargeType: 'InternetChargeType',
11543
+ name: 'Name',
11544
+ natType: 'NatType',
11545
+ networkType: 'NetworkType',
11546
+ ownerAccount: 'OwnerAccount',
11547
+ ownerId: 'OwnerId',
11548
+ pricingCycle: 'PricingCycle',
11549
+ privateLinkEnabled: 'PrivateLinkEnabled',
11550
+ regionId: 'RegionId',
11551
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11552
+ resourceOwnerId: 'ResourceOwnerId',
11553
+ securityProtectionEnabled: 'SecurityProtectionEnabled',
11554
+ spec: 'Spec',
11555
+ tag: 'Tag',
11556
+ vSwitchId: 'VSwitchId',
11557
+ vpcId: 'VpcId',
11558
+ };
11559
+ }
11560
+
11561
+ static types(): { [key: string]: any } {
11562
+ return {
11563
+ accessMode: CreateNatGatewayRequestAccessMode,
11564
+ autoPay: 'boolean',
11565
+ clientToken: 'string',
11566
+ description: 'string',
11567
+ duration: 'string',
11568
+ eipBindMode: 'string',
11569
+ icmpReplyEnabled: 'boolean',
11570
+ instanceChargeType: 'string',
11571
+ internetChargeType: 'string',
11572
+ name: 'string',
11573
+ natType: 'string',
11574
+ networkType: 'string',
11575
+ ownerAccount: 'string',
11576
+ ownerId: 'number',
11577
+ pricingCycle: 'string',
11578
+ privateLinkEnabled: 'boolean',
11579
+ regionId: 'string',
11580
+ resourceOwnerAccount: 'string',
11581
+ resourceOwnerId: 'number',
11582
+ securityProtectionEnabled: 'boolean',
11583
+ spec: 'string',
11584
+ tag: { 'type': 'array', 'itemType': CreateNatGatewayRequestTag },
11585
+ vSwitchId: 'string',
11586
+ vpcId: 'string',
11587
+ };
11588
+ }
11589
+
11590
+ constructor(map?: { [key: string]: any }) {
11591
+ super(map);
11592
+ }
11593
+ }
11594
+
11595
+ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11596
+ /**
11597
+ * @remarks
11598
+ * The access mode for reverse access to the VPC NAT gateway.
11599
+ */
11600
+ accessModeShrink?: string;
11601
+ /**
11602
+ * @remarks
11603
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11604
+ *
11605
+ * @example
11606
+ * Invalid parameter.
11607
+ */
11608
+ autoPay?: boolean;
11609
+ /**
11610
+ * @remarks
11611
+ * The client token that is used to ensure the idempotence of the request.
11612
+ *
11613
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests.
11614
+ *
11615
+ * > 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.
11616
+ *
11617
+ * @example
11618
+ * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898
11619
+ */
11620
+ clientToken?: string;
11621
+ /**
11622
+ * @remarks
11623
+ * The description of the NAT gateway.
11624
+ *
11625
+ * 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://`.
11626
+ *
11627
+ * @example
11628
+ * testnat
11629
+ */
11630
+ description?: string;
11631
+ /**
11632
+ * @remarks
11633
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11634
+ *
11635
+ * @example
11636
+ * Invalid parameter.
11637
+ */
11638
+ duration?: string;
11639
+ /**
11640
+ * @remarks
11641
+ * The mode in which the EIP is associated with the NAT gateway. Valid values:
11642
+ *
11643
+ * - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
11644
+ *
11645
+ * - **NAT**: NAT mode, which is compatible with IPv4 addresses.
11646
+ *
11647
+ * > 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.
11648
+ *
11649
+ * @example
11650
+ * MULTI_BINDED
11651
+ */
11652
+ eipBindMode?: string;
11653
+ /**
11654
+ * @remarks
11655
+ * Specifies whether to enable ICMP retrieval. Valid values:
11656
+ *
11657
+ * * **true** (default)
11658
+ * * **false**
11659
+ *
11660
+ * @example
11661
+ * true
11642
11662
  */
11643
11663
  icmpReplyEnabled?: boolean;
11644
11664
  /**
@@ -11665,7 +11685,7 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11665
11685
  * @remarks
11666
11686
  * The name of the NAT gateway.
11667
11687
  *
11668
- * 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.
11688
+ * 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.
11669
11689
  *
11670
11690
  * If this parameter is not set, the system assigns a default name to the NAT gateway.
11671
11691
  *
@@ -11702,6 +11722,10 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11702
11722
  * Invalid parameter.
11703
11723
  */
11704
11724
  pricingCycle?: string;
11725
+ /**
11726
+ * @remarks
11727
+ * PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
11728
+ */
11705
11729
  privateLinkEnabled?: boolean;
11706
11730
  /**
11707
11731
  * @remarks
@@ -11740,6 +11764,9 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11740
11764
  /**
11741
11765
  * @remarks
11742
11766
  * The tags.
11767
+ *
11768
+ * @example
11769
+ * MULTI_BINDED
11743
11770
  */
11744
11771
  tag?: CreateNatGatewayShrinkRequestTag[];
11745
11772
  /**
@@ -14342,6 +14369,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
14342
14369
  * 02fb3da4-130e-11e9-8e44****
14343
14370
  */
14344
14371
  clientToken?: string;
14372
+ dryRun?: boolean;
14345
14373
  /**
14346
14374
  * @remarks
14347
14375
  * Specifies whether to enable EIP affinity. Valid values:
@@ -14457,6 +14485,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
14457
14485
  static names(): { [key: string]: string } {
14458
14486
  return {
14459
14487
  clientToken: 'ClientToken',
14488
+ dryRun: 'DryRun',
14460
14489
  eipAffinity: 'EipAffinity',
14461
14490
  networkInterfaceId: 'NetworkInterfaceId',
14462
14491
  ownerAccount: 'OwnerAccount',
@@ -14475,6 +14504,7 @@ export class CreateSnatEntryRequest extends $tea.Model {
14475
14504
  static types(): { [key: string]: any } {
14476
14505
  return {
14477
14506
  clientToken: 'string',
14507
+ dryRun: 'boolean',
14478
14508
  eipAffinity: 'number',
14479
14509
  networkInterfaceId: 'string',
14480
14510
  ownerAccount: 'string',
@@ -14800,22 +14830,35 @@ export class CreateSslVpnServerRequest extends $tea.Model {
14800
14830
  compress?: boolean;
14801
14831
  /**
14802
14832
  * @remarks
14803
- * Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must configure `IDaaSInstanceId` and `IDaaSRegionId`. Valid values:
14833
+ * Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify `IDaaSInstanceId`, `IDaaSRegionId`, and `IDaaSApplicationId`. Valid values:
14804
14834
  *
14805
- * * **true**: enables this feature.
14806
- * * **false** (default): disables this feature.
14835
+ * * **true**
14836
+ * * **false** (default)
14807
14837
  *
14808
- * > - 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.
14809
- * > - If two-factor authentication is already enabled for existing SSL servers, you can continue to use two-factor authentication.
14838
+ * >
14839
+ *
14840
+ * * 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.
14841
+ *
14842
+ * * 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.
14810
14843
  *
14811
14844
  * @example
14812
14845
  * false
14813
14846
  */
14814
14847
  enableMultiFactorAuth?: boolean;
14848
+ /**
14849
+ * @remarks
14850
+ * The ID of the IDaaS application.
14851
+ *
14852
+ * * If an IDaaS EIAM 2.0 instance is associated, you need to specify an IDaaS application ID.
14853
+ * * If an IDaaS EIAM 1.0 instance is associated, you do not need to specify an IDaaS application ID.
14854
+ *
14855
+ * @example
14856
+ * app_my6g4qmvnwxzj2f****
14857
+ */
14815
14858
  IDaaSApplicationId?: string;
14816
14859
  /**
14817
14860
  * @remarks
14818
- * The Identity as a Service (IDaaS) instance ID.
14861
+ * The ID of the IDaaS EIAM instance.
14819
14862
  *
14820
14863
  * @example
14821
14864
  * idaas-cn-hangzhou-p****
@@ -14823,7 +14866,7 @@ export class CreateSslVpnServerRequest extends $tea.Model {
14823
14866
  IDaaSInstanceId?: string;
14824
14867
  /**
14825
14868
  * @remarks
14826
- * The ID of the region where the IDaaS instance is created.
14869
+ * The region ID of the IDaaS EIAM instance.
14827
14870
  *
14828
14871
  * @example
14829
14872
  * cn-hangzhou
@@ -18017,9 +18060,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18017
18060
  clientToken?: string;
18018
18061
  /**
18019
18062
  * @remarks
18020
- * The ID of the customer gateway.
18021
- *
18022
- * This parameter is required.
18063
+ * The customer gateway ID.
18023
18064
  *
18024
18065
  * @example
18025
18066
  * cgw-p0w2jemrcj5u61un8****
@@ -18058,6 +18099,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18058
18099
  * true
18059
18100
  */
18060
18101
  enableNatTraversal?: boolean;
18102
+ enableTunnelsBgp?: boolean;
18061
18103
  /**
18062
18104
  * @remarks
18063
18105
  * The health check configuration:
@@ -18085,14 +18127,14 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18085
18127
  * @remarks
18086
18128
  * The configurations of Phase 1 negotiations:
18087
18129
  *
18088
- * * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the VPN gateway and the data center.
18130
+ * * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
18089
18131
  *
18090
- * * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18091
- * * 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.
18132
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18133
+ * * 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.
18092
18134
  *
18093
- * > 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.
18135
+ * > 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.
18094
18136
  *
18095
- * * **IkeConfig.IkeVersion**: the IKE version. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
18137
+ * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
18096
18138
  *
18097
18139
  * * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**. Default value: **main**.
18098
18140
  *
@@ -18102,9 +18144,9 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18102
18144
  *
18103
18145
  * * **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**.
18104
18146
  *
18105
- * * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18147
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18106
18148
  *
18107
- * * **IkeConfig.LocalId**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is empty by default.
18149
+ * * **IkeConfig.LocalIdIPsec**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is left empty by default.
18108
18150
  *
18109
18151
  * * **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.
18110
18152
  *
@@ -18223,6 +18265,11 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18223
18265
  * Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
18224
18266
  */
18225
18267
  tags?: CreateVpnAttachmentRequestTags[];
18268
+ /**
18269
+ * **if can be null:**
18270
+ * true
18271
+ */
18272
+ tunnelOptionsSpecification?: CreateVpnAttachmentRequestTunnelOptionsSpecification[];
18226
18273
  static names(): { [key: string]: string } {
18227
18274
  return {
18228
18275
  autoConfigRoute: 'AutoConfigRoute',
@@ -18232,6 +18279,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18232
18279
  effectImmediately: 'EffectImmediately',
18233
18280
  enableDpd: 'EnableDpd',
18234
18281
  enableNatTraversal: 'EnableNatTraversal',
18282
+ enableTunnelsBgp: 'EnableTunnelsBgp',
18235
18283
  healthCheckConfig: 'HealthCheckConfig',
18236
18284
  ikeConfig: 'IkeConfig',
18237
18285
  ipsecConfig: 'IpsecConfig',
@@ -18246,6 +18294,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18246
18294
  resourceOwnerAccount: 'ResourceOwnerAccount',
18247
18295
  resourceOwnerId: 'ResourceOwnerId',
18248
18296
  tags: 'Tags',
18297
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
18249
18298
  };
18250
18299
  }
18251
18300
 
@@ -18258,6 +18307,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18258
18307
  effectImmediately: 'boolean',
18259
18308
  enableDpd: 'boolean',
18260
18309
  enableNatTraversal: 'boolean',
18310
+ enableTunnelsBgp: 'boolean',
18261
18311
  healthCheckConfig: 'string',
18262
18312
  ikeConfig: 'string',
18263
18313
  ipsecConfig: 'string',
@@ -18272,6 +18322,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
18272
18322
  resourceOwnerAccount: 'string',
18273
18323
  resourceOwnerId: 'number',
18274
18324
  tags: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTags },
18325
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTunnelOptionsSpecification },
18275
18326
  };
18276
18327
  }
18277
18328
 
@@ -18522,26 +18573,28 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18522
18573
  healthCheckConfig?: string;
18523
18574
  /**
18524
18575
  * @remarks
18525
- * This parameter is available if you create an IPsec-VPN connection in single-tunnel mode.
18576
+ * This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
18526
18577
  *
18527
18578
  * The configurations of Phase 1 negotiations:
18528
18579
  *
18529
- * * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the VPN gateway and the on-premises database.
18580
+ * * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
18530
18581
  *
18531
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18582
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
18532
18583
  *
18533
- * * 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.
18584
+ * * 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.
18534
18585
  *
18535
- * >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.
18586
+ * **
18587
+ *
18588
+ * **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.
18536
18589
  *
18537
18590
  * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
18538
18591
  *
18539
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
18592
+ * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
18540
18593
  *
18541
18594
  * * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
18542
18595
  *
18543
18596
  * * **main:** This mode offers higher security during negotiations.
18544
- * * **aggressive:** This mode is faster and has a higher success rate.
18597
+ * * **aggressive**: This mode supports faster negotiations and a higher success rate.
18545
18598
  *
18546
18599
  * * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
18547
18600
  *
@@ -18551,13 +18604,13 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18551
18604
  *
18552
18605
  * Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
18553
18606
  *
18554
- * * **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**.
18607
+ * * **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**.
18555
18608
  *
18556
- * * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18609
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
18557
18610
  *
18558
- * * **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.
18611
+ * * **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.
18559
18612
  *
18560
- * * **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.
18613
+ * * **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.
18561
18614
  *
18562
18615
  * @example
18563
18616
  * {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
@@ -18669,8 +18722,8 @@ export class CreateVpnConnectionRequest extends $tea.Model {
18669
18722
  * @remarks
18670
18723
  * The tunnel configurations.
18671
18724
  *
18672
- * * You can specify the parameters in the **TunnelOptionsSpecification** array if you create an IPsec-VPN connection in dual-tunnel mode.
18673
- * * 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.
18725
+ * * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
18726
+ * * 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.
18674
18727
  *
18675
18728
  * **if can be null:**
18676
18729
  * true
@@ -29312,7 +29365,9 @@ export class DescribeExpressConnectTrafficQosRequest extends $tea.Model {
29312
29365
  * cn-shanghai
29313
29366
  */
29314
29367
  regionId?: string;
29368
+ resourceGroupId?: string;
29315
29369
  resourceOwnerAccount?: string;
29370
+ tags?: DescribeExpressConnectTrafficQosRequestTags[];
29316
29371
  static names(): { [key: string]: string } {
29317
29372
  return {
29318
29373
  clientToken: 'ClientToken',
@@ -29323,7 +29378,9 @@ export class DescribeExpressConnectTrafficQosRequest extends $tea.Model {
29323
29378
  qosIdList: 'QosIdList',
29324
29379
  qosNameList: 'QosNameList',
29325
29380
  regionId: 'RegionId',
29381
+ resourceGroupId: 'ResourceGroupId',
29326
29382
  resourceOwnerAccount: 'ResourceOwnerAccount',
29383
+ tags: 'Tags',
29327
29384
  };
29328
29385
  }
29329
29386
 
@@ -29337,7 +29394,9 @@ export class DescribeExpressConnectTrafficQosRequest extends $tea.Model {
29337
29394
  qosIdList: { 'type': 'array', 'itemType': 'string' },
29338
29395
  qosNameList: { 'type': 'array', 'itemType': 'string' },
29339
29396
  regionId: 'string',
29397
+ resourceGroupId: 'string',
29340
29398
  resourceOwnerAccount: 'string',
29399
+ tags: { 'type': 'array', 'itemType': DescribeExpressConnectTrafficQosRequestTags },
29341
29400
  };
29342
29401
  }
29343
29402
 
@@ -38830,6 +38889,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38830
38889
  * The list of routes.
38831
38890
  */
38832
38891
  vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
38892
+ vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
38833
38893
  static names(): { [key: string]: string } {
38834
38894
  return {
38835
38895
  pageNumber: 'PageNumber',
@@ -38837,6 +38897,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38837
38897
  requestId: 'RequestId',
38838
38898
  totalCount: 'TotalCount',
38839
38899
  vcoRouteEntries: 'VcoRouteEntries',
38900
+ vpnRouteCounts: 'VpnRouteCounts',
38840
38901
  };
38841
38902
  }
38842
38903
 
@@ -38847,6 +38908,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
38847
38908
  requestId: 'string',
38848
38909
  totalCount: 'number',
38849
38910
  vcoRouteEntries: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVcoRouteEntries },
38911
+ vpnRouteCounts: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVpnRouteCounts },
38850
38912
  };
38851
38913
  }
38852
38914
 
@@ -41359,31 +41421,36 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41359
41421
  status?: string;
41360
41422
  /**
41361
41423
  * @remarks
41362
- * The automatically generated tag of the VPN gateway.
41424
+ * The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
41363
41425
  *
41364
41426
  * * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
41365
41427
  *
41366
41428
  * * **true**
41367
41429
  * * **false**
41368
41430
  *
41369
- * * **VisuallySsl**: indicates whether the VPN gateway allows you to view information about connected SSL clients.
41431
+ * * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
41370
41432
  *
41371
41433
  * * **true**
41372
41434
  * * **false**
41373
41435
  *
41374
- * * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
41436
+ * * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
41375
41437
  *
41376
41438
  * * **true**
41377
41439
  * * **false**
41378
41440
  *
41379
- * * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
41441
+ * * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
41380
41442
  *
41381
41443
  * * **true**
41382
41444
  * * **false**
41383
41445
  *
41384
- * * **description**
41446
+ * * **description**: the description of the VPN gateway. This parameter is only for internal use.
41385
41447
  *
41386
- * * **VpnVersion**
41448
+ * * **VpnVersion**: the version of the VPN gateway.
41449
+ *
41450
+ * * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
41451
+ *
41452
+ * * **true**
41453
+ * * **false**
41387
41454
  *
41388
41455
  * @example
41389
41456
  * {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
@@ -41391,7 +41458,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41391
41458
  tag?: string;
41392
41459
  /**
41393
41460
  * @remarks
41394
- * The tag value.
41461
+ * The tags that are added to the VPN gateway.
41395
41462
  */
41396
41463
  tags?: DescribeVpnGatewayResponseBodyTags;
41397
41464
  /**
@@ -41420,9 +41487,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
41420
41487
  vpnGatewayId?: string;
41421
41488
  /**
41422
41489
  * @remarks
41423
- * The type of the VPN gateway.
41424
- *
41425
- * Only **Normal** may be returned, which indicates a standard VPN gateway.
41490
+ * The type of VPN gateway. Only **Normal** may be returned, which indicates a standard VPN gateway.
41426
41491
  *
41427
41492
  * @example
41428
41493
  * Normal
@@ -41718,11 +41783,7 @@ export class DescribeVpnGatewaysRequest extends $tea.Model {
41718
41783
  status?: string;
41719
41784
  /**
41720
41785
  * @remarks
41721
- * The value of tag N to add to the resource.
41722
- *
41723
- * 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://`.
41724
- *
41725
- * Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
41786
+ * The tags that are added to the VPN gateway.
41726
41787
  */
41727
41788
  tag?: DescribeVpnGatewaysRequestTag[];
41728
41789
  /**
@@ -41819,7 +41880,7 @@ export class DescribeVpnGatewaysResponseBody extends $tea.Model {
41819
41880
  totalCount?: number;
41820
41881
  /**
41821
41882
  * @remarks
41822
- * The VPN gateways.
41883
+ * The information about the VPN gateways.
41823
41884
  */
41824
41885
  vpnGateways?: DescribeVpnGatewaysResponseBodyVpnGateways;
41825
41886
  static names(): { [key: string]: string } {
@@ -42154,6 +42215,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
42154
42215
  * 1
42155
42216
  */
42156
42217
  totalCount?: number;
42218
+ vpnRouteCounts?: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts;
42157
42219
  /**
42158
42220
  * @remarks
42159
42221
  * The list of route entries.
@@ -42165,6 +42227,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
42165
42227
  pageSize: 'PageSize',
42166
42228
  requestId: 'RequestId',
42167
42229
  totalCount: 'TotalCount',
42230
+ vpnRouteCounts: 'VpnRouteCounts',
42168
42231
  vpnRouteEntries: 'VpnRouteEntries',
42169
42232
  };
42170
42233
  }
@@ -42175,6 +42238,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
42175
42238
  pageSize: 'number',
42176
42239
  requestId: 'string',
42177
42240
  totalCount: 'number',
42241
+ vpnRouteCounts: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts,
42178
42242
  vpnRouteEntries: DescribeVpnRouteEntriesResponseBodyVpnRouteEntries,
42179
42243
  };
42180
42244
  }
@@ -43541,7 +43605,7 @@ export class DissociateVpnGatewayWithCertificateRequest extends $tea.Model {
43541
43605
  * @remarks
43542
43606
  * The certificate ID.
43543
43607
  *
43544
- * > 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.
43608
+ * > 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.
43545
43609
  *
43546
43610
  * This parameter is required.
43547
43611
  *
@@ -53652,6 +53716,7 @@ export class ModifyForwardEntryRequest extends $tea.Model {
53652
53716
  * 123e4567-e89b-12d3-a456-426655440000
53653
53717
  */
53654
53718
  clientToken?: string;
53719
+ dryRun?: boolean;
53655
53720
  /**
53656
53721
  * @remarks
53657
53722
  * * When you modify DNAT entries of Internet NAT gateways, this parameter specifies the elastic IP addresses (EIPs) that are used to access the Internet.
@@ -53765,6 +53830,7 @@ export class ModifyForwardEntryRequest extends $tea.Model {
53765
53830
  static names(): { [key: string]: string } {
53766
53831
  return {
53767
53832
  clientToken: 'ClientToken',
53833
+ dryRun: 'DryRun',
53768
53834
  externalIp: 'ExternalIp',
53769
53835
  externalPort: 'ExternalPort',
53770
53836
  forwardEntryId: 'ForwardEntryId',
@@ -53785,6 +53851,7 @@ export class ModifyForwardEntryRequest extends $tea.Model {
53785
53851
  static types(): { [key: string]: any } {
53786
53852
  return {
53787
53853
  clientToken: 'string',
53854
+ dryRun: 'boolean',
53788
53855
  externalIp: 'string',
53789
53856
  externalPort: 'string',
53790
53857
  forwardEntryId: 'string',
@@ -57487,6 +57554,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
57487
57554
  * 02fb3da4-130e-11e9-8e44-001****
57488
57555
  */
57489
57556
  clientToken?: string;
57557
+ dryRun?: boolean;
57490
57558
  eipAffinity?: number;
57491
57559
  networkInterfaceId?: string;
57492
57560
  ownerAccount?: string;
@@ -57550,6 +57618,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
57550
57618
  static names(): { [key: string]: string } {
57551
57619
  return {
57552
57620
  clientToken: 'ClientToken',
57621
+ dryRun: 'DryRun',
57553
57622
  eipAffinity: 'EipAffinity',
57554
57623
  networkInterfaceId: 'NetworkInterfaceId',
57555
57624
  ownerAccount: 'OwnerAccount',
@@ -57567,6 +57636,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
57567
57636
  static types(): { [key: string]: any } {
57568
57637
  return {
57569
57638
  clientToken: 'string',
57639
+ dryRun: 'boolean',
57570
57640
  eipAffinity: 'number',
57571
57641
  networkInterfaceId: 'string',
57572
57642
  ownerAccount: 'string',
@@ -59867,6 +59937,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
59867
59937
  * true
59868
59938
  */
59869
59939
  enableNatTraversal?: boolean;
59940
+ /**
59941
+ * **if can be null:**
59942
+ * true
59943
+ */
59944
+ enableTunnelsBgp?: boolean;
59870
59945
  /**
59871
59946
  * @remarks
59872
59947
  * The health check configurations:
@@ -60011,6 +60086,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
60011
60086
  remoteSubnet?: string;
60012
60087
  resourceOwnerAccount?: string;
60013
60088
  resourceOwnerId?: number;
60089
+ /**
60090
+ * **if can be null:**
60091
+ * true
60092
+ */
60093
+ tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification[];
60014
60094
  /**
60015
60095
  * @remarks
60016
60096
  * The ID of the IPsec-VPN connection.
@@ -60030,6 +60110,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
60030
60110
  effectImmediately: 'EffectImmediately',
60031
60111
  enableDpd: 'EnableDpd',
60032
60112
  enableNatTraversal: 'EnableNatTraversal',
60113
+ enableTunnelsBgp: 'EnableTunnelsBgp',
60033
60114
  healthCheckConfig: 'HealthCheckConfig',
60034
60115
  ikeConfig: 'IkeConfig',
60035
60116
  ipsecConfig: 'IpsecConfig',
@@ -60042,6 +60123,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
60042
60123
  remoteSubnet: 'RemoteSubnet',
60043
60124
  resourceOwnerAccount: 'ResourceOwnerAccount',
60044
60125
  resourceOwnerId: 'ResourceOwnerId',
60126
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
60045
60127
  vpnConnectionId: 'VpnConnectionId',
60046
60128
  };
60047
60129
  }
@@ -60055,6 +60137,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
60055
60137
  effectImmediately: 'boolean',
60056
60138
  enableDpd: 'boolean',
60057
60139
  enableNatTraversal: 'boolean',
60140
+ enableTunnelsBgp: 'boolean',
60058
60141
  healthCheckConfig: 'string',
60059
60142
  ikeConfig: 'string',
60060
60143
  ipsecConfig: 'string',
@@ -60067,6 +60150,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
60067
60150
  remoteSubnet: 'string',
60068
60151
  resourceOwnerAccount: 'string',
60069
60152
  resourceOwnerId: 'number',
60153
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification },
60070
60154
  vpnConnectionId: 'string',
60071
60155
  };
60072
60156
  }
@@ -60156,6 +60240,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60156
60240
  * true
60157
60241
  */
60158
60242
  enableNatTraversal?: boolean;
60243
+ enableTunnelsBgp?: boolean;
60159
60244
  /**
60160
60245
  * @remarks
60161
60246
  * The configuration of Phase 1 negotiations.
@@ -60242,6 +60327,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60242
60327
  * ike_sa_not_established
60243
60328
  */
60244
60329
  status?: string;
60330
+ tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
60245
60331
  /**
60246
60332
  * @remarks
60247
60333
  * The health check configuration of the IPsec-VPN connection.
@@ -60278,6 +60364,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60278
60364
  effectImmediately: 'EffectImmediately',
60279
60365
  enableDpd: 'EnableDpd',
60280
60366
  enableNatTraversal: 'EnableNatTraversal',
60367
+ enableTunnelsBgp: 'EnableTunnelsBgp',
60281
60368
  ikeConfig: 'IkeConfig',
60282
60369
  ipsecConfig: 'IpsecConfig',
60283
60370
  localSubnet: 'LocalSubnet',
@@ -60288,6 +60375,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60288
60375
  resourceGroupId: 'ResourceGroupId',
60289
60376
  spec: 'Spec',
60290
60377
  status: 'Status',
60378
+ tunnelOptionsSpecification: 'TunnelOptionsSpecification',
60291
60379
  vcoHealthCheck: 'VcoHealthCheck',
60292
60380
  vpnBgpConfig: 'VpnBgpConfig',
60293
60381
  vpnConnectionId: 'VpnConnectionId',
@@ -60305,6 +60393,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60305
60393
  effectImmediately: 'boolean',
60306
60394
  enableDpd: 'boolean',
60307
60395
  enableNatTraversal: 'boolean',
60396
+ enableTunnelsBgp: 'boolean',
60308
60397
  ikeConfig: ModifyVpnAttachmentAttributeResponseBodyIkeConfig,
60309
60398
  ipsecConfig: ModifyVpnAttachmentAttributeResponseBodyIpsecConfig,
60310
60399
  localSubnet: 'string',
@@ -60315,6 +60404,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
60315
60404
  resourceGroupId: 'string',
60316
60405
  spec: 'string',
60317
60406
  status: 'string',
60407
+ tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification },
60318
60408
  vcoHealthCheck: ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck,
60319
60409
  vpnBgpConfig: ModifyVpnAttachmentAttributeResponseBodyVpnBgpConfig,
60320
60410
  vpnConnectionId: 'string',
@@ -60366,27 +60456,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60366
60456
  autoConfigRoute?: boolean;
60367
60457
  /**
60368
60458
  * @remarks
60369
- * This parameter is supported by single-tunnel IPsec-VPN connections.
60459
+ * This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
60370
60460
  *
60371
- * The Border Gateway Protocol (BGP) configurations:
60461
+ * BGP configuration:
60372
60462
  *
60373
- * * **BgpConfig.EnableBgp:** specifies whether to enable BGP. Valid values: **true** and **false**.
60463
+ * * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**.
60374
60464
  *
60375
60465
  * * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
60376
60466
  *
60377
- * 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.
60467
+ * 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.
60378
60468
  *
60379
- * For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
60469
+ * For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
60380
60470
  *
60381
- * * **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.
60471
+ * * **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.
60382
60472
  *
60383
- * > The CIDR block of the IPsec tunnel of each IPsec-VPN connection must be unique on a VPN gateway.
60473
+ * > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
60384
60474
  *
60385
- * * **LocalBgpIp**: the BGP IP address on the Alibaba Cloud side. This IP address must fall within the CIDR block range of the IPsec tunnel.
60475
+ * * **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.
60386
60476
  *
60387
60477
  * > - This parameter is required when the VPN gateway has dynamic BGP enabled.
60388
- * > - 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).
60389
- * > - 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.
60478
+ * > - 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).
60479
+ * > - 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.
60390
60480
  *
60391
60481
  * @example
60392
60482
  * {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
@@ -60472,25 +60562,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60472
60562
  healthCheckConfig?: string;
60473
60563
  /**
60474
60564
  * @remarks
60475
- * This parameter is supported by single-tunnel IPsec-VPN connections.
60565
+ * This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
60476
60566
  *
60477
60567
  * The configurations of Phase 1 negotiations:
60478
60568
  *
60479
- * * **IkeConfig.Psk**: the pre-shared key that is used for authentication between the VPN gateway and the data center.
60569
+ * * **IkeConfig.Psk**: The pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
60570
+ *
60571
+ * * 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: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
60572
+ * * 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.
60480
60573
  *
60481
- * * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
60482
- * * 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.
60574
+ * **
60483
60575
  *
60484
- * > 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.
60576
+ * **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.
60485
60577
  *
60486
60578
  * * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
60487
60579
  *
60488
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
60580
+ * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
60489
60581
  *
60490
60582
  * * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**.
60491
60583
  *
60492
- * * **main**: This mode offers higher security during negotiations.
60493
- * * **aggressive**: This mode is faster and has a higher success rate.
60584
+ * * **main:** This mode offers higher security during negotiations.
60585
+ * * **aggressive:** This mode supports faster negotiations and a higher success rate.
60494
60586
  *
60495
60587
  * * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
60496
60588
  *
@@ -60500,13 +60592,13 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60500
60592
  *
60501
60593
  * Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
60502
60594
  *
60503
- * * **IkeConfig.IkePfs**: the Diffie-Hellman (DH) key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
60595
+ * * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
60504
60596
  *
60505
- * * **IkeConfig.IkeLifetime**: the security association (SA) lifetime that is determined by Phase 1 negotiations. Unit: seconds. Valid values: **0 to 86400**.
60597
+ * * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
60506
60598
  *
60507
- * * **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.
60599
+ * * **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.
60508
60600
  *
60509
- * * **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.
60601
+ * * **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.
60510
60602
  *
60511
60603
  * @example
60512
60604
  * {"Psk":"pgw6dy7d1i8i****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"116.64.XX.XX","RemoteId":"139.18.XX.XX"}
@@ -60606,7 +60698,7 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
60606
60698
  * @remarks
60607
60699
  * The tunnel configurations.
60608
60700
  *
60609
- * 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.
60701
+ * 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.
60610
60702
  *
60611
60703
  * **if can be null:**
60612
60704
  * true
@@ -70255,6 +70347,28 @@ export class CreateDhcpOptionsSetRequestTag extends $tea.Model {
70255
70347
  }
70256
70348
  }
70257
70349
 
70350
+ export class CreateExpressConnectTrafficQosRequestTags extends $tea.Model {
70351
+ key?: string;
70352
+ value?: string;
70353
+ static names(): { [key: string]: string } {
70354
+ return {
70355
+ key: 'Key',
70356
+ value: 'Value',
70357
+ };
70358
+ }
70359
+
70360
+ static types(): { [key: string]: any } {
70361
+ return {
70362
+ key: 'string',
70363
+ value: 'string',
70364
+ };
70365
+ }
70366
+
70367
+ constructor(map?: { [key: string]: any }) {
70368
+ super(map);
70369
+ }
70370
+ }
70371
+
70258
70372
  export class CreateFlowLogRequestTag extends $tea.Model {
70259
70373
  /**
70260
70374
  * @remarks
@@ -70642,7 +70756,28 @@ export class CreateIpv6GatewayRequestTag extends $tea.Model {
70642
70756
  }
70643
70757
 
70644
70758
  export class CreateNatGatewayRequestAccessMode extends $tea.Model {
70759
+ /**
70760
+ * @remarks
70761
+ * Access mode. Valid values:
70762
+ *
70763
+ * - **route**: route mode
70764
+ *
70765
+ * - **tunnel**: tunnel mode
70766
+ *
70767
+ * > If this parameter is specified, you must set **PrivateLinkEnabled** to **true**.
70768
+ *
70769
+ * @example
70770
+ * route
70771
+ */
70645
70772
  modeValue?: string;
70773
+ /**
70774
+ * @remarks
70775
+ * Tunnel mode type:
70776
+ *
70777
+ * - **geneve**: Geneve type
70778
+ *
70779
+ * > This value takes effect if the access mode is the tunnel mode.
70780
+ */
70646
70781
  tunnelType?: string;
70647
70782
  static names(): { [key: string]: string } {
70648
70783
  return {
@@ -70666,7 +70801,7 @@ export class CreateNatGatewayRequestAccessMode extends $tea.Model {
70666
70801
  export class CreateNatGatewayRequestTag extends $tea.Model {
70667
70802
  /**
70668
70803
  * @remarks
70669
- * 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://.
70804
+ * 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.
70670
70805
  *
70671
70806
  * @example
70672
70807
  * TestKey
@@ -70674,7 +70809,7 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
70674
70809
  key?: string;
70675
70810
  /**
70676
70811
  * @remarks
70677
- * 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://.
70812
+ * 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.
70678
70813
  *
70679
70814
  * @example
70680
70815
  * TestValue
@@ -70702,7 +70837,7 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
70702
70837
  export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
70703
70838
  /**
70704
70839
  * @remarks
70705
- * 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://.
70840
+ * 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.
70706
70841
  *
70707
70842
  * @example
70708
70843
  * TestKey
@@ -70710,7 +70845,7 @@ export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
70710
70845
  key?: string;
70711
70846
  /**
70712
70847
  * @remarks
70713
- * 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://.
70848
+ * 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.
70714
70849
  *
70715
70850
  * @example
70716
70851
  * TestValue
@@ -72541,6 +72676,139 @@ export class CreateVpnAttachmentRequestTags extends $tea.Model {
72541
72676
  }
72542
72677
  }
72543
72678
 
72679
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
72680
+ localAsn?: number;
72681
+ localBgpIp?: string;
72682
+ tunnelCidr?: string;
72683
+ static names(): { [key: string]: string } {
72684
+ return {
72685
+ localAsn: 'LocalAsn',
72686
+ localBgpIp: 'LocalBgpIp',
72687
+ tunnelCidr: 'TunnelCidr',
72688
+ };
72689
+ }
72690
+
72691
+ static types(): { [key: string]: any } {
72692
+ return {
72693
+ localAsn: 'number',
72694
+ localBgpIp: 'string',
72695
+ tunnelCidr: 'string',
72696
+ };
72697
+ }
72698
+
72699
+ constructor(map?: { [key: string]: any }) {
72700
+ super(map);
72701
+ }
72702
+ }
72703
+
72704
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
72705
+ ikeAuthAlg?: string;
72706
+ ikeEncAlg?: string;
72707
+ ikeLifetime?: number;
72708
+ ikeMode?: string;
72709
+ ikePfs?: string;
72710
+ ikeVersion?: string;
72711
+ localId?: string;
72712
+ psk?: string;
72713
+ remoteId?: string;
72714
+ static names(): { [key: string]: string } {
72715
+ return {
72716
+ ikeAuthAlg: 'IkeAuthAlg',
72717
+ ikeEncAlg: 'IkeEncAlg',
72718
+ ikeLifetime: 'IkeLifetime',
72719
+ ikeMode: 'IkeMode',
72720
+ ikePfs: 'IkePfs',
72721
+ ikeVersion: 'IkeVersion',
72722
+ localId: 'LocalId',
72723
+ psk: 'Psk',
72724
+ remoteId: 'RemoteId',
72725
+ };
72726
+ }
72727
+
72728
+ static types(): { [key: string]: any } {
72729
+ return {
72730
+ ikeAuthAlg: 'string',
72731
+ ikeEncAlg: 'string',
72732
+ ikeLifetime: 'number',
72733
+ ikeMode: 'string',
72734
+ ikePfs: 'string',
72735
+ ikeVersion: 'string',
72736
+ localId: 'string',
72737
+ psk: 'string',
72738
+ remoteId: 'string',
72739
+ };
72740
+ }
72741
+
72742
+ constructor(map?: { [key: string]: any }) {
72743
+ super(map);
72744
+ }
72745
+ }
72746
+
72747
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
72748
+ ipsecAuthAlg?: string;
72749
+ ipsecEncAlg?: string;
72750
+ ipsecLifetime?: number;
72751
+ ipsecPfs?: string;
72752
+ static names(): { [key: string]: string } {
72753
+ return {
72754
+ ipsecAuthAlg: 'IpsecAuthAlg',
72755
+ ipsecEncAlg: 'IpsecEncAlg',
72756
+ ipsecLifetime: 'IpsecLifetime',
72757
+ ipsecPfs: 'IpsecPfs',
72758
+ };
72759
+ }
72760
+
72761
+ static types(): { [key: string]: any } {
72762
+ return {
72763
+ ipsecAuthAlg: 'string',
72764
+ ipsecEncAlg: 'string',
72765
+ ipsecLifetime: 'number',
72766
+ ipsecPfs: 'string',
72767
+ };
72768
+ }
72769
+
72770
+ constructor(map?: { [key: string]: any }) {
72771
+ super(map);
72772
+ }
72773
+ }
72774
+
72775
+ export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $tea.Model {
72776
+ customerGatewayId?: string;
72777
+ enableDpd?: boolean;
72778
+ enableNatTraversal?: boolean;
72779
+ tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
72780
+ tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
72781
+ tunnelIndex?: number;
72782
+ tunnelIpsecConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig;
72783
+ static names(): { [key: string]: string } {
72784
+ return {
72785
+ customerGatewayId: 'CustomerGatewayId',
72786
+ enableDpd: 'EnableDpd',
72787
+ enableNatTraversal: 'EnableNatTraversal',
72788
+ tunnelBgpConfig: 'TunnelBgpConfig',
72789
+ tunnelIkeConfig: 'TunnelIkeConfig',
72790
+ tunnelIndex: 'TunnelIndex',
72791
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
72792
+ };
72793
+ }
72794
+
72795
+ static types(): { [key: string]: any } {
72796
+ return {
72797
+ customerGatewayId: 'string',
72798
+ enableDpd: 'boolean',
72799
+ enableNatTraversal: 'boolean',
72800
+ tunnelBgpConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig,
72801
+ tunnelIkeConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig,
72802
+ tunnelIndex: 'number',
72803
+ tunnelIpsecConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig,
72804
+ };
72805
+ }
72806
+
72807
+ constructor(map?: { [key: string]: any }) {
72808
+ super(map);
72809
+ }
72810
+ }
72811
+
72544
72812
  export class CreateVpnConnectionRequestTags extends $tea.Model {
72545
72813
  /**
72546
72814
  * @remarks
@@ -72588,11 +72856,13 @@ export class CreateVpnConnectionRequestTags extends $tea.Model {
72588
72856
  export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
72589
72857
  /**
72590
72858
  * @remarks
72591
- * The ASN on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
72859
+ * The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
72860
+ *
72861
+ *
72592
72862
  *
72593
- * > * If you set **EnableTunnelsBgp** to **true**, this parameter is required.
72594
- * >* 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).
72595
- * >* 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.
72863
+ * > - If you set **EnableTunnelsBgp** to **true**, you must set this parameter.
72864
+ * > - 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).
72865
+ * > - 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.
72596
72866
  *
72597
72867
  * @example
72598
72868
  * 65530
@@ -72600,7 +72870,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig
72600
72870
  localAsn?: number;
72601
72871
  /**
72602
72872
  * @remarks
72603
- * The BGP address on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block range.
72873
+ * 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.
72604
72874
  *
72605
72875
  * @example
72606
72876
  * 169.254.10.1
@@ -72608,9 +72878,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig
72608
72878
  localBgpIp?: string;
72609
72879
  /**
72610
72880
  * @remarks
72611
- * 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.
72881
+ * 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.
72612
72882
  *
72613
- * > The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
72883
+ * > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
72614
72884
  *
72615
72885
  * @example
72616
72886
  * 169.254.10.0/30
@@ -72660,7 +72930,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72660
72930
  ikeEncAlg?: string;
72661
72931
  /**
72662
72932
  * @remarks
72663
- * The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds.
72933
+ * The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
72664
72934
  *
72665
72935
  * Valid values: **0** to **86400**. Default value: **86400**.
72666
72936
  *
@@ -72672,8 +72942,8 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72672
72942
  * @remarks
72673
72943
  * The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
72674
72944
  *
72675
- * * **main**: This mode offers higher security during negotiations.
72676
- * * **aggressive**: This mode is faster and has a higher success rate.
72945
+ * * **main:** This mode offers higher security during negotiations.
72946
+ * * **aggressive**: This mode supports faster negotiations and a higher success rate.
72677
72947
  *
72678
72948
  * @example
72679
72949
  * main
@@ -72681,7 +72951,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72681
72951
  ikeMode?: string;
72682
72952
  /**
72683
72953
  * @remarks
72684
- * The DH key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
72954
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
72685
72955
  * Valid values: **group1**, **group2**, **group5**, and **group14**.
72686
72956
  *
72687
72957
  * @example
@@ -72692,7 +72962,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72692
72962
  * @remarks
72693
72963
  * The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
72694
72964
  *
72695
- * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
72965
+ * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
72696
72966
  *
72697
72967
  * @example
72698
72968
  * ikev1
@@ -72700,9 +72970,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72700
72970
  ikeVersion?: string;
72701
72971
  /**
72702
72972
  * @remarks
72703
- * 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.
72973
+ * 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.
72704
72974
  *
72705
- * You can set **LocalId** to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to **aggressive**.
72975
+ * **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
72706
72976
  *
72707
72977
  * @example
72708
72978
  * 47.21.XX.XX
@@ -72710,10 +72980,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72710
72980
  localId?: string;
72711
72981
  /**
72712
72982
  * @remarks
72713
- * The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
72983
+ * The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
72714
72984
  *
72715
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
72716
- * * 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.
72985
+ * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
72986
+ * * 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.
72717
72987
  *
72718
72988
  * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
72719
72989
  *
@@ -72723,9 +72993,9 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig
72723
72993
  psk?: string;
72724
72994
  /**
72725
72995
  * @remarks
72726
- * 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.
72996
+ * 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.
72727
72997
  *
72728
- * You can set **RemoteId** to an FQDN. In this case, we recommend that you set IkeMode to **aggressive**.
72998
+ * **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
72729
72999
  *
72730
73000
  * @example
72731
73001
  * 47.42.XX.XX
@@ -72787,7 +73057,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72787
73057
  ipsecEncAlg?: string;
72788
73058
  /**
72789
73059
  * @remarks
72790
- * The SA lifetime that is determined by Phase 2 negotiations. Unit: seconds.
73060
+ * The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
72791
73061
  *
72792
73062
  * Valid values: **0** to **86400**. Default value: **86400**.
72793
73063
  *
@@ -72797,7 +73067,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72797
73067
  ipsecLifetime?: number;
72798
73068
  /**
72799
73069
  * @remarks
72800
- * The DH key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
73070
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
72801
73071
  *
72802
73072
  * Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
72803
73073
  *
@@ -72831,11 +73101,11 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
72831
73101
  export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.Model {
72832
73102
  /**
72833
73103
  * @remarks
72834
- * The ID of the customer gateway associated with the tunnel.
73104
+ * The ID of the customer gateway that is associated with the tunnel.
72835
73105
  *
72836
- * > * This parameter is required if the VPN gateway supports the dual-tunnel mode.
72837
- * >* You can specify the parameters in the **TunnelOptionsSpecification** array if you create an IPsec-VPN connection in dual-tunnel mode.
72838
- * >* 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.
73106
+ * > - This parameter is required when you create an IPsec-VPN connection in dual-tunnel mode.
73107
+ * > - You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
73108
+ * > - 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.
72839
73109
  *
72840
73110
  * @example
72841
73111
  * cgw-p0wy363lucf1uyae8****
@@ -72843,10 +73113,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72843
73113
  customerGatewayId?: string;
72844
73114
  /**
72845
73115
  * @remarks
72846
- * Specifies whether to enable DPD for the tunnel. Valid values:
73116
+ * Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
72847
73117
  *
72848
- * * **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.
72849
- * * **false**
73118
+ * * **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.
73119
+ * * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
72850
73120
  *
72851
73121
  * @example
72852
73122
  * true
@@ -72856,8 +73126,8 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72856
73126
  * @remarks
72857
73127
  * Specifies whether to enable NAT traversal for the tunnel. Valid values:
72858
73128
  *
72859
- * * **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.
72860
- * * **false**
73129
+ * * **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.
73130
+ * * **false**: disables NAT traversal.
72861
73131
  *
72862
73132
  * @example
72863
73133
  * true
@@ -72865,10 +73135,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72865
73135
  enableNatTraversal?: boolean;
72866
73136
  /**
72867
73137
  * @remarks
72868
- * The CA certificate. If the VPN gateway is of the SM type, you must configure a CA certificate for the peer gateway device.
73138
+ * If the VPN gateway uses an SM certificate, you need to configure the CA certificate used by the IPsec peer.
72869
73139
  *
72870
- * * If an SM VPN gateway is used to create the IPsec-VPN connection, this parameter is required.
72871
- * * If a standard VPN gateway is used to create the IPsec-VPN connection, leave this parameter empty.
73140
+ * * If the VPN gateway uses an SM certificate, this parameter is required.
73141
+ * * If the VPN gateway does not use an SM certificate, leave this parameter empty.
72872
73142
  *
72873
73143
  * @example
72874
73144
  * -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
@@ -72876,10 +73146,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72876
73146
  remoteCaCertificate?: string;
72877
73147
  /**
72878
73148
  * @remarks
72879
- * The role of the tunnel. Valid values:
73149
+ * The role of the tunnel. Valid values: Valid values:
72880
73150
  *
72881
- * * **master**: The tunnel is the active tunnel.
72882
- * * **slave**: The tunnel is the standby tunnel.
73151
+ * * **master**: The tunnel is an active tunnel.
73152
+ * * **slave**: The tunnel is a standby tunnel.
72883
73153
  *
72884
73154
  * @example
72885
73155
  * master
@@ -72887,7 +73157,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
72887
73157
  role?: string;
72888
73158
  /**
72889
73159
  * @remarks
72890
- * The BGP configurations for the tunnel.
73160
+ * The Border Gateway Protocol (BGP) configurations of the tunnel.
72891
73161
  */
72892
73162
  tunnelBgpConfig?: CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig;
72893
73163
  /**
@@ -75890,6 +76160,28 @@ export class DescribeEipSegmentResponseBodyEipSegments extends $tea.Model {
75890
76160
  }
75891
76161
  }
75892
76162
 
76163
+ export class DescribeExpressConnectTrafficQosRequestTags extends $tea.Model {
76164
+ key?: string;
76165
+ value?: string;
76166
+ static names(): { [key: string]: string } {
76167
+ return {
76168
+ key: 'Key',
76169
+ value: 'Value',
76170
+ };
76171
+ }
76172
+
76173
+ static types(): { [key: string]: any } {
76174
+ return {
76175
+ key: 'string',
76176
+ value: 'string',
76177
+ };
76178
+ }
76179
+
76180
+ constructor(map?: { [key: string]: any }) {
76181
+ super(map);
76182
+ }
76183
+ }
76184
+
75893
76185
  export class DescribeExpressConnectTrafficQosResponseBodyQosListAssociatedInstanceList extends $tea.Model {
75894
76186
  /**
75895
76187
  * @example
@@ -75995,6 +76287,28 @@ export class DescribeExpressConnectTrafficQosResponseBodyQosListQueueList extend
75995
76287
  }
75996
76288
  }
75997
76289
 
76290
+ export class DescribeExpressConnectTrafficQosResponseBodyQosListTags extends $tea.Model {
76291
+ key?: string;
76292
+ value?: string;
76293
+ static names(): { [key: string]: string } {
76294
+ return {
76295
+ key: 'Key',
76296
+ value: 'Value',
76297
+ };
76298
+ }
76299
+
76300
+ static types(): { [key: string]: any } {
76301
+ return {
76302
+ key: 'string',
76303
+ value: 'string',
76304
+ };
76305
+ }
76306
+
76307
+ constructor(map?: { [key: string]: any }) {
76308
+ super(map);
76309
+ }
76310
+ }
76311
+
75998
76312
  export class DescribeExpressConnectTrafficQosResponseBodyQosList extends $tea.Model {
75999
76313
  associatedInstanceList?: DescribeExpressConnectTrafficQosResponseBodyQosListAssociatedInstanceList[];
76000
76314
  /**
@@ -76018,11 +76332,13 @@ export class DescribeExpressConnectTrafficQosResponseBodyQosList extends $tea.Mo
76018
76332
  */
76019
76333
  qosName?: string;
76020
76334
  queueList?: DescribeExpressConnectTrafficQosResponseBodyQosListQueueList[];
76335
+ resourceGroupId?: string;
76021
76336
  /**
76022
76337
  * @example
76023
76338
  * Normal
76024
76339
  */
76025
76340
  status?: string;
76341
+ tags?: DescribeExpressConnectTrafficQosResponseBodyQosListTags[];
76026
76342
  static names(): { [key: string]: string } {
76027
76343
  return {
76028
76344
  associatedInstanceList: 'AssociatedInstanceList',
@@ -76031,7 +76347,9 @@ export class DescribeExpressConnectTrafficQosResponseBodyQosList extends $tea.Mo
76031
76347
  qosId: 'QosId',
76032
76348
  qosName: 'QosName',
76033
76349
  queueList: 'QueueList',
76350
+ resourceGroupId: 'ResourceGroupId',
76034
76351
  status: 'Status',
76352
+ tags: 'Tags',
76035
76353
  };
76036
76354
  }
76037
76355
 
@@ -76043,7 +76361,9 @@ export class DescribeExpressConnectTrafficQosResponseBodyQosList extends $tea.Mo
76043
76361
  qosId: 'string',
76044
76362
  qosName: 'string',
76045
76363
  queueList: { 'type': 'array', 'itemType': DescribeExpressConnectTrafficQosResponseBodyQosListQueueList },
76364
+ resourceGroupId: 'string',
76046
76365
  status: 'string',
76366
+ tags: { 'type': 'array', 'itemType': DescribeExpressConnectTrafficQosResponseBodyQosListTags },
76047
76367
  };
76048
76368
  }
76049
76369
 
@@ -85634,6 +85954,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85634
85954
  * vco-p0w2jpkhi2eeop6q6****
85635
85955
  */
85636
85956
  nextHop?: string;
85957
+ nextHopTunnelIdList?: string[];
85637
85958
  /**
85638
85959
  * @remarks
85639
85960
  * The destination CIDR block of the route.
@@ -85700,6 +86021,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85700
86021
  community: 'Community',
85701
86022
  createTime: 'CreateTime',
85702
86023
  nextHop: 'NextHop',
86024
+ nextHopTunnelIdList: 'NextHopTunnelIdList',
85703
86025
  routeDest: 'RouteDest',
85704
86026
  routeEntryType: 'RouteEntryType',
85705
86027
  source: 'Source',
@@ -85715,6 +86037,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85715
86037
  community: 'string',
85716
86038
  createTime: 'number',
85717
86039
  nextHop: 'string',
86040
+ nextHopTunnelIdList: { 'type': 'array', 'itemType': 'string' },
85718
86041
  routeDest: 'string',
85719
86042
  routeEntryType: 'string',
85720
86043
  source: 'string',
@@ -85729,6 +86052,31 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
85729
86052
  }
85730
86053
  }
85731
86054
 
86055
+ export class DescribeVcoRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
86056
+ routeCount?: number;
86057
+ routeEntryType?: string;
86058
+ source?: string;
86059
+ static names(): { [key: string]: string } {
86060
+ return {
86061
+ routeCount: 'RouteCount',
86062
+ routeEntryType: 'RouteEntryType',
86063
+ source: 'Source',
86064
+ };
86065
+ }
86066
+
86067
+ static types(): { [key: string]: any } {
86068
+ return {
86069
+ routeCount: 'number',
86070
+ routeEntryType: 'string',
86071
+ source: 'string',
86072
+ };
86073
+ }
86074
+
86075
+ constructor(map?: { [key: string]: any }) {
86076
+ super(map);
86077
+ }
86078
+ }
86079
+
85732
86080
  export class DescribeVirtualBorderRoutersRequestFilter extends $tea.Model {
85733
86081
  /**
85734
86082
  * @remarks
@@ -87860,6 +88208,28 @@ export class DescribeVpcsResponseBodyVpcs extends $tea.Model {
87860
88208
  }
87861
88209
  }
87862
88210
 
88211
+ export class DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags extends $tea.Model {
88212
+ key?: string;
88213
+ value?: string;
88214
+ static names(): { [key: string]: string } {
88215
+ return {
88216
+ key: 'Key',
88217
+ value: 'Value',
88218
+ };
88219
+ }
88220
+
88221
+ static types(): { [key: string]: any } {
88222
+ return {
88223
+ key: 'string',
88224
+ value: 'string',
88225
+ };
88226
+ }
88227
+
88228
+ constructor(map?: { [key: string]: any }) {
88229
+ super(map);
88230
+ }
88231
+ }
88232
+
87863
88233
  export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model {
87864
88234
  /**
87865
88235
  * @remarks
@@ -87904,6 +88274,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87904
88274
  * nametest1
87905
88275
  */
87906
88276
  name?: string;
88277
+ tag?: string;
88278
+ tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
87907
88279
  /**
87908
88280
  * @remarks
87909
88281
  * The ID of the transit router with which the IPsec-VPN connection is associated.
@@ -87927,6 +88299,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87927
88299
  description: 'Description',
87928
88300
  instanceId: 'InstanceId',
87929
88301
  name: 'Name',
88302
+ tag: 'Tag',
88303
+ tags: 'Tags',
87930
88304
  transitRouterId: 'TransitRouterId',
87931
88305
  transitRouterName: 'TransitRouterName',
87932
88306
  };
@@ -87939,6 +88313,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
87939
88313
  description: 'string',
87940
88314
  instanceId: 'string',
87941
88315
  name: 'string',
88316
+ tag: 'string',
88317
+ tags: { 'type': 'array', 'itemType': DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags },
87942
88318
  transitRouterId: 'string',
87943
88319
  transitRouterName: 'string',
87944
88320
  };
@@ -88521,6 +88897,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88521
88897
  * The configuration of Phase 1 negotiations.
88522
88898
  */
88523
88899
  tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
88900
+ tunnelIndex?: number;
88524
88901
  /**
88525
88902
  * @remarks
88526
88903
  * The configurations of Phase 2 negotiations.
@@ -88549,6 +88926,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88549
88926
  tunnelBgpConfig: 'TunnelBgpConfig',
88550
88927
  tunnelId: 'TunnelId',
88551
88928
  tunnelIkeConfig: 'TunnelIkeConfig',
88929
+ tunnelIndex: 'TunnelIndex',
88552
88930
  tunnelIpsecConfig: 'TunnelIpsecConfig',
88553
88931
  zoneNo: 'ZoneNo',
88554
88932
  };
@@ -88567,6 +88945,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
88567
88945
  tunnelBgpConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
88568
88946
  tunnelId: 'string',
88569
88947
  tunnelIkeConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
88948
+ tunnelIndex: 'number',
88570
88949
  tunnelIpsecConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
88571
88950
  zoneNo: 'string',
88572
88951
  };
@@ -89428,6 +89807,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89428
89807
  * The configuration of Phase 1 negotiations.
89429
89808
  */
89430
89809
  tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
89810
+ tunnelIndex?: number;
89431
89811
  /**
89432
89812
  * @remarks
89433
89813
  * The configurations of Phase 2 negotiations.
@@ -89454,6 +89834,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89454
89834
  tunnelBgpConfig: 'TunnelBgpConfig',
89455
89835
  tunnelId: 'TunnelId',
89456
89836
  tunnelIkeConfig: 'TunnelIkeConfig',
89837
+ tunnelIndex: 'TunnelIndex',
89457
89838
  tunnelIpsecConfig: 'TunnelIpsecConfig',
89458
89839
  zoneNo: 'ZoneNo',
89459
89840
  };
@@ -89472,6 +89853,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
89472
89853
  tunnelBgpConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
89473
89854
  tunnelId: 'string',
89474
89855
  tunnelIkeConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
89856
+ tunnelIndex: 'number',
89475
89857
  tunnelIpsecConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
89476
89858
  zoneNo: 'string',
89477
89859
  };
@@ -90336,11 +90718,9 @@ export class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList ext
90336
90718
  export class DescribeVpnGatewaysRequestTag extends $tea.Model {
90337
90719
  /**
90338
90720
  * @remarks
90339
- * The tag key. The tag key cannot be an empty string.
90340
- *
90341
- * It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
90721
+ * The tag key.
90342
90722
  *
90343
- * You can specify at most 20 tag keys in each call.
90723
+ * You can specify at most 20 tag keys at a time.
90344
90724
  *
90345
90725
  * @example
90346
90726
  * FinanceDept
@@ -90350,9 +90730,7 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
90350
90730
  * @remarks
90351
90731
  * The tag value.
90352
90732
  *
90353
- * 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://`.
90354
- *
90355
- * Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
90733
+ * Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
90356
90734
  *
90357
90735
  * @example
90358
90736
  * FinanceJoshua
@@ -90761,7 +91139,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
90761
91139
  status?: string;
90762
91140
  /**
90763
91141
  * @remarks
90764
- * The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
91142
+ * The tag that is automatically generated for the VPN gateway.
90765
91143
  *
90766
91144
  * * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
90767
91145
  *
@@ -90780,13 +91158,18 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
90780
91158
  *
90781
91159
  * * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
90782
91160
  *
90783
- * * **true**
91161
+ * * **true**: queries only SQL templates that need to be optimized.
90784
91162
  * * **false**: does not query only SQL statements that need to be optimized.
90785
91163
  *
90786
91164
  * * **description**: the description of the VPN gateway. This parameter is only for internal use.
90787
91165
  *
90788
91166
  * * **VpnVersion**: the version of the VPN gateway.
90789
91167
  *
91168
+ * * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
91169
+ *
91170
+ * * **true**
91171
+ * * **false**
91172
+ *
90790
91173
  * @example
90791
91174
  * {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
90792
91175
  */
@@ -91059,6 +91442,50 @@ export class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntries extends $t
91059
91442
  }
91060
91443
  }
91061
91444
 
91445
+ export class DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount extends $tea.Model {
91446
+ routeCount?: number;
91447
+ routeEntryType?: string;
91448
+ source?: string;
91449
+ static names(): { [key: string]: string } {
91450
+ return {
91451
+ routeCount: 'RouteCount',
91452
+ routeEntryType: 'RouteEntryType',
91453
+ source: 'Source',
91454
+ };
91455
+ }
91456
+
91457
+ static types(): { [key: string]: any } {
91458
+ return {
91459
+ routeCount: 'number',
91460
+ routeEntryType: 'string',
91461
+ source: 'string',
91462
+ };
91463
+ }
91464
+
91465
+ constructor(map?: { [key: string]: any }) {
91466
+ super(map);
91467
+ }
91468
+ }
91469
+
91470
+ export class DescribeVpnRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
91471
+ vpnRouteCount?: DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount[];
91472
+ static names(): { [key: string]: string } {
91473
+ return {
91474
+ vpnRouteCount: 'VpnRouteCount',
91475
+ };
91476
+ }
91477
+
91478
+ static types(): { [key: string]: any } {
91479
+ return {
91480
+ vpnRouteCount: { 'type': 'array', 'itemType': DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount },
91481
+ };
91482
+ }
91483
+
91484
+ constructor(map?: { [key: string]: any }) {
91485
+ super(map);
91486
+ }
91487
+ }
91488
+
91062
91489
  export class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry extends $tea.Model {
91063
91490
  /**
91064
91491
  * @remarks
@@ -97443,6 +97870,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecCo
97443
97870
  }
97444
97871
 
97445
97872
  export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
97873
+ customerGatewayId?: string;
97446
97874
  /**
97447
97875
  * @remarks
97448
97876
  * Specifies whether to enable the dead peer detection (DPD) feature. Valid values:
@@ -97492,6 +97920,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
97492
97920
  tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
97493
97921
  static names(): { [key: string]: string } {
97494
97922
  return {
97923
+ customerGatewayId: 'CustomerGatewayId',
97495
97924
  enableDpd: 'EnableDpd',
97496
97925
  enableNatTraversal: 'EnableNatTraversal',
97497
97926
  remoteCaCertificate: 'RemoteCaCertificate',
@@ -97503,6 +97932,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
97503
97932
 
97504
97933
  static types(): { [key: string]: any } {
97505
97934
  return {
97935
+ customerGatewayId: 'string',
97506
97936
  enableDpd: 'boolean',
97507
97937
  enableNatTraversal: 'boolean',
97508
97938
  remoteCaCertificate: 'string',
@@ -97842,6 +98272,142 @@ export class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $tea.Model
97842
98272
  }
97843
98273
  }
97844
98274
 
98275
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
98276
+ localAsn?: number;
98277
+ localBgpIp?: string;
98278
+ tunnelCidr?: string;
98279
+ static names(): { [key: string]: string } {
98280
+ return {
98281
+ localAsn: 'LocalAsn',
98282
+ localBgpIp: 'LocalBgpIp',
98283
+ tunnelCidr: 'TunnelCidr',
98284
+ };
98285
+ }
98286
+
98287
+ static types(): { [key: string]: any } {
98288
+ return {
98289
+ localAsn: 'number',
98290
+ localBgpIp: 'string',
98291
+ tunnelCidr: 'string',
98292
+ };
98293
+ }
98294
+
98295
+ constructor(map?: { [key: string]: any }) {
98296
+ super(map);
98297
+ }
98298
+ }
98299
+
98300
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
98301
+ ikeAuthAlg?: string;
98302
+ ikeEncAlg?: string;
98303
+ ikeLifetime?: number;
98304
+ ikeMode?: string;
98305
+ ikePfs?: string;
98306
+ ikeVersion?: string;
98307
+ localId?: string;
98308
+ psk?: string;
98309
+ remoteId?: string;
98310
+ static names(): { [key: string]: string } {
98311
+ return {
98312
+ ikeAuthAlg: 'IkeAuthAlg',
98313
+ ikeEncAlg: 'IkeEncAlg',
98314
+ ikeLifetime: 'IkeLifetime',
98315
+ ikeMode: 'IkeMode',
98316
+ ikePfs: 'IkePfs',
98317
+ ikeVersion: 'IkeVersion',
98318
+ localId: 'LocalId',
98319
+ psk: 'Psk',
98320
+ remoteId: 'RemoteId',
98321
+ };
98322
+ }
98323
+
98324
+ static types(): { [key: string]: any } {
98325
+ return {
98326
+ ikeAuthAlg: 'string',
98327
+ ikeEncAlg: 'string',
98328
+ ikeLifetime: 'number',
98329
+ ikeMode: 'string',
98330
+ ikePfs: 'string',
98331
+ ikeVersion: 'string',
98332
+ localId: 'string',
98333
+ psk: 'string',
98334
+ remoteId: 'string',
98335
+ };
98336
+ }
98337
+
98338
+ constructor(map?: { [key: string]: any }) {
98339
+ super(map);
98340
+ }
98341
+ }
98342
+
98343
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
98344
+ ipsecAuthAlg?: string;
98345
+ ipsecEncAlg?: string;
98346
+ ipsecLifetime?: number;
98347
+ ipsecPfs?: string;
98348
+ static names(): { [key: string]: string } {
98349
+ return {
98350
+ ipsecAuthAlg: 'IpsecAuthAlg',
98351
+ ipsecEncAlg: 'IpsecEncAlg',
98352
+ ipsecLifetime: 'IpsecLifetime',
98353
+ ipsecPfs: 'IpsecPfs',
98354
+ };
98355
+ }
98356
+
98357
+ static types(): { [key: string]: any } {
98358
+ return {
98359
+ ipsecAuthAlg: 'string',
98360
+ ipsecEncAlg: 'string',
98361
+ ipsecLifetime: 'number',
98362
+ ipsecPfs: 'string',
98363
+ };
98364
+ }
98365
+
98366
+ constructor(map?: { [key: string]: any }) {
98367
+ super(map);
98368
+ }
98369
+ }
98370
+
98371
+ export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $tea.Model {
98372
+ customerGatewayId?: string;
98373
+ enableDpd?: boolean;
98374
+ enableNatTraversal?: boolean;
98375
+ tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
98376
+ tunnelId?: string;
98377
+ tunnelIkeConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
98378
+ tunnelIndex?: number;
98379
+ tunnelIpsecConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
98380
+ static names(): { [key: string]: string } {
98381
+ return {
98382
+ customerGatewayId: 'CustomerGatewayId',
98383
+ enableDpd: 'EnableDpd',
98384
+ enableNatTraversal: 'EnableNatTraversal',
98385
+ tunnelBgpConfig: 'TunnelBgpConfig',
98386
+ tunnelId: 'TunnelId',
98387
+ tunnelIkeConfig: 'TunnelIkeConfig',
98388
+ tunnelIndex: 'TunnelIndex',
98389
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
98390
+ };
98391
+ }
98392
+
98393
+ static types(): { [key: string]: any } {
98394
+ return {
98395
+ customerGatewayId: 'string',
98396
+ enableDpd: 'boolean',
98397
+ enableNatTraversal: 'boolean',
98398
+ tunnelBgpConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
98399
+ tunnelId: 'string',
98400
+ tunnelIkeConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
98401
+ tunnelIndex: 'number',
98402
+ tunnelIpsecConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
98403
+ };
98404
+ }
98405
+
98406
+ constructor(map?: { [key: string]: any }) {
98407
+ super(map);
98408
+ }
98409
+ }
98410
+
97845
98411
  export class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $tea.Model {
97846
98412
  /**
97847
98413
  * @remarks
@@ -98006,6 +98572,157 @@ export class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends $tea.Mo
98006
98572
  }
98007
98573
  }
98008
98574
 
98575
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
98576
+ localAsn?: number;
98577
+ localBgpIp?: string;
98578
+ peerAsn?: number;
98579
+ peerBgpIp?: string;
98580
+ tunnelCidr?: string;
98581
+ static names(): { [key: string]: string } {
98582
+ return {
98583
+ localAsn: 'LocalAsn',
98584
+ localBgpIp: 'LocalBgpIp',
98585
+ peerAsn: 'PeerAsn',
98586
+ peerBgpIp: 'PeerBgpIp',
98587
+ tunnelCidr: 'TunnelCidr',
98588
+ };
98589
+ }
98590
+
98591
+ static types(): { [key: string]: any } {
98592
+ return {
98593
+ localAsn: 'number',
98594
+ localBgpIp: 'string',
98595
+ peerAsn: 'number',
98596
+ peerBgpIp: 'string',
98597
+ tunnelCidr: 'string',
98598
+ };
98599
+ }
98600
+
98601
+ constructor(map?: { [key: string]: any }) {
98602
+ super(map);
98603
+ }
98604
+ }
98605
+
98606
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
98607
+ ikeAuthAlg?: string;
98608
+ ikeEncAlg?: string;
98609
+ ikeLifetime?: number;
98610
+ ikeMode?: string;
98611
+ ikePfs?: string;
98612
+ ikeVersion?: string;
98613
+ localId?: string;
98614
+ psk?: string;
98615
+ remoteId?: string;
98616
+ static names(): { [key: string]: string } {
98617
+ return {
98618
+ ikeAuthAlg: 'IkeAuthAlg',
98619
+ ikeEncAlg: 'IkeEncAlg',
98620
+ ikeLifetime: 'IkeLifetime',
98621
+ ikeMode: 'IkeMode',
98622
+ ikePfs: 'IkePfs',
98623
+ ikeVersion: 'IkeVersion',
98624
+ localId: 'LocalId',
98625
+ psk: 'Psk',
98626
+ remoteId: 'RemoteId',
98627
+ };
98628
+ }
98629
+
98630
+ static types(): { [key: string]: any } {
98631
+ return {
98632
+ ikeAuthAlg: 'string',
98633
+ ikeEncAlg: 'string',
98634
+ ikeLifetime: 'number',
98635
+ ikeMode: 'string',
98636
+ ikePfs: 'string',
98637
+ ikeVersion: 'string',
98638
+ localId: 'string',
98639
+ psk: 'string',
98640
+ remoteId: 'string',
98641
+ };
98642
+ }
98643
+
98644
+ constructor(map?: { [key: string]: any }) {
98645
+ super(map);
98646
+ }
98647
+ }
98648
+
98649
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
98650
+ ipsecAuthAlg?: string;
98651
+ ipsecEncAlg?: string;
98652
+ ipsecLifetime?: number;
98653
+ ipsecPfs?: string;
98654
+ static names(): { [key: string]: string } {
98655
+ return {
98656
+ ipsecAuthAlg: 'IpsecAuthAlg',
98657
+ ipsecEncAlg: 'IpsecEncAlg',
98658
+ ipsecLifetime: 'IpsecLifetime',
98659
+ ipsecPfs: 'IpsecPfs',
98660
+ };
98661
+ }
98662
+
98663
+ static types(): { [key: string]: any } {
98664
+ return {
98665
+ ipsecAuthAlg: 'string',
98666
+ ipsecEncAlg: 'string',
98667
+ ipsecLifetime: 'number',
98668
+ ipsecPfs: 'string',
98669
+ };
98670
+ }
98671
+
98672
+ constructor(map?: { [key: string]: any }) {
98673
+ super(map);
98674
+ }
98675
+ }
98676
+
98677
+ export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification extends $tea.Model {
98678
+ customerGatewayId?: string;
98679
+ enableDpd?: boolean;
98680
+ enableNatTraversal?: boolean;
98681
+ internetIp?: string;
98682
+ role?: string;
98683
+ state?: string;
98684
+ tunnelBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig;
98685
+ tunnelId?: string;
98686
+ tunnelIkeConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig;
98687
+ tunnelIndex?: number;
98688
+ tunnelIpsecConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig;
98689
+ static names(): { [key: string]: string } {
98690
+ return {
98691
+ customerGatewayId: 'CustomerGatewayId',
98692
+ enableDpd: 'EnableDpd',
98693
+ enableNatTraversal: 'EnableNatTraversal',
98694
+ internetIp: 'InternetIp',
98695
+ role: 'Role',
98696
+ state: 'State',
98697
+ tunnelBgpConfig: 'TunnelBgpConfig',
98698
+ tunnelId: 'TunnelId',
98699
+ tunnelIkeConfig: 'TunnelIkeConfig',
98700
+ tunnelIndex: 'TunnelIndex',
98701
+ tunnelIpsecConfig: 'TunnelIpsecConfig',
98702
+ };
98703
+ }
98704
+
98705
+ static types(): { [key: string]: any } {
98706
+ return {
98707
+ customerGatewayId: 'string',
98708
+ enableDpd: 'boolean',
98709
+ enableNatTraversal: 'boolean',
98710
+ internetIp: 'string',
98711
+ role: 'string',
98712
+ state: 'string',
98713
+ tunnelBgpConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig,
98714
+ tunnelId: 'string',
98715
+ tunnelIkeConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig,
98716
+ tunnelIndex: 'number',
98717
+ tunnelIpsecConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig,
98718
+ };
98719
+ }
98720
+
98721
+ constructor(map?: { [key: string]: any }) {
98722
+ super(map);
98723
+ }
98724
+ }
98725
+
98009
98726
  export class ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck extends $tea.Model {
98010
98727
  /**
98011
98728
  * @remarks
@@ -98185,9 +98902,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98185
98902
  * @remarks
98186
98903
  * The ASN of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
98187
98904
  *
98188
- * > - You can specify or modify this parameter if BGP is enabled for the IPsec-VPN connection (**EnableTunnelsBgp** is set to **true**).
98189
- * > - 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).
98190
- * > - 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.
98905
+ * > You can specify this parameter only if **EnableTunnelsBgp** is set to **true**.
98906
+ *
98907
+ * * 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).
98908
+ *
98909
+ * * 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.
98191
98910
  *
98192
98911
  * @example
98193
98912
  * 65530
@@ -98195,7 +98914,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98195
98914
  localAsn?: number;
98196
98915
  /**
98197
98916
  * @remarks
98198
- * 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.
98917
+ * 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.
98199
98918
  *
98200
98919
  * @example
98201
98920
  * 169.254.10.1
@@ -98203,9 +98922,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98203
98922
  localBgpIp?: string;
98204
98923
  /**
98205
98924
  * @remarks
98206
- * 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.
98925
+ * The BGP CIDR block of the tunnel.
98926
+ *
98927
+ * 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.
98207
98928
  *
98208
- * > The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
98929
+ * > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
98209
98930
  *
98210
98931
  * @example
98211
98932
  * 169.254.10.0/30
@@ -98255,7 +98976,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98255
98976
  ikeEncAlg?: string;
98256
98977
  /**
98257
98978
  * @remarks
98258
- * The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**.
98979
+ * The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**.
98259
98980
  *
98260
98981
  * @example
98261
98982
  * 86400
@@ -98263,10 +98984,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98263
98984
  ikeLifetime?: number;
98264
98985
  /**
98265
98986
  * @remarks
98266
- * The IKE negotiation mode. Valid values:
98987
+ * The negotiation mode of IKE. Valid values:
98267
98988
  *
98268
- * * **main**: This mode offers higher security during negotiations.
98269
- * * **aggressive**: This mode is faster and has a higher success rate.
98989
+ * * **main:** This mode offers higher security during negotiations.
98990
+ * * **aggressive:** This mode supports faster negotiations and a higher success rate.
98270
98991
  *
98271
98992
  * @example
98272
98993
  * main
@@ -98274,7 +98995,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98274
98995
  ikeMode?: string;
98275
98996
  /**
98276
98997
  * @remarks
98277
- * The DH key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
98998
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
98278
98999
  *
98279
99000
  * @example
98280
99001
  * group2
@@ -98284,7 +99005,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98284
99005
  * @remarks
98285
99006
  * The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
98286
99007
  *
98287
- * Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
99008
+ * Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
98288
99009
  *
98289
99010
  * @example
98290
99011
  * ikev1
@@ -98292,9 +99013,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98292
99013
  ikeVersion?: string;
98293
99014
  /**
98294
99015
  * @remarks
98295
- * 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.
99016
+ * 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.
98296
99017
  *
98297
- * You can set **LocalId** to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to **aggressive**.
99018
+ * **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
98298
99019
  *
98299
99020
  * @example
98300
99021
  * 47.21.XX.XX
@@ -98304,10 +99025,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98304
99025
  * @remarks
98305
99026
  * The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
98306
99027
  *
98307
- * * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
98308
- * * 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.
99028
+ * * 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: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
99029
+ * * 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.
98309
99030
  *
98310
- * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
99031
+ * > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be built.
98311
99032
  *
98312
99033
  * @example
98313
99034
  * 123456****
@@ -98315,9 +99036,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98315
99036
  psk?: string;
98316
99037
  /**
98317
99038
  * @remarks
98318
- * 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.
99039
+ * 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.
98319
99040
  *
98320
- * You can set **RemoteId** to an FQDN. In this case, we recommend that you set IkeMode to **aggressive**.
99041
+ * **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
98321
99042
  *
98322
99043
  * @example
98323
99044
  * 47.42.XX.XX
@@ -98379,7 +99100,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98379
99100
  ipsecEncAlg?: string;
98380
99101
  /**
98381
99102
  * @remarks
98382
- * The SA lifetime that is determined by Phase 2 negotiations. Unit: seconds. Valid values: **0** to **86400**.
99103
+ * The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0** to **86400**.
98383
99104
  *
98384
99105
  * @example
98385
99106
  * 86400
@@ -98387,7 +99108,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98387
99108
  ipsecLifetime?: number;
98388
99109
  /**
98389
99110
  * @remarks
98390
- * The DH key exchange algorithm that is used in Phase 2 negotiations.
99111
+ * The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
98391
99112
  *
98392
99113
  * Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
98393
99114
  *
@@ -98419,12 +99140,20 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
98419
99140
  }
98420
99141
 
98421
99142
  export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification extends $tea.Model {
99143
+ /**
99144
+ * @remarks
99145
+ * The ID of the customer gateway associated with the tunnel.
99146
+ *
99147
+ * @example
99148
+ * cgw-1nmwbpgrp7ssqm1yn****
99149
+ */
99150
+ customerGatewayId?: string;
98422
99151
  /**
98423
99152
  * @remarks
98424
99153
  * Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
98425
99154
  *
98426
- * * **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.
98427
- * * **false**
99155
+ * * **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.
99156
+ * * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
98428
99157
  *
98429
99158
  * @example
98430
99159
  * true
@@ -98434,8 +99163,8 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98434
99163
  * @remarks
98435
99164
  * Specifies whether to enable NAT traversal for the tunnel. Valid values:
98436
99165
  *
98437
- * * **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.
98438
- * * **false**
99166
+ * * **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.
99167
+ * * **false**: disables NAT traversal.
98439
99168
  *
98440
99169
  * @example
98441
99170
  * true
@@ -98469,8 +99198,6 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98469
99198
  tunnelBgpConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
98470
99199
  /**
98471
99200
  * @remarks
98472
- * **TunnelOptionsSpecification** parameters are supported by dual-tunnel IPsec-VPN gateways. You can modify both the active and standby tunnels of the IPsec-VPN connection.
98473
- *
98474
99201
  * The tunnel ID.
98475
99202
  *
98476
99203
  * @example
@@ -98489,6 +99216,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98489
99216
  tunnelIpsecConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
98490
99217
  static names(): { [key: string]: string } {
98491
99218
  return {
99219
+ customerGatewayId: 'CustomerGatewayId',
98492
99220
  enableDpd: 'EnableDpd',
98493
99221
  enableNatTraversal: 'EnableNatTraversal',
98494
99222
  remoteCaCertificate: 'RemoteCaCertificate',
@@ -98502,6 +99230,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
98502
99230
 
98503
99231
  static types(): { [key: string]: any } {
98504
99232
  return {
99233
+ customerGatewayId: 'string',
98505
99234
  enableDpd: 'boolean',
98506
99235
  enableNatTraversal: 'boolean',
98507
99236
  remoteCaCertificate: 'string',
@@ -103933,10 +104662,18 @@ export default class Client extends OpenApi {
103933
104662
  query["RegionId"] = request.regionId;
103934
104663
  }
103935
104664
 
104665
+ if (!Util.isUnset(request.resourceGroupId)) {
104666
+ query["ResourceGroupId"] = request.resourceGroupId;
104667
+ }
104668
+
103936
104669
  if (!Util.isUnset(request.resourceOwnerAccount)) {
103937
104670
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
103938
104671
  }
103939
104672
 
104673
+ if (!Util.isUnset(request.tags)) {
104674
+ query["Tags"] = request.tags;
104675
+ }
104676
+
103940
104677
  let req = new $OpenApi.OpenApiRequest({
103941
104678
  query: OpenApiUtil.query(query),
103942
104679
  });
@@ -104419,6 +105156,10 @@ export default class Client extends OpenApi {
104419
105156
  query["ClientToken"] = request.clientToken;
104420
105157
  }
104421
105158
 
105159
+ if (!Util.isUnset(request.dryRun)) {
105160
+ query["DryRun"] = request.dryRun;
105161
+ }
105162
+
104422
105163
  if (!Util.isUnset(request.externalIp)) {
104423
105164
  query["ExternalIp"] = request.externalIp;
104424
105165
  }
@@ -105597,15 +106338,14 @@ export default class Client extends OpenApi {
105597
106338
  * Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
105598
106339
  *
105599
106340
  * @remarks
105600
- * ## [](#)
106341
+ * ## Usage notes
105601
106342
  * Before you call this operation, take note of the following items:
105602
- * * 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).
106343
+ * * 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).
105603
106344
  * * 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.
105604
106345
  * * **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.
105605
106346
  * * 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.
105606
106347
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
105607
106348
  * It takes 1 to 3 minutes to create a NAT gateway.
105608
- * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
105609
106349
  *
105610
106350
  * @param tmpReq - CreateNatGatewayRequest
105611
106351
  * @param runtime - runtime options for this request RuntimeOptions
@@ -105737,15 +106477,14 @@ export default class Client extends OpenApi {
105737
106477
  * Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
105738
106478
  *
105739
106479
  * @remarks
105740
- * ## [](#)
106480
+ * ## Usage notes
105741
106481
  * Before you call this operation, take note of the following items:
105742
- * * 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).
106482
+ * * 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).
105743
106483
  * * 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.
105744
106484
  * * **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.
105745
106485
  * * 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.
105746
106486
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
105747
106487
  * It takes 1 to 3 minutes to create a NAT gateway.
105748
- * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
105749
106488
  *
105750
106489
  * @param request - CreateNatGatewayRequest
105751
106490
  * @returns CreateNatGatewayResponse
@@ -106984,6 +107723,10 @@ export default class Client extends OpenApi {
106984
107723
  query["ClientToken"] = request.clientToken;
106985
107724
  }
106986
107725
 
107726
+ if (!Util.isUnset(request.dryRun)) {
107727
+ query["DryRun"] = request.dryRun;
107728
+ }
107729
+
106987
107730
  if (!Util.isUnset(request.eipAffinity)) {
106988
107731
  query["EipAffinity"] = request.eipAffinity;
106989
107732
  }
@@ -107145,12 +107888,13 @@ export default class Client extends OpenApi {
107145
107888
  * Creates an SSL server.
107146
107889
  *
107147
107890
  * @remarks
107148
- * **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.
107891
+ * **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.
107149
107892
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
107150
107893
  * * If the VPN gateway is in the **active** state, the SSL server is created.
107151
- * * You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
107152
- * ### [](#)Prerequisites
107153
- * 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).
107894
+ * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
107895
+ * ### [](#)Prerequisite
107896
+ * * 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).
107897
+ * * 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).
107154
107898
  *
107155
107899
  * @param request - CreateSslVpnServerRequest
107156
107900
  * @param runtime - runtime options for this request RuntimeOptions
@@ -107252,12 +107996,13 @@ export default class Client extends OpenApi {
107252
107996
  * Creates an SSL server.
107253
107997
  *
107254
107998
  * @remarks
107255
- * **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.
107999
+ * **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.
107256
108000
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
107257
108001
  * * If the VPN gateway is in the **active** state, the SSL server is created.
107258
- * * You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
107259
- * ### [](#)Prerequisites
107260
- * 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).
108002
+ * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
108003
+ * ### [](#)Prerequisite
108004
+ * * 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).
108005
+ * * 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).
107261
108006
  *
107262
108007
  * @param request - CreateSslVpnServerRequest
107263
108008
  * @returns CreateSslVpnServerResponse
@@ -108691,6 +109436,10 @@ export default class Client extends OpenApi {
108691
109436
  query["EnableNatTraversal"] = request.enableNatTraversal;
108692
109437
  }
108693
109438
 
109439
+ if (!Util.isUnset(request.enableTunnelsBgp)) {
109440
+ query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
109441
+ }
109442
+
108694
109443
  if (!Util.isUnset(request.healthCheckConfig)) {
108695
109444
  query["HealthCheckConfig"] = request.healthCheckConfig;
108696
109445
  }
@@ -108747,8 +109496,19 @@ export default class Client extends OpenApi {
108747
109496
  query["Tags"] = request.tags;
108748
109497
  }
108749
109498
 
109499
+ let body : {[key: string ]: any} = { };
109500
+ let bodyFlat : {[key: string ]: any} = { };
109501
+ if (!Util.isUnset(request.tunnelOptionsSpecification)) {
109502
+ bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
109503
+ }
109504
+
109505
+ body = {
109506
+ ...body,
109507
+ ...OpenApiUtil.query(bodyFlat),
109508
+ };
108750
109509
  let req = new $OpenApi.OpenApiRequest({
108751
109510
  query: OpenApiUtil.query(query),
109511
+ body: OpenApiUtil.parseToMap(body),
108752
109512
  });
108753
109513
  let params = new $OpenApi.Params({
108754
109514
  action: "CreateVpnAttachment",
@@ -114790,10 +115550,18 @@ export default class Client extends OpenApi {
114790
115550
  query["RegionId"] = request.regionId;
114791
115551
  }
114792
115552
 
115553
+ if (!Util.isUnset(request.resourceGroupId)) {
115554
+ query["ResourceGroupId"] = request.resourceGroupId;
115555
+ }
115556
+
114793
115557
  if (!Util.isUnset(request.resourceOwnerAccount)) {
114794
115558
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
114795
115559
  }
114796
115560
 
115561
+ if (!Util.isUnset(request.tags)) {
115562
+ query["Tags"] = request.tags;
115563
+ }
115564
+
114797
115565
  let req = new $OpenApi.OpenApiRequest({
114798
115566
  query: OpenApiUtil.query(query),
114799
115567
  });
@@ -124886,6 +125654,10 @@ export default class Client extends OpenApi {
124886
125654
  query["ClientToken"] = request.clientToken;
124887
125655
  }
124888
125656
 
125657
+ if (!Util.isUnset(request.dryRun)) {
125658
+ query["DryRun"] = request.dryRun;
125659
+ }
125660
+
124889
125661
  if (!Util.isUnset(request.externalIp)) {
124890
125662
  query["ExternalIp"] = request.externalIp;
124891
125663
  }
@@ -126920,6 +127692,10 @@ export default class Client extends OpenApi {
126920
127692
  query["ClientToken"] = request.clientToken;
126921
127693
  }
126922
127694
 
127695
+ if (!Util.isUnset(request.dryRun)) {
127696
+ query["DryRun"] = request.dryRun;
127697
+ }
127698
+
126923
127699
  if (!Util.isUnset(request.eipAffinity)) {
126924
127700
  query["EipAffinity"] = request.eipAffinity;
126925
127701
  }
@@ -128019,6 +128795,10 @@ export default class Client extends OpenApi {
128019
128795
  query["EnableNatTraversal"] = request.enableNatTraversal;
128020
128796
  }
128021
128797
 
128798
+ if (!Util.isUnset(request.enableTunnelsBgp)) {
128799
+ query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
128800
+ }
128801
+
128022
128802
  if (!Util.isUnset(request.healthCheckConfig)) {
128023
128803
  query["HealthCheckConfig"] = request.healthCheckConfig;
128024
128804
  }
@@ -128071,8 +128851,19 @@ export default class Client extends OpenApi {
128071
128851
  query["VpnConnectionId"] = request.vpnConnectionId;
128072
128852
  }
128073
128853
 
128854
+ let body : {[key: string ]: any} = { };
128855
+ let bodyFlat : {[key: string ]: any} = { };
128856
+ if (!Util.isUnset(request.tunnelOptionsSpecification)) {
128857
+ bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
128858
+ }
128859
+
128860
+ body = {
128861
+ ...body,
128862
+ ...OpenApiUtil.query(bodyFlat),
128863
+ };
128074
128864
  let req = new $OpenApi.OpenApiRequest({
128075
128865
  query: OpenApiUtil.query(query),
128866
+ body: OpenApiUtil.parseToMap(body),
128076
128867
  });
128077
128868
  let params = new $OpenApi.Params({
128078
128869
  action: "ModifyVpnAttachmentAttribute",