@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/dist/client.d.ts
CHANGED
|
@@ -8494,6 +8494,10 @@ export declare class CreateIpv6GatewayResponse extends $tea.Model {
|
|
|
8494
8494
|
});
|
|
8495
8495
|
}
|
|
8496
8496
|
export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
8497
|
+
/**
|
|
8498
|
+
* @remarks
|
|
8499
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
8500
|
+
*/
|
|
8497
8501
|
accessMode?: CreateNatGatewayRequestAccessMode;
|
|
8498
8502
|
/**
|
|
8499
8503
|
* @remarks
|
|
@@ -8537,13 +8541,11 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8537
8541
|
* @remarks
|
|
8538
8542
|
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
8539
8543
|
*
|
|
8540
|
-
*
|
|
8544
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
8541
8545
|
*
|
|
8542
|
-
*
|
|
8546
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
8543
8547
|
*
|
|
8544
|
-
*
|
|
8545
|
-
*
|
|
8546
|
-
* **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.
|
|
8548
|
+
* > 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.
|
|
8547
8549
|
*
|
|
8548
8550
|
* @example
|
|
8549
8551
|
* MULTI_BINDED
|
|
@@ -8557,7 +8559,7 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8557
8559
|
* * **false**
|
|
8558
8560
|
*
|
|
8559
8561
|
* @example
|
|
8560
|
-
*
|
|
8562
|
+
* true
|
|
8561
8563
|
*/
|
|
8562
8564
|
icmpReplyEnabled?: boolean;
|
|
8563
8565
|
/**
|
|
@@ -8584,7 +8586,7 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8584
8586
|
* @remarks
|
|
8585
8587
|
* The name of the NAT gateway.
|
|
8586
8588
|
*
|
|
8587
|
-
* The name must be 2 to 128 characters in length
|
|
8589
|
+
* 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.
|
|
8588
8590
|
*
|
|
8589
8591
|
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
8590
8592
|
*
|
|
@@ -8621,6 +8623,10 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8621
8623
|
* Invalid parameter.
|
|
8622
8624
|
*/
|
|
8623
8625
|
pricingCycle?: string;
|
|
8626
|
+
/**
|
|
8627
|
+
* @remarks
|
|
8628
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
8629
|
+
*/
|
|
8624
8630
|
privateLinkEnabled?: boolean;
|
|
8625
8631
|
/**
|
|
8626
8632
|
* @remarks
|
|
@@ -8659,6 +8665,9 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8659
8665
|
/**
|
|
8660
8666
|
* @remarks
|
|
8661
8667
|
* The tags.
|
|
8668
|
+
*
|
|
8669
|
+
* @example
|
|
8670
|
+
* MULTI_BINDED
|
|
8662
8671
|
*/
|
|
8663
8672
|
tag?: CreateNatGatewayRequestTag[];
|
|
8664
8673
|
/**
|
|
@@ -8697,6 +8706,10 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8697
8706
|
});
|
|
8698
8707
|
}
|
|
8699
8708
|
export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
8709
|
+
/**
|
|
8710
|
+
* @remarks
|
|
8711
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
8712
|
+
*/
|
|
8700
8713
|
accessModeShrink?: string;
|
|
8701
8714
|
/**
|
|
8702
8715
|
* @remarks
|
|
@@ -8740,13 +8753,11 @@ export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
8740
8753
|
* @remarks
|
|
8741
8754
|
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
8742
8755
|
*
|
|
8743
|
-
*
|
|
8756
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
8744
8757
|
*
|
|
8745
|
-
*
|
|
8758
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
8746
8759
|
*
|
|
8747
|
-
*
|
|
8748
|
-
*
|
|
8749
|
-
* **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.
|
|
8760
|
+
* > 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.
|
|
8750
8761
|
*
|
|
8751
8762
|
* @example
|
|
8752
8763
|
* MULTI_BINDED
|
|
@@ -8760,7 +8771,7 @@ export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
8760
8771
|
* * **false**
|
|
8761
8772
|
*
|
|
8762
8773
|
* @example
|
|
8763
|
-
*
|
|
8774
|
+
* true
|
|
8764
8775
|
*/
|
|
8765
8776
|
icmpReplyEnabled?: boolean;
|
|
8766
8777
|
/**
|
|
@@ -8787,7 +8798,7 @@ export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
8787
8798
|
* @remarks
|
|
8788
8799
|
* The name of the NAT gateway.
|
|
8789
8800
|
*
|
|
8790
|
-
* The name must be 2 to 128 characters in length
|
|
8801
|
+
* 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.
|
|
8791
8802
|
*
|
|
8792
8803
|
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
8793
8804
|
*
|
|
@@ -8824,6 +8835,10 @@ export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
8824
8835
|
* Invalid parameter.
|
|
8825
8836
|
*/
|
|
8826
8837
|
pricingCycle?: string;
|
|
8838
|
+
/**
|
|
8839
|
+
* @remarks
|
|
8840
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
8841
|
+
*/
|
|
8827
8842
|
privateLinkEnabled?: boolean;
|
|
8828
8843
|
/**
|
|
8829
8844
|
* @remarks
|
|
@@ -8862,6 +8877,9 @@ export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
|
8862
8877
|
/**
|
|
8863
8878
|
* @remarks
|
|
8864
8879
|
* The tags.
|
|
8880
|
+
*
|
|
8881
|
+
* @example
|
|
8882
|
+
* MULTI_BINDED
|
|
8865
8883
|
*/
|
|
8866
8884
|
tag?: CreateNatGatewayShrinkRequestTag[];
|
|
8867
8885
|
/**
|
|
@@ -11186,22 +11204,35 @@ export declare class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
11186
11204
|
compress?: boolean;
|
|
11187
11205
|
/**
|
|
11188
11206
|
* @remarks
|
|
11189
|
-
* Specifies whether to enable two-factor authentication.
|
|
11207
|
+
* Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify `IDaaSInstanceId`, `IDaaSRegionId`, and `IDaaSApplicationId`. Valid values:
|
|
11208
|
+
*
|
|
11209
|
+
* * **true**
|
|
11210
|
+
* * **false** (default)
|
|
11211
|
+
*
|
|
11212
|
+
* >
|
|
11190
11213
|
*
|
|
11191
|
-
* *
|
|
11192
|
-
* * **false** (default): disables this feature.
|
|
11214
|
+
* * 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.
|
|
11193
11215
|
*
|
|
11194
|
-
*
|
|
11195
|
-
* > - If two-factor authentication is already enabled for existing SSL servers, you can continue to use two-factor authentication.
|
|
11216
|
+
* * 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.
|
|
11196
11217
|
*
|
|
11197
11218
|
* @example
|
|
11198
11219
|
* false
|
|
11199
11220
|
*/
|
|
11200
11221
|
enableMultiFactorAuth?: boolean;
|
|
11222
|
+
/**
|
|
11223
|
+
* @remarks
|
|
11224
|
+
* The ID of the IDaaS application.
|
|
11225
|
+
*
|
|
11226
|
+
* * If an IDaaS EIAM 2.0 instance is associated, you need to specify an IDaaS application ID.
|
|
11227
|
+
* * If an IDaaS EIAM 1.0 instance is associated, you do not need to specify an IDaaS application ID.
|
|
11228
|
+
*
|
|
11229
|
+
* @example
|
|
11230
|
+
* app_my6g4qmvnwxzj2f****
|
|
11231
|
+
*/
|
|
11201
11232
|
IDaaSApplicationId?: string;
|
|
11202
11233
|
/**
|
|
11203
11234
|
* @remarks
|
|
11204
|
-
* The
|
|
11235
|
+
* The ID of the IDaaS EIAM instance.
|
|
11205
11236
|
*
|
|
11206
11237
|
* @example
|
|
11207
11238
|
* idaas-cn-hangzhou-p****
|
|
@@ -11209,7 +11240,7 @@ export declare class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
11209
11240
|
IDaaSInstanceId?: string;
|
|
11210
11241
|
/**
|
|
11211
11242
|
* @remarks
|
|
11212
|
-
* The ID of the
|
|
11243
|
+
* The region ID of the IDaaS EIAM instance.
|
|
11213
11244
|
*
|
|
11214
11245
|
* @example
|
|
11215
11246
|
* cn-hangzhou
|
|
@@ -13649,9 +13680,7 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13649
13680
|
clientToken?: string;
|
|
13650
13681
|
/**
|
|
13651
13682
|
* @remarks
|
|
13652
|
-
* The
|
|
13653
|
-
*
|
|
13654
|
-
* This parameter is required.
|
|
13683
|
+
* The customer gateway ID.
|
|
13655
13684
|
*
|
|
13656
13685
|
* @example
|
|
13657
13686
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -13690,6 +13719,7 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13690
13719
|
* true
|
|
13691
13720
|
*/
|
|
13692
13721
|
enableNatTraversal?: boolean;
|
|
13722
|
+
enableTunnelsBgp?: boolean;
|
|
13693
13723
|
/**
|
|
13694
13724
|
* @remarks
|
|
13695
13725
|
* The health check configuration:
|
|
@@ -13717,14 +13747,14 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13717
13747
|
* @remarks
|
|
13718
13748
|
* The configurations of Phase 1 negotiations:
|
|
13719
13749
|
*
|
|
13720
|
-
* * **IkeConfig.Psk**:
|
|
13750
|
+
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
13721
13751
|
*
|
|
13722
|
-
* *
|
|
13723
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
13752
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
13753
|
+
* * 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.
|
|
13724
13754
|
*
|
|
13725
|
-
* > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise,
|
|
13755
|
+
* > 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.
|
|
13726
13756
|
*
|
|
13727
|
-
* * **IkeConfig.IkeVersion**: the IKE
|
|
13757
|
+
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
13728
13758
|
*
|
|
13729
13759
|
* * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
13730
13760
|
*
|
|
@@ -13734,9 +13764,9 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13734
13764
|
*
|
|
13735
13765
|
* * **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**.
|
|
13736
13766
|
*
|
|
13737
|
-
* * **IkeConfig.IkeLifetime**: the SA lifetime
|
|
13767
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
13738
13768
|
*
|
|
13739
|
-
* * **IkeConfig.
|
|
13769
|
+
* * **IkeConfig.LocalIdIPsec**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length. This parameter is left empty by default.
|
|
13740
13770
|
*
|
|
13741
13771
|
* * **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.
|
|
13742
13772
|
*
|
|
@@ -13855,6 +13885,11 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13855
13885
|
* Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
|
|
13856
13886
|
*/
|
|
13857
13887
|
tags?: CreateVpnAttachmentRequestTags[];
|
|
13888
|
+
/**
|
|
13889
|
+
* **if can be null:**
|
|
13890
|
+
* true
|
|
13891
|
+
*/
|
|
13892
|
+
tunnelOptionsSpecification?: CreateVpnAttachmentRequestTunnelOptionsSpecification[];
|
|
13858
13893
|
static names(): {
|
|
13859
13894
|
[key: string]: string;
|
|
13860
13895
|
};
|
|
@@ -14079,26 +14114,28 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
14079
14114
|
healthCheckConfig?: string;
|
|
14080
14115
|
/**
|
|
14081
14116
|
* @remarks
|
|
14082
|
-
* This parameter is
|
|
14117
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
14083
14118
|
*
|
|
14084
14119
|
* The configurations of Phase 1 negotiations:
|
|
14085
14120
|
*
|
|
14086
|
-
* * **IkeConfig.Psk**:
|
|
14121
|
+
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
14087
14122
|
*
|
|
14088
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
14123
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
14089
14124
|
*
|
|
14090
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
14125
|
+
* * 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.
|
|
14091
14126
|
*
|
|
14092
|
-
*
|
|
14127
|
+
* **
|
|
14128
|
+
*
|
|
14129
|
+
* **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.
|
|
14093
14130
|
*
|
|
14094
14131
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
14095
14132
|
*
|
|
14096
|
-
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and
|
|
14133
|
+
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
14097
14134
|
*
|
|
14098
14135
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
14099
14136
|
*
|
|
14100
14137
|
* * **main:** This mode offers higher security during negotiations.
|
|
14101
|
-
* * **aggressive
|
|
14138
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
14102
14139
|
*
|
|
14103
14140
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
14104
14141
|
*
|
|
@@ -14108,13 +14145,13 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
14108
14145
|
*
|
|
14109
14146
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
14110
14147
|
*
|
|
14111
|
-
* * **IkeConfig.IkePfs**: the Diffie-Hellman
|
|
14148
|
+
* * **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**.
|
|
14112
14149
|
*
|
|
14113
|
-
* * **IkeConfig.IkeLifetime**: the SA lifetime
|
|
14150
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
14114
14151
|
*
|
|
14115
|
-
* * **IkeConfig.LocalId**: the identifier of the VPN gateway.
|
|
14152
|
+
* * **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.
|
|
14116
14153
|
*
|
|
14117
|
-
* * **IkeConfig.RemoteId**: the identifier of the customer gateway.
|
|
14154
|
+
* * **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.
|
|
14118
14155
|
*
|
|
14119
14156
|
* @example
|
|
14120
14157
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -14226,8 +14263,8 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
14226
14263
|
* @remarks
|
|
14227
14264
|
* The tunnel configurations.
|
|
14228
14265
|
*
|
|
14229
|
-
* * You can specify
|
|
14230
|
-
* *
|
|
14266
|
+
* * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
|
|
14267
|
+
* * 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.
|
|
14231
14268
|
*
|
|
14232
14269
|
* **if can be null:**
|
|
14233
14270
|
* true
|
|
@@ -29002,6 +29039,7 @@ export declare class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
|
|
|
29002
29039
|
* The list of routes.
|
|
29003
29040
|
*/
|
|
29004
29041
|
vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
|
|
29042
|
+
vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
|
|
29005
29043
|
static names(): {
|
|
29006
29044
|
[key: string]: string;
|
|
29007
29045
|
};
|
|
@@ -30949,31 +30987,36 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
30949
30987
|
status?: string;
|
|
30950
30988
|
/**
|
|
30951
30989
|
* @remarks
|
|
30952
|
-
* The automatically generated tag of the
|
|
30990
|
+
* The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
|
|
30953
30991
|
*
|
|
30954
30992
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
30955
30993
|
*
|
|
30956
30994
|
* * **true**
|
|
30957
30995
|
* * **false**
|
|
30958
30996
|
*
|
|
30959
|
-
* * **VisuallySsl**: indicates whether the VPN gateway allows you to view information
|
|
30997
|
+
* * **VisuallySsl**: indicates whether the VPN gateway allows you to view the connection information of SSL clients. Valid values:
|
|
30960
30998
|
*
|
|
30961
30999
|
* * **true**
|
|
30962
31000
|
* * **false**
|
|
30963
31001
|
*
|
|
30964
|
-
* * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes.
|
|
31002
|
+
* * **PbrPriority**: indicates whether the VPN gateway allows you to configure priorities for policy-based routes. Valid values:
|
|
30965
31003
|
*
|
|
30966
31004
|
* * **true**
|
|
30967
31005
|
* * **false**
|
|
30968
31006
|
*
|
|
30969
|
-
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
|
|
31007
|
+
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
30970
31008
|
*
|
|
30971
31009
|
* * **true**
|
|
30972
31010
|
* * **false**
|
|
30973
31011
|
*
|
|
30974
|
-
* * **description
|
|
31012
|
+
* * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
31013
|
+
*
|
|
31014
|
+
* * **VpnVersion**: the version of the VPN gateway.
|
|
30975
31015
|
*
|
|
30976
|
-
* * **
|
|
31016
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
31017
|
+
*
|
|
31018
|
+
* * **true**
|
|
31019
|
+
* * **false**
|
|
30977
31020
|
*
|
|
30978
31021
|
* @example
|
|
30979
31022
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
@@ -30981,7 +31024,7 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
30981
31024
|
tag?: string;
|
|
30982
31025
|
/**
|
|
30983
31026
|
* @remarks
|
|
30984
|
-
* The
|
|
31027
|
+
* The tags that are added to the VPN gateway.
|
|
30985
31028
|
*/
|
|
30986
31029
|
tags?: DescribeVpnGatewayResponseBodyTags;
|
|
30987
31030
|
/**
|
|
@@ -31010,9 +31053,7 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
31010
31053
|
vpnGatewayId?: string;
|
|
31011
31054
|
/**
|
|
31012
31055
|
* @remarks
|
|
31013
|
-
* The type of
|
|
31014
|
-
*
|
|
31015
|
-
* Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
31056
|
+
* The type of VPN gateway. Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
31016
31057
|
*
|
|
31017
31058
|
* @example
|
|
31018
31059
|
* Normal
|
|
@@ -31199,11 +31240,7 @@ export declare class DescribeVpnGatewaysRequest extends $tea.Model {
|
|
|
31199
31240
|
status?: string;
|
|
31200
31241
|
/**
|
|
31201
31242
|
* @remarks
|
|
31202
|
-
* The
|
|
31203
|
-
*
|
|
31204
|
-
* 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://`.
|
|
31205
|
-
*
|
|
31206
|
-
* Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
|
|
31243
|
+
* The tags that are added to the VPN gateway.
|
|
31207
31244
|
*/
|
|
31208
31245
|
tag?: DescribeVpnGatewaysRequestTag[];
|
|
31209
31246
|
/**
|
|
@@ -31267,7 +31304,7 @@ export declare class DescribeVpnGatewaysResponseBody extends $tea.Model {
|
|
|
31267
31304
|
totalCount?: number;
|
|
31268
31305
|
/**
|
|
31269
31306
|
* @remarks
|
|
31270
|
-
* The VPN gateways.
|
|
31307
|
+
* The information about the VPN gateways.
|
|
31271
31308
|
*/
|
|
31272
31309
|
vpnGateways?: DescribeVpnGatewaysResponseBodyVpnGateways;
|
|
31273
31310
|
static names(): {
|
|
@@ -31510,6 +31547,7 @@ export declare class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
|
|
|
31510
31547
|
* 1
|
|
31511
31548
|
*/
|
|
31512
31549
|
totalCount?: number;
|
|
31550
|
+
vpnRouteCounts?: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts;
|
|
31513
31551
|
/**
|
|
31514
31552
|
* @remarks
|
|
31515
31553
|
* The list of route entries.
|
|
@@ -32522,7 +32560,7 @@ export declare class DissociateVpnGatewayWithCertificateRequest extends $tea.Mod
|
|
|
32522
32560
|
* @remarks
|
|
32523
32561
|
* The certificate ID.
|
|
32524
32562
|
*
|
|
32525
|
-
* >
|
|
32563
|
+
* > 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.
|
|
32526
32564
|
*
|
|
32527
32565
|
* This parameter is required.
|
|
32528
32566
|
*
|
|
@@ -44663,6 +44701,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
44663
44701
|
* true
|
|
44664
44702
|
*/
|
|
44665
44703
|
enableNatTraversal?: boolean;
|
|
44704
|
+
/**
|
|
44705
|
+
* **if can be null:**
|
|
44706
|
+
* true
|
|
44707
|
+
*/
|
|
44708
|
+
enableTunnelsBgp?: boolean;
|
|
44666
44709
|
/**
|
|
44667
44710
|
* @remarks
|
|
44668
44711
|
* The health check configurations:
|
|
@@ -44807,6 +44850,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
44807
44850
|
remoteSubnet?: string;
|
|
44808
44851
|
resourceOwnerAccount?: string;
|
|
44809
44852
|
resourceOwnerId?: number;
|
|
44853
|
+
/**
|
|
44854
|
+
* **if can be null:**
|
|
44855
|
+
* true
|
|
44856
|
+
*/
|
|
44857
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification[];
|
|
44810
44858
|
/**
|
|
44811
44859
|
* @remarks
|
|
44812
44860
|
* The ID of the IPsec-VPN connection.
|
|
@@ -44907,6 +44955,7 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model
|
|
|
44907
44955
|
* true
|
|
44908
44956
|
*/
|
|
44909
44957
|
enableNatTraversal?: boolean;
|
|
44958
|
+
enableTunnelsBgp?: boolean;
|
|
44910
44959
|
/**
|
|
44911
44960
|
* @remarks
|
|
44912
44961
|
* The configuration of Phase 1 negotiations.
|
|
@@ -44993,6 +45042,7 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model
|
|
|
44993
45042
|
* ike_sa_not_established
|
|
44994
45043
|
*/
|
|
44995
45044
|
status?: string;
|
|
45045
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
|
|
44996
45046
|
/**
|
|
44997
45047
|
* @remarks
|
|
44998
45048
|
* The health check configuration of the IPsec-VPN connection.
|
|
@@ -45059,27 +45109,27 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
45059
45109
|
autoConfigRoute?: boolean;
|
|
45060
45110
|
/**
|
|
45061
45111
|
* @remarks
|
|
45062
|
-
* This parameter is supported
|
|
45112
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
45063
45113
|
*
|
|
45064
|
-
*
|
|
45114
|
+
* BGP configuration:
|
|
45065
45115
|
*
|
|
45066
|
-
* * **BgpConfig.EnableBgp
|
|
45116
|
+
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**.
|
|
45067
45117
|
*
|
|
45068
45118
|
* * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
45069
45119
|
*
|
|
45070
|
-
* You can enter
|
|
45120
|
+
* 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.
|
|
45071
45121
|
*
|
|
45072
|
-
* For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
|
|
45122
|
+
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
45073
45123
|
*
|
|
45074
|
-
* * **BgpConfig.TunnelCidr**:
|
|
45124
|
+
* * **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.
|
|
45075
45125
|
*
|
|
45076
|
-
* > The CIDR block of the IPsec tunnel
|
|
45126
|
+
* > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
|
|
45077
45127
|
*
|
|
45078
|
-
* * **LocalBgpIp**: the BGP
|
|
45128
|
+
* * **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.
|
|
45079
45129
|
*
|
|
45080
45130
|
* > - This parameter is required when the VPN gateway has dynamic BGP enabled.
|
|
45081
|
-
* > - Before you
|
|
45082
|
-
* > - We recommend that you use a private ASN to establish
|
|
45131
|
+
* > - 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).
|
|
45132
|
+
* > - 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.
|
|
45083
45133
|
*
|
|
45084
45134
|
* @example
|
|
45085
45135
|
* {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -45165,25 +45215,27 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
45165
45215
|
healthCheckConfig?: string;
|
|
45166
45216
|
/**
|
|
45167
45217
|
* @remarks
|
|
45168
|
-
* This parameter is supported
|
|
45218
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
45169
45219
|
*
|
|
45170
45220
|
* The configurations of Phase 1 negotiations:
|
|
45171
45221
|
*
|
|
45172
|
-
* * **IkeConfig.Psk**:
|
|
45222
|
+
* * **IkeConfig.Psk**: The pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
45223
|
+
*
|
|
45224
|
+
* * 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: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
45225
|
+
* * 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.
|
|
45173
45226
|
*
|
|
45174
|
-
*
|
|
45175
|
-
* * 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.
|
|
45227
|
+
* **
|
|
45176
45228
|
*
|
|
45177
|
-
*
|
|
45229
|
+
* **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.
|
|
45178
45230
|
*
|
|
45179
45231
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
|
|
45180
45232
|
*
|
|
45181
|
-
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and
|
|
45233
|
+
* Compared with IKEv1, IKEv2 simplifies the security association (SA) negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
45182
45234
|
*
|
|
45183
45235
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**.
|
|
45184
45236
|
*
|
|
45185
|
-
* * **main
|
|
45186
|
-
* * **aggressive
|
|
45237
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
45238
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
45187
45239
|
*
|
|
45188
45240
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
45189
45241
|
*
|
|
@@ -45193,13 +45245,13 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
45193
45245
|
*
|
|
45194
45246
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
45195
45247
|
*
|
|
45196
|
-
* * **IkeConfig.IkePfs**: the Diffie-Hellman
|
|
45248
|
+
* * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
45197
45249
|
*
|
|
45198
|
-
* * **IkeConfig.IkeLifetime**: the
|
|
45250
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
|
|
45199
45251
|
*
|
|
45200
|
-
* * **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.
|
|
45252
|
+
* * **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.
|
|
45201
45253
|
*
|
|
45202
|
-
* * **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.
|
|
45254
|
+
* * **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.
|
|
45203
45255
|
*
|
|
45204
45256
|
* @example
|
|
45205
45257
|
* {"Psk":"pgw6dy7d1i8i****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"116.64.XX.XX","RemoteId":"139.18.XX.XX"}
|
|
@@ -45299,7 +45351,7 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
45299
45351
|
* @remarks
|
|
45300
45352
|
* The tunnel configurations.
|
|
45301
45353
|
*
|
|
45302
|
-
* You can specify
|
|
45354
|
+
* 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.
|
|
45303
45355
|
*
|
|
45304
45356
|
* **if can be null:**
|
|
45305
45357
|
* true
|
|
@@ -52677,7 +52729,28 @@ export declare class CreateIpv6GatewayRequestTag extends $tea.Model {
|
|
|
52677
52729
|
});
|
|
52678
52730
|
}
|
|
52679
52731
|
export declare class CreateNatGatewayRequestAccessMode extends $tea.Model {
|
|
52732
|
+
/**
|
|
52733
|
+
* @remarks
|
|
52734
|
+
* Access mode. Valid values:
|
|
52735
|
+
*
|
|
52736
|
+
* - **route**: route mode
|
|
52737
|
+
*
|
|
52738
|
+
* - **tunnel**: tunnel mode
|
|
52739
|
+
*
|
|
52740
|
+
* > If this parameter is specified, you must set **PrivateLinkEnabled** to **true**.
|
|
52741
|
+
*
|
|
52742
|
+
* @example
|
|
52743
|
+
* route
|
|
52744
|
+
*/
|
|
52680
52745
|
modeValue?: string;
|
|
52746
|
+
/**
|
|
52747
|
+
* @remarks
|
|
52748
|
+
* Tunnel mode type:
|
|
52749
|
+
*
|
|
52750
|
+
* - **geneve**: Geneve type
|
|
52751
|
+
*
|
|
52752
|
+
* > This value takes effect if the access mode is the tunnel mode.
|
|
52753
|
+
*/
|
|
52681
52754
|
tunnelType?: string;
|
|
52682
52755
|
static names(): {
|
|
52683
52756
|
[key: string]: string;
|
|
@@ -52692,7 +52765,7 @@ export declare class CreateNatGatewayRequestAccessMode extends $tea.Model {
|
|
|
52692
52765
|
export declare class CreateNatGatewayRequestTag extends $tea.Model {
|
|
52693
52766
|
/**
|
|
52694
52767
|
* @remarks
|
|
52695
|
-
* 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
|
|
52768
|
+
* 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.
|
|
52696
52769
|
*
|
|
52697
52770
|
* @example
|
|
52698
52771
|
* TestKey
|
|
@@ -52700,7 +52773,7 @@ export declare class CreateNatGatewayRequestTag extends $tea.Model {
|
|
|
52700
52773
|
key?: string;
|
|
52701
52774
|
/**
|
|
52702
52775
|
* @remarks
|
|
52703
|
-
* The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag
|
|
52776
|
+
* 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.
|
|
52704
52777
|
*
|
|
52705
52778
|
* @example
|
|
52706
52779
|
* TestValue
|
|
@@ -52719,7 +52792,7 @@ export declare class CreateNatGatewayRequestTag extends $tea.Model {
|
|
|
52719
52792
|
export declare class CreateNatGatewayShrinkRequestTag extends $tea.Model {
|
|
52720
52793
|
/**
|
|
52721
52794
|
* @remarks
|
|
52722
|
-
* 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
|
|
52795
|
+
* 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.
|
|
52723
52796
|
*
|
|
52724
52797
|
* @example
|
|
52725
52798
|
* TestKey
|
|
@@ -52727,7 +52800,7 @@ export declare class CreateNatGatewayShrinkRequestTag extends $tea.Model {
|
|
|
52727
52800
|
key?: string;
|
|
52728
52801
|
/**
|
|
52729
52802
|
* @remarks
|
|
52730
|
-
* The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag
|
|
52803
|
+
* 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.
|
|
52731
52804
|
*
|
|
52732
52805
|
* @example
|
|
52733
52806
|
* TestValue
|
|
@@ -54149,6 +54222,73 @@ export declare class CreateVpnAttachmentRequestTags extends $tea.Model {
|
|
|
54149
54222
|
[key: string]: any;
|
|
54150
54223
|
});
|
|
54151
54224
|
}
|
|
54225
|
+
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
54226
|
+
localAsn?: number;
|
|
54227
|
+
localBgpIp?: string;
|
|
54228
|
+
tunnelCidr?: string;
|
|
54229
|
+
static names(): {
|
|
54230
|
+
[key: string]: string;
|
|
54231
|
+
};
|
|
54232
|
+
static types(): {
|
|
54233
|
+
[key: string]: any;
|
|
54234
|
+
};
|
|
54235
|
+
constructor(map?: {
|
|
54236
|
+
[key: string]: any;
|
|
54237
|
+
});
|
|
54238
|
+
}
|
|
54239
|
+
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
54240
|
+
ikeAuthAlg?: string;
|
|
54241
|
+
ikeEncAlg?: string;
|
|
54242
|
+
ikeLifetime?: number;
|
|
54243
|
+
ikeMode?: string;
|
|
54244
|
+
ikePfs?: string;
|
|
54245
|
+
ikeVersion?: string;
|
|
54246
|
+
localId?: string;
|
|
54247
|
+
psk?: string;
|
|
54248
|
+
remoteId?: string;
|
|
54249
|
+
static names(): {
|
|
54250
|
+
[key: string]: string;
|
|
54251
|
+
};
|
|
54252
|
+
static types(): {
|
|
54253
|
+
[key: string]: any;
|
|
54254
|
+
};
|
|
54255
|
+
constructor(map?: {
|
|
54256
|
+
[key: string]: any;
|
|
54257
|
+
});
|
|
54258
|
+
}
|
|
54259
|
+
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
54260
|
+
ipsecAuthAlg?: string;
|
|
54261
|
+
ipsecEncAlg?: string;
|
|
54262
|
+
ipsecLifetime?: number;
|
|
54263
|
+
ipsecPfs?: string;
|
|
54264
|
+
static names(): {
|
|
54265
|
+
[key: string]: string;
|
|
54266
|
+
};
|
|
54267
|
+
static types(): {
|
|
54268
|
+
[key: string]: any;
|
|
54269
|
+
};
|
|
54270
|
+
constructor(map?: {
|
|
54271
|
+
[key: string]: any;
|
|
54272
|
+
});
|
|
54273
|
+
}
|
|
54274
|
+
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $tea.Model {
|
|
54275
|
+
customerGatewayId?: string;
|
|
54276
|
+
enableDpd?: boolean;
|
|
54277
|
+
enableNatTraversal?: boolean;
|
|
54278
|
+
tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
54279
|
+
tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
54280
|
+
tunnelIndex?: number;
|
|
54281
|
+
tunnelIpsecConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
54282
|
+
static names(): {
|
|
54283
|
+
[key: string]: string;
|
|
54284
|
+
};
|
|
54285
|
+
static types(): {
|
|
54286
|
+
[key: string]: any;
|
|
54287
|
+
};
|
|
54288
|
+
constructor(map?: {
|
|
54289
|
+
[key: string]: any;
|
|
54290
|
+
});
|
|
54291
|
+
}
|
|
54152
54292
|
export declare class CreateVpnConnectionRequestTags extends $tea.Model {
|
|
54153
54293
|
/**
|
|
54154
54294
|
* @remarks
|
|
@@ -54187,11 +54327,13 @@ export declare class CreateVpnConnectionRequestTags extends $tea.Model {
|
|
|
54187
54327
|
export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
54188
54328
|
/**
|
|
54189
54329
|
* @remarks
|
|
54190
|
-
* The ASN on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
54330
|
+
* The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
54331
|
+
*
|
|
54191
54332
|
*
|
|
54192
|
-
*
|
|
54193
|
-
*
|
|
54194
|
-
*
|
|
54333
|
+
*
|
|
54334
|
+
* > - If you set **EnableTunnelsBgp** to **true**, you must set this parameter.
|
|
54335
|
+
* > - 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).
|
|
54336
|
+
* > - 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.
|
|
54195
54337
|
*
|
|
54196
54338
|
* @example
|
|
54197
54339
|
* 65530
|
|
@@ -54199,7 +54341,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
54199
54341
|
localAsn?: number;
|
|
54200
54342
|
/**
|
|
54201
54343
|
* @remarks
|
|
54202
|
-
* The BGP address on the Alibaba Cloud side. The address is an IP address that falls within the BGP CIDR block
|
|
54344
|
+
* 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.
|
|
54203
54345
|
*
|
|
54204
54346
|
* @example
|
|
54205
54347
|
* 169.254.10.1
|
|
@@ -54207,9 +54349,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
54207
54349
|
localBgpIp?: string;
|
|
54208
54350
|
/**
|
|
54209
54351
|
* @remarks
|
|
54210
|
-
* The BGP CIDR block of the tunnel. The CIDR block must
|
|
54352
|
+
* 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.
|
|
54211
54353
|
*
|
|
54212
|
-
* > The BGP CIDR block of
|
|
54354
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
54213
54355
|
*
|
|
54214
54356
|
* @example
|
|
54215
54357
|
* 169.254.10.0/30
|
|
@@ -54248,7 +54390,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54248
54390
|
ikeEncAlg?: string;
|
|
54249
54391
|
/**
|
|
54250
54392
|
* @remarks
|
|
54251
|
-
* The SA lifetime
|
|
54393
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
|
|
54252
54394
|
*
|
|
54253
54395
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
54254
54396
|
*
|
|
@@ -54260,8 +54402,8 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54260
54402
|
* @remarks
|
|
54261
54403
|
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
54262
54404
|
*
|
|
54263
|
-
* * **main
|
|
54264
|
-
* * **aggressive**: This mode
|
|
54405
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
54406
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
54265
54407
|
*
|
|
54266
54408
|
* @example
|
|
54267
54409
|
* main
|
|
@@ -54269,7 +54411,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54269
54411
|
ikeMode?: string;
|
|
54270
54412
|
/**
|
|
54271
54413
|
* @remarks
|
|
54272
|
-
* The
|
|
54414
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
|
|
54273
54415
|
* Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
54274
54416
|
*
|
|
54275
54417
|
* @example
|
|
@@ -54280,7 +54422,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54280
54422
|
* @remarks
|
|
54281
54423
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
54282
54424
|
*
|
|
54283
|
-
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and
|
|
54425
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
54284
54426
|
*
|
|
54285
54427
|
* @example
|
|
54286
54428
|
* ikev1
|
|
@@ -54288,9 +54430,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54288
54430
|
ikeVersion?: string;
|
|
54289
54431
|
/**
|
|
54290
54432
|
* @remarks
|
|
54291
|
-
* The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations.
|
|
54433
|
+
* 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.
|
|
54292
54434
|
*
|
|
54293
|
-
*
|
|
54435
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
54294
54436
|
*
|
|
54295
54437
|
* @example
|
|
54296
54438
|
* 47.21.XX.XX
|
|
@@ -54298,10 +54440,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54298
54440
|
localId?: string;
|
|
54299
54441
|
/**
|
|
54300
54442
|
* @remarks
|
|
54301
|
-
* The pre-shared key
|
|
54443
|
+
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
54302
54444
|
*
|
|
54303
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
54304
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
54445
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
54446
|
+
* * 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.
|
|
54305
54447
|
*
|
|
54306
54448
|
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
54307
54449
|
*
|
|
@@ -54311,9 +54453,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54311
54453
|
psk?: string;
|
|
54312
54454
|
/**
|
|
54313
54455
|
* @remarks
|
|
54314
|
-
* The identifier of the tunnel peer, which is used in Phase 1 negotiations.
|
|
54456
|
+
* 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.
|
|
54315
54457
|
*
|
|
54316
|
-
*
|
|
54458
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
54317
54459
|
*
|
|
54318
54460
|
* @example
|
|
54319
54461
|
* 47.42.XX.XX
|
|
@@ -54352,7 +54494,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54352
54494
|
ipsecEncAlg?: string;
|
|
54353
54495
|
/**
|
|
54354
54496
|
* @remarks
|
|
54355
|
-
* The SA lifetime
|
|
54497
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
|
|
54356
54498
|
*
|
|
54357
54499
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
54358
54500
|
*
|
|
@@ -54362,7 +54504,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54362
54504
|
ipsecLifetime?: number;
|
|
54363
54505
|
/**
|
|
54364
54506
|
* @remarks
|
|
54365
|
-
* The
|
|
54507
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
|
|
54366
54508
|
*
|
|
54367
54509
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
54368
54510
|
*
|
|
@@ -54383,11 +54525,11 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54383
54525
|
export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.Model {
|
|
54384
54526
|
/**
|
|
54385
54527
|
* @remarks
|
|
54386
|
-
* The ID of the customer gateway associated with the tunnel.
|
|
54528
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
54387
54529
|
*
|
|
54388
|
-
* >
|
|
54389
|
-
*
|
|
54390
|
-
*
|
|
54530
|
+
* > - This parameter is required when you create an IPsec-VPN connection in dual-tunnel mode.
|
|
54531
|
+
* > - You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
|
|
54532
|
+
* > - 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.
|
|
54391
54533
|
*
|
|
54392
54534
|
* @example
|
|
54393
54535
|
* cgw-p0wy363lucf1uyae8****
|
|
@@ -54395,10 +54537,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54395
54537
|
customerGatewayId?: string;
|
|
54396
54538
|
/**
|
|
54397
54539
|
* @remarks
|
|
54398
|
-
* Specifies whether to enable DPD for the tunnel. Valid values:
|
|
54540
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
54399
54541
|
*
|
|
54400
|
-
* * **true** (default) The initiator of the IPsec-VPN connection sends DPD packets to
|
|
54401
|
-
* * **false
|
|
54542
|
+
* * **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.
|
|
54543
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
54402
54544
|
*
|
|
54403
54545
|
* @example
|
|
54404
54546
|
* true
|
|
@@ -54408,8 +54550,8 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54408
54550
|
* @remarks
|
|
54409
54551
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
54410
54552
|
*
|
|
54411
|
-
* * **true** (default) After NAT traversal is enabled, the
|
|
54412
|
-
* * **false
|
|
54553
|
+
* * **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.
|
|
54554
|
+
* * **false**: disables NAT traversal.
|
|
54413
54555
|
*
|
|
54414
54556
|
* @example
|
|
54415
54557
|
* true
|
|
@@ -54417,10 +54559,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54417
54559
|
enableNatTraversal?: boolean;
|
|
54418
54560
|
/**
|
|
54419
54561
|
* @remarks
|
|
54420
|
-
*
|
|
54562
|
+
* If the VPN gateway uses an SM certificate, you need to configure the CA certificate used by the IPsec peer.
|
|
54421
54563
|
*
|
|
54422
|
-
* * If
|
|
54423
|
-
* * If
|
|
54564
|
+
* * If the VPN gateway uses an SM certificate, this parameter is required.
|
|
54565
|
+
* * If the VPN gateway does not use an SM certificate, leave this parameter empty.
|
|
54424
54566
|
*
|
|
54425
54567
|
* @example
|
|
54426
54568
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
@@ -54428,10 +54570,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54428
54570
|
remoteCaCertificate?: string;
|
|
54429
54571
|
/**
|
|
54430
54572
|
* @remarks
|
|
54431
|
-
* The role of the tunnel. Valid values:
|
|
54573
|
+
* The role of the tunnel. Valid values: Valid values:
|
|
54432
54574
|
*
|
|
54433
|
-
* * **master**: The tunnel is
|
|
54434
|
-
* * **slave**: The tunnel is
|
|
54575
|
+
* * **master**: The tunnel is an active tunnel.
|
|
54576
|
+
* * **slave**: The tunnel is a standby tunnel.
|
|
54435
54577
|
*
|
|
54436
54578
|
* @example
|
|
54437
54579
|
* master
|
|
@@ -54439,7 +54581,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54439
54581
|
role?: string;
|
|
54440
54582
|
/**
|
|
54441
54583
|
* @remarks
|
|
54442
|
-
* The BGP configurations
|
|
54584
|
+
* The Border Gateway Protocol (BGP) configurations of the tunnel.
|
|
54443
54585
|
*/
|
|
54444
54586
|
tunnelBgpConfig?: CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
54445
54587
|
/**
|
|
@@ -64239,6 +64381,7 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
64239
64381
|
* vco-p0w2jpkhi2eeop6q6****
|
|
64240
64382
|
*/
|
|
64241
64383
|
nextHop?: string;
|
|
64384
|
+
nextHopTunnelIdList?: string[];
|
|
64242
64385
|
/**
|
|
64243
64386
|
* @remarks
|
|
64244
64387
|
* The destination CIDR block of the route.
|
|
@@ -64309,6 +64452,20 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
64309
64452
|
[key: string]: any;
|
|
64310
64453
|
});
|
|
64311
64454
|
}
|
|
64455
|
+
export declare class DescribeVcoRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
|
|
64456
|
+
routeCount?: number;
|
|
64457
|
+
routeEntryType?: string;
|
|
64458
|
+
source?: string;
|
|
64459
|
+
static names(): {
|
|
64460
|
+
[key: string]: string;
|
|
64461
|
+
};
|
|
64462
|
+
static types(): {
|
|
64463
|
+
[key: string]: any;
|
|
64464
|
+
};
|
|
64465
|
+
constructor(map?: {
|
|
64466
|
+
[key: string]: any;
|
|
64467
|
+
});
|
|
64468
|
+
}
|
|
64312
64469
|
export declare class DescribeVirtualBorderRoutersRequestFilter extends $tea.Model {
|
|
64313
64470
|
/**
|
|
64314
64471
|
* @remarks
|
|
@@ -65940,6 +66097,19 @@ export declare class DescribeVpcsResponseBodyVpcs extends $tea.Model {
|
|
|
65940
66097
|
[key: string]: any;
|
|
65941
66098
|
});
|
|
65942
66099
|
}
|
|
66100
|
+
export declare class DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags extends $tea.Model {
|
|
66101
|
+
key?: string;
|
|
66102
|
+
value?: string;
|
|
66103
|
+
static names(): {
|
|
66104
|
+
[key: string]: string;
|
|
66105
|
+
};
|
|
66106
|
+
static types(): {
|
|
66107
|
+
[key: string]: any;
|
|
66108
|
+
};
|
|
66109
|
+
constructor(map?: {
|
|
66110
|
+
[key: string]: any;
|
|
66111
|
+
});
|
|
66112
|
+
}
|
|
65943
66113
|
export declare class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model {
|
|
65944
66114
|
/**
|
|
65945
66115
|
* @remarks
|
|
@@ -65984,6 +66154,8 @@ export declare class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $t
|
|
|
65984
66154
|
* nametest1
|
|
65985
66155
|
*/
|
|
65986
66156
|
name?: string;
|
|
66157
|
+
tag?: string;
|
|
66158
|
+
tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
|
|
65987
66159
|
/**
|
|
65988
66160
|
* @remarks
|
|
65989
66161
|
* The ID of the transit router with which the IPsec-VPN connection is associated.
|
|
@@ -66477,6 +66649,7 @@ export declare class DescribeVpnConnectionResponseBodyTunnelOptionsSpecification
|
|
|
66477
66649
|
* The configuration of Phase 1 negotiations.
|
|
66478
66650
|
*/
|
|
66479
66651
|
tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
66652
|
+
tunnelIndex?: number;
|
|
66480
66653
|
/**
|
|
66481
66654
|
* @remarks
|
|
66482
66655
|
* The configurations of Phase 2 negotiations.
|
|
@@ -67185,6 +67358,7 @@ export declare class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnecti
|
|
|
67185
67358
|
* The configuration of Phase 1 negotiations.
|
|
67186
67359
|
*/
|
|
67187
67360
|
tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
67361
|
+
tunnelIndex?: number;
|
|
67188
67362
|
/**
|
|
67189
67363
|
* @remarks
|
|
67190
67364
|
* The configurations of Phase 2 negotiations.
|
|
@@ -67879,11 +68053,9 @@ export declare class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneId
|
|
|
67879
68053
|
export declare class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
67880
68054
|
/**
|
|
67881
68055
|
* @remarks
|
|
67882
|
-
* The tag key.
|
|
67883
|
-
*
|
|
67884
|
-
* It can be at most 64 characters in length, and cannot contain `http://` or `https://`. It cannot start with `aliyun` or `acs:`.
|
|
68056
|
+
* The tag key.
|
|
67885
68057
|
*
|
|
67886
|
-
* You can specify at most 20 tag keys
|
|
68058
|
+
* You can specify at most 20 tag keys at a time.
|
|
67887
68059
|
*
|
|
67888
68060
|
* @example
|
|
67889
68061
|
* FinanceDept
|
|
@@ -67893,9 +68065,7 @@ export declare class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
|
67893
68065
|
* @remarks
|
|
67894
68066
|
* The tag value.
|
|
67895
68067
|
*
|
|
67896
|
-
*
|
|
67897
|
-
*
|
|
67898
|
-
* Each tag key corresponds to one tag value. You can specify at most 20 tag values in each call.
|
|
68068
|
+
* Each tag key corresponds to one tag value. You can specify at most 20 tag values at a time.
|
|
67899
68069
|
*
|
|
67900
68070
|
* @example
|
|
67901
68071
|
* FinanceJoshua
|
|
@@ -68253,7 +68423,7 @@ export declare class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extend
|
|
|
68253
68423
|
status?: string;
|
|
68254
68424
|
/**
|
|
68255
68425
|
* @remarks
|
|
68256
|
-
* The tag that is automatically generated for the VPN gateway.
|
|
68426
|
+
* The tag that is automatically generated for the VPN gateway.
|
|
68257
68427
|
*
|
|
68258
68428
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
68259
68429
|
*
|
|
@@ -68272,13 +68442,18 @@ export declare class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extend
|
|
|
68272
68442
|
*
|
|
68273
68443
|
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
68274
68444
|
*
|
|
68275
|
-
* * **true
|
|
68445
|
+
* * **true**: queries only SQL templates that need to be optimized.
|
|
68276
68446
|
* * **false**: does not query only SQL statements that need to be optimized.
|
|
68277
68447
|
*
|
|
68278
68448
|
* * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
68279
68449
|
*
|
|
68280
68450
|
* * **VpnVersion**: the version of the VPN gateway.
|
|
68281
68451
|
*
|
|
68452
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
68453
|
+
*
|
|
68454
|
+
* * **true**
|
|
68455
|
+
* * **false**
|
|
68456
|
+
*
|
|
68282
68457
|
* @example
|
|
68283
68458
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
68284
68459
|
*/
|
|
@@ -68455,6 +68630,32 @@ export declare class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntries ex
|
|
|
68455
68630
|
[key: string]: any;
|
|
68456
68631
|
});
|
|
68457
68632
|
}
|
|
68633
|
+
export declare class DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount extends $tea.Model {
|
|
68634
|
+
routeCount?: number;
|
|
68635
|
+
routeEntryType?: string;
|
|
68636
|
+
source?: string;
|
|
68637
|
+
static names(): {
|
|
68638
|
+
[key: string]: string;
|
|
68639
|
+
};
|
|
68640
|
+
static types(): {
|
|
68641
|
+
[key: string]: any;
|
|
68642
|
+
};
|
|
68643
|
+
constructor(map?: {
|
|
68644
|
+
[key: string]: any;
|
|
68645
|
+
});
|
|
68646
|
+
}
|
|
68647
|
+
export declare class DescribeVpnRouteEntriesResponseBodyVpnRouteCounts extends $tea.Model {
|
|
68648
|
+
vpnRouteCount?: DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount[];
|
|
68649
|
+
static names(): {
|
|
68650
|
+
[key: string]: string;
|
|
68651
|
+
};
|
|
68652
|
+
static types(): {
|
|
68653
|
+
[key: string]: any;
|
|
68654
|
+
};
|
|
68655
|
+
constructor(map?: {
|
|
68656
|
+
[key: string]: any;
|
|
68657
|
+
});
|
|
68658
|
+
}
|
|
68458
68659
|
export declare class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry extends $tea.Model {
|
|
68459
68660
|
/**
|
|
68460
68661
|
* @remarks
|
|
@@ -73460,6 +73661,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
73460
73661
|
});
|
|
73461
73662
|
}
|
|
73462
73663
|
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
73664
|
+
customerGatewayId?: string;
|
|
73463
73665
|
/**
|
|
73464
73666
|
* @remarks
|
|
73465
73667
|
* Specifies whether to enable the dead peer detection (DPD) feature. Valid values:
|
|
@@ -73771,6 +73973,74 @@ export declare class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $te
|
|
|
73771
73973
|
[key: string]: any;
|
|
73772
73974
|
});
|
|
73773
73975
|
}
|
|
73976
|
+
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
73977
|
+
localAsn?: number;
|
|
73978
|
+
localBgpIp?: string;
|
|
73979
|
+
tunnelCidr?: string;
|
|
73980
|
+
static names(): {
|
|
73981
|
+
[key: string]: string;
|
|
73982
|
+
};
|
|
73983
|
+
static types(): {
|
|
73984
|
+
[key: string]: any;
|
|
73985
|
+
};
|
|
73986
|
+
constructor(map?: {
|
|
73987
|
+
[key: string]: any;
|
|
73988
|
+
});
|
|
73989
|
+
}
|
|
73990
|
+
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
73991
|
+
ikeAuthAlg?: string;
|
|
73992
|
+
ikeEncAlg?: string;
|
|
73993
|
+
ikeLifetime?: number;
|
|
73994
|
+
ikeMode?: string;
|
|
73995
|
+
ikePfs?: string;
|
|
73996
|
+
ikeVersion?: string;
|
|
73997
|
+
localId?: string;
|
|
73998
|
+
psk?: string;
|
|
73999
|
+
remoteId?: string;
|
|
74000
|
+
static names(): {
|
|
74001
|
+
[key: string]: string;
|
|
74002
|
+
};
|
|
74003
|
+
static types(): {
|
|
74004
|
+
[key: string]: any;
|
|
74005
|
+
};
|
|
74006
|
+
constructor(map?: {
|
|
74007
|
+
[key: string]: any;
|
|
74008
|
+
});
|
|
74009
|
+
}
|
|
74010
|
+
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
74011
|
+
ipsecAuthAlg?: string;
|
|
74012
|
+
ipsecEncAlg?: string;
|
|
74013
|
+
ipsecLifetime?: number;
|
|
74014
|
+
ipsecPfs?: string;
|
|
74015
|
+
static names(): {
|
|
74016
|
+
[key: string]: string;
|
|
74017
|
+
};
|
|
74018
|
+
static types(): {
|
|
74019
|
+
[key: string]: any;
|
|
74020
|
+
};
|
|
74021
|
+
constructor(map?: {
|
|
74022
|
+
[key: string]: any;
|
|
74023
|
+
});
|
|
74024
|
+
}
|
|
74025
|
+
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
74026
|
+
customerGatewayId?: string;
|
|
74027
|
+
enableDpd?: boolean;
|
|
74028
|
+
enableNatTraversal?: boolean;
|
|
74029
|
+
tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
74030
|
+
tunnelId?: string;
|
|
74031
|
+
tunnelIkeConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
74032
|
+
tunnelIndex?: number;
|
|
74033
|
+
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
74034
|
+
static names(): {
|
|
74035
|
+
[key: string]: string;
|
|
74036
|
+
};
|
|
74037
|
+
static types(): {
|
|
74038
|
+
[key: string]: any;
|
|
74039
|
+
};
|
|
74040
|
+
constructor(map?: {
|
|
74041
|
+
[key: string]: any;
|
|
74042
|
+
});
|
|
74043
|
+
}
|
|
73774
74044
|
export declare class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $tea.Model {
|
|
73775
74045
|
/**
|
|
73776
74046
|
* @remarks
|
|
@@ -73899,6 +74169,79 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends
|
|
|
73899
74169
|
[key: string]: any;
|
|
73900
74170
|
});
|
|
73901
74171
|
}
|
|
74172
|
+
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
74173
|
+
localAsn?: number;
|
|
74174
|
+
localBgpIp?: string;
|
|
74175
|
+
peerAsn?: number;
|
|
74176
|
+
peerBgpIp?: string;
|
|
74177
|
+
tunnelCidr?: string;
|
|
74178
|
+
static names(): {
|
|
74179
|
+
[key: string]: string;
|
|
74180
|
+
};
|
|
74181
|
+
static types(): {
|
|
74182
|
+
[key: string]: any;
|
|
74183
|
+
};
|
|
74184
|
+
constructor(map?: {
|
|
74185
|
+
[key: string]: any;
|
|
74186
|
+
});
|
|
74187
|
+
}
|
|
74188
|
+
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig extends $tea.Model {
|
|
74189
|
+
ikeAuthAlg?: string;
|
|
74190
|
+
ikeEncAlg?: string;
|
|
74191
|
+
ikeLifetime?: number;
|
|
74192
|
+
ikeMode?: string;
|
|
74193
|
+
ikePfs?: string;
|
|
74194
|
+
ikeVersion?: string;
|
|
74195
|
+
localId?: string;
|
|
74196
|
+
psk?: string;
|
|
74197
|
+
remoteId?: string;
|
|
74198
|
+
static names(): {
|
|
74199
|
+
[key: string]: string;
|
|
74200
|
+
};
|
|
74201
|
+
static types(): {
|
|
74202
|
+
[key: string]: any;
|
|
74203
|
+
};
|
|
74204
|
+
constructor(map?: {
|
|
74205
|
+
[key: string]: any;
|
|
74206
|
+
});
|
|
74207
|
+
}
|
|
74208
|
+
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig extends $tea.Model {
|
|
74209
|
+
ipsecAuthAlg?: string;
|
|
74210
|
+
ipsecEncAlg?: string;
|
|
74211
|
+
ipsecLifetime?: number;
|
|
74212
|
+
ipsecPfs?: string;
|
|
74213
|
+
static names(): {
|
|
74214
|
+
[key: string]: string;
|
|
74215
|
+
};
|
|
74216
|
+
static types(): {
|
|
74217
|
+
[key: string]: any;
|
|
74218
|
+
};
|
|
74219
|
+
constructor(map?: {
|
|
74220
|
+
[key: string]: any;
|
|
74221
|
+
});
|
|
74222
|
+
}
|
|
74223
|
+
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification extends $tea.Model {
|
|
74224
|
+
customerGatewayId?: string;
|
|
74225
|
+
enableDpd?: boolean;
|
|
74226
|
+
enableNatTraversal?: boolean;
|
|
74227
|
+
internetIp?: string;
|
|
74228
|
+
role?: string;
|
|
74229
|
+
state?: string;
|
|
74230
|
+
tunnelBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig;
|
|
74231
|
+
tunnelId?: string;
|
|
74232
|
+
tunnelIkeConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig;
|
|
74233
|
+
tunnelIndex?: number;
|
|
74234
|
+
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
74235
|
+
static names(): {
|
|
74236
|
+
[key: string]: string;
|
|
74237
|
+
};
|
|
74238
|
+
static types(): {
|
|
74239
|
+
[key: string]: any;
|
|
74240
|
+
};
|
|
74241
|
+
constructor(map?: {
|
|
74242
|
+
[key: string]: any;
|
|
74243
|
+
});
|
|
74244
|
+
}
|
|
73902
74245
|
export declare class ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck extends $tea.Model {
|
|
73903
74246
|
/**
|
|
73904
74247
|
* @remarks
|
|
@@ -74042,9 +74385,11 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74042
74385
|
* @remarks
|
|
74043
74386
|
* The ASN of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
74044
74387
|
*
|
|
74045
|
-
* >
|
|
74046
|
-
*
|
|
74047
|
-
*
|
|
74388
|
+
* > You can specify this parameter only if **EnableTunnelsBgp** is set to **true**.
|
|
74389
|
+
*
|
|
74390
|
+
* * 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).
|
|
74391
|
+
*
|
|
74392
|
+
* * 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.
|
|
74048
74393
|
*
|
|
74049
74394
|
* @example
|
|
74050
74395
|
* 65530
|
|
@@ -74052,7 +74397,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74052
74397
|
localAsn?: number;
|
|
74053
74398
|
/**
|
|
74054
74399
|
* @remarks
|
|
74055
|
-
* 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
|
|
74400
|
+
* 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.
|
|
74056
74401
|
*
|
|
74057
74402
|
* @example
|
|
74058
74403
|
* 169.254.10.1
|
|
@@ -74060,9 +74405,11 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74060
74405
|
localBgpIp?: string;
|
|
74061
74406
|
/**
|
|
74062
74407
|
* @remarks
|
|
74063
|
-
* The BGP CIDR block of the tunnel.
|
|
74408
|
+
* The BGP CIDR block of the tunnel.
|
|
74409
|
+
*
|
|
74410
|
+
* 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.
|
|
74064
74411
|
*
|
|
74065
|
-
* > The BGP CIDR block of
|
|
74412
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
74066
74413
|
*
|
|
74067
74414
|
* @example
|
|
74068
74415
|
* 169.254.10.0/30
|
|
@@ -74101,7 +74448,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74101
74448
|
ikeEncAlg?: string;
|
|
74102
74449
|
/**
|
|
74103
74450
|
* @remarks
|
|
74104
|
-
* The SA lifetime
|
|
74451
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
74105
74452
|
*
|
|
74106
74453
|
* @example
|
|
74107
74454
|
* 86400
|
|
@@ -74109,10 +74456,10 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74109
74456
|
ikeLifetime?: number;
|
|
74110
74457
|
/**
|
|
74111
74458
|
* @remarks
|
|
74112
|
-
* The
|
|
74459
|
+
* The negotiation mode of IKE. Valid values:
|
|
74113
74460
|
*
|
|
74114
|
-
* * **main
|
|
74115
|
-
* * **aggressive
|
|
74461
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
74462
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
74116
74463
|
*
|
|
74117
74464
|
* @example
|
|
74118
74465
|
* main
|
|
@@ -74120,7 +74467,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74120
74467
|
ikeMode?: string;
|
|
74121
74468
|
/**
|
|
74122
74469
|
* @remarks
|
|
74123
|
-
* The
|
|
74470
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
74124
74471
|
*
|
|
74125
74472
|
* @example
|
|
74126
74473
|
* group2
|
|
@@ -74130,7 +74477,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74130
74477
|
* @remarks
|
|
74131
74478
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
74132
74479
|
*
|
|
74133
|
-
* Compared with IKEv1, IKEv2 simplifies the
|
|
74480
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
74134
74481
|
*
|
|
74135
74482
|
* @example
|
|
74136
74483
|
* ikev1
|
|
@@ -74138,9 +74485,9 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74138
74485
|
ikeVersion?: string;
|
|
74139
74486
|
/**
|
|
74140
74487
|
* @remarks
|
|
74141
|
-
* The identifier on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default
|
|
74488
|
+
* 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.
|
|
74142
74489
|
*
|
|
74143
|
-
*
|
|
74490
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
74144
74491
|
*
|
|
74145
74492
|
* @example
|
|
74146
74493
|
* 47.21.XX.XX
|
|
@@ -74150,10 +74497,10 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74150
74497
|
* @remarks
|
|
74151
74498
|
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
74152
74499
|
*
|
|
74153
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
74154
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
74500
|
+
* * 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: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
74501
|
+
* * 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.
|
|
74155
74502
|
*
|
|
74156
|
-
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be
|
|
74503
|
+
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be built.
|
|
74157
74504
|
*
|
|
74158
74505
|
* @example
|
|
74159
74506
|
* 123456****
|
|
@@ -74161,9 +74508,9 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74161
74508
|
psk?: string;
|
|
74162
74509
|
/**
|
|
74163
74510
|
* @remarks
|
|
74164
|
-
* The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length. The default
|
|
74511
|
+
* 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.
|
|
74165
74512
|
*
|
|
74166
|
-
*
|
|
74513
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
74167
74514
|
*
|
|
74168
74515
|
* @example
|
|
74169
74516
|
* 47.42.XX.XX
|
|
@@ -74202,7 +74549,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74202
74549
|
ipsecEncAlg?: string;
|
|
74203
74550
|
/**
|
|
74204
74551
|
* @remarks
|
|
74205
|
-
* The SA lifetime
|
|
74552
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
74206
74553
|
*
|
|
74207
74554
|
* @example
|
|
74208
74555
|
* 86400
|
|
@@ -74210,7 +74557,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74210
74557
|
ipsecLifetime?: number;
|
|
74211
74558
|
/**
|
|
74212
74559
|
* @remarks
|
|
74213
|
-
* The
|
|
74560
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
|
|
74214
74561
|
*
|
|
74215
74562
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
74216
74563
|
*
|
|
@@ -74229,12 +74576,20 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74229
74576
|
});
|
|
74230
74577
|
}
|
|
74231
74578
|
export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
74579
|
+
/**
|
|
74580
|
+
* @remarks
|
|
74581
|
+
* The ID of the customer gateway associated with the tunnel.
|
|
74582
|
+
*
|
|
74583
|
+
* @example
|
|
74584
|
+
* cgw-1nmwbpgrp7ssqm1yn****
|
|
74585
|
+
*/
|
|
74586
|
+
customerGatewayId?: string;
|
|
74232
74587
|
/**
|
|
74233
74588
|
* @remarks
|
|
74234
74589
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
74235
74590
|
*
|
|
74236
|
-
* * **true
|
|
74237
|
-
* * **false
|
|
74591
|
+
* * **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.
|
|
74592
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
74238
74593
|
*
|
|
74239
74594
|
* @example
|
|
74240
74595
|
* true
|
|
@@ -74244,8 +74599,8 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74244
74599
|
* @remarks
|
|
74245
74600
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
74246
74601
|
*
|
|
74247
|
-
* * **true
|
|
74248
|
-
* * **false
|
|
74602
|
+
* * **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.
|
|
74603
|
+
* * **false**: disables NAT traversal.
|
|
74249
74604
|
*
|
|
74250
74605
|
* @example
|
|
74251
74606
|
* true
|
|
@@ -74279,8 +74634,6 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
74279
74634
|
tunnelBgpConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
74280
74635
|
/**
|
|
74281
74636
|
* @remarks
|
|
74282
|
-
* **TunnelOptionsSpecification** parameters are supported by dual-tunnel IPsec-VPN gateways. You can modify both the active and standby tunnels of the IPsec-VPN connection.
|
|
74283
|
-
*
|
|
74284
74637
|
* The tunnel ID.
|
|
74285
74638
|
*
|
|
74286
74639
|
* @example
|
|
@@ -76816,15 +77169,14 @@ export default class Client extends OpenApi {
|
|
|
76816
77169
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
76817
77170
|
*
|
|
76818
77171
|
* @remarks
|
|
76819
|
-
* ##
|
|
77172
|
+
* ## Usage notes
|
|
76820
77173
|
* Before you call this operation, take note of the following items:
|
|
76821
|
-
* *
|
|
77174
|
+
* * 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).
|
|
76822
77175
|
* * 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.
|
|
76823
77176
|
* * **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.
|
|
76824
77177
|
* * 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.
|
|
76825
77178
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
76826
77179
|
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
76827
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
76828
77180
|
*
|
|
76829
77181
|
* @param tmpReq - CreateNatGatewayRequest
|
|
76830
77182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -76835,15 +77187,14 @@ export default class Client extends OpenApi {
|
|
|
76835
77187
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
76836
77188
|
*
|
|
76837
77189
|
* @remarks
|
|
76838
|
-
* ##
|
|
77190
|
+
* ## Usage notes
|
|
76839
77191
|
* Before you call this operation, take note of the following items:
|
|
76840
|
-
* *
|
|
77192
|
+
* * 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).
|
|
76841
77193
|
* * 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.
|
|
76842
77194
|
* * **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.
|
|
76843
77195
|
* * 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.
|
|
76844
77196
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
76845
77197
|
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
76846
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
76847
77198
|
*
|
|
76848
77199
|
* @param request - CreateNatGatewayRequest
|
|
76849
77200
|
* @returns CreateNatGatewayResponse
|
|
@@ -77232,12 +77583,13 @@ export default class Client extends OpenApi {
|
|
|
77232
77583
|
* Creates an SSL server.
|
|
77233
77584
|
*
|
|
77234
77585
|
* @remarks
|
|
77235
|
-
* **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/
|
|
77586
|
+
* **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.
|
|
77236
77587
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
77237
77588
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
77238
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
77239
|
-
* ### [](#)
|
|
77240
|
-
* 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/
|
|
77589
|
+
* * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
77590
|
+
* ### [](#)Prerequisite
|
|
77591
|
+
* * 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).
|
|
77592
|
+
* * 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).
|
|
77241
77593
|
*
|
|
77242
77594
|
* @param request - CreateSslVpnServerRequest
|
|
77243
77595
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -77248,12 +77600,13 @@ export default class Client extends OpenApi {
|
|
|
77248
77600
|
* Creates an SSL server.
|
|
77249
77601
|
*
|
|
77250
77602
|
* @remarks
|
|
77251
|
-
* **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/
|
|
77603
|
+
* **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.
|
|
77252
77604
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
77253
77605
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
77254
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
77255
|
-
* ### [](#)
|
|
77256
|
-
* 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/
|
|
77606
|
+
* * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
|
|
77607
|
+
* ### [](#)Prerequisite
|
|
77608
|
+
* * 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).
|
|
77609
|
+
* * 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).
|
|
77257
77610
|
*
|
|
77258
77611
|
* @param request - CreateSslVpnServerRequest
|
|
77259
77612
|
* @returns CreateSslVpnServerResponse
|