@alicloud/vpc20160428 6.6.4 → 6.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +528 -175
- package/dist/client.js +484 -30
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +976 -313
package/src/client.ts
CHANGED
|
@@ -11319,6 +11319,10 @@ export class CreateIpv6GatewayResponse extends $tea.Model {
|
|
|
11319
11319
|
}
|
|
11320
11320
|
|
|
11321
11321
|
export class CreateNatGatewayRequest extends $tea.Model {
|
|
11322
|
+
/**
|
|
11323
|
+
* @remarks
|
|
11324
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
11325
|
+
*/
|
|
11322
11326
|
accessMode?: CreateNatGatewayRequestAccessMode;
|
|
11323
11327
|
/**
|
|
11324
11328
|
* @remarks
|
|
@@ -11362,13 +11366,11 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11362
11366
|
* @remarks
|
|
11363
11367
|
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
11364
11368
|
*
|
|
11365
|
-
*
|
|
11369
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
11366
11370
|
*
|
|
11367
|
-
*
|
|
11368
|
-
*
|
|
11369
|
-
* **
|
|
11371
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
11370
11372
|
*
|
|
11371
|
-
*
|
|
11373
|
+
* > If an EIP is associated with a NAT gateway in NAT mode, the EIP occupies a private IP address of the vSwitch where the NAT gateway is deployed. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, EIPs cannot be associated with the NAT gateway. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
|
|
11372
11374
|
*
|
|
11373
11375
|
* @example
|
|
11374
11376
|
* MULTI_BINDED
|
|
@@ -11382,7 +11384,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11382
11384
|
* * **false**
|
|
11383
11385
|
*
|
|
11384
11386
|
* @example
|
|
11385
|
-
*
|
|
11387
|
+
* true
|
|
11386
11388
|
*/
|
|
11387
11389
|
icmpReplyEnabled?: boolean;
|
|
11388
11390
|
/**
|
|
@@ -11409,7 +11411,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11409
11411
|
* @remarks
|
|
11410
11412
|
* The name of the NAT gateway.
|
|
11411
11413
|
*
|
|
11412
|
-
* The name must be 2 to 128 characters in length
|
|
11414
|
+
* The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
|
|
11413
11415
|
*
|
|
11414
11416
|
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
11415
11417
|
*
|
|
@@ -11446,6 +11448,10 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11446
11448
|
* Invalid parameter.
|
|
11447
11449
|
*/
|
|
11448
11450
|
pricingCycle?: string;
|
|
11451
|
+
/**
|
|
11452
|
+
* @remarks
|
|
11453
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
11454
|
+
*/
|
|
11449
11455
|
privateLinkEnabled?: boolean;
|
|
11450
11456
|
/**
|
|
11451
11457
|
* @remarks
|
|
@@ -11484,6 +11490,9 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11484
11490
|
/**
|
|
11485
11491
|
* @remarks
|
|
11486
11492
|
* The tags.
|
|
11493
|
+
*
|
|
11494
|
+
* @example
|
|
11495
|
+
* MULTI_BINDED
|
|
11487
11496
|
*/
|
|
11488
11497
|
tag?: CreateNatGatewayRequestTag[];
|
|
11489
11498
|
/**
|
|
@@ -11575,6 +11584,10 @@ export class CreateNatGatewayRequest extends $tea.Model {
|
|
|
11575
11584
|
}
|
|
11576
11585
|
|
|
11577
11586
|
export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
11587
|
+
/**
|
|
11588
|
+
* @remarks
|
|
11589
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
11590
|
+
*/
|
|
11578
11591
|
accessModeShrink?: string;
|
|
11579
11592
|
/**
|
|
11580
11593
|
* @remarks
|
|
@@ -11618,13 +11631,11 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
11618
11631
|
* @remarks
|
|
11619
11632
|
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
11620
11633
|
*
|
|
11621
|
-
*
|
|
11634
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
11622
11635
|
*
|
|
11623
|
-
*
|
|
11636
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
11624
11637
|
*
|
|
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.
|
|
11638
|
+
* > If an EIP is associated with a NAT gateway in NAT mode, the EIP occupies a private IP address of the vSwitch where the NAT gateway is deployed. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, EIPs cannot be associated with the NAT gateway. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
|
|
11628
11639
|
*
|
|
11629
11640
|
* @example
|
|
11630
11641
|
* MULTI_BINDED
|
|
@@ -11638,7 +11649,7 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
11638
11649
|
* * **false**
|
|
11639
11650
|
*
|
|
11640
11651
|
* @example
|
|
11641
|
-
*
|
|
11652
|
+
* true
|
|
11642
11653
|
*/
|
|
11643
11654
|
icmpReplyEnabled?: boolean;
|
|
11644
11655
|
/**
|
|
@@ -11665,7 +11676,7 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
11665
11676
|
* @remarks
|
|
11666
11677
|
* The name of the NAT gateway.
|
|
11667
11678
|
*
|
|
11668
|
-
* The name must be 2 to 128 characters in length
|
|
11679
|
+
* The name must be 2 to 128 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
|
|
11669
11680
|
*
|
|
11670
11681
|
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
11671
11682
|
*
|
|
@@ -11702,6 +11713,10 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
11702
11713
|
* Invalid parameter.
|
|
11703
11714
|
*/
|
|
11704
11715
|
pricingCycle?: string;
|
|
11716
|
+
/**
|
|
11717
|
+
* @remarks
|
|
11718
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
11719
|
+
*/
|
|
11705
11720
|
privateLinkEnabled?: boolean;
|
|
11706
11721
|
/**
|
|
11707
11722
|
* @remarks
|
|
@@ -11740,6 +11755,9 @@ export class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
11740
11755
|
/**
|
|
11741
11756
|
* @remarks
|
|
11742
11757
|
* The tags.
|
|
11758
|
+
*
|
|
11759
|
+
* @example
|
|
11760
|
+
* MULTI_BINDED
|
|
11743
11761
|
*/
|
|
11744
11762
|
tag?: CreateNatGatewayShrinkRequestTag[];
|
|
11745
11763
|
/**
|
|
@@ -14800,22 +14818,35 @@ export class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
14800
14818
|
compress?: boolean;
|
|
14801
14819
|
/**
|
|
14802
14820
|
* @remarks
|
|
14803
|
-
* Specifies whether to enable two-factor authentication.
|
|
14821
|
+
* Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify `IDaaSInstanceId`, `IDaaSRegionId`, and `IDaaSApplicationId`. Valid values:
|
|
14822
|
+
*
|
|
14823
|
+
* * **true**
|
|
14824
|
+
* * **false** (default)
|
|
14825
|
+
*
|
|
14826
|
+
* >
|
|
14804
14827
|
*
|
|
14805
|
-
* *
|
|
14806
|
-
* * **false** (default): disables this feature.
|
|
14828
|
+
* * If you use two-factor authentication for the first time, you need to complete [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D) before you create an SSL server.
|
|
14807
14829
|
*
|
|
14808
|
-
*
|
|
14809
|
-
* > - If two-factor authentication is already enabled for existing SSL servers, you can continue to use two-factor authentication.
|
|
14830
|
+
* * IDaaS EIAM 1.0 instances are no longer available for purchase. If your Alibaba Cloud account has IDaaS EIAM 1.0 instances, IDaaS EIAM 1.0 instances can be associated after two-factor authentication is enabled. If your Alibaba Cloud account does not have IDaaS EIAM 1.0 instances, only IDaaS EIAM 2.0 instances can be associated after two-factor authentication is enabled.
|
|
14810
14831
|
*
|
|
14811
14832
|
* @example
|
|
14812
14833
|
* false
|
|
14813
14834
|
*/
|
|
14814
14835
|
enableMultiFactorAuth?: boolean;
|
|
14836
|
+
/**
|
|
14837
|
+
* @remarks
|
|
14838
|
+
* The ID of the IDaaS application.
|
|
14839
|
+
*
|
|
14840
|
+
* * If an IDaaS EIAM 2.0 instance is associated, you need to specify an IDaaS application ID.
|
|
14841
|
+
* * If an IDaaS EIAM 1.0 instance is associated, you do not need to specify an IDaaS application ID.
|
|
14842
|
+
*
|
|
14843
|
+
* @example
|
|
14844
|
+
* app_my6g4qmvnwxzj2f****
|
|
14845
|
+
*/
|
|
14815
14846
|
IDaaSApplicationId?: string;
|
|
14816
14847
|
/**
|
|
14817
14848
|
* @remarks
|
|
14818
|
-
* The
|
|
14849
|
+
* The ID of the IDaaS EIAM instance.
|
|
14819
14850
|
*
|
|
14820
14851
|
* @example
|
|
14821
14852
|
* idaas-cn-hangzhou-p****
|
|
@@ -14823,7 +14854,7 @@ export class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
14823
14854
|
IDaaSInstanceId?: string;
|
|
14824
14855
|
/**
|
|
14825
14856
|
* @remarks
|
|
14826
|
-
* The ID of the
|
|
14857
|
+
* The region ID of the IDaaS EIAM instance.
|
|
14827
14858
|
*
|
|
14828
14859
|
* @example
|
|
14829
14860
|
* cn-hangzhou
|
|
@@ -18017,9 +18048,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18017
18048
|
clientToken?: string;
|
|
18018
18049
|
/**
|
|
18019
18050
|
* @remarks
|
|
18020
|
-
* The
|
|
18021
|
-
*
|
|
18022
|
-
* This parameter is required.
|
|
18051
|
+
* The customer gateway ID.
|
|
18023
18052
|
*
|
|
18024
18053
|
* @example
|
|
18025
18054
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -18058,6 +18087,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18058
18087
|
* true
|
|
18059
18088
|
*/
|
|
18060
18089
|
enableNatTraversal?: boolean;
|
|
18090
|
+
enableTunnelsBgp?: boolean;
|
|
18061
18091
|
/**
|
|
18062
18092
|
* @remarks
|
|
18063
18093
|
* The health check configuration:
|
|
@@ -18085,14 +18115,14 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18085
18115
|
* @remarks
|
|
18086
18116
|
* The configurations of Phase 1 negotiations:
|
|
18087
18117
|
*
|
|
18088
|
-
* * **IkeConfig.Psk**:
|
|
18118
|
+
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
18089
18119
|
*
|
|
18090
|
-
* *
|
|
18091
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
18120
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
18121
|
+
* * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
18092
18122
|
*
|
|
18093
|
-
* > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise,
|
|
18123
|
+
* > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
18094
18124
|
*
|
|
18095
|
-
* * **IkeConfig.IkeVersion**: the IKE
|
|
18125
|
+
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
18096
18126
|
*
|
|
18097
18127
|
* * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
18098
18128
|
*
|
|
@@ -18102,9 +18132,9 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18102
18132
|
*
|
|
18103
18133
|
* * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
|
|
18104
18134
|
*
|
|
18105
|
-
* * **IkeConfig.IkeLifetime**: the SA lifetime
|
|
18135
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
18106
18136
|
*
|
|
18107
|
-
* * **IkeConfig.
|
|
18137
|
+
* * **IkeConfig.LocalIdIPsec**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is left empty by default.
|
|
18108
18138
|
*
|
|
18109
18139
|
* * **IkeConfig.RemoteId**: the identifier on the data center side. The identifier cannot exceed 100 characters in length. The default value is the IP address of the customer gateway.
|
|
18110
18140
|
*
|
|
@@ -18223,6 +18253,11 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18223
18253
|
* Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
|
|
18224
18254
|
*/
|
|
18225
18255
|
tags?: CreateVpnAttachmentRequestTags[];
|
|
18256
|
+
/**
|
|
18257
|
+
* **if can be null:**
|
|
18258
|
+
* true
|
|
18259
|
+
*/
|
|
18260
|
+
tunnelOptionsSpecification?: CreateVpnAttachmentRequestTunnelOptionsSpecification[];
|
|
18226
18261
|
static names(): { [key: string]: string } {
|
|
18227
18262
|
return {
|
|
18228
18263
|
autoConfigRoute: 'AutoConfigRoute',
|
|
@@ -18232,6 +18267,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18232
18267
|
effectImmediately: 'EffectImmediately',
|
|
18233
18268
|
enableDpd: 'EnableDpd',
|
|
18234
18269
|
enableNatTraversal: 'EnableNatTraversal',
|
|
18270
|
+
enableTunnelsBgp: 'EnableTunnelsBgp',
|
|
18235
18271
|
healthCheckConfig: 'HealthCheckConfig',
|
|
18236
18272
|
ikeConfig: 'IkeConfig',
|
|
18237
18273
|
ipsecConfig: 'IpsecConfig',
|
|
@@ -18246,6 +18282,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18246
18282
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
18247
18283
|
resourceOwnerId: 'ResourceOwnerId',
|
|
18248
18284
|
tags: 'Tags',
|
|
18285
|
+
tunnelOptionsSpecification: 'TunnelOptionsSpecification',
|
|
18249
18286
|
};
|
|
18250
18287
|
}
|
|
18251
18288
|
|
|
@@ -18258,6 +18295,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18258
18295
|
effectImmediately: 'boolean',
|
|
18259
18296
|
enableDpd: 'boolean',
|
|
18260
18297
|
enableNatTraversal: 'boolean',
|
|
18298
|
+
enableTunnelsBgp: 'boolean',
|
|
18261
18299
|
healthCheckConfig: 'string',
|
|
18262
18300
|
ikeConfig: 'string',
|
|
18263
18301
|
ipsecConfig: 'string',
|
|
@@ -18272,6 +18310,7 @@ export class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
18272
18310
|
resourceOwnerAccount: 'string',
|
|
18273
18311
|
resourceOwnerId: 'number',
|
|
18274
18312
|
tags: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTags },
|
|
18313
|
+
tunnelOptionsSpecification: { 'type': 'array', 'itemType': CreateVpnAttachmentRequestTunnelOptionsSpecification },
|
|
18275
18314
|
};
|
|
18276
18315
|
}
|
|
18277
18316
|
|
|
@@ -18522,26 +18561,28 @@ export class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
18522
18561
|
healthCheckConfig?: string;
|
|
18523
18562
|
/**
|
|
18524
18563
|
* @remarks
|
|
18525
|
-
* This parameter is
|
|
18564
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
18526
18565
|
*
|
|
18527
18566
|
* The configurations of Phase 1 negotiations:
|
|
18528
18567
|
*
|
|
18529
|
-
* * **IkeConfig.Psk**:
|
|
18568
|
+
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
18569
|
+
*
|
|
18570
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
18530
18571
|
*
|
|
18531
|
-
* *
|
|
18572
|
+
* * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
18532
18573
|
*
|
|
18533
|
-
*
|
|
18574
|
+
* **
|
|
18534
18575
|
*
|
|
18535
|
-
*
|
|
18576
|
+
* **Note** The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
18536
18577
|
*
|
|
18537
18578
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
18538
18579
|
*
|
|
18539
|
-
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and
|
|
18580
|
+
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
18540
18581
|
*
|
|
18541
18582
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
18542
18583
|
*
|
|
18543
18584
|
* * **main:** This mode offers higher security during negotiations.
|
|
18544
|
-
* * **aggressive
|
|
18585
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
18545
18586
|
*
|
|
18546
18587
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
18547
18588
|
*
|
|
@@ -18551,13 +18592,13 @@ export class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
18551
18592
|
*
|
|
18552
18593
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
18553
18594
|
*
|
|
18554
|
-
* * **IkeConfig.IkePfs**: the Diffie-Hellman
|
|
18595
|
+
* * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
|
|
18555
18596
|
*
|
|
18556
|
-
* * **IkeConfig.IkeLifetime**: the SA lifetime
|
|
18597
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
18557
18598
|
*
|
|
18558
|
-
* * **IkeConfig.LocalId**: the identifier of the VPN gateway.
|
|
18599
|
+
* * **IkeConfig.LocalId**: the identifier of the VPN gateway. It can contain at most 100 characters. The default value is the IP address of the VPN gateway.
|
|
18559
18600
|
*
|
|
18560
|
-
* * **IkeConfig.RemoteId**: the identifier of the customer gateway.
|
|
18601
|
+
* * **IkeConfig.RemoteId**: the identifier of the customer gateway. It can contain at most 100 characters. The default value is the IP address of the customer gateway.
|
|
18561
18602
|
*
|
|
18562
18603
|
* @example
|
|
18563
18604
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -18669,8 +18710,8 @@ export class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
18669
18710
|
* @remarks
|
|
18670
18711
|
* The tunnel configurations.
|
|
18671
18712
|
*
|
|
18672
|
-
* * You can specify
|
|
18673
|
-
* *
|
|
18713
|
+
* * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
|
|
18714
|
+
* * When you create an IPsec-VPN connection in dual tunnel mode, you must add configurations of the active and standby tunnels for the IPsec-VPN connection. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
|
|
18674
18715
|
*
|
|
18675
18716
|
* **if can be null:**
|
|
18676
18717
|
* true
|
|
@@ -38830,6 +38871,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
|
|
|
38830
38871
|
* The list of routes.
|
|
38831
38872
|
*/
|
|
38832
38873
|
vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
|
|
38874
|
+
vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
|
|
38833
38875
|
static names(): { [key: string]: string } {
|
|
38834
38876
|
return {
|
|
38835
38877
|
pageNumber: 'PageNumber',
|
|
@@ -38837,6 +38879,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
|
|
|
38837
38879
|
requestId: 'RequestId',
|
|
38838
38880
|
totalCount: 'TotalCount',
|
|
38839
38881
|
vcoRouteEntries: 'VcoRouteEntries',
|
|
38882
|
+
vpnRouteCounts: 'VpnRouteCounts',
|
|
38840
38883
|
};
|
|
38841
38884
|
}
|
|
38842
38885
|
|
|
@@ -38847,6 +38890,7 @@ export class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
|
|
|
38847
38890
|
requestId: 'string',
|
|
38848
38891
|
totalCount: 'number',
|
|
38849
38892
|
vcoRouteEntries: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVcoRouteEntries },
|
|
38893
|
+
vpnRouteCounts: { 'type': 'array', 'itemType': DescribeVcoRouteEntriesResponseBodyVpnRouteCounts },
|
|
38850
38894
|
};
|
|
38851
38895
|
}
|
|
38852
38896
|
|
|
@@ -41359,31 +41403,36 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
41359
41403
|
status?: string;
|
|
41360
41404
|
/**
|
|
41361
41405
|
* @remarks
|
|
41362
|
-
* The automatically generated tag of the
|
|
41406
|
+
* The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
|
|
41363
41407
|
*
|
|
41364
41408
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
41365
41409
|
*
|
|
41366
41410
|
* * **true**
|
|
41367
41411
|
* * **false**
|
|
41368
41412
|
*
|
|
41369
|
-
* * **VisuallySsl**: indicates whether the VPN gateway allows you to view information
|
|
41413
|
+
* * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
|
|
41370
41414
|
*
|
|
41371
41415
|
* * **true**
|
|
41372
41416
|
* * **false**
|
|
41373
41417
|
*
|
|
41374
|
-
* * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
|
|
41418
|
+
* * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
|
|
41375
41419
|
*
|
|
41376
41420
|
* * **true**
|
|
41377
41421
|
* * **false**
|
|
41378
41422
|
*
|
|
41379
|
-
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
|
|
41423
|
+
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
41380
41424
|
*
|
|
41381
41425
|
* * **true**
|
|
41382
41426
|
* * **false**
|
|
41383
41427
|
*
|
|
41384
|
-
* * **description
|
|
41428
|
+
* * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
41429
|
+
*
|
|
41430
|
+
* * **VpnVersion**: the version of the VPN gateway.
|
|
41431
|
+
*
|
|
41432
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
41385
41433
|
*
|
|
41386
|
-
*
|
|
41434
|
+
* * **true**
|
|
41435
|
+
* * **false**
|
|
41387
41436
|
*
|
|
41388
41437
|
* @example
|
|
41389
41438
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
@@ -41391,7 +41440,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
41391
41440
|
tag?: string;
|
|
41392
41441
|
/**
|
|
41393
41442
|
* @remarks
|
|
41394
|
-
* The
|
|
41443
|
+
* The tags that are added to the VPN gateway.
|
|
41395
41444
|
*/
|
|
41396
41445
|
tags?: DescribeVpnGatewayResponseBodyTags;
|
|
41397
41446
|
/**
|
|
@@ -41420,9 +41469,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
41420
41469
|
vpnGatewayId?: string;
|
|
41421
41470
|
/**
|
|
41422
41471
|
* @remarks
|
|
41423
|
-
* The type of
|
|
41424
|
-
*
|
|
41425
|
-
* Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
41472
|
+
* The type of VPN gateway. Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
41426
41473
|
*
|
|
41427
41474
|
* @example
|
|
41428
41475
|
* Normal
|
|
@@ -41718,11 +41765,7 @@ export class DescribeVpnGatewaysRequest extends $tea.Model {
|
|
|
41718
41765
|
status?: string;
|
|
41719
41766
|
/**
|
|
41720
41767
|
* @remarks
|
|
41721
|
-
* The
|
|
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.
|
|
41768
|
+
* The tags that are added to the VPN gateway.
|
|
41726
41769
|
*/
|
|
41727
41770
|
tag?: DescribeVpnGatewaysRequestTag[];
|
|
41728
41771
|
/**
|
|
@@ -41819,7 +41862,7 @@ export class DescribeVpnGatewaysResponseBody extends $tea.Model {
|
|
|
41819
41862
|
totalCount?: number;
|
|
41820
41863
|
/**
|
|
41821
41864
|
* @remarks
|
|
41822
|
-
* The VPN gateways.
|
|
41865
|
+
* The information about the VPN gateways.
|
|
41823
41866
|
*/
|
|
41824
41867
|
vpnGateways?: DescribeVpnGatewaysResponseBodyVpnGateways;
|
|
41825
41868
|
static names(): { [key: string]: string } {
|
|
@@ -42154,6 +42197,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
|
|
|
42154
42197
|
* 1
|
|
42155
42198
|
*/
|
|
42156
42199
|
totalCount?: number;
|
|
42200
|
+
vpnRouteCounts?: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts;
|
|
42157
42201
|
/**
|
|
42158
42202
|
* @remarks
|
|
42159
42203
|
* The list of route entries.
|
|
@@ -42165,6 +42209,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
|
|
|
42165
42209
|
pageSize: 'PageSize',
|
|
42166
42210
|
requestId: 'RequestId',
|
|
42167
42211
|
totalCount: 'TotalCount',
|
|
42212
|
+
vpnRouteCounts: 'VpnRouteCounts',
|
|
42168
42213
|
vpnRouteEntries: 'VpnRouteEntries',
|
|
42169
42214
|
};
|
|
42170
42215
|
}
|
|
@@ -42175,6 +42220,7 @@ export class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
|
|
|
42175
42220
|
pageSize: 'number',
|
|
42176
42221
|
requestId: 'string',
|
|
42177
42222
|
totalCount: 'number',
|
|
42223
|
+
vpnRouteCounts: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts,
|
|
42178
42224
|
vpnRouteEntries: DescribeVpnRouteEntriesResponseBodyVpnRouteEntries,
|
|
42179
42225
|
};
|
|
42180
42226
|
}
|
|
@@ -43541,7 +43587,7 @@ export class DissociateVpnGatewayWithCertificateRequest extends $tea.Model {
|
|
|
43541
43587
|
* @remarks
|
|
43542
43588
|
* The certificate ID.
|
|
43543
43589
|
*
|
|
43544
|
-
* >
|
|
43590
|
+
* > The certificate ID refers to the ID generated after the SSL certificate is associated with the VPN gateway. It is not the ID of the SSL certificate. You can call the [ListVpnCertificateAssociations](https://help.aliyun.com/document_detail/2521961.html) operation to query certificate IDs.
|
|
43545
43591
|
*
|
|
43546
43592
|
* This parameter is required.
|
|
43547
43593
|
*
|
|
@@ -59867,6 +59913,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
59867
59913
|
* true
|
|
59868
59914
|
*/
|
|
59869
59915
|
enableNatTraversal?: boolean;
|
|
59916
|
+
/**
|
|
59917
|
+
* **if can be null:**
|
|
59918
|
+
* true
|
|
59919
|
+
*/
|
|
59920
|
+
enableTunnelsBgp?: boolean;
|
|
59870
59921
|
/**
|
|
59871
59922
|
* @remarks
|
|
59872
59923
|
* The health check configurations:
|
|
@@ -60011,6 +60062,11 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
60011
60062
|
remoteSubnet?: string;
|
|
60012
60063
|
resourceOwnerAccount?: string;
|
|
60013
60064
|
resourceOwnerId?: number;
|
|
60065
|
+
/**
|
|
60066
|
+
* **if can be null:**
|
|
60067
|
+
* true
|
|
60068
|
+
*/
|
|
60069
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification[];
|
|
60014
60070
|
/**
|
|
60015
60071
|
* @remarks
|
|
60016
60072
|
* The ID of the IPsec-VPN connection.
|
|
@@ -60030,6 +60086,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
60030
60086
|
effectImmediately: 'EffectImmediately',
|
|
60031
60087
|
enableDpd: 'EnableDpd',
|
|
60032
60088
|
enableNatTraversal: 'EnableNatTraversal',
|
|
60089
|
+
enableTunnelsBgp: 'EnableTunnelsBgp',
|
|
60033
60090
|
healthCheckConfig: 'HealthCheckConfig',
|
|
60034
60091
|
ikeConfig: 'IkeConfig',
|
|
60035
60092
|
ipsecConfig: 'IpsecConfig',
|
|
@@ -60042,6 +60099,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
60042
60099
|
remoteSubnet: 'RemoteSubnet',
|
|
60043
60100
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
60044
60101
|
resourceOwnerId: 'ResourceOwnerId',
|
|
60102
|
+
tunnelOptionsSpecification: 'TunnelOptionsSpecification',
|
|
60045
60103
|
vpnConnectionId: 'VpnConnectionId',
|
|
60046
60104
|
};
|
|
60047
60105
|
}
|
|
@@ -60055,6 +60113,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
60055
60113
|
effectImmediately: 'boolean',
|
|
60056
60114
|
enableDpd: 'boolean',
|
|
60057
60115
|
enableNatTraversal: 'boolean',
|
|
60116
|
+
enableTunnelsBgp: 'boolean',
|
|
60058
60117
|
healthCheckConfig: 'string',
|
|
60059
60118
|
ikeConfig: 'string',
|
|
60060
60119
|
ipsecConfig: 'string',
|
|
@@ -60067,6 +60126,7 @@ export class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
60067
60126
|
remoteSubnet: 'string',
|
|
60068
60127
|
resourceOwnerAccount: 'string',
|
|
60069
60128
|
resourceOwnerId: 'number',
|
|
60129
|
+
tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification },
|
|
60070
60130
|
vpnConnectionId: 'string',
|
|
60071
60131
|
};
|
|
60072
60132
|
}
|
|
@@ -60156,6 +60216,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60156
60216
|
* true
|
|
60157
60217
|
*/
|
|
60158
60218
|
enableNatTraversal?: boolean;
|
|
60219
|
+
enableTunnelsBgp?: boolean;
|
|
60159
60220
|
/**
|
|
60160
60221
|
* @remarks
|
|
60161
60222
|
* The configuration of Phase 1 negotiations.
|
|
@@ -60242,6 +60303,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60242
60303
|
* ike_sa_not_established
|
|
60243
60304
|
*/
|
|
60244
60305
|
status?: string;
|
|
60306
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
|
|
60245
60307
|
/**
|
|
60246
60308
|
* @remarks
|
|
60247
60309
|
* The health check configuration of the IPsec-VPN connection.
|
|
@@ -60278,6 +60340,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60278
60340
|
effectImmediately: 'EffectImmediately',
|
|
60279
60341
|
enableDpd: 'EnableDpd',
|
|
60280
60342
|
enableNatTraversal: 'EnableNatTraversal',
|
|
60343
|
+
enableTunnelsBgp: 'EnableTunnelsBgp',
|
|
60281
60344
|
ikeConfig: 'IkeConfig',
|
|
60282
60345
|
ipsecConfig: 'IpsecConfig',
|
|
60283
60346
|
localSubnet: 'LocalSubnet',
|
|
@@ -60288,6 +60351,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60288
60351
|
resourceGroupId: 'ResourceGroupId',
|
|
60289
60352
|
spec: 'Spec',
|
|
60290
60353
|
status: 'Status',
|
|
60354
|
+
tunnelOptionsSpecification: 'TunnelOptionsSpecification',
|
|
60291
60355
|
vcoHealthCheck: 'VcoHealthCheck',
|
|
60292
60356
|
vpnBgpConfig: 'VpnBgpConfig',
|
|
60293
60357
|
vpnConnectionId: 'VpnConnectionId',
|
|
@@ -60305,6 +60369,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60305
60369
|
effectImmediately: 'boolean',
|
|
60306
60370
|
enableDpd: 'boolean',
|
|
60307
60371
|
enableNatTraversal: 'boolean',
|
|
60372
|
+
enableTunnelsBgp: 'boolean',
|
|
60308
60373
|
ikeConfig: ModifyVpnAttachmentAttributeResponseBodyIkeConfig,
|
|
60309
60374
|
ipsecConfig: ModifyVpnAttachmentAttributeResponseBodyIpsecConfig,
|
|
60310
60375
|
localSubnet: 'string',
|
|
@@ -60315,6 +60380,7 @@ export class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model {
|
|
|
60315
60380
|
resourceGroupId: 'string',
|
|
60316
60381
|
spec: 'string',
|
|
60317
60382
|
status: 'string',
|
|
60383
|
+
tunnelOptionsSpecification: { 'type': 'array', 'itemType': ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification },
|
|
60318
60384
|
vcoHealthCheck: ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck,
|
|
60319
60385
|
vpnBgpConfig: ModifyVpnAttachmentAttributeResponseBodyVpnBgpConfig,
|
|
60320
60386
|
vpnConnectionId: 'string',
|
|
@@ -60366,27 +60432,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
60366
60432
|
autoConfigRoute?: boolean;
|
|
60367
60433
|
/**
|
|
60368
60434
|
* @remarks
|
|
60369
|
-
* This parameter is supported
|
|
60435
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
60370
60436
|
*
|
|
60371
|
-
*
|
|
60437
|
+
* BGP configuration:
|
|
60372
60438
|
*
|
|
60373
|
-
* * **BgpConfig.EnableBgp
|
|
60439
|
+
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**.
|
|
60374
60440
|
*
|
|
60375
60441
|
* * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
60376
60442
|
*
|
|
60377
|
-
* You can enter
|
|
60443
|
+
* You can enter a value in two segments separated by a period (.). Each segment is 16 bits in length. Enter the number in each segment in decimal format.
|
|
60378
60444
|
*
|
|
60379
|
-
* For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
|
|
60445
|
+
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
60380
60446
|
*
|
|
60381
|
-
* * **BgpConfig.TunnelCidr**:
|
|
60447
|
+
* * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
|
|
60382
60448
|
*
|
|
60383
|
-
* > The CIDR block of the IPsec tunnel
|
|
60449
|
+
* > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
|
|
60384
60450
|
*
|
|
60385
|
-
* * **LocalBgpIp**: the BGP
|
|
60451
|
+
* * **LocalBgpIp**: the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
|
|
60386
60452
|
*
|
|
60387
60453
|
* > - This parameter is required when the VPN gateway has dynamic BGP enabled.
|
|
60388
|
-
* > - Before you
|
|
60389
|
-
* > - We recommend that you use a private ASN to establish
|
|
60454
|
+
* > - Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
|
|
60455
|
+
* > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
|
|
60390
60456
|
*
|
|
60391
60457
|
* @example
|
|
60392
60458
|
* {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -60472,25 +60538,27 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
60472
60538
|
healthCheckConfig?: string;
|
|
60473
60539
|
/**
|
|
60474
60540
|
* @remarks
|
|
60475
|
-
* This parameter is supported
|
|
60541
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
60476
60542
|
*
|
|
60477
60543
|
* The configurations of Phase 1 negotiations:
|
|
60478
60544
|
*
|
|
60479
|
-
* * **IkeConfig.Psk**:
|
|
60545
|
+
* * **IkeConfig.Psk**: The pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
60546
|
+
*
|
|
60547
|
+
* * The key cannot contain space characters. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
60548
|
+
* * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
60480
60549
|
*
|
|
60481
|
-
*
|
|
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.
|
|
60550
|
+
* **
|
|
60483
60551
|
*
|
|
60484
|
-
*
|
|
60552
|
+
* **Description** The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises data center. Otherwise, connections between the on-premises data center and the VPN gateway cannot be established.
|
|
60485
60553
|
*
|
|
60486
60554
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
|
|
60487
60555
|
*
|
|
60488
|
-
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and
|
|
60556
|
+
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
60489
60557
|
*
|
|
60490
60558
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**.
|
|
60491
60559
|
*
|
|
60492
|
-
* * **main
|
|
60493
|
-
* * **aggressive
|
|
60560
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
60561
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
60494
60562
|
*
|
|
60495
60563
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
60496
60564
|
*
|
|
@@ -60500,13 +60568,13 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
60500
60568
|
*
|
|
60501
60569
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
60502
60570
|
*
|
|
60503
|
-
* * **IkeConfig.IkePfs**: the Diffie-Hellman
|
|
60571
|
+
* * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
60504
60572
|
*
|
|
60505
|
-
* * **IkeConfig.IkeLifetime**: the
|
|
60573
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
|
|
60506
60574
|
*
|
|
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.
|
|
60575
|
+
* * **IkeConfig.LocalId**: the identifier of the VPN gateway. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the VPN gateway.
|
|
60508
60576
|
*
|
|
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.
|
|
60577
|
+
* * **IkeConfig.RemoteId**: the identifier of the customer gateway. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway.
|
|
60510
60578
|
*
|
|
60511
60579
|
* @example
|
|
60512
60580
|
* {"Psk":"pgw6dy7d1i8i****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"116.64.XX.XX","RemoteId":"139.18.XX.XX"}
|
|
@@ -60606,7 +60674,7 @@ export class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
60606
60674
|
* @remarks
|
|
60607
60675
|
* The tunnel configurations.
|
|
60608
60676
|
*
|
|
60609
|
-
* You can specify
|
|
60677
|
+
* You can specify parameters in the **TunnelOptionsSpecification** array when you modify the configurations of an IPsec-VPN connection in dual-tunnel mode. You can modify the configurations of both the active and standby tunnels of the IPsec-VPN connection.
|
|
60610
60678
|
*
|
|
60611
60679
|
* **if can be null:**
|
|
60612
60680
|
* true
|
|
@@ -70642,7 +70710,28 @@ export class CreateIpv6GatewayRequestTag extends $tea.Model {
|
|
|
70642
70710
|
}
|
|
70643
70711
|
|
|
70644
70712
|
export class CreateNatGatewayRequestAccessMode extends $tea.Model {
|
|
70713
|
+
/**
|
|
70714
|
+
* @remarks
|
|
70715
|
+
* Access mode. Valid values:
|
|
70716
|
+
*
|
|
70717
|
+
* - **route**: route mode
|
|
70718
|
+
*
|
|
70719
|
+
* - **tunnel**: tunnel mode
|
|
70720
|
+
*
|
|
70721
|
+
* > If this parameter is specified, you must set **PrivateLinkEnabled** to **true**.
|
|
70722
|
+
*
|
|
70723
|
+
* @example
|
|
70724
|
+
* route
|
|
70725
|
+
*/
|
|
70645
70726
|
modeValue?: string;
|
|
70727
|
+
/**
|
|
70728
|
+
* @remarks
|
|
70729
|
+
* Tunnel mode type:
|
|
70730
|
+
*
|
|
70731
|
+
* - **geneve**: Geneve type
|
|
70732
|
+
*
|
|
70733
|
+
* > This value takes effect if the access mode is the tunnel mode.
|
|
70734
|
+
*/
|
|
70646
70735
|
tunnelType?: string;
|
|
70647
70736
|
static names(): { [key: string]: string } {
|
|
70648
70737
|
return {
|
|
@@ -70666,7 +70755,7 @@ export class CreateNatGatewayRequestAccessMode extends $tea.Model {
|
|
|
70666
70755
|
export class CreateNatGatewayRequestTag extends $tea.Model {
|
|
70667
70756
|
/**
|
|
70668
70757
|
* @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
|
|
70758
|
+
* The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
70670
70759
|
*
|
|
70671
70760
|
* @example
|
|
70672
70761
|
* TestKey
|
|
@@ -70674,7 +70763,7 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
|
|
|
70674
70763
|
key?: string;
|
|
70675
70764
|
/**
|
|
70676
70765
|
* @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
|
|
70766
|
+
* The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
70678
70767
|
*
|
|
70679
70768
|
* @example
|
|
70680
70769
|
* TestValue
|
|
@@ -70702,7 +70791,7 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
|
|
|
70702
70791
|
export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
|
|
70703
70792
|
/**
|
|
70704
70793
|
* @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
|
|
70794
|
+
* The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
70706
70795
|
*
|
|
70707
70796
|
* @example
|
|
70708
70797
|
* TestKey
|
|
@@ -70710,7 +70799,7 @@ export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
|
|
|
70710
70799
|
key?: string;
|
|
70711
70800
|
/**
|
|
70712
70801
|
* @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
|
|
70802
|
+
* The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain http:// or https://. The tag key cannot start with acs: or aliyun.
|
|
70714
70803
|
*
|
|
70715
70804
|
* @example
|
|
70716
70805
|
* TestValue
|
|
@@ -72541,80 +72630,9 @@ export class CreateVpnAttachmentRequestTags extends $tea.Model {
|
|
|
72541
72630
|
}
|
|
72542
72631
|
}
|
|
72543
72632
|
|
|
72544
|
-
export class
|
|
72545
|
-
/**
|
|
72546
|
-
* @remarks
|
|
72547
|
-
* The tag key. The tag key cannot be an empty string.
|
|
72548
|
-
*
|
|
72549
|
-
* It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
|
|
72550
|
-
*
|
|
72551
|
-
* You can specify at most 20 tag keys in each call.
|
|
72552
|
-
*
|
|
72553
|
-
* @example
|
|
72554
|
-
* TagKey
|
|
72555
|
-
*/
|
|
72556
|
-
key?: string;
|
|
72557
|
-
/**
|
|
72558
|
-
* @remarks
|
|
72559
|
-
* The tag value.
|
|
72560
|
-
*
|
|
72561
|
-
* 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://`.
|
|
72562
|
-
*
|
|
72563
|
-
* Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
|
|
72564
|
-
*
|
|
72565
|
-
* @example
|
|
72566
|
-
* TagValue
|
|
72567
|
-
*/
|
|
72568
|
-
value?: string;
|
|
72569
|
-
static names(): { [key: string]: string } {
|
|
72570
|
-
return {
|
|
72571
|
-
key: 'Key',
|
|
72572
|
-
value: 'Value',
|
|
72573
|
-
};
|
|
72574
|
-
}
|
|
72575
|
-
|
|
72576
|
-
static types(): { [key: string]: any } {
|
|
72577
|
-
return {
|
|
72578
|
-
key: 'string',
|
|
72579
|
-
value: 'string',
|
|
72580
|
-
};
|
|
72581
|
-
}
|
|
72582
|
-
|
|
72583
|
-
constructor(map?: { [key: string]: any }) {
|
|
72584
|
-
super(map);
|
|
72585
|
-
}
|
|
72586
|
-
}
|
|
72587
|
-
|
|
72588
|
-
export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
72589
|
-
/**
|
|
72590
|
-
* @remarks
|
|
72591
|
-
* The ASN on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
72592
|
-
*
|
|
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.
|
|
72596
|
-
*
|
|
72597
|
-
* @example
|
|
72598
|
-
* 65530
|
|
72599
|
-
*/
|
|
72633
|
+
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
72600
72634
|
localAsn?: number;
|
|
72601
|
-
/**
|
|
72602
|
-
* @remarks
|
|
72603
|
-
* The BGP address on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block range.
|
|
72604
|
-
*
|
|
72605
|
-
* @example
|
|
72606
|
-
* 169.254.10.1
|
|
72607
|
-
*/
|
|
72608
72635
|
localBgpIp?: string;
|
|
72609
|
-
/**
|
|
72610
|
-
* @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.
|
|
72612
|
-
*
|
|
72613
|
-
* > The BGP CIDR block of a tunnel associated with a VPN gateway must be unique.
|
|
72614
|
-
*
|
|
72615
|
-
* @example
|
|
72616
|
-
* 169.254.10.0/30
|
|
72617
|
-
*/
|
|
72618
72636
|
tunnelCidr?: string;
|
|
72619
72637
|
static names(): { [key: string]: string } {
|
|
72620
72638
|
return {
|
|
@@ -72637,99 +72655,305 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig
|
|
|
72637
72655
|
}
|
|
72638
72656
|
}
|
|
72639
72657
|
|
|
72640
|
-
export class
|
|
72641
|
-
/**
|
|
72642
|
-
* @remarks
|
|
72643
|
-
* The authentication algorithm that is used in Phase 1 negotiations.
|
|
72644
|
-
*
|
|
72645
|
-
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
72646
|
-
*
|
|
72647
|
-
* @example
|
|
72648
|
-
* md5
|
|
72649
|
-
*/
|
|
72658
|
+
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
72650
72659
|
ikeAuthAlg?: string;
|
|
72651
|
-
/**
|
|
72652
|
-
* @remarks
|
|
72653
|
-
* The encryption algorithm that is used in Phase 1 negotiations.
|
|
72654
|
-
*
|
|
72655
|
-
* Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**. Default value: **aes**.
|
|
72656
|
-
*
|
|
72657
|
-
* @example
|
|
72658
|
-
* aes
|
|
72659
|
-
*/
|
|
72660
72660
|
ikeEncAlg?: string;
|
|
72661
|
-
/**
|
|
72662
|
-
* @remarks
|
|
72663
|
-
* The SA lifetime that is determined by Phase 1 negotiations. Unit: seconds.
|
|
72664
|
-
*
|
|
72665
|
-
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
72666
|
-
*
|
|
72667
|
-
* @example
|
|
72668
|
-
* 86400
|
|
72669
|
-
*/
|
|
72670
72661
|
ikeLifetime?: number;
|
|
72671
|
-
/**
|
|
72672
|
-
* @remarks
|
|
72673
|
-
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
72674
|
-
*
|
|
72675
|
-
* * **main**: This mode offers higher security during negotiations.
|
|
72676
|
-
* * **aggressive**: This mode is faster and has a higher success rate.
|
|
72677
|
-
*
|
|
72678
|
-
* @example
|
|
72679
|
-
* main
|
|
72680
|
-
*/
|
|
72681
72662
|
ikeMode?: string;
|
|
72682
|
-
/**
|
|
72683
|
-
* @remarks
|
|
72684
|
-
* The DH key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
|
|
72685
|
-
* Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
72686
|
-
*
|
|
72687
|
-
* @example
|
|
72688
|
-
* group2
|
|
72689
|
-
*/
|
|
72690
72663
|
ikePfs?: string;
|
|
72691
|
-
/**
|
|
72692
|
-
* @remarks
|
|
72693
|
-
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
72694
|
-
*
|
|
72695
|
-
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and is more suitable for scenarios in which multiple CIDR blocks are used.
|
|
72696
|
-
*
|
|
72697
|
-
* @example
|
|
72698
|
-
* ikev1
|
|
72699
|
-
*/
|
|
72700
72664
|
ikeVersion?: string;
|
|
72701
|
-
/**
|
|
72702
|
-
* @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.
|
|
72704
|
-
*
|
|
72705
|
-
* You can set **LocalId** to a fully qualified domain name (FQDN). In this case, we recommend that you set IkeMode to **aggressive**.
|
|
72706
|
-
*
|
|
72707
|
-
* @example
|
|
72708
|
-
* 47.21.XX.XX
|
|
72709
|
-
*/
|
|
72710
72665
|
localId?: string;
|
|
72711
|
-
/**
|
|
72712
|
-
* @remarks
|
|
72713
|
-
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
72714
|
-
*
|
|
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.
|
|
72717
|
-
*
|
|
72718
|
-
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
72719
|
-
*
|
|
72720
|
-
* @example
|
|
72721
|
-
* 123456****
|
|
72722
|
-
*/
|
|
72723
72666
|
psk?: string;
|
|
72724
|
-
|
|
72725
|
-
|
|
72726
|
-
|
|
72727
|
-
|
|
72728
|
-
|
|
72729
|
-
|
|
72730
|
-
|
|
72731
|
-
|
|
72732
|
-
|
|
72667
|
+
remoteId?: string;
|
|
72668
|
+
static names(): { [key: string]: string } {
|
|
72669
|
+
return {
|
|
72670
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
72671
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
72672
|
+
ikeLifetime: 'IkeLifetime',
|
|
72673
|
+
ikeMode: 'IkeMode',
|
|
72674
|
+
ikePfs: 'IkePfs',
|
|
72675
|
+
ikeVersion: 'IkeVersion',
|
|
72676
|
+
localId: 'LocalId',
|
|
72677
|
+
psk: 'Psk',
|
|
72678
|
+
remoteId: 'RemoteId',
|
|
72679
|
+
};
|
|
72680
|
+
}
|
|
72681
|
+
|
|
72682
|
+
static types(): { [key: string]: any } {
|
|
72683
|
+
return {
|
|
72684
|
+
ikeAuthAlg: 'string',
|
|
72685
|
+
ikeEncAlg: 'string',
|
|
72686
|
+
ikeLifetime: 'number',
|
|
72687
|
+
ikeMode: 'string',
|
|
72688
|
+
ikePfs: 'string',
|
|
72689
|
+
ikeVersion: 'string',
|
|
72690
|
+
localId: 'string',
|
|
72691
|
+
psk: 'string',
|
|
72692
|
+
remoteId: 'string',
|
|
72693
|
+
};
|
|
72694
|
+
}
|
|
72695
|
+
|
|
72696
|
+
constructor(map?: { [key: string]: any }) {
|
|
72697
|
+
super(map);
|
|
72698
|
+
}
|
|
72699
|
+
}
|
|
72700
|
+
|
|
72701
|
+
export class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
72702
|
+
ipsecAuthAlg?: string;
|
|
72703
|
+
ipsecEncAlg?: string;
|
|
72704
|
+
ipsecLifetime?: number;
|
|
72705
|
+
ipsecPfs?: string;
|
|
72706
|
+
static names(): { [key: string]: string } {
|
|
72707
|
+
return {
|
|
72708
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
72709
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
72710
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
72711
|
+
ipsecPfs: 'IpsecPfs',
|
|
72712
|
+
};
|
|
72713
|
+
}
|
|
72714
|
+
|
|
72715
|
+
static types(): { [key: string]: any } {
|
|
72716
|
+
return {
|
|
72717
|
+
ipsecAuthAlg: 'string',
|
|
72718
|
+
ipsecEncAlg: 'string',
|
|
72719
|
+
ipsecLifetime: 'number',
|
|
72720
|
+
ipsecPfs: 'string',
|
|
72721
|
+
};
|
|
72722
|
+
}
|
|
72723
|
+
|
|
72724
|
+
constructor(map?: { [key: string]: any }) {
|
|
72725
|
+
super(map);
|
|
72726
|
+
}
|
|
72727
|
+
}
|
|
72728
|
+
|
|
72729
|
+
export class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $tea.Model {
|
|
72730
|
+
customerGatewayId?: string;
|
|
72731
|
+
enableDpd?: boolean;
|
|
72732
|
+
enableNatTraversal?: boolean;
|
|
72733
|
+
tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
72734
|
+
tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
72735
|
+
tunnelIndex?: number;
|
|
72736
|
+
tunnelIpsecConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
72737
|
+
static names(): { [key: string]: string } {
|
|
72738
|
+
return {
|
|
72739
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
72740
|
+
enableDpd: 'EnableDpd',
|
|
72741
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
72742
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
72743
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
72744
|
+
tunnelIndex: 'TunnelIndex',
|
|
72745
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
72746
|
+
};
|
|
72747
|
+
}
|
|
72748
|
+
|
|
72749
|
+
static types(): { [key: string]: any } {
|
|
72750
|
+
return {
|
|
72751
|
+
customerGatewayId: 'string',
|
|
72752
|
+
enableDpd: 'boolean',
|
|
72753
|
+
enableNatTraversal: 'boolean',
|
|
72754
|
+
tunnelBgpConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig,
|
|
72755
|
+
tunnelIkeConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig,
|
|
72756
|
+
tunnelIndex: 'number',
|
|
72757
|
+
tunnelIpsecConfig: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
72758
|
+
};
|
|
72759
|
+
}
|
|
72760
|
+
|
|
72761
|
+
constructor(map?: { [key: string]: any }) {
|
|
72762
|
+
super(map);
|
|
72763
|
+
}
|
|
72764
|
+
}
|
|
72765
|
+
|
|
72766
|
+
export class CreateVpnConnectionRequestTags extends $tea.Model {
|
|
72767
|
+
/**
|
|
72768
|
+
* @remarks
|
|
72769
|
+
* The tag key. The tag key cannot be an empty string.
|
|
72770
|
+
*
|
|
72771
|
+
* It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
|
|
72772
|
+
*
|
|
72773
|
+
* You can specify at most 20 tag keys in each call.
|
|
72774
|
+
*
|
|
72775
|
+
* @example
|
|
72776
|
+
* TagKey
|
|
72777
|
+
*/
|
|
72778
|
+
key?: string;
|
|
72779
|
+
/**
|
|
72780
|
+
* @remarks
|
|
72781
|
+
* The tag value.
|
|
72782
|
+
*
|
|
72783
|
+
* 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://`.
|
|
72784
|
+
*
|
|
72785
|
+
* Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
|
|
72786
|
+
*
|
|
72787
|
+
* @example
|
|
72788
|
+
* TagValue
|
|
72789
|
+
*/
|
|
72790
|
+
value?: string;
|
|
72791
|
+
static names(): { [key: string]: string } {
|
|
72792
|
+
return {
|
|
72793
|
+
key: 'Key',
|
|
72794
|
+
value: 'Value',
|
|
72795
|
+
};
|
|
72796
|
+
}
|
|
72797
|
+
|
|
72798
|
+
static types(): { [key: string]: any } {
|
|
72799
|
+
return {
|
|
72800
|
+
key: 'string',
|
|
72801
|
+
value: 'string',
|
|
72802
|
+
};
|
|
72803
|
+
}
|
|
72804
|
+
|
|
72805
|
+
constructor(map?: { [key: string]: any }) {
|
|
72806
|
+
super(map);
|
|
72807
|
+
}
|
|
72808
|
+
}
|
|
72809
|
+
|
|
72810
|
+
export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
72811
|
+
/**
|
|
72812
|
+
* @remarks
|
|
72813
|
+
* The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
72814
|
+
*
|
|
72815
|
+
*
|
|
72816
|
+
*
|
|
72817
|
+
* > - If you set **EnableTunnelsBgp** to **true**, you must set this parameter.
|
|
72818
|
+
* > - Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
|
|
72819
|
+
* > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
|
|
72820
|
+
*
|
|
72821
|
+
* @example
|
|
72822
|
+
* 65530
|
|
72823
|
+
*/
|
|
72824
|
+
localAsn?: number;
|
|
72825
|
+
/**
|
|
72826
|
+
* @remarks
|
|
72827
|
+
* The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block.
|
|
72828
|
+
*
|
|
72829
|
+
* @example
|
|
72830
|
+
* 169.254.10.1
|
|
72831
|
+
*/
|
|
72832
|
+
localBgpIp?: string;
|
|
72833
|
+
/**
|
|
72834
|
+
* @remarks
|
|
72835
|
+
* The BGP CIDR block of the tunnel. The CIDR block must fall within the 169.254.0.0/16 range. The subnet mask of the CIDR block must be 30 bits in length.
|
|
72836
|
+
*
|
|
72837
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
72838
|
+
*
|
|
72839
|
+
* @example
|
|
72840
|
+
* 169.254.10.0/30
|
|
72841
|
+
*/
|
|
72842
|
+
tunnelCidr?: string;
|
|
72843
|
+
static names(): { [key: string]: string } {
|
|
72844
|
+
return {
|
|
72845
|
+
localAsn: 'LocalAsn',
|
|
72846
|
+
localBgpIp: 'LocalBgpIp',
|
|
72847
|
+
tunnelCidr: 'TunnelCidr',
|
|
72848
|
+
};
|
|
72849
|
+
}
|
|
72850
|
+
|
|
72851
|
+
static types(): { [key: string]: any } {
|
|
72852
|
+
return {
|
|
72853
|
+
localAsn: 'number',
|
|
72854
|
+
localBgpIp: 'string',
|
|
72855
|
+
tunnelCidr: 'string',
|
|
72856
|
+
};
|
|
72857
|
+
}
|
|
72858
|
+
|
|
72859
|
+
constructor(map?: { [key: string]: any }) {
|
|
72860
|
+
super(map);
|
|
72861
|
+
}
|
|
72862
|
+
}
|
|
72863
|
+
|
|
72864
|
+
export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
72865
|
+
/**
|
|
72866
|
+
* @remarks
|
|
72867
|
+
* The authentication algorithm that is used in Phase 1 negotiations.
|
|
72868
|
+
*
|
|
72869
|
+
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
72870
|
+
*
|
|
72871
|
+
* @example
|
|
72872
|
+
* md5
|
|
72873
|
+
*/
|
|
72874
|
+
ikeAuthAlg?: string;
|
|
72875
|
+
/**
|
|
72876
|
+
* @remarks
|
|
72877
|
+
* The encryption algorithm that is used in Phase 1 negotiations.
|
|
72878
|
+
*
|
|
72879
|
+
* Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**. Default value: **aes**.
|
|
72880
|
+
*
|
|
72881
|
+
* @example
|
|
72882
|
+
* aes
|
|
72883
|
+
*/
|
|
72884
|
+
ikeEncAlg?: string;
|
|
72885
|
+
/**
|
|
72886
|
+
* @remarks
|
|
72887
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
|
|
72888
|
+
*
|
|
72889
|
+
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
72890
|
+
*
|
|
72891
|
+
* @example
|
|
72892
|
+
* 86400
|
|
72893
|
+
*/
|
|
72894
|
+
ikeLifetime?: number;
|
|
72895
|
+
/**
|
|
72896
|
+
* @remarks
|
|
72897
|
+
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
72898
|
+
*
|
|
72899
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
72900
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
72901
|
+
*
|
|
72902
|
+
* @example
|
|
72903
|
+
* main
|
|
72904
|
+
*/
|
|
72905
|
+
ikeMode?: string;
|
|
72906
|
+
/**
|
|
72907
|
+
* @remarks
|
|
72908
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
|
|
72909
|
+
* Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
72910
|
+
*
|
|
72911
|
+
* @example
|
|
72912
|
+
* group2
|
|
72913
|
+
*/
|
|
72914
|
+
ikePfs?: string;
|
|
72915
|
+
/**
|
|
72916
|
+
* @remarks
|
|
72917
|
+
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
72918
|
+
*
|
|
72919
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
72920
|
+
*
|
|
72921
|
+
* @example
|
|
72922
|
+
* ikev1
|
|
72923
|
+
*/
|
|
72924
|
+
ikeVersion?: string;
|
|
72925
|
+
/**
|
|
72926
|
+
* @remarks
|
|
72927
|
+
* The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the tunnel.
|
|
72928
|
+
*
|
|
72929
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
72930
|
+
*
|
|
72931
|
+
* @example
|
|
72932
|
+
* 47.21.XX.XX
|
|
72933
|
+
*/
|
|
72934
|
+
localId?: string;
|
|
72935
|
+
/**
|
|
72936
|
+
* @remarks
|
|
72937
|
+
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
72938
|
+
*
|
|
72939
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
72940
|
+
* * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
72941
|
+
*
|
|
72942
|
+
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
72943
|
+
*
|
|
72944
|
+
* @example
|
|
72945
|
+
* 123456****
|
|
72946
|
+
*/
|
|
72947
|
+
psk?: string;
|
|
72948
|
+
/**
|
|
72949
|
+
* @remarks
|
|
72950
|
+
* The identifier of the tunnel peer, which is used in Phase 1 negotiations. It can contain at most 100 characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
72951
|
+
*
|
|
72952
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
72953
|
+
*
|
|
72954
|
+
* @example
|
|
72955
|
+
* 47.42.XX.XX
|
|
72956
|
+
*/
|
|
72733
72957
|
remoteId?: string;
|
|
72734
72958
|
static names(): { [key: string]: string } {
|
|
72735
72959
|
return {
|
|
@@ -72787,7 +73011,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
72787
73011
|
ipsecEncAlg?: string;
|
|
72788
73012
|
/**
|
|
72789
73013
|
* @remarks
|
|
72790
|
-
* The SA lifetime
|
|
73014
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
|
|
72791
73015
|
*
|
|
72792
73016
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
72793
73017
|
*
|
|
@@ -72797,7 +73021,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
72797
73021
|
ipsecLifetime?: number;
|
|
72798
73022
|
/**
|
|
72799
73023
|
* @remarks
|
|
72800
|
-
* The
|
|
73024
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
|
|
72801
73025
|
*
|
|
72802
73026
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
72803
73027
|
*
|
|
@@ -72831,11 +73055,11 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIpsecConf
|
|
|
72831
73055
|
export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.Model {
|
|
72832
73056
|
/**
|
|
72833
73057
|
* @remarks
|
|
72834
|
-
* The ID of the customer gateway associated with the tunnel.
|
|
73058
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
72835
73059
|
*
|
|
72836
|
-
* >
|
|
72837
|
-
*
|
|
72838
|
-
*
|
|
73060
|
+
* > - This parameter is required when you create an IPsec-VPN connection in dual-tunnel mode.
|
|
73061
|
+
* > - You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
|
|
73062
|
+
* > - When you create an IPsec-VPN connection in dual tunnel mode, you must add configurations of the active and standby tunnels for the IPsec-VPN connection. Each IPsec-VPN connection supports only one active tunnel and one standby tunnel.
|
|
72839
73063
|
*
|
|
72840
73064
|
* @example
|
|
72841
73065
|
* cgw-p0wy363lucf1uyae8****
|
|
@@ -72843,10 +73067,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
|
|
|
72843
73067
|
customerGatewayId?: string;
|
|
72844
73068
|
/**
|
|
72845
73069
|
* @remarks
|
|
72846
|
-
* Specifies whether to enable DPD for the tunnel. Valid values:
|
|
73070
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
72847
73071
|
*
|
|
72848
|
-
* * **true** (default) The initiator of the IPsec-VPN connection sends DPD packets to
|
|
72849
|
-
* * **false
|
|
73072
|
+
* * **true** (default): enables DPD. The initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no feedback is received from the peer within the specified period of time, the connection fails. In this case, ISAKMP SA and IPsec SA are deleted. The security tunnel is also deleted.
|
|
73073
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
72850
73074
|
*
|
|
72851
73075
|
* @example
|
|
72852
73076
|
* true
|
|
@@ -72856,8 +73080,8 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
|
|
|
72856
73080
|
* @remarks
|
|
72857
73081
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
72858
73082
|
*
|
|
72859
|
-
* * **true** (default) After NAT traversal is enabled, the
|
|
72860
|
-
* * **false
|
|
73083
|
+
* * **true** (default): enables NAT traversal. After NAT traversal is enabled, the initiator does not check the UDP ports during IKE negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel.
|
|
73084
|
+
* * **false**: disables NAT traversal.
|
|
72861
73085
|
*
|
|
72862
73086
|
* @example
|
|
72863
73087
|
* true
|
|
@@ -72865,10 +73089,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
|
|
|
72865
73089
|
enableNatTraversal?: boolean;
|
|
72866
73090
|
/**
|
|
72867
73091
|
* @remarks
|
|
72868
|
-
*
|
|
73092
|
+
* If the VPN gateway uses an SM certificate, you need to configure the CA certificate used by the IPsec peer.
|
|
72869
73093
|
*
|
|
72870
|
-
* * If
|
|
72871
|
-
* * If
|
|
73094
|
+
* * If the VPN gateway uses an SM certificate, this parameter is required.
|
|
73095
|
+
* * If the VPN gateway does not use an SM certificate, leave this parameter empty.
|
|
72872
73096
|
*
|
|
72873
73097
|
* @example
|
|
72874
73098
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
@@ -72876,10 +73100,10 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
|
|
|
72876
73100
|
remoteCaCertificate?: string;
|
|
72877
73101
|
/**
|
|
72878
73102
|
* @remarks
|
|
72879
|
-
* The role of the tunnel. Valid values:
|
|
73103
|
+
* The role of the tunnel. Valid values: Valid values:
|
|
72880
73104
|
*
|
|
72881
|
-
* * **master**: The tunnel is
|
|
72882
|
-
* * **slave**: The tunnel is
|
|
73105
|
+
* * **master**: The tunnel is an active tunnel.
|
|
73106
|
+
* * **slave**: The tunnel is a standby tunnel.
|
|
72883
73107
|
*
|
|
72884
73108
|
* @example
|
|
72885
73109
|
* master
|
|
@@ -72887,7 +73111,7 @@ export class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.M
|
|
|
72887
73111
|
role?: string;
|
|
72888
73112
|
/**
|
|
72889
73113
|
* @remarks
|
|
72890
|
-
* The BGP configurations
|
|
73114
|
+
* The Border Gateway Protocol (BGP) configurations of the tunnel.
|
|
72891
73115
|
*/
|
|
72892
73116
|
tunnelBgpConfig?: CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
72893
73117
|
/**
|
|
@@ -85634,6 +85858,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
|
|
|
85634
85858
|
* vco-p0w2jpkhi2eeop6q6****
|
|
85635
85859
|
*/
|
|
85636
85860
|
nextHop?: string;
|
|
85861
|
+
nextHopTunnelIdList?: string[];
|
|
85637
85862
|
/**
|
|
85638
85863
|
* @remarks
|
|
85639
85864
|
* The destination CIDR block of the route.
|
|
@@ -85700,6 +85925,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
|
|
|
85700
85925
|
community: 'Community',
|
|
85701
85926
|
createTime: 'CreateTime',
|
|
85702
85927
|
nextHop: 'NextHop',
|
|
85928
|
+
nextHopTunnelIdList: 'NextHopTunnelIdList',
|
|
85703
85929
|
routeDest: 'RouteDest',
|
|
85704
85930
|
routeEntryType: 'RouteEntryType',
|
|
85705
85931
|
source: 'Source',
|
|
@@ -85715,6 +85941,7 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
|
|
|
85715
85941
|
community: 'string',
|
|
85716
85942
|
createTime: 'number',
|
|
85717
85943
|
nextHop: 'string',
|
|
85944
|
+
nextHopTunnelIdList: { 'type': 'array', 'itemType': 'string' },
|
|
85718
85945
|
routeDest: 'string',
|
|
85719
85946
|
routeEntryType: 'string',
|
|
85720
85947
|
source: 'string',
|
|
@@ -85729,6 +85956,31 @@ export class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends $tea.Mod
|
|
|
85729
85956
|
}
|
|
85730
85957
|
}
|
|
85731
85958
|
|
|
85959
|
+
export class DescribeVcoRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
|
|
85960
|
+
routeCount?: number;
|
|
85961
|
+
routeEntryType?: string;
|
|
85962
|
+
source?: string;
|
|
85963
|
+
static names(): { [key: string]: string } {
|
|
85964
|
+
return {
|
|
85965
|
+
routeCount: 'RouteCount',
|
|
85966
|
+
routeEntryType: 'RouteEntryType',
|
|
85967
|
+
source: 'Source',
|
|
85968
|
+
};
|
|
85969
|
+
}
|
|
85970
|
+
|
|
85971
|
+
static types(): { [key: string]: any } {
|
|
85972
|
+
return {
|
|
85973
|
+
routeCount: 'number',
|
|
85974
|
+
routeEntryType: 'string',
|
|
85975
|
+
source: 'string',
|
|
85976
|
+
};
|
|
85977
|
+
}
|
|
85978
|
+
|
|
85979
|
+
constructor(map?: { [key: string]: any }) {
|
|
85980
|
+
super(map);
|
|
85981
|
+
}
|
|
85982
|
+
}
|
|
85983
|
+
|
|
85732
85984
|
export class DescribeVirtualBorderRoutersRequestFilter extends $tea.Model {
|
|
85733
85985
|
/**
|
|
85734
85986
|
* @remarks
|
|
@@ -87860,6 +88112,28 @@ export class DescribeVpcsResponseBodyVpcs extends $tea.Model {
|
|
|
87860
88112
|
}
|
|
87861
88113
|
}
|
|
87862
88114
|
|
|
88115
|
+
export class DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags extends $tea.Model {
|
|
88116
|
+
key?: string;
|
|
88117
|
+
value?: string;
|
|
88118
|
+
static names(): { [key: string]: string } {
|
|
88119
|
+
return {
|
|
88120
|
+
key: 'Key',
|
|
88121
|
+
value: 'Value',
|
|
88122
|
+
};
|
|
88123
|
+
}
|
|
88124
|
+
|
|
88125
|
+
static types(): { [key: string]: any } {
|
|
88126
|
+
return {
|
|
88127
|
+
key: 'string',
|
|
88128
|
+
value: 'string',
|
|
88129
|
+
};
|
|
88130
|
+
}
|
|
88131
|
+
|
|
88132
|
+
constructor(map?: { [key: string]: any }) {
|
|
88133
|
+
super(map);
|
|
88134
|
+
}
|
|
88135
|
+
}
|
|
88136
|
+
|
|
87863
88137
|
export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model {
|
|
87864
88138
|
/**
|
|
87865
88139
|
* @remarks
|
|
@@ -87904,6 +88178,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
|
|
|
87904
88178
|
* nametest1
|
|
87905
88179
|
*/
|
|
87906
88180
|
name?: string;
|
|
88181
|
+
tag?: string;
|
|
88182
|
+
tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
|
|
87907
88183
|
/**
|
|
87908
88184
|
* @remarks
|
|
87909
88185
|
* The ID of the transit router with which the IPsec-VPN connection is associated.
|
|
@@ -87927,6 +88203,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
|
|
|
87927
88203
|
description: 'Description',
|
|
87928
88204
|
instanceId: 'InstanceId',
|
|
87929
88205
|
name: 'Name',
|
|
88206
|
+
tag: 'Tag',
|
|
88207
|
+
tags: 'Tags',
|
|
87930
88208
|
transitRouterId: 'TransitRouterId',
|
|
87931
88209
|
transitRouterName: 'TransitRouterName',
|
|
87932
88210
|
};
|
|
@@ -87939,6 +88217,8 @@ export class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model
|
|
|
87939
88217
|
description: 'string',
|
|
87940
88218
|
instanceId: 'string',
|
|
87941
88219
|
name: 'string',
|
|
88220
|
+
tag: 'string',
|
|
88221
|
+
tags: { 'type': 'array', 'itemType': DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags },
|
|
87942
88222
|
transitRouterId: 'string',
|
|
87943
88223
|
transitRouterName: 'string',
|
|
87944
88224
|
};
|
|
@@ -88521,6 +88801,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
|
|
|
88521
88801
|
* The configuration of Phase 1 negotiations.
|
|
88522
88802
|
*/
|
|
88523
88803
|
tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
88804
|
+
tunnelIndex?: number;
|
|
88524
88805
|
/**
|
|
88525
88806
|
* @remarks
|
|
88526
88807
|
* The configurations of Phase 2 negotiations.
|
|
@@ -88549,6 +88830,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
|
|
|
88549
88830
|
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
88550
88831
|
tunnelId: 'TunnelId',
|
|
88551
88832
|
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
88833
|
+
tunnelIndex: 'TunnelIndex',
|
|
88552
88834
|
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
88553
88835
|
zoneNo: 'ZoneNo',
|
|
88554
88836
|
};
|
|
@@ -88567,6 +88849,7 @@ export class DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOp
|
|
|
88567
88849
|
tunnelBgpConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
|
|
88568
88850
|
tunnelId: 'string',
|
|
88569
88851
|
tunnelIkeConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
|
|
88852
|
+
tunnelIndex: 'number',
|
|
88570
88853
|
tunnelIpsecConfig: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
|
|
88571
88854
|
zoneNo: 'string',
|
|
88572
88855
|
};
|
|
@@ -89428,6 +89711,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
|
|
|
89428
89711
|
* The configuration of Phase 1 negotiations.
|
|
89429
89712
|
*/
|
|
89430
89713
|
tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
89714
|
+
tunnelIndex?: number;
|
|
89431
89715
|
/**
|
|
89432
89716
|
* @remarks
|
|
89433
89717
|
* The configurations of Phase 2 negotiations.
|
|
@@ -89454,6 +89738,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
|
|
|
89454
89738
|
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
89455
89739
|
tunnelId: 'TunnelId',
|
|
89456
89740
|
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
89741
|
+
tunnelIndex: 'TunnelIndex',
|
|
89457
89742
|
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
89458
89743
|
zoneNo: 'ZoneNo',
|
|
89459
89744
|
};
|
|
@@ -89472,6 +89757,7 @@ export class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnel
|
|
|
89472
89757
|
tunnelBgpConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelBgpConfig,
|
|
89473
89758
|
tunnelId: 'string',
|
|
89474
89759
|
tunnelIkeConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig,
|
|
89760
|
+
tunnelIndex: 'number',
|
|
89475
89761
|
tunnelIpsecConfig: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIpsecConfig,
|
|
89476
89762
|
zoneNo: 'string',
|
|
89477
89763
|
};
|
|
@@ -90336,11 +90622,9 @@ export class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList ext
|
|
|
90336
90622
|
export class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
90337
90623
|
/**
|
|
90338
90624
|
* @remarks
|
|
90339
|
-
* The tag key.
|
|
90340
|
-
*
|
|
90341
|
-
* It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
|
|
90625
|
+
* The tag key.
|
|
90342
90626
|
*
|
|
90343
|
-
* You can specify at most 20 tag keys
|
|
90627
|
+
* You can specify at most 20 tag keys at a time.
|
|
90344
90628
|
*
|
|
90345
90629
|
* @example
|
|
90346
90630
|
* FinanceDept
|
|
@@ -90350,9 +90634,7 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
|
90350
90634
|
* @remarks
|
|
90351
90635
|
* The tag value.
|
|
90352
90636
|
*
|
|
90353
|
-
*
|
|
90354
|
-
*
|
|
90355
|
-
* Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
|
|
90637
|
+
* Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
|
|
90356
90638
|
*
|
|
90357
90639
|
* @example
|
|
90358
90640
|
* FinanceJoshua
|
|
@@ -90761,7 +91043,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
90761
91043
|
status?: string;
|
|
90762
91044
|
/**
|
|
90763
91045
|
* @remarks
|
|
90764
|
-
* The tag that is automatically generated for the VPN gateway.
|
|
91046
|
+
* The tag that is automatically generated for the VPN gateway.
|
|
90765
91047
|
*
|
|
90766
91048
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
90767
91049
|
*
|
|
@@ -90780,13 +91062,18 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
|
|
|
90780
91062
|
*
|
|
90781
91063
|
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
90782
91064
|
*
|
|
90783
|
-
* * **true
|
|
91065
|
+
* * **true**: queries only SQL templates that need to be optimized.
|
|
90784
91066
|
* * **false**: does not query only SQL statements that need to be optimized.
|
|
90785
91067
|
*
|
|
90786
91068
|
* * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
90787
91069
|
*
|
|
90788
91070
|
* * **VpnVersion**: the version of the VPN gateway.
|
|
90789
91071
|
*
|
|
91072
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
91073
|
+
*
|
|
91074
|
+
* * **true**
|
|
91075
|
+
* * **false**
|
|
91076
|
+
*
|
|
90790
91077
|
* @example
|
|
90791
91078
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
90792
91079
|
*/
|
|
@@ -91059,6 +91346,50 @@ export class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntries extends $t
|
|
|
91059
91346
|
}
|
|
91060
91347
|
}
|
|
91061
91348
|
|
|
91349
|
+
export class DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount extends $tea.Model {
|
|
91350
|
+
routeCount?: number;
|
|
91351
|
+
routeEntryType?: string;
|
|
91352
|
+
source?: string;
|
|
91353
|
+
static names(): { [key: string]: string } {
|
|
91354
|
+
return {
|
|
91355
|
+
routeCount: 'RouteCount',
|
|
91356
|
+
routeEntryType: 'RouteEntryType',
|
|
91357
|
+
source: 'Source',
|
|
91358
|
+
};
|
|
91359
|
+
}
|
|
91360
|
+
|
|
91361
|
+
static types(): { [key: string]: any } {
|
|
91362
|
+
return {
|
|
91363
|
+
routeCount: 'number',
|
|
91364
|
+
routeEntryType: 'string',
|
|
91365
|
+
source: 'string',
|
|
91366
|
+
};
|
|
91367
|
+
}
|
|
91368
|
+
|
|
91369
|
+
constructor(map?: { [key: string]: any }) {
|
|
91370
|
+
super(map);
|
|
91371
|
+
}
|
|
91372
|
+
}
|
|
91373
|
+
|
|
91374
|
+
export class DescribeVpnRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
|
|
91375
|
+
vpnRouteCount?: DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount[];
|
|
91376
|
+
static names(): { [key: string]: string } {
|
|
91377
|
+
return {
|
|
91378
|
+
vpnRouteCount: 'VpnRouteCount',
|
|
91379
|
+
};
|
|
91380
|
+
}
|
|
91381
|
+
|
|
91382
|
+
static types(): { [key: string]: any } {
|
|
91383
|
+
return {
|
|
91384
|
+
vpnRouteCount: { 'type': 'array', 'itemType': DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount },
|
|
91385
|
+
};
|
|
91386
|
+
}
|
|
91387
|
+
|
|
91388
|
+
constructor(map?: { [key: string]: any }) {
|
|
91389
|
+
super(map);
|
|
91390
|
+
}
|
|
91391
|
+
}
|
|
91392
|
+
|
|
91062
91393
|
export class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry extends $tea.Model {
|
|
91063
91394
|
/**
|
|
91064
91395
|
* @remarks
|
|
@@ -97443,6 +97774,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecCo
|
|
|
97443
97774
|
}
|
|
97444
97775
|
|
|
97445
97776
|
export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
97777
|
+
customerGatewayId?: string;
|
|
97446
97778
|
/**
|
|
97447
97779
|
* @remarks
|
|
97448
97780
|
* Specifies whether to enable the dead peer detection (DPD) feature. Valid values:
|
|
@@ -97492,6 +97824,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
|
|
|
97492
97824
|
tunnelIpsecConfig?: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
97493
97825
|
static names(): { [key: string]: string } {
|
|
97494
97826
|
return {
|
|
97827
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
97495
97828
|
enableDpd: 'EnableDpd',
|
|
97496
97829
|
enableNatTraversal: 'EnableNatTraversal',
|
|
97497
97830
|
remoteCaCertificate: 'RemoteCaCertificate',
|
|
@@ -97503,6 +97836,7 @@ export class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea
|
|
|
97503
97836
|
|
|
97504
97837
|
static types(): { [key: string]: any } {
|
|
97505
97838
|
return {
|
|
97839
|
+
customerGatewayId: 'string',
|
|
97506
97840
|
enableDpd: 'boolean',
|
|
97507
97841
|
enableNatTraversal: 'boolean',
|
|
97508
97842
|
remoteCaCertificate: 'string',
|
|
@@ -97842,6 +98176,142 @@ export class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $tea.Model
|
|
|
97842
98176
|
}
|
|
97843
98177
|
}
|
|
97844
98178
|
|
|
98179
|
+
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
98180
|
+
localAsn?: number;
|
|
98181
|
+
localBgpIp?: string;
|
|
98182
|
+
tunnelCidr?: string;
|
|
98183
|
+
static names(): { [key: string]: string } {
|
|
98184
|
+
return {
|
|
98185
|
+
localAsn: 'LocalAsn',
|
|
98186
|
+
localBgpIp: 'LocalBgpIp',
|
|
98187
|
+
tunnelCidr: 'TunnelCidr',
|
|
98188
|
+
};
|
|
98189
|
+
}
|
|
98190
|
+
|
|
98191
|
+
static types(): { [key: string]: any } {
|
|
98192
|
+
return {
|
|
98193
|
+
localAsn: 'number',
|
|
98194
|
+
localBgpIp: 'string',
|
|
98195
|
+
tunnelCidr: 'string',
|
|
98196
|
+
};
|
|
98197
|
+
}
|
|
98198
|
+
|
|
98199
|
+
constructor(map?: { [key: string]: any }) {
|
|
98200
|
+
super(map);
|
|
98201
|
+
}
|
|
98202
|
+
}
|
|
98203
|
+
|
|
98204
|
+
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
98205
|
+
ikeAuthAlg?: string;
|
|
98206
|
+
ikeEncAlg?: string;
|
|
98207
|
+
ikeLifetime?: number;
|
|
98208
|
+
ikeMode?: string;
|
|
98209
|
+
ikePfs?: string;
|
|
98210
|
+
ikeVersion?: string;
|
|
98211
|
+
localId?: string;
|
|
98212
|
+
psk?: string;
|
|
98213
|
+
remoteId?: string;
|
|
98214
|
+
static names(): { [key: string]: string } {
|
|
98215
|
+
return {
|
|
98216
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
98217
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
98218
|
+
ikeLifetime: 'IkeLifetime',
|
|
98219
|
+
ikeMode: 'IkeMode',
|
|
98220
|
+
ikePfs: 'IkePfs',
|
|
98221
|
+
ikeVersion: 'IkeVersion',
|
|
98222
|
+
localId: 'LocalId',
|
|
98223
|
+
psk: 'Psk',
|
|
98224
|
+
remoteId: 'RemoteId',
|
|
98225
|
+
};
|
|
98226
|
+
}
|
|
98227
|
+
|
|
98228
|
+
static types(): { [key: string]: any } {
|
|
98229
|
+
return {
|
|
98230
|
+
ikeAuthAlg: 'string',
|
|
98231
|
+
ikeEncAlg: 'string',
|
|
98232
|
+
ikeLifetime: 'number',
|
|
98233
|
+
ikeMode: 'string',
|
|
98234
|
+
ikePfs: 'string',
|
|
98235
|
+
ikeVersion: 'string',
|
|
98236
|
+
localId: 'string',
|
|
98237
|
+
psk: 'string',
|
|
98238
|
+
remoteId: 'string',
|
|
98239
|
+
};
|
|
98240
|
+
}
|
|
98241
|
+
|
|
98242
|
+
constructor(map?: { [key: string]: any }) {
|
|
98243
|
+
super(map);
|
|
98244
|
+
}
|
|
98245
|
+
}
|
|
98246
|
+
|
|
98247
|
+
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
98248
|
+
ipsecAuthAlg?: string;
|
|
98249
|
+
ipsecEncAlg?: string;
|
|
98250
|
+
ipsecLifetime?: number;
|
|
98251
|
+
ipsecPfs?: string;
|
|
98252
|
+
static names(): { [key: string]: string } {
|
|
98253
|
+
return {
|
|
98254
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
98255
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
98256
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
98257
|
+
ipsecPfs: 'IpsecPfs',
|
|
98258
|
+
};
|
|
98259
|
+
}
|
|
98260
|
+
|
|
98261
|
+
static types(): { [key: string]: any } {
|
|
98262
|
+
return {
|
|
98263
|
+
ipsecAuthAlg: 'string',
|
|
98264
|
+
ipsecEncAlg: 'string',
|
|
98265
|
+
ipsecLifetime: 'number',
|
|
98266
|
+
ipsecPfs: 'string',
|
|
98267
|
+
};
|
|
98268
|
+
}
|
|
98269
|
+
|
|
98270
|
+
constructor(map?: { [key: string]: any }) {
|
|
98271
|
+
super(map);
|
|
98272
|
+
}
|
|
98273
|
+
}
|
|
98274
|
+
|
|
98275
|
+
export class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
98276
|
+
customerGatewayId?: string;
|
|
98277
|
+
enableDpd?: boolean;
|
|
98278
|
+
enableNatTraversal?: boolean;
|
|
98279
|
+
tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
98280
|
+
tunnelId?: string;
|
|
98281
|
+
tunnelIkeConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
98282
|
+
tunnelIndex?: number;
|
|
98283
|
+
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
98284
|
+
static names(): { [key: string]: string } {
|
|
98285
|
+
return {
|
|
98286
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
98287
|
+
enableDpd: 'EnableDpd',
|
|
98288
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
98289
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
98290
|
+
tunnelId: 'TunnelId',
|
|
98291
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
98292
|
+
tunnelIndex: 'TunnelIndex',
|
|
98293
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
98294
|
+
};
|
|
98295
|
+
}
|
|
98296
|
+
|
|
98297
|
+
static types(): { [key: string]: any } {
|
|
98298
|
+
return {
|
|
98299
|
+
customerGatewayId: 'string',
|
|
98300
|
+
enableDpd: 'boolean',
|
|
98301
|
+
enableNatTraversal: 'boolean',
|
|
98302
|
+
tunnelBgpConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig,
|
|
98303
|
+
tunnelId: 'string',
|
|
98304
|
+
tunnelIkeConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig,
|
|
98305
|
+
tunnelIndex: 'number',
|
|
98306
|
+
tunnelIpsecConfig: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
98307
|
+
};
|
|
98308
|
+
}
|
|
98309
|
+
|
|
98310
|
+
constructor(map?: { [key: string]: any }) {
|
|
98311
|
+
super(map);
|
|
98312
|
+
}
|
|
98313
|
+
}
|
|
98314
|
+
|
|
97845
98315
|
export class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $tea.Model {
|
|
97846
98316
|
/**
|
|
97847
98317
|
* @remarks
|
|
@@ -98006,6 +98476,157 @@ export class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends $tea.Mo
|
|
|
98006
98476
|
}
|
|
98007
98477
|
}
|
|
98008
98478
|
|
|
98479
|
+
export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
98480
|
+
localAsn?: number;
|
|
98481
|
+
localBgpIp?: string;
|
|
98482
|
+
peerAsn?: number;
|
|
98483
|
+
peerBgpIp?: string;
|
|
98484
|
+
tunnelCidr?: string;
|
|
98485
|
+
static names(): { [key: string]: string } {
|
|
98486
|
+
return {
|
|
98487
|
+
localAsn: 'LocalAsn',
|
|
98488
|
+
localBgpIp: 'LocalBgpIp',
|
|
98489
|
+
peerAsn: 'PeerAsn',
|
|
98490
|
+
peerBgpIp: 'PeerBgpIp',
|
|
98491
|
+
tunnelCidr: 'TunnelCidr',
|
|
98492
|
+
};
|
|
98493
|
+
}
|
|
98494
|
+
|
|
98495
|
+
static types(): { [key: string]: any } {
|
|
98496
|
+
return {
|
|
98497
|
+
localAsn: 'number',
|
|
98498
|
+
localBgpIp: 'string',
|
|
98499
|
+
peerAsn: 'number',
|
|
98500
|
+
peerBgpIp: 'string',
|
|
98501
|
+
tunnelCidr: 'string',
|
|
98502
|
+
};
|
|
98503
|
+
}
|
|
98504
|
+
|
|
98505
|
+
constructor(map?: { [key: string]: any }) {
|
|
98506
|
+
super(map);
|
|
98507
|
+
}
|
|
98508
|
+
}
|
|
98509
|
+
|
|
98510
|
+
export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
98511
|
+
ikeAuthAlg?: string;
|
|
98512
|
+
ikeEncAlg?: string;
|
|
98513
|
+
ikeLifetime?: number;
|
|
98514
|
+
ikeMode?: string;
|
|
98515
|
+
ikePfs?: string;
|
|
98516
|
+
ikeVersion?: string;
|
|
98517
|
+
localId?: string;
|
|
98518
|
+
psk?: string;
|
|
98519
|
+
remoteId?: string;
|
|
98520
|
+
static names(): { [key: string]: string } {
|
|
98521
|
+
return {
|
|
98522
|
+
ikeAuthAlg: 'IkeAuthAlg',
|
|
98523
|
+
ikeEncAlg: 'IkeEncAlg',
|
|
98524
|
+
ikeLifetime: 'IkeLifetime',
|
|
98525
|
+
ikeMode: 'IkeMode',
|
|
98526
|
+
ikePfs: 'IkePfs',
|
|
98527
|
+
ikeVersion: 'IkeVersion',
|
|
98528
|
+
localId: 'LocalId',
|
|
98529
|
+
psk: 'Psk',
|
|
98530
|
+
remoteId: 'RemoteId',
|
|
98531
|
+
};
|
|
98532
|
+
}
|
|
98533
|
+
|
|
98534
|
+
static types(): { [key: string]: any } {
|
|
98535
|
+
return {
|
|
98536
|
+
ikeAuthAlg: 'string',
|
|
98537
|
+
ikeEncAlg: 'string',
|
|
98538
|
+
ikeLifetime: 'number',
|
|
98539
|
+
ikeMode: 'string',
|
|
98540
|
+
ikePfs: 'string',
|
|
98541
|
+
ikeVersion: 'string',
|
|
98542
|
+
localId: 'string',
|
|
98543
|
+
psk: 'string',
|
|
98544
|
+
remoteId: 'string',
|
|
98545
|
+
};
|
|
98546
|
+
}
|
|
98547
|
+
|
|
98548
|
+
constructor(map?: { [key: string]: any }) {
|
|
98549
|
+
super(map);
|
|
98550
|
+
}
|
|
98551
|
+
}
|
|
98552
|
+
|
|
98553
|
+
export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
98554
|
+
ipsecAuthAlg?: string;
|
|
98555
|
+
ipsecEncAlg?: string;
|
|
98556
|
+
ipsecLifetime?: number;
|
|
98557
|
+
ipsecPfs?: string;
|
|
98558
|
+
static names(): { [key: string]: string } {
|
|
98559
|
+
return {
|
|
98560
|
+
ipsecAuthAlg: 'IpsecAuthAlg',
|
|
98561
|
+
ipsecEncAlg: 'IpsecEncAlg',
|
|
98562
|
+
ipsecLifetime: 'IpsecLifetime',
|
|
98563
|
+
ipsecPfs: 'IpsecPfs',
|
|
98564
|
+
};
|
|
98565
|
+
}
|
|
98566
|
+
|
|
98567
|
+
static types(): { [key: string]: any } {
|
|
98568
|
+
return {
|
|
98569
|
+
ipsecAuthAlg: 'string',
|
|
98570
|
+
ipsecEncAlg: 'string',
|
|
98571
|
+
ipsecLifetime: 'number',
|
|
98572
|
+
ipsecPfs: 'string',
|
|
98573
|
+
};
|
|
98574
|
+
}
|
|
98575
|
+
|
|
98576
|
+
constructor(map?: { [key: string]: any }) {
|
|
98577
|
+
super(map);
|
|
98578
|
+
}
|
|
98579
|
+
}
|
|
98580
|
+
|
|
98581
|
+
export class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification extends $tea.Model {
|
|
98582
|
+
customerGatewayId?: string;
|
|
98583
|
+
enableDpd?: boolean;
|
|
98584
|
+
enableNatTraversal?: boolean;
|
|
98585
|
+
internetIp?: string;
|
|
98586
|
+
role?: string;
|
|
98587
|
+
state?: string;
|
|
98588
|
+
tunnelBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig;
|
|
98589
|
+
tunnelId?: string;
|
|
98590
|
+
tunnelIkeConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig;
|
|
98591
|
+
tunnelIndex?: number;
|
|
98592
|
+
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
98593
|
+
static names(): { [key: string]: string } {
|
|
98594
|
+
return {
|
|
98595
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
98596
|
+
enableDpd: 'EnableDpd',
|
|
98597
|
+
enableNatTraversal: 'EnableNatTraversal',
|
|
98598
|
+
internetIp: 'InternetIp',
|
|
98599
|
+
role: 'Role',
|
|
98600
|
+
state: 'State',
|
|
98601
|
+
tunnelBgpConfig: 'TunnelBgpConfig',
|
|
98602
|
+
tunnelId: 'TunnelId',
|
|
98603
|
+
tunnelIkeConfig: 'TunnelIkeConfig',
|
|
98604
|
+
tunnelIndex: 'TunnelIndex',
|
|
98605
|
+
tunnelIpsecConfig: 'TunnelIpsecConfig',
|
|
98606
|
+
};
|
|
98607
|
+
}
|
|
98608
|
+
|
|
98609
|
+
static types(): { [key: string]: any } {
|
|
98610
|
+
return {
|
|
98611
|
+
customerGatewayId: 'string',
|
|
98612
|
+
enableDpd: 'boolean',
|
|
98613
|
+
enableNatTraversal: 'boolean',
|
|
98614
|
+
internetIp: 'string',
|
|
98615
|
+
role: 'string',
|
|
98616
|
+
state: 'string',
|
|
98617
|
+
tunnelBgpConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig,
|
|
98618
|
+
tunnelId: 'string',
|
|
98619
|
+
tunnelIkeConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig,
|
|
98620
|
+
tunnelIndex: 'number',
|
|
98621
|
+
tunnelIpsecConfig: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig,
|
|
98622
|
+
};
|
|
98623
|
+
}
|
|
98624
|
+
|
|
98625
|
+
constructor(map?: { [key: string]: any }) {
|
|
98626
|
+
super(map);
|
|
98627
|
+
}
|
|
98628
|
+
}
|
|
98629
|
+
|
|
98009
98630
|
export class ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck extends $tea.Model {
|
|
98010
98631
|
/**
|
|
98011
98632
|
* @remarks
|
|
@@ -98185,9 +98806,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98185
98806
|
* @remarks
|
|
98186
98807
|
* The ASN of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
98187
98808
|
*
|
|
98188
|
-
* >
|
|
98189
|
-
*
|
|
98190
|
-
*
|
|
98809
|
+
* > You can specify this parameter only if **EnableTunnelsBgp** is set to **true**.
|
|
98810
|
+
*
|
|
98811
|
+
* * Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
|
|
98812
|
+
*
|
|
98813
|
+
* * We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. For information about the range of private ASNs, see the relevant documentation.
|
|
98191
98814
|
*
|
|
98192
98815
|
* @example
|
|
98193
98816
|
* 65530
|
|
@@ -98195,7 +98818,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98195
98818
|
localAsn?: number;
|
|
98196
98819
|
/**
|
|
98197
98820
|
* @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
|
|
98821
|
+
* The BGP IP address of the tunnel on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block.
|
|
98199
98822
|
*
|
|
98200
98823
|
* @example
|
|
98201
98824
|
* 169.254.10.1
|
|
@@ -98203,9 +98826,11 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98203
98826
|
localBgpIp?: string;
|
|
98204
98827
|
/**
|
|
98205
98828
|
* @remarks
|
|
98206
|
-
* The BGP CIDR block of the tunnel.
|
|
98829
|
+
* The BGP CIDR block of the tunnel.
|
|
98207
98830
|
*
|
|
98208
|
-
*
|
|
98831
|
+
* The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
|
|
98832
|
+
*
|
|
98833
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
98209
98834
|
*
|
|
98210
98835
|
* @example
|
|
98211
98836
|
* 169.254.10.0/30
|
|
@@ -98255,7 +98880,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98255
98880
|
ikeEncAlg?: string;
|
|
98256
98881
|
/**
|
|
98257
98882
|
* @remarks
|
|
98258
|
-
* The SA lifetime
|
|
98883
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
98259
98884
|
*
|
|
98260
98885
|
* @example
|
|
98261
98886
|
* 86400
|
|
@@ -98263,10 +98888,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98263
98888
|
ikeLifetime?: number;
|
|
98264
98889
|
/**
|
|
98265
98890
|
* @remarks
|
|
98266
|
-
* The
|
|
98891
|
+
* The negotiation mode of IKE. Valid values:
|
|
98267
98892
|
*
|
|
98268
|
-
* * **main
|
|
98269
|
-
* * **aggressive
|
|
98893
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
98894
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
98270
98895
|
*
|
|
98271
98896
|
* @example
|
|
98272
98897
|
* main
|
|
@@ -98274,7 +98899,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98274
98899
|
ikeMode?: string;
|
|
98275
98900
|
/**
|
|
98276
98901
|
* @remarks
|
|
98277
|
-
* The
|
|
98902
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
98278
98903
|
*
|
|
98279
98904
|
* @example
|
|
98280
98905
|
* group2
|
|
@@ -98284,7 +98909,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98284
98909
|
* @remarks
|
|
98285
98910
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
98286
98911
|
*
|
|
98287
|
-
* Compared with IKEv1, IKEv2 simplifies the
|
|
98912
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
98288
98913
|
*
|
|
98289
98914
|
* @example
|
|
98290
98915
|
* ikev1
|
|
@@ -98292,9 +98917,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98292
98917
|
ikeVersion?: string;
|
|
98293
98918
|
/**
|
|
98294
98919
|
* @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
|
|
98920
|
+
* The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the tunnel.
|
|
98296
98921
|
*
|
|
98297
|
-
*
|
|
98922
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
98298
98923
|
*
|
|
98299
98924
|
* @example
|
|
98300
98925
|
* 47.21.XX.XX
|
|
@@ -98304,10 +98929,10 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98304
98929
|
* @remarks
|
|
98305
98930
|
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
98306
98931
|
*
|
|
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
|
|
98932
|
+
* * The key cannot contain space characters. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
98933
|
+
* * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
98309
98934
|
*
|
|
98310
|
-
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be
|
|
98935
|
+
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be built.
|
|
98311
98936
|
*
|
|
98312
98937
|
* @example
|
|
98313
98938
|
* 123456****
|
|
@@ -98315,9 +98940,9 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98315
98940
|
psk?: string;
|
|
98316
98941
|
/**
|
|
98317
98942
|
* @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
|
|
98943
|
+
* The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
98319
98944
|
*
|
|
98320
|
-
*
|
|
98945
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
98321
98946
|
*
|
|
98322
98947
|
* @example
|
|
98323
98948
|
* 47.42.XX.XX
|
|
@@ -98379,7 +99004,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98379
99004
|
ipsecEncAlg?: string;
|
|
98380
99005
|
/**
|
|
98381
99006
|
* @remarks
|
|
98382
|
-
* The SA lifetime
|
|
99007
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
98383
99008
|
*
|
|
98384
99009
|
* @example
|
|
98385
99010
|
* 86400
|
|
@@ -98387,7 +99012,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98387
99012
|
ipsecLifetime?: number;
|
|
98388
99013
|
/**
|
|
98389
99014
|
* @remarks
|
|
98390
|
-
* The
|
|
99015
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
|
|
98391
99016
|
*
|
|
98392
99017
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
98393
99018
|
*
|
|
@@ -98419,12 +99044,20 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnel
|
|
|
98419
99044
|
}
|
|
98420
99045
|
|
|
98421
99046
|
export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
99047
|
+
/**
|
|
99048
|
+
* @remarks
|
|
99049
|
+
* The ID of the customer gateway associated with the tunnel.
|
|
99050
|
+
*
|
|
99051
|
+
* @example
|
|
99052
|
+
* cgw-1nmwbpgrp7ssqm1yn****
|
|
99053
|
+
*/
|
|
99054
|
+
customerGatewayId?: string;
|
|
98422
99055
|
/**
|
|
98423
99056
|
* @remarks
|
|
98424
99057
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
98425
99058
|
*
|
|
98426
|
-
* * **true
|
|
98427
|
-
* * **false
|
|
99059
|
+
* * **true**: enables DPD. The initiator of the IPsec-VPN connection sends DPD packets to check the existence and availability of the peer. If no feedback is received from the peer within the specified period of time, the connection fails. In this case, ISAKMP SA and IPsec SA are deleted. The security tunnel is also deleted.
|
|
99060
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
98428
99061
|
*
|
|
98429
99062
|
* @example
|
|
98430
99063
|
* true
|
|
@@ -98434,8 +99067,8 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
98434
99067
|
* @remarks
|
|
98435
99068
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
98436
99069
|
*
|
|
98437
|
-
* * **true
|
|
98438
|
-
* * **false
|
|
99070
|
+
* * **true**: enables NAT traversal. After NAT traversal is enabled, the initiator does not check the UDP ports during IKE negotiations and can automatically discover NAT gateway devices along the IPsec-VPN tunnel.
|
|
99071
|
+
* * **false**: disables NAT traversal.
|
|
98439
99072
|
*
|
|
98440
99073
|
* @example
|
|
98441
99074
|
* true
|
|
@@ -98469,8 +99102,6 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
98469
99102
|
tunnelBgpConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
98470
99103
|
/**
|
|
98471
99104
|
* @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
99105
|
* The tunnel ID.
|
|
98475
99106
|
*
|
|
98476
99107
|
* @example
|
|
@@ -98489,6 +99120,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
98489
99120
|
tunnelIpsecConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
98490
99121
|
static names(): { [key: string]: string } {
|
|
98491
99122
|
return {
|
|
99123
|
+
customerGatewayId: 'CustomerGatewayId',
|
|
98492
99124
|
enableDpd: 'EnableDpd',
|
|
98493
99125
|
enableNatTraversal: 'EnableNatTraversal',
|
|
98494
99126
|
remoteCaCertificate: 'RemoteCaCertificate',
|
|
@@ -98502,6 +99134,7 @@ export class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification exten
|
|
|
98502
99134
|
|
|
98503
99135
|
static types(): { [key: string]: any } {
|
|
98504
99136
|
return {
|
|
99137
|
+
customerGatewayId: 'string',
|
|
98505
99138
|
enableDpd: 'boolean',
|
|
98506
99139
|
enableNatTraversal: 'boolean',
|
|
98507
99140
|
remoteCaCertificate: 'string',
|
|
@@ -105597,15 +106230,14 @@ export default class Client extends OpenApi {
|
|
|
105597
106230
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
105598
106231
|
*
|
|
105599
106232
|
* @remarks
|
|
105600
|
-
* ##
|
|
106233
|
+
* ## Usage notes
|
|
105601
106234
|
* Before you call this operation, take note of the following items:
|
|
105602
|
-
* *
|
|
106235
|
+
* * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
105603
106236
|
* * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
105604
106237
|
* * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
105605
106238
|
* * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
105606
106239
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
105607
106240
|
* 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
106241
|
*
|
|
105610
106242
|
* @param tmpReq - CreateNatGatewayRequest
|
|
105611
106243
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -105737,15 +106369,14 @@ export default class Client extends OpenApi {
|
|
|
105737
106369
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
105738
106370
|
*
|
|
105739
106371
|
* @remarks
|
|
105740
|
-
* ##
|
|
106372
|
+
* ## Usage notes
|
|
105741
106373
|
* Before you call this operation, take note of the following items:
|
|
105742
|
-
* *
|
|
106374
|
+
* * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](https://help.aliyun.com/document_detail/174251.html).
|
|
105743
106375
|
* * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
|
|
105744
106376
|
* * **CreateNatGateway** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](https://help.aliyun.com/document_detail/36054.html) operation to query the status of the task.
|
|
105745
106377
|
* * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
|
|
105746
106378
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
105747
106379
|
* 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
106380
|
*
|
|
105750
106381
|
* @param request - CreateNatGatewayRequest
|
|
105751
106382
|
* @returns CreateNatGatewayResponse
|
|
@@ -107145,12 +107776,13 @@ export default class Client extends OpenApi {
|
|
|
107145
107776
|
* Creates an SSL server.
|
|
107146
107777
|
*
|
|
107147
107778
|
* @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/
|
|
107779
|
+
* **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
107149
107780
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
107150
107781
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
107151
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
107152
|
-
* ### [](#)
|
|
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/
|
|
107782
|
+
* * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
107783
|
+
* ### [](#)Prerequisite
|
|
107784
|
+
* * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
107785
|
+
* * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
107154
107786
|
*
|
|
107155
107787
|
* @param request - CreateSslVpnServerRequest
|
|
107156
107788
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -107252,12 +107884,13 @@ export default class Client extends OpenApi {
|
|
|
107252
107884
|
* Creates an SSL server.
|
|
107253
107885
|
*
|
|
107254
107886
|
* @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/
|
|
107887
|
+
* **CreateSslVpnServer** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
107256
107888
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
107257
107889
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
107258
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
107259
|
-
* ### [](#)
|
|
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/
|
|
107890
|
+
* * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
107891
|
+
* ### [](#)Prerequisite
|
|
107892
|
+
* * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
|
|
107893
|
+
* * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
|
|
107261
107894
|
*
|
|
107262
107895
|
* @param request - CreateSslVpnServerRequest
|
|
107263
107896
|
* @returns CreateSslVpnServerResponse
|
|
@@ -108691,6 +109324,10 @@ export default class Client extends OpenApi {
|
|
|
108691
109324
|
query["EnableNatTraversal"] = request.enableNatTraversal;
|
|
108692
109325
|
}
|
|
108693
109326
|
|
|
109327
|
+
if (!Util.isUnset(request.enableTunnelsBgp)) {
|
|
109328
|
+
query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
|
|
109329
|
+
}
|
|
109330
|
+
|
|
108694
109331
|
if (!Util.isUnset(request.healthCheckConfig)) {
|
|
108695
109332
|
query["HealthCheckConfig"] = request.healthCheckConfig;
|
|
108696
109333
|
}
|
|
@@ -108747,8 +109384,19 @@ export default class Client extends OpenApi {
|
|
|
108747
109384
|
query["Tags"] = request.tags;
|
|
108748
109385
|
}
|
|
108749
109386
|
|
|
109387
|
+
let body : {[key: string ]: any} = { };
|
|
109388
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
109389
|
+
if (!Util.isUnset(request.tunnelOptionsSpecification)) {
|
|
109390
|
+
bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
|
|
109391
|
+
}
|
|
109392
|
+
|
|
109393
|
+
body = {
|
|
109394
|
+
...body,
|
|
109395
|
+
...OpenApiUtil.query(bodyFlat),
|
|
109396
|
+
};
|
|
108750
109397
|
let req = new $OpenApi.OpenApiRequest({
|
|
108751
109398
|
query: OpenApiUtil.query(query),
|
|
109399
|
+
body: OpenApiUtil.parseToMap(body),
|
|
108752
109400
|
});
|
|
108753
109401
|
let params = new $OpenApi.Params({
|
|
108754
109402
|
action: "CreateVpnAttachment",
|
|
@@ -128019,6 +128667,10 @@ export default class Client extends OpenApi {
|
|
|
128019
128667
|
query["EnableNatTraversal"] = request.enableNatTraversal;
|
|
128020
128668
|
}
|
|
128021
128669
|
|
|
128670
|
+
if (!Util.isUnset(request.enableTunnelsBgp)) {
|
|
128671
|
+
query["EnableTunnelsBgp"] = request.enableTunnelsBgp;
|
|
128672
|
+
}
|
|
128673
|
+
|
|
128022
128674
|
if (!Util.isUnset(request.healthCheckConfig)) {
|
|
128023
128675
|
query["HealthCheckConfig"] = request.healthCheckConfig;
|
|
128024
128676
|
}
|
|
@@ -128071,8 +128723,19 @@ export default class Client extends OpenApi {
|
|
|
128071
128723
|
query["VpnConnectionId"] = request.vpnConnectionId;
|
|
128072
128724
|
}
|
|
128073
128725
|
|
|
128726
|
+
let body : {[key: string ]: any} = { };
|
|
128727
|
+
let bodyFlat : {[key: string ]: any} = { };
|
|
128728
|
+
if (!Util.isUnset(request.tunnelOptionsSpecification)) {
|
|
128729
|
+
bodyFlat["TunnelOptionsSpecification"] = request.tunnelOptionsSpecification;
|
|
128730
|
+
}
|
|
128731
|
+
|
|
128732
|
+
body = {
|
|
128733
|
+
...body,
|
|
128734
|
+
...OpenApiUtil.query(bodyFlat),
|
|
128735
|
+
};
|
|
128074
128736
|
let req = new $OpenApi.OpenApiRequest({
|
|
128075
128737
|
query: OpenApiUtil.query(query),
|
|
128738
|
+
body: OpenApiUtil.parseToMap(body),
|
|
128076
128739
|
});
|
|
128077
128740
|
let params = new $OpenApi.Params({
|
|
128078
128741
|
action: "ModifyVpnAttachmentAttribute",
|