@alicloud/vpc20160428 6.6.3 → 6.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +834 -182
- package/dist/client.js +695 -56
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1279 -184
package/dist/client.d.ts
CHANGED
|
@@ -4880,9 +4880,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $tea.Model {
|
|
|
4880
4880
|
*
|
|
4881
4881
|
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
|
|
4882
4882
|
*
|
|
4883
|
-
* >
|
|
4884
|
-
*
|
|
4885
|
-
* If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
4883
|
+
* > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
4886
4884
|
*
|
|
4887
4885
|
* @example
|
|
4888
4886
|
* 02fb3da4-130e-11e9-8e44-001****
|
|
@@ -4892,7 +4890,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $tea.Model {
|
|
|
4892
4890
|
* @remarks
|
|
4893
4891
|
* The description of the Internet Shared Bandwidth instance.
|
|
4894
4892
|
*
|
|
4895
|
-
* The description must be
|
|
4893
|
+
* The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
4896
4894
|
*
|
|
4897
4895
|
* @example
|
|
4898
4896
|
* abc
|
|
@@ -4902,7 +4900,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $tea.Model {
|
|
|
4902
4900
|
* @remarks
|
|
4903
4901
|
* The line type. Valid values:
|
|
4904
4902
|
*
|
|
4905
|
-
* * **BGP** All regions support BGP (Multi-ISP).
|
|
4903
|
+
* * **BGP** (default) All regions support BGP (Multi-ISP).
|
|
4906
4904
|
* * **BGP_PRO** BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
|
|
4907
4905
|
*
|
|
4908
4906
|
* If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
|
|
@@ -4929,7 +4927,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $tea.Model {
|
|
|
4929
4927
|
* @remarks
|
|
4930
4928
|
* The name of the Internet Shared Bandwidth instance.
|
|
4931
4929
|
*
|
|
4932
|
-
* The name must be
|
|
4930
|
+
* The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
4933
4931
|
*
|
|
4934
4932
|
* @example
|
|
4935
4933
|
* test123
|
|
@@ -4941,9 +4939,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $tea.Model {
|
|
|
4941
4939
|
* @remarks
|
|
4942
4940
|
* The percentage of the minimum bandwidth commitment. Set the parameter to **20**.
|
|
4943
4941
|
*
|
|
4944
|
-
* >
|
|
4945
|
-
*
|
|
4946
|
-
* This parameter is available only on the Alibaba Cloud China site.
|
|
4942
|
+
* > This parameter is available only on the Alibaba Cloud China site.
|
|
4947
4943
|
*
|
|
4948
4944
|
* @example
|
|
4949
4945
|
* 20
|
|
@@ -6506,6 +6502,7 @@ export declare class CreateFlowLogRequest extends $tea.Model {
|
|
|
6506
6502
|
* myFlowlog
|
|
6507
6503
|
*/
|
|
6508
6504
|
flowLogName?: string;
|
|
6505
|
+
ipVersion?: string;
|
|
6509
6506
|
/**
|
|
6510
6507
|
* @remarks
|
|
6511
6508
|
* The name of the Logstore that stores the captured traffic data.
|
|
@@ -8497,6 +8494,11 @@ export declare class CreateIpv6GatewayResponse extends $tea.Model {
|
|
|
8497
8494
|
});
|
|
8498
8495
|
}
|
|
8499
8496
|
export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
8497
|
+
/**
|
|
8498
|
+
* @remarks
|
|
8499
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
8500
|
+
*/
|
|
8501
|
+
accessMode?: CreateNatGatewayRequestAccessMode;
|
|
8500
8502
|
/**
|
|
8501
8503
|
* @remarks
|
|
8502
8504
|
* Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
|
|
@@ -8539,13 +8541,11 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8539
8541
|
* @remarks
|
|
8540
8542
|
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
8541
8543
|
*
|
|
8542
|
-
*
|
|
8543
|
-
*
|
|
8544
|
-
* * **NAT**: NAT mode. IPv4 gateways are supported in this mode.
|
|
8544
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
8545
8545
|
*
|
|
8546
|
-
*
|
|
8546
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
8547
8547
|
*
|
|
8548
|
-
*
|
|
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.
|
|
8549
8549
|
*
|
|
8550
8550
|
* @example
|
|
8551
8551
|
* MULTI_BINDED
|
|
@@ -8559,7 +8559,7 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8559
8559
|
* * **false**
|
|
8560
8560
|
*
|
|
8561
8561
|
* @example
|
|
8562
|
-
*
|
|
8562
|
+
* true
|
|
8563
8563
|
*/
|
|
8564
8564
|
icmpReplyEnabled?: boolean;
|
|
8565
8565
|
/**
|
|
@@ -8586,7 +8586,7 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8586
8586
|
* @remarks
|
|
8587
8587
|
* The name of the NAT gateway.
|
|
8588
8588
|
*
|
|
8589
|
-
* 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.
|
|
8590
8590
|
*
|
|
8591
8591
|
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
8592
8592
|
*
|
|
@@ -8623,6 +8623,11 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8623
8623
|
* Invalid parameter.
|
|
8624
8624
|
*/
|
|
8625
8625
|
pricingCycle?: string;
|
|
8626
|
+
/**
|
|
8627
|
+
* @remarks
|
|
8628
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
8629
|
+
*/
|
|
8630
|
+
privateLinkEnabled?: boolean;
|
|
8626
8631
|
/**
|
|
8627
8632
|
* @remarks
|
|
8628
8633
|
* The region ID of the NAT gateway.
|
|
@@ -8660,6 +8665,9 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8660
8665
|
/**
|
|
8661
8666
|
* @remarks
|
|
8662
8667
|
* The tags.
|
|
8668
|
+
*
|
|
8669
|
+
* @example
|
|
8670
|
+
* MULTI_BINDED
|
|
8663
8671
|
*/
|
|
8664
8672
|
tag?: CreateNatGatewayRequestTag[];
|
|
8665
8673
|
/**
|
|
@@ -8697,6 +8705,218 @@ export declare class CreateNatGatewayRequest extends $tea.Model {
|
|
|
8697
8705
|
[key: string]: any;
|
|
8698
8706
|
});
|
|
8699
8707
|
}
|
|
8708
|
+
export declare class CreateNatGatewayShrinkRequest extends $tea.Model {
|
|
8709
|
+
/**
|
|
8710
|
+
* @remarks
|
|
8711
|
+
* The access mode for reverse access to the VPC NAT gateway.
|
|
8712
|
+
*/
|
|
8713
|
+
accessModeShrink?: string;
|
|
8714
|
+
/**
|
|
8715
|
+
* @remarks
|
|
8716
|
+
* Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
|
|
8717
|
+
*
|
|
8718
|
+
* @example
|
|
8719
|
+
* Invalid parameter.
|
|
8720
|
+
*/
|
|
8721
|
+
autoPay?: boolean;
|
|
8722
|
+
/**
|
|
8723
|
+
* @remarks
|
|
8724
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
8725
|
+
*
|
|
8726
|
+
* You can use the client to generate the token, but you must make sure that the token is unique among different requests.
|
|
8727
|
+
*
|
|
8728
|
+
* > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
8729
|
+
*
|
|
8730
|
+
* @example
|
|
8731
|
+
* 5A2CFF0E-5718-45B5-9D4D-70B3FF3898
|
|
8732
|
+
*/
|
|
8733
|
+
clientToken?: string;
|
|
8734
|
+
/**
|
|
8735
|
+
* @remarks
|
|
8736
|
+
* The description of the NAT gateway.
|
|
8737
|
+
*
|
|
8738
|
+
* You can leave this parameter empty or enter a description. If you enter a description, the description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
8739
|
+
*
|
|
8740
|
+
* @example
|
|
8741
|
+
* testnat
|
|
8742
|
+
*/
|
|
8743
|
+
description?: string;
|
|
8744
|
+
/**
|
|
8745
|
+
* @remarks
|
|
8746
|
+
* Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
|
|
8747
|
+
*
|
|
8748
|
+
* @example
|
|
8749
|
+
* Invalid parameter.
|
|
8750
|
+
*/
|
|
8751
|
+
duration?: string;
|
|
8752
|
+
/**
|
|
8753
|
+
* @remarks
|
|
8754
|
+
* The mode in which the EIP is associated with the NAT gateway. Valid values:
|
|
8755
|
+
*
|
|
8756
|
+
* - **MULTI_BINDED**(default): the multi-EIP-to-ENI mode.
|
|
8757
|
+
*
|
|
8758
|
+
* - **NAT**: NAT mode, which is compatible with IPv4 addresses.
|
|
8759
|
+
*
|
|
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.
|
|
8761
|
+
*
|
|
8762
|
+
* @example
|
|
8763
|
+
* MULTI_BINDED
|
|
8764
|
+
*/
|
|
8765
|
+
eipBindMode?: string;
|
|
8766
|
+
/**
|
|
8767
|
+
* @remarks
|
|
8768
|
+
* Specifies whether to enable ICMP retrieval. Valid values:
|
|
8769
|
+
*
|
|
8770
|
+
* * **true** (default)
|
|
8771
|
+
* * **false**
|
|
8772
|
+
*
|
|
8773
|
+
* @example
|
|
8774
|
+
* true
|
|
8775
|
+
*/
|
|
8776
|
+
icmpReplyEnabled?: boolean;
|
|
8777
|
+
/**
|
|
8778
|
+
* @remarks
|
|
8779
|
+
* The billing method of the NAT gateway.
|
|
8780
|
+
*
|
|
8781
|
+
* Set the value to **PostPaid** (pay-as-you-go), which is the default value.
|
|
8782
|
+
*
|
|
8783
|
+
* For more information, see [Internet NAT gateway billing](https://help.aliyun.com/document_detail/48126.html) and [VPC NAT gateway billing](https://help.aliyun.com/document_detail/270913.html).
|
|
8784
|
+
*
|
|
8785
|
+
* @example
|
|
8786
|
+
* PostPaid
|
|
8787
|
+
*/
|
|
8788
|
+
instanceChargeType?: string;
|
|
8789
|
+
/**
|
|
8790
|
+
* @remarks
|
|
8791
|
+
* The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
|
|
8792
|
+
*
|
|
8793
|
+
* @example
|
|
8794
|
+
* PayByLcu
|
|
8795
|
+
*/
|
|
8796
|
+
internetChargeType?: string;
|
|
8797
|
+
/**
|
|
8798
|
+
* @remarks
|
|
8799
|
+
* The name of the NAT gateway.
|
|
8800
|
+
*
|
|
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.
|
|
8802
|
+
*
|
|
8803
|
+
* If this parameter is not set, the system assigns a default name to the NAT gateway.
|
|
8804
|
+
*
|
|
8805
|
+
* @example
|
|
8806
|
+
* fortest
|
|
8807
|
+
*/
|
|
8808
|
+
name?: string;
|
|
8809
|
+
/**
|
|
8810
|
+
* @remarks
|
|
8811
|
+
* The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
|
|
8812
|
+
*
|
|
8813
|
+
* @example
|
|
8814
|
+
* Enhanced
|
|
8815
|
+
*/
|
|
8816
|
+
natType?: string;
|
|
8817
|
+
/**
|
|
8818
|
+
* @remarks
|
|
8819
|
+
* The network type of the NAT gateway. Valid values:
|
|
8820
|
+
*
|
|
8821
|
+
* * **internet**: Internet
|
|
8822
|
+
* * **intranet**: VPC
|
|
8823
|
+
*
|
|
8824
|
+
* @example
|
|
8825
|
+
* internet
|
|
8826
|
+
*/
|
|
8827
|
+
networkType?: string;
|
|
8828
|
+
ownerAccount?: string;
|
|
8829
|
+
ownerId?: number;
|
|
8830
|
+
/**
|
|
8831
|
+
* @remarks
|
|
8832
|
+
* Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
|
|
8833
|
+
*
|
|
8834
|
+
* @example
|
|
8835
|
+
* Invalid parameter.
|
|
8836
|
+
*/
|
|
8837
|
+
pricingCycle?: string;
|
|
8838
|
+
/**
|
|
8839
|
+
* @remarks
|
|
8840
|
+
* PrivateLink is not supported by default. If you set the value to true, PrivateLink is supported.
|
|
8841
|
+
*/
|
|
8842
|
+
privateLinkEnabled?: boolean;
|
|
8843
|
+
/**
|
|
8844
|
+
* @remarks
|
|
8845
|
+
* The region ID of the NAT gateway.
|
|
8846
|
+
*
|
|
8847
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to obtain the region ID.
|
|
8848
|
+
*
|
|
8849
|
+
* This parameter is required.
|
|
8850
|
+
*
|
|
8851
|
+
* @example
|
|
8852
|
+
* cn-hangzhou
|
|
8853
|
+
*/
|
|
8854
|
+
regionId?: string;
|
|
8855
|
+
resourceOwnerAccount?: string;
|
|
8856
|
+
resourceOwnerId?: number;
|
|
8857
|
+
/**
|
|
8858
|
+
* @remarks
|
|
8859
|
+
* Specifies whether to enable the firewall feature. Valid values:
|
|
8860
|
+
*
|
|
8861
|
+
* * **false** (default)>Notice: This parameter is deprecated.
|
|
8862
|
+
*
|
|
8863
|
+
* @example
|
|
8864
|
+
* false
|
|
8865
|
+
*
|
|
8866
|
+
* @deprecated
|
|
8867
|
+
*/
|
|
8868
|
+
securityProtectionEnabled?: boolean;
|
|
8869
|
+
/**
|
|
8870
|
+
* @remarks
|
|
8871
|
+
* Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
|
|
8872
|
+
*
|
|
8873
|
+
* @example
|
|
8874
|
+
* Invalid parameter.
|
|
8875
|
+
*/
|
|
8876
|
+
spec?: string;
|
|
8877
|
+
/**
|
|
8878
|
+
* @remarks
|
|
8879
|
+
* The tags.
|
|
8880
|
+
*
|
|
8881
|
+
* @example
|
|
8882
|
+
* MULTI_BINDED
|
|
8883
|
+
*/
|
|
8884
|
+
tag?: CreateNatGatewayShrinkRequestTag[];
|
|
8885
|
+
/**
|
|
8886
|
+
* @remarks
|
|
8887
|
+
* The ID of the vSwitch to which the NAT gateway is attached.
|
|
8888
|
+
*
|
|
8889
|
+
* When you create a NAT gateway, you must specify a vSwitch for the NAT gateway. Then, the system assigns an idle private IP address from the vSwitch to the NAT gateway.
|
|
8890
|
+
*
|
|
8891
|
+
* * To attach the NAT gateway to an existing vSwitch, make sure that the zone to which the vSwitch belongs supports NAT gateways. In addition, the vSwitch must have idle IP addresses.
|
|
8892
|
+
* * If no vSwitch exists in the VPC, create a vSwitch in a zone that supports NAT gateways. Then, specify the vSwitch for the NAT gateway.
|
|
8893
|
+
*
|
|
8894
|
+
* > You can call the [ListEnhanhcedNatGatewayAvailableZones](https://help.aliyun.com/document_detail/182292.html) operation to query zones that support NAT gateways. You can call the [DescribeVSwitches](https://help.aliyun.com/document_detail/35748.html) operation to query idle IP addresses in a vSwitch.
|
|
8895
|
+
*
|
|
8896
|
+
* @example
|
|
8897
|
+
* vsw-bp1e3se98n9fq8hle****
|
|
8898
|
+
*/
|
|
8899
|
+
vSwitchId?: string;
|
|
8900
|
+
/**
|
|
8901
|
+
* @remarks
|
|
8902
|
+
* The ID of the VPC where you want to create the NAT gateway.
|
|
8903
|
+
*
|
|
8904
|
+
* This parameter is required.
|
|
8905
|
+
*
|
|
8906
|
+
* @example
|
|
8907
|
+
* vpc-bp1di7uewzmtvfuq8****
|
|
8908
|
+
*/
|
|
8909
|
+
vpcId?: string;
|
|
8910
|
+
static names(): {
|
|
8911
|
+
[key: string]: string;
|
|
8912
|
+
};
|
|
8913
|
+
static types(): {
|
|
8914
|
+
[key: string]: any;
|
|
8915
|
+
};
|
|
8916
|
+
constructor(map?: {
|
|
8917
|
+
[key: string]: any;
|
|
8918
|
+
});
|
|
8919
|
+
}
|
|
8700
8920
|
export declare class CreateNatGatewayResponseBody extends $tea.Model {
|
|
8701
8921
|
/**
|
|
8702
8922
|
* @remarks
|
|
@@ -10984,22 +11204,35 @@ export declare class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
10984
11204
|
compress?: boolean;
|
|
10985
11205
|
/**
|
|
10986
11206
|
* @remarks
|
|
10987
|
-
* 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
|
+
* >
|
|
10988
11213
|
*
|
|
10989
|
-
* *
|
|
10990
|
-
* * **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.
|
|
10991
11215
|
*
|
|
10992
|
-
*
|
|
10993
|
-
* > - 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.
|
|
10994
11217
|
*
|
|
10995
11218
|
* @example
|
|
10996
11219
|
* false
|
|
10997
11220
|
*/
|
|
10998
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
|
+
*/
|
|
10999
11232
|
IDaaSApplicationId?: string;
|
|
11000
11233
|
/**
|
|
11001
11234
|
* @remarks
|
|
11002
|
-
* The
|
|
11235
|
+
* The ID of the IDaaS EIAM instance.
|
|
11003
11236
|
*
|
|
11004
11237
|
* @example
|
|
11005
11238
|
* idaas-cn-hangzhou-p****
|
|
@@ -11007,7 +11240,7 @@ export declare class CreateSslVpnServerRequest extends $tea.Model {
|
|
|
11007
11240
|
IDaaSInstanceId?: string;
|
|
11008
11241
|
/**
|
|
11009
11242
|
* @remarks
|
|
11010
|
-
* The ID of the
|
|
11243
|
+
* The region ID of the IDaaS EIAM instance.
|
|
11011
11244
|
*
|
|
11012
11245
|
* @example
|
|
11013
11246
|
* cn-hangzhou
|
|
@@ -13447,9 +13680,7 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13447
13680
|
clientToken?: string;
|
|
13448
13681
|
/**
|
|
13449
13682
|
* @remarks
|
|
13450
|
-
* The
|
|
13451
|
-
*
|
|
13452
|
-
* This parameter is required.
|
|
13683
|
+
* The customer gateway ID.
|
|
13453
13684
|
*
|
|
13454
13685
|
* @example
|
|
13455
13686
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -13488,6 +13719,7 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13488
13719
|
* true
|
|
13489
13720
|
*/
|
|
13490
13721
|
enableNatTraversal?: boolean;
|
|
13722
|
+
enableTunnelsBgp?: boolean;
|
|
13491
13723
|
/**
|
|
13492
13724
|
* @remarks
|
|
13493
13725
|
* The health check configuration:
|
|
@@ -13515,14 +13747,14 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13515
13747
|
* @remarks
|
|
13516
13748
|
* The configurations of Phase 1 negotiations:
|
|
13517
13749
|
*
|
|
13518
|
-
* * **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.
|
|
13519
13751
|
*
|
|
13520
|
-
* *
|
|
13521
|
-
* * 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.
|
|
13522
13754
|
*
|
|
13523
|
-
* > 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.
|
|
13524
13756
|
*
|
|
13525
|
-
* * **IkeConfig.IkeVersion**: the IKE
|
|
13757
|
+
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
13526
13758
|
*
|
|
13527
13759
|
* * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
13528
13760
|
*
|
|
@@ -13532,9 +13764,9 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13532
13764
|
*
|
|
13533
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**.
|
|
13534
13766
|
*
|
|
13535
|
-
* * **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**.
|
|
13536
13768
|
*
|
|
13537
|
-
* * **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.
|
|
13538
13770
|
*
|
|
13539
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.
|
|
13540
13772
|
*
|
|
@@ -13653,6 +13885,11 @@ export declare class CreateVpnAttachmentRequest extends $tea.Model {
|
|
|
13653
13885
|
* Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
|
|
13654
13886
|
*/
|
|
13655
13887
|
tags?: CreateVpnAttachmentRequestTags[];
|
|
13888
|
+
/**
|
|
13889
|
+
* **if can be null:**
|
|
13890
|
+
* true
|
|
13891
|
+
*/
|
|
13892
|
+
tunnelOptionsSpecification?: CreateVpnAttachmentRequestTunnelOptionsSpecification[];
|
|
13656
13893
|
static names(): {
|
|
13657
13894
|
[key: string]: string;
|
|
13658
13895
|
};
|
|
@@ -13877,26 +14114,28 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
13877
14114
|
healthCheckConfig?: string;
|
|
13878
14115
|
/**
|
|
13879
14116
|
* @remarks
|
|
13880
|
-
* This parameter is
|
|
14117
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
13881
14118
|
*
|
|
13882
14119
|
* The configurations of Phase 1 negotiations:
|
|
13883
14120
|
*
|
|
13884
|
-
* * **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.
|
|
13885
14122
|
*
|
|
13886
|
-
* * 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: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
13887
14124
|
*
|
|
13888
|
-
* * 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.
|
|
13889
14126
|
*
|
|
13890
|
-
*
|
|
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.
|
|
13891
14130
|
*
|
|
13892
14131
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
13893
14132
|
*
|
|
13894
|
-
* 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.
|
|
13895
14134
|
*
|
|
13896
14135
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
13897
14136
|
*
|
|
13898
14137
|
* * **main:** This mode offers higher security during negotiations.
|
|
13899
|
-
* * **aggressive
|
|
14138
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
13900
14139
|
*
|
|
13901
14140
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
13902
14141
|
*
|
|
@@ -13906,13 +14145,13 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
13906
14145
|
*
|
|
13907
14146
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
13908
14147
|
*
|
|
13909
|
-
* * **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**.
|
|
13910
14149
|
*
|
|
13911
|
-
* * **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**.
|
|
13912
14151
|
*
|
|
13913
|
-
* * **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.
|
|
13914
14153
|
*
|
|
13915
|
-
* * **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.
|
|
13916
14155
|
*
|
|
13917
14156
|
* @example
|
|
13918
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"}
|
|
@@ -14024,8 +14263,8 @@ export declare class CreateVpnConnectionRequest extends $tea.Model {
|
|
|
14024
14263
|
* @remarks
|
|
14025
14264
|
* The tunnel configurations.
|
|
14026
14265
|
*
|
|
14027
|
-
* * You can specify
|
|
14028
|
-
* *
|
|
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.
|
|
14029
14268
|
*
|
|
14030
14269
|
* **if can be null:**
|
|
14031
14270
|
* true
|
|
@@ -28800,6 +29039,7 @@ export declare class DescribeVcoRouteEntriesResponseBody extends $tea.Model {
|
|
|
28800
29039
|
* The list of routes.
|
|
28801
29040
|
*/
|
|
28802
29041
|
vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
|
|
29042
|
+
vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
|
|
28803
29043
|
static names(): {
|
|
28804
29044
|
[key: string]: string;
|
|
28805
29045
|
};
|
|
@@ -30747,31 +30987,36 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
30747
30987
|
status?: string;
|
|
30748
30988
|
/**
|
|
30749
30989
|
* @remarks
|
|
30750
|
-
* The automatically generated tag of the
|
|
30990
|
+
* The tag that is automatically generated for the VPN gateway. The tag consists of the following parameters:
|
|
30751
30991
|
*
|
|
30752
30992
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
30753
30993
|
*
|
|
30754
30994
|
* * **true**
|
|
30755
30995
|
* * **false**
|
|
30756
30996
|
*
|
|
30757
|
-
* * **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:
|
|
30758
30998
|
*
|
|
30759
30999
|
* * **true**
|
|
30760
31000
|
* * **false**
|
|
30761
31001
|
*
|
|
30762
|
-
* * **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:
|
|
30763
31003
|
*
|
|
30764
31004
|
* * **true**
|
|
30765
31005
|
* * **false**
|
|
30766
31006
|
*
|
|
30767
|
-
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded.
|
|
31007
|
+
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
30768
31008
|
*
|
|
30769
31009
|
* * **true**
|
|
30770
31010
|
* * **false**
|
|
30771
31011
|
*
|
|
30772
|
-
* * **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.
|
|
30773
31015
|
*
|
|
30774
|
-
* * **
|
|
31016
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
31017
|
+
*
|
|
31018
|
+
* * **true**
|
|
31019
|
+
* * **false**
|
|
30775
31020
|
*
|
|
30776
31021
|
* @example
|
|
30777
31022
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
@@ -30779,7 +31024,7 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
30779
31024
|
tag?: string;
|
|
30780
31025
|
/**
|
|
30781
31026
|
* @remarks
|
|
30782
|
-
* The
|
|
31027
|
+
* The tags that are added to the VPN gateway.
|
|
30783
31028
|
*/
|
|
30784
31029
|
tags?: DescribeVpnGatewayResponseBodyTags;
|
|
30785
31030
|
/**
|
|
@@ -30808,9 +31053,7 @@ export declare class DescribeVpnGatewayResponseBody extends $tea.Model {
|
|
|
30808
31053
|
vpnGatewayId?: string;
|
|
30809
31054
|
/**
|
|
30810
31055
|
* @remarks
|
|
30811
|
-
* The type of
|
|
30812
|
-
*
|
|
30813
|
-
* 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.
|
|
30814
31057
|
*
|
|
30815
31058
|
* @example
|
|
30816
31059
|
* Normal
|
|
@@ -30997,11 +31240,7 @@ export declare class DescribeVpnGatewaysRequest extends $tea.Model {
|
|
|
30997
31240
|
status?: string;
|
|
30998
31241
|
/**
|
|
30999
31242
|
* @remarks
|
|
31000
|
-
* The
|
|
31001
|
-
*
|
|
31002
|
-
* 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://`.
|
|
31003
|
-
*
|
|
31004
|
-
* 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.
|
|
31005
31244
|
*/
|
|
31006
31245
|
tag?: DescribeVpnGatewaysRequestTag[];
|
|
31007
31246
|
/**
|
|
@@ -31065,7 +31304,7 @@ export declare class DescribeVpnGatewaysResponseBody extends $tea.Model {
|
|
|
31065
31304
|
totalCount?: number;
|
|
31066
31305
|
/**
|
|
31067
31306
|
* @remarks
|
|
31068
|
-
* The VPN gateways.
|
|
31307
|
+
* The information about the VPN gateways.
|
|
31069
31308
|
*/
|
|
31070
31309
|
vpnGateways?: DescribeVpnGatewaysResponseBodyVpnGateways;
|
|
31071
31310
|
static names(): {
|
|
@@ -31308,6 +31547,7 @@ export declare class DescribeVpnRouteEntriesResponseBody extends $tea.Model {
|
|
|
31308
31547
|
* 1
|
|
31309
31548
|
*/
|
|
31310
31549
|
totalCount?: number;
|
|
31550
|
+
vpnRouteCounts?: DescribeVpnRouteEntriesResponseBodyVpnRouteCounts;
|
|
31311
31551
|
/**
|
|
31312
31552
|
* @remarks
|
|
31313
31553
|
* The list of route entries.
|
|
@@ -32320,7 +32560,7 @@ export declare class DissociateVpnGatewayWithCertificateRequest extends $tea.Mod
|
|
|
32320
32560
|
* @remarks
|
|
32321
32561
|
* The certificate ID.
|
|
32322
32562
|
*
|
|
32323
|
-
* >
|
|
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.
|
|
32324
32564
|
*
|
|
32325
32565
|
* This parameter is required.
|
|
32326
32566
|
*
|
|
@@ -33287,6 +33527,7 @@ export declare class GetNatGatewayAttributeRequest extends $tea.Model {
|
|
|
33287
33527
|
});
|
|
33288
33528
|
}
|
|
33289
33529
|
export declare class GetNatGatewayAttributeResponseBody extends $tea.Model {
|
|
33530
|
+
accessMode?: GetNatGatewayAttributeResponseBodyAccessMode;
|
|
33290
33531
|
/**
|
|
33291
33532
|
* @remarks
|
|
33292
33533
|
* The billing information.
|
|
@@ -39052,7 +39293,7 @@ export declare class ModifyExpressCloudConnectionAttributeRequest extends $tea.M
|
|
|
39052
39293
|
* The peer IP address when the SAG device is connected to the cloud.
|
|
39053
39294
|
*
|
|
39054
39295
|
* @example
|
|
39055
|
-
* 172.16
|
|
39296
|
+
* ``172.16.**.**``
|
|
39056
39297
|
*/
|
|
39057
39298
|
ceIp?: string;
|
|
39058
39299
|
/**
|
|
@@ -39088,7 +39329,7 @@ export declare class ModifyExpressCloudConnectionAttributeRequest extends $tea.M
|
|
|
39088
39329
|
* The on-premises IP address when the SAG device is connected to the cloud.
|
|
39089
39330
|
*
|
|
39090
39331
|
* @example
|
|
39091
|
-
* 10.10
|
|
39332
|
+
* ``10.10.**.**``
|
|
39092
39333
|
*/
|
|
39093
39334
|
peIp?: string;
|
|
39094
39335
|
/**
|
|
@@ -39744,6 +39985,7 @@ export declare class ModifyFlowLogAttributeRequest extends $tea.Model {
|
|
|
39744
39985
|
* myFlowlog
|
|
39745
39986
|
*/
|
|
39746
39987
|
flowLogName?: string;
|
|
39988
|
+
ipVersion?: string;
|
|
39747
39989
|
ownerAccount?: string;
|
|
39748
39990
|
ownerId?: number;
|
|
39749
39991
|
/**
|
|
@@ -42126,6 +42368,13 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42126
42368
|
* EntryDescription
|
|
42127
42369
|
*/
|
|
42128
42370
|
description?: string;
|
|
42371
|
+
/**
|
|
42372
|
+
* @remarks
|
|
42373
|
+
* The destination CIDR block of the route entry. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
|
|
42374
|
+
*
|
|
42375
|
+
* @example
|
|
42376
|
+
* 192.168.0.0/24
|
|
42377
|
+
*/
|
|
42129
42378
|
destinationCidrBlock?: string;
|
|
42130
42379
|
/**
|
|
42131
42380
|
* @remarks
|
|
@@ -42177,6 +42426,13 @@ export declare class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
42177
42426
|
* EntryName
|
|
42178
42427
|
*/
|
|
42179
42428
|
routeEntryName?: string;
|
|
42429
|
+
/**
|
|
42430
|
+
* @remarks
|
|
42431
|
+
* The ID of the route table to which the route entry belongs.
|
|
42432
|
+
*
|
|
42433
|
+
* @example
|
|
42434
|
+
* vtb-bp1nk7zk65du3pni8z9td
|
|
42435
|
+
*/
|
|
42180
42436
|
routeTableId?: string;
|
|
42181
42437
|
static names(): {
|
|
42182
42438
|
[key: string]: string;
|
|
@@ -44445,6 +44701,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
44445
44701
|
* true
|
|
44446
44702
|
*/
|
|
44447
44703
|
enableNatTraversal?: boolean;
|
|
44704
|
+
/**
|
|
44705
|
+
* **if can be null:**
|
|
44706
|
+
* true
|
|
44707
|
+
*/
|
|
44708
|
+
enableTunnelsBgp?: boolean;
|
|
44448
44709
|
/**
|
|
44449
44710
|
* @remarks
|
|
44450
44711
|
* The health check configurations:
|
|
@@ -44589,6 +44850,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $tea.Model {
|
|
|
44589
44850
|
remoteSubnet?: string;
|
|
44590
44851
|
resourceOwnerAccount?: string;
|
|
44591
44852
|
resourceOwnerId?: number;
|
|
44853
|
+
/**
|
|
44854
|
+
* **if can be null:**
|
|
44855
|
+
* true
|
|
44856
|
+
*/
|
|
44857
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification[];
|
|
44592
44858
|
/**
|
|
44593
44859
|
* @remarks
|
|
44594
44860
|
* The ID of the IPsec-VPN connection.
|
|
@@ -44689,6 +44955,7 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model
|
|
|
44689
44955
|
* true
|
|
44690
44956
|
*/
|
|
44691
44957
|
enableNatTraversal?: boolean;
|
|
44958
|
+
enableTunnelsBgp?: boolean;
|
|
44692
44959
|
/**
|
|
44693
44960
|
* @remarks
|
|
44694
44961
|
* The configuration of Phase 1 negotiations.
|
|
@@ -44775,6 +45042,7 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $tea.Model
|
|
|
44775
45042
|
* ike_sa_not_established
|
|
44776
45043
|
*/
|
|
44777
45044
|
status?: string;
|
|
45045
|
+
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
|
|
44778
45046
|
/**
|
|
44779
45047
|
* @remarks
|
|
44780
45048
|
* The health check configuration of the IPsec-VPN connection.
|
|
@@ -44841,27 +45109,27 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
44841
45109
|
autoConfigRoute?: boolean;
|
|
44842
45110
|
/**
|
|
44843
45111
|
* @remarks
|
|
44844
|
-
* This parameter is supported
|
|
45112
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
44845
45113
|
*
|
|
44846
|
-
*
|
|
45114
|
+
* BGP configuration:
|
|
44847
45115
|
*
|
|
44848
|
-
* * **BgpConfig.EnableBgp
|
|
45116
|
+
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**.
|
|
44849
45117
|
*
|
|
44850
45118
|
* * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
44851
45119
|
*
|
|
44852
|
-
* 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.
|
|
44853
45121
|
*
|
|
44854
|
-
* 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.
|
|
44855
45123
|
*
|
|
44856
|
-
* * **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.
|
|
44857
45125
|
*
|
|
44858
|
-
* > 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.
|
|
44859
45127
|
*
|
|
44860
|
-
* * **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.
|
|
44861
45129
|
*
|
|
44862
45130
|
* > - This parameter is required when the VPN gateway has dynamic BGP enabled.
|
|
44863
|
-
* > - Before you
|
|
44864
|
-
* > - 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.
|
|
44865
45133
|
*
|
|
44866
45134
|
* @example
|
|
44867
45135
|
* {"EnableBgp":"true","LocalAsn":"65530","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -44947,25 +45215,27 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
44947
45215
|
healthCheckConfig?: string;
|
|
44948
45216
|
/**
|
|
44949
45217
|
* @remarks
|
|
44950
|
-
* This parameter is supported
|
|
45218
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
44951
45219
|
*
|
|
44952
45220
|
* The configurations of Phase 1 negotiations:
|
|
44953
45221
|
*
|
|
44954
|
-
* * **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.
|
|
44955
45223
|
*
|
|
44956
|
-
* *
|
|
44957
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
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.
|
|
44958
45226
|
*
|
|
44959
|
-
*
|
|
45227
|
+
* **
|
|
45228
|
+
*
|
|
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.
|
|
44960
45230
|
*
|
|
44961
45231
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
|
|
44962
45232
|
*
|
|
44963
|
-
* 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.
|
|
44964
45234
|
*
|
|
44965
45235
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**.
|
|
44966
45236
|
*
|
|
44967
|
-
* * **main
|
|
44968
|
-
* * **aggressive
|
|
45237
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
45238
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
44969
45239
|
*
|
|
44970
45240
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
44971
45241
|
*
|
|
@@ -44975,13 +45245,13 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
44975
45245
|
*
|
|
44976
45246
|
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
44977
45247
|
*
|
|
44978
|
-
* * **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**.
|
|
44979
45249
|
*
|
|
44980
|
-
* * **IkeConfig.IkeLifetime**: the
|
|
45250
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
|
|
44981
45251
|
*
|
|
44982
|
-
* * **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.
|
|
44983
45253
|
*
|
|
44984
|
-
* * **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.
|
|
44985
45255
|
*
|
|
44986
45256
|
* @example
|
|
44987
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"}
|
|
@@ -45081,7 +45351,7 @@ export declare class ModifyVpnConnectionAttributeRequest extends $tea.Model {
|
|
|
45081
45351
|
* @remarks
|
|
45082
45352
|
* The tunnel configurations.
|
|
45083
45353
|
*
|
|
45084
|
-
* 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.
|
|
45085
45355
|
*
|
|
45086
45356
|
* **if can be null:**
|
|
45087
45357
|
* true
|
|
@@ -52458,10 +52728,71 @@ export declare class CreateIpv6GatewayRequestTag extends $tea.Model {
|
|
|
52458
52728
|
[key: string]: any;
|
|
52459
52729
|
});
|
|
52460
52730
|
}
|
|
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
|
+
*/
|
|
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
|
+
*/
|
|
52754
|
+
tunnelType?: string;
|
|
52755
|
+
static names(): {
|
|
52756
|
+
[key: string]: string;
|
|
52757
|
+
};
|
|
52758
|
+
static types(): {
|
|
52759
|
+
[key: string]: any;
|
|
52760
|
+
};
|
|
52761
|
+
constructor(map?: {
|
|
52762
|
+
[key: string]: any;
|
|
52763
|
+
});
|
|
52764
|
+
}
|
|
52461
52765
|
export declare class CreateNatGatewayRequestTag extends $tea.Model {
|
|
52462
52766
|
/**
|
|
52463
52767
|
* @remarks
|
|
52464
|
-
* 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.
|
|
52769
|
+
*
|
|
52770
|
+
* @example
|
|
52771
|
+
* TestKey
|
|
52772
|
+
*/
|
|
52773
|
+
key?: string;
|
|
52774
|
+
/**
|
|
52775
|
+
* @remarks
|
|
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.
|
|
52777
|
+
*
|
|
52778
|
+
* @example
|
|
52779
|
+
* TestValue
|
|
52780
|
+
*/
|
|
52781
|
+
value?: string;
|
|
52782
|
+
static names(): {
|
|
52783
|
+
[key: string]: string;
|
|
52784
|
+
};
|
|
52785
|
+
static types(): {
|
|
52786
|
+
[key: string]: any;
|
|
52787
|
+
};
|
|
52788
|
+
constructor(map?: {
|
|
52789
|
+
[key: string]: any;
|
|
52790
|
+
});
|
|
52791
|
+
}
|
|
52792
|
+
export declare class CreateNatGatewayShrinkRequestTag extends $tea.Model {
|
|
52793
|
+
/**
|
|
52794
|
+
* @remarks
|
|
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.
|
|
52465
52796
|
*
|
|
52466
52797
|
* @example
|
|
52467
52798
|
* TestKey
|
|
@@ -52469,7 +52800,7 @@ export declare class CreateNatGatewayRequestTag extends $tea.Model {
|
|
|
52469
52800
|
key?: string;
|
|
52470
52801
|
/**
|
|
52471
52802
|
* @remarks
|
|
52472
|
-
* 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.
|
|
52473
52804
|
*
|
|
52474
52805
|
* @example
|
|
52475
52806
|
* TestValue
|
|
@@ -53891,6 +54222,73 @@ export declare class CreateVpnAttachmentRequestTags extends $tea.Model {
|
|
|
53891
54222
|
[key: string]: any;
|
|
53892
54223
|
});
|
|
53893
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
|
+
}
|
|
53894
54292
|
export declare class CreateVpnConnectionRequestTags extends $tea.Model {
|
|
53895
54293
|
/**
|
|
53896
54294
|
* @remarks
|
|
@@ -53929,11 +54327,13 @@ export declare class CreateVpnConnectionRequestTags extends $tea.Model {
|
|
|
53929
54327
|
export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
|
|
53930
54328
|
/**
|
|
53931
54329
|
* @remarks
|
|
53932
|
-
* 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
|
+
*
|
|
54332
|
+
*
|
|
53933
54333
|
*
|
|
53934
|
-
* >
|
|
53935
|
-
*
|
|
53936
|
-
*
|
|
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.
|
|
53937
54337
|
*
|
|
53938
54338
|
* @example
|
|
53939
54339
|
* 65530
|
|
@@ -53941,7 +54341,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
53941
54341
|
localAsn?: number;
|
|
53942
54342
|
/**
|
|
53943
54343
|
* @remarks
|
|
53944
|
-
* 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.
|
|
53945
54345
|
*
|
|
53946
54346
|
* @example
|
|
53947
54347
|
* 169.254.10.1
|
|
@@ -53949,9 +54349,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
53949
54349
|
localBgpIp?: string;
|
|
53950
54350
|
/**
|
|
53951
54351
|
* @remarks
|
|
53952
|
-
* 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.
|
|
53953
54353
|
*
|
|
53954
|
-
* > The BGP CIDR block of
|
|
54354
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
53955
54355
|
*
|
|
53956
54356
|
* @example
|
|
53957
54357
|
* 169.254.10.0/30
|
|
@@ -53990,7 +54390,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
53990
54390
|
ikeEncAlg?: string;
|
|
53991
54391
|
/**
|
|
53992
54392
|
* @remarks
|
|
53993
|
-
* The SA lifetime
|
|
54393
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
|
|
53994
54394
|
*
|
|
53995
54395
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
53996
54396
|
*
|
|
@@ -54002,8 +54402,8 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54002
54402
|
* @remarks
|
|
54003
54403
|
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
54004
54404
|
*
|
|
54005
|
-
* * **main
|
|
54006
|
-
* * **aggressive**: This mode
|
|
54405
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
54406
|
+
* * **aggressive**: This mode supports faster negotiations and a higher success rate.
|
|
54007
54407
|
*
|
|
54008
54408
|
* @example
|
|
54009
54409
|
* main
|
|
@@ -54011,7 +54411,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54011
54411
|
ikeMode?: string;
|
|
54012
54412
|
/**
|
|
54013
54413
|
* @remarks
|
|
54014
|
-
* The
|
|
54414
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
|
|
54015
54415
|
* Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
54016
54416
|
*
|
|
54017
54417
|
* @example
|
|
@@ -54022,7 +54422,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54022
54422
|
* @remarks
|
|
54023
54423
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
54024
54424
|
*
|
|
54025
|
-
* 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.
|
|
54026
54426
|
*
|
|
54027
54427
|
* @example
|
|
54028
54428
|
* ikev1
|
|
@@ -54030,9 +54430,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54030
54430
|
ikeVersion?: string;
|
|
54031
54431
|
/**
|
|
54032
54432
|
* @remarks
|
|
54033
|
-
* 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.
|
|
54034
54434
|
*
|
|
54035
|
-
*
|
|
54435
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
54036
54436
|
*
|
|
54037
54437
|
* @example
|
|
54038
54438
|
* 47.21.XX.XX
|
|
@@ -54040,10 +54440,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54040
54440
|
localId?: string;
|
|
54041
54441
|
/**
|
|
54042
54442
|
* @remarks
|
|
54043
|
-
* The pre-shared key
|
|
54443
|
+
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
54044
54444
|
*
|
|
54045
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
54046
|
-
* * 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.
|
|
54047
54447
|
*
|
|
54048
54448
|
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
54049
54449
|
*
|
|
@@ -54053,9 +54453,9 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54053
54453
|
psk?: string;
|
|
54054
54454
|
/**
|
|
54055
54455
|
* @remarks
|
|
54056
|
-
* 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.
|
|
54057
54457
|
*
|
|
54058
|
-
*
|
|
54458
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
54059
54459
|
*
|
|
54060
54460
|
* @example
|
|
54061
54461
|
* 47.42.XX.XX
|
|
@@ -54094,7 +54494,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54094
54494
|
ipsecEncAlg?: string;
|
|
54095
54495
|
/**
|
|
54096
54496
|
* @remarks
|
|
54097
|
-
* The SA lifetime
|
|
54497
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
|
|
54098
54498
|
*
|
|
54099
54499
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
54100
54500
|
*
|
|
@@ -54104,7 +54504,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54104
54504
|
ipsecLifetime?: number;
|
|
54105
54505
|
/**
|
|
54106
54506
|
* @remarks
|
|
54107
|
-
* The
|
|
54507
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
|
|
54108
54508
|
*
|
|
54109
54509
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
54110
54510
|
*
|
|
@@ -54125,11 +54525,11 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
54125
54525
|
export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extends $tea.Model {
|
|
54126
54526
|
/**
|
|
54127
54527
|
* @remarks
|
|
54128
|
-
* The ID of the customer gateway associated with the tunnel.
|
|
54528
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
54129
54529
|
*
|
|
54130
|
-
* >
|
|
54131
|
-
*
|
|
54132
|
-
*
|
|
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.
|
|
54133
54533
|
*
|
|
54134
54534
|
* @example
|
|
54135
54535
|
* cgw-p0wy363lucf1uyae8****
|
|
@@ -54137,10 +54537,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54137
54537
|
customerGatewayId?: string;
|
|
54138
54538
|
/**
|
|
54139
54539
|
* @remarks
|
|
54140
|
-
* 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:
|
|
54141
54541
|
*
|
|
54142
|
-
* * **true** (default) The initiator of the IPsec-VPN connection sends DPD packets to
|
|
54143
|
-
* * **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.
|
|
54144
54544
|
*
|
|
54145
54545
|
* @example
|
|
54146
54546
|
* true
|
|
@@ -54150,8 +54550,8 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54150
54550
|
* @remarks
|
|
54151
54551
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
54152
54552
|
*
|
|
54153
|
-
* * **true** (default) After NAT traversal is enabled, the
|
|
54154
|
-
* * **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.
|
|
54155
54555
|
*
|
|
54156
54556
|
* @example
|
|
54157
54557
|
* true
|
|
@@ -54159,10 +54559,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54159
54559
|
enableNatTraversal?: boolean;
|
|
54160
54560
|
/**
|
|
54161
54561
|
* @remarks
|
|
54162
|
-
*
|
|
54562
|
+
* If the VPN gateway uses an SM certificate, you need to configure the CA certificate used by the IPsec peer.
|
|
54163
54563
|
*
|
|
54164
|
-
* * If
|
|
54165
|
-
* * 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.
|
|
54166
54566
|
*
|
|
54167
54567
|
* @example
|
|
54168
54568
|
* -----BEGIN CERTIFICATE----- MIIB7zCCAZW**** -----END CERTIFICATE-----
|
|
@@ -54170,10 +54570,10 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54170
54570
|
remoteCaCertificate?: string;
|
|
54171
54571
|
/**
|
|
54172
54572
|
* @remarks
|
|
54173
|
-
* The role of the tunnel. Valid values:
|
|
54573
|
+
* The role of the tunnel. Valid values: Valid values:
|
|
54174
54574
|
*
|
|
54175
|
-
* * **master**: The tunnel is
|
|
54176
|
-
* * **slave**: The tunnel is
|
|
54575
|
+
* * **master**: The tunnel is an active tunnel.
|
|
54576
|
+
* * **slave**: The tunnel is a standby tunnel.
|
|
54177
54577
|
*
|
|
54178
54578
|
* @example
|
|
54179
54579
|
* master
|
|
@@ -54181,7 +54581,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
54181
54581
|
role?: string;
|
|
54182
54582
|
/**
|
|
54183
54583
|
* @remarks
|
|
54184
|
-
* The BGP configurations
|
|
54584
|
+
* The Border Gateway Protocol (BGP) configurations of the tunnel.
|
|
54185
54585
|
*/
|
|
54186
54586
|
tunnelBgpConfig?: CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
54187
54587
|
/**
|
|
@@ -57311,6 +57711,7 @@ export declare class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Mo
|
|
|
57311
57711
|
* myFlowlog
|
|
57312
57712
|
*/
|
|
57313
57713
|
flowLogName?: string;
|
|
57714
|
+
ipVersion?: string;
|
|
57314
57715
|
/**
|
|
57315
57716
|
* @remarks
|
|
57316
57717
|
* The Logstore that stores the captured traffic data.
|
|
@@ -59235,7 +59636,7 @@ export declare class DescribeNatGatewayAssociateNetworkInterfacesRequestTag exte
|
|
|
59235
59636
|
export declare class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set extends $tea.Model {
|
|
59236
59637
|
/**
|
|
59237
59638
|
* @example
|
|
59238
|
-
* 172.17
|
|
59639
|
+
* ``172.17.**.**``
|
|
59239
59640
|
*/
|
|
59240
59641
|
IPv4Address?: string;
|
|
59241
59642
|
/**
|
|
@@ -59287,6 +59688,7 @@ export declare class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAss
|
|
|
59287
59688
|
* PrivateLink
|
|
59288
59689
|
*/
|
|
59289
59690
|
resourceType?: string;
|
|
59691
|
+
tunnelIndex?: string;
|
|
59290
59692
|
static names(): {
|
|
59291
59693
|
[key: string]: string;
|
|
59292
59694
|
};
|
|
@@ -59340,6 +59742,19 @@ export declare class DescribeNatGatewaysRequestTag extends $tea.Model {
|
|
|
59340
59742
|
[key: string]: any;
|
|
59341
59743
|
});
|
|
59342
59744
|
}
|
|
59745
|
+
export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode extends $tea.Model {
|
|
59746
|
+
modeValue?: string;
|
|
59747
|
+
tunnelType?: string;
|
|
59748
|
+
static names(): {
|
|
59749
|
+
[key: string]: string;
|
|
59750
|
+
};
|
|
59751
|
+
static types(): {
|
|
59752
|
+
[key: string]: any;
|
|
59753
|
+
};
|
|
59754
|
+
constructor(map?: {
|
|
59755
|
+
[key: string]: any;
|
|
59756
|
+
});
|
|
59757
|
+
}
|
|
59343
59758
|
export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
|
|
59344
59759
|
forwardTableId?: string[];
|
|
59345
59760
|
static names(): {
|
|
@@ -59565,6 +59980,7 @@ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags ex
|
|
|
59565
59980
|
});
|
|
59566
59981
|
}
|
|
59567
59982
|
export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
59983
|
+
accessMode?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode;
|
|
59568
59984
|
/**
|
|
59569
59985
|
* @remarks
|
|
59570
59986
|
* Indicates whether automatic payment is enabled. Valid values:
|
|
@@ -63965,6 +64381,7 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
63965
64381
|
* vco-p0w2jpkhi2eeop6q6****
|
|
63966
64382
|
*/
|
|
63967
64383
|
nextHop?: string;
|
|
64384
|
+
nextHopTunnelIdList?: string[];
|
|
63968
64385
|
/**
|
|
63969
64386
|
* @remarks
|
|
63970
64387
|
* The destination CIDR block of the route.
|
|
@@ -64035,6 +64452,20 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
64035
64452
|
[key: string]: any;
|
|
64036
64453
|
});
|
|
64037
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
|
+
}
|
|
64038
64469
|
export declare class DescribeVirtualBorderRoutersRequestFilter extends $tea.Model {
|
|
64039
64470
|
/**
|
|
64040
64471
|
* @remarks
|
|
@@ -65666,6 +66097,19 @@ export declare class DescribeVpcsResponseBodyVpcs extends $tea.Model {
|
|
|
65666
66097
|
[key: string]: any;
|
|
65667
66098
|
});
|
|
65668
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
|
+
}
|
|
65669
66113
|
export declare class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $tea.Model {
|
|
65670
66114
|
/**
|
|
65671
66115
|
* @remarks
|
|
@@ -65710,6 +66154,8 @@ export declare class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $t
|
|
|
65710
66154
|
* nametest1
|
|
65711
66155
|
*/
|
|
65712
66156
|
name?: string;
|
|
66157
|
+
tag?: string;
|
|
66158
|
+
tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
|
|
65713
66159
|
/**
|
|
65714
66160
|
* @remarks
|
|
65715
66161
|
* The ID of the transit router with which the IPsec-VPN connection is associated.
|
|
@@ -66203,6 +66649,7 @@ export declare class DescribeVpnConnectionResponseBodyTunnelOptionsSpecification
|
|
|
66203
66649
|
* The configuration of Phase 1 negotiations.
|
|
66204
66650
|
*/
|
|
66205
66651
|
tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
66652
|
+
tunnelIndex?: number;
|
|
66206
66653
|
/**
|
|
66207
66654
|
* @remarks
|
|
66208
66655
|
* The configurations of Phase 2 negotiations.
|
|
@@ -66911,6 +67358,7 @@ export declare class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnecti
|
|
|
66911
67358
|
* The configuration of Phase 1 negotiations.
|
|
66912
67359
|
*/
|
|
66913
67360
|
tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
67361
|
+
tunnelIndex?: number;
|
|
66914
67362
|
/**
|
|
66915
67363
|
* @remarks
|
|
66916
67364
|
* The configurations of Phase 2 negotiations.
|
|
@@ -67605,11 +68053,9 @@ export declare class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneId
|
|
|
67605
68053
|
export declare class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
67606
68054
|
/**
|
|
67607
68055
|
* @remarks
|
|
67608
|
-
* The tag key.
|
|
67609
|
-
*
|
|
67610
|
-
* 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.
|
|
67611
68057
|
*
|
|
67612
|
-
* You can specify at most 20 tag keys
|
|
68058
|
+
* You can specify at most 20 tag keys at a time.
|
|
67613
68059
|
*
|
|
67614
68060
|
* @example
|
|
67615
68061
|
* FinanceDept
|
|
@@ -67619,9 +68065,7 @@ export declare class DescribeVpnGatewaysRequestTag extends $tea.Model {
|
|
|
67619
68065
|
* @remarks
|
|
67620
68066
|
* The tag value.
|
|
67621
68067
|
*
|
|
67622
|
-
*
|
|
67623
|
-
*
|
|
67624
|
-
* 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.
|
|
67625
68069
|
*
|
|
67626
68070
|
* @example
|
|
67627
68071
|
* FinanceJoshua
|
|
@@ -67979,7 +68423,7 @@ export declare class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extend
|
|
|
67979
68423
|
status?: string;
|
|
67980
68424
|
/**
|
|
67981
68425
|
* @remarks
|
|
67982
|
-
* The tag that is automatically generated for the VPN gateway.
|
|
68426
|
+
* The tag that is automatically generated for the VPN gateway.
|
|
67983
68427
|
*
|
|
67984
68428
|
* * **VpnEnableBgp**: indicates whether the VPN gateway supports BGP. Valid values:
|
|
67985
68429
|
*
|
|
@@ -67998,13 +68442,18 @@ export declare class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extend
|
|
|
67998
68442
|
*
|
|
67999
68443
|
* * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
68000
68444
|
*
|
|
68001
|
-
* * **true
|
|
68445
|
+
* * **true**: queries only SQL templates that need to be optimized.
|
|
68002
68446
|
* * **false**: does not query only SQL statements that need to be optimized.
|
|
68003
68447
|
*
|
|
68004
68448
|
* * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
68005
68449
|
*
|
|
68006
68450
|
* * **VpnVersion**: the version of the VPN gateway.
|
|
68007
68451
|
*
|
|
68452
|
+
* * **IDaaSNewVersion**: indicates whether the VPN gateway can be associated with an EIAM 2.0 instance.
|
|
68453
|
+
*
|
|
68454
|
+
* * **true**
|
|
68455
|
+
* * **false**
|
|
68456
|
+
*
|
|
68008
68457
|
* @example
|
|
68009
68458
|
* {\\"VpnEnableBgp\\":\\"true\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"VpnNewImage\\":\\"true\\",\\"description\\":\\"forwarding1.3.7\\",\\"VpnVersion\\":\\"v1.2.4\\"}
|
|
68010
68459
|
*/
|
|
@@ -68181,6 +68630,32 @@ export declare class DescribeVpnPbrRouteEntriesResponseBodyVpnPbrRouteEntries ex
|
|
|
68181
68630
|
[key: string]: any;
|
|
68182
68631
|
});
|
|
68183
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
|
+
}
|
|
68184
68659
|
export declare class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry extends $tea.Model {
|
|
68185
68660
|
/**
|
|
68186
68661
|
* @remarks
|
|
@@ -68960,6 +69435,19 @@ export declare class GetIpv4GatewayAttributeResponseBodyTags extends $tea.Model
|
|
|
68960
69435
|
[key: string]: any;
|
|
68961
69436
|
});
|
|
68962
69437
|
}
|
|
69438
|
+
export declare class GetNatGatewayAttributeResponseBodyAccessMode extends $tea.Model {
|
|
69439
|
+
modeValue?: string;
|
|
69440
|
+
tunnelType?: string;
|
|
69441
|
+
static names(): {
|
|
69442
|
+
[key: string]: string;
|
|
69443
|
+
};
|
|
69444
|
+
static types(): {
|
|
69445
|
+
[key: string]: any;
|
|
69446
|
+
};
|
|
69447
|
+
constructor(map?: {
|
|
69448
|
+
[key: string]: any;
|
|
69449
|
+
});
|
|
69450
|
+
}
|
|
68963
69451
|
export declare class GetNatGatewayAttributeResponseBodyBillingConfig extends $tea.Model {
|
|
68964
69452
|
/**
|
|
68965
69453
|
* @remarks
|
|
@@ -73173,6 +73661,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
73173
73661
|
});
|
|
73174
73662
|
}
|
|
73175
73663
|
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $tea.Model {
|
|
73664
|
+
customerGatewayId?: string;
|
|
73176
73665
|
/**
|
|
73177
73666
|
* @remarks
|
|
73178
73667
|
* Specifies whether to enable the dead peer detection (DPD) feature. Valid values:
|
|
@@ -73484,6 +73973,74 @@ export declare class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $te
|
|
|
73484
73973
|
[key: string]: any;
|
|
73485
73974
|
});
|
|
73486
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
|
+
}
|
|
73487
74044
|
export declare class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $tea.Model {
|
|
73488
74045
|
/**
|
|
73489
74046
|
* @remarks
|
|
@@ -73612,6 +74169,79 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends
|
|
|
73612
74169
|
[key: string]: any;
|
|
73613
74170
|
});
|
|
73614
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
|
+
}
|
|
73615
74245
|
export declare class ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck extends $tea.Model {
|
|
73616
74246
|
/**
|
|
73617
74247
|
* @remarks
|
|
@@ -73755,9 +74385,11 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73755
74385
|
* @remarks
|
|
73756
74386
|
* The ASN of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
73757
74387
|
*
|
|
73758
|
-
* >
|
|
73759
|
-
*
|
|
73760
|
-
*
|
|
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.
|
|
73761
74393
|
*
|
|
73762
74394
|
* @example
|
|
73763
74395
|
* 65530
|
|
@@ -73765,7 +74397,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73765
74397
|
localAsn?: number;
|
|
73766
74398
|
/**
|
|
73767
74399
|
* @remarks
|
|
73768
|
-
* 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.
|
|
73769
74401
|
*
|
|
73770
74402
|
* @example
|
|
73771
74403
|
* 169.254.10.1
|
|
@@ -73773,9 +74405,11 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73773
74405
|
localBgpIp?: string;
|
|
73774
74406
|
/**
|
|
73775
74407
|
* @remarks
|
|
73776
|
-
* 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.
|
|
73777
74411
|
*
|
|
73778
|
-
* > The BGP CIDR block of
|
|
74412
|
+
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
73779
74413
|
*
|
|
73780
74414
|
* @example
|
|
73781
74415
|
* 169.254.10.0/30
|
|
@@ -73814,7 +74448,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73814
74448
|
ikeEncAlg?: string;
|
|
73815
74449
|
/**
|
|
73816
74450
|
* @remarks
|
|
73817
|
-
* The SA lifetime
|
|
74451
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
73818
74452
|
*
|
|
73819
74453
|
* @example
|
|
73820
74454
|
* 86400
|
|
@@ -73822,10 +74456,10 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73822
74456
|
ikeLifetime?: number;
|
|
73823
74457
|
/**
|
|
73824
74458
|
* @remarks
|
|
73825
|
-
* The
|
|
74459
|
+
* The negotiation mode of IKE. Valid values:
|
|
73826
74460
|
*
|
|
73827
|
-
* * **main
|
|
73828
|
-
* * **aggressive
|
|
74461
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
74462
|
+
* * **aggressive:** This mode supports faster negotiations and a higher success rate.
|
|
73829
74463
|
*
|
|
73830
74464
|
* @example
|
|
73831
74465
|
* main
|
|
@@ -73833,7 +74467,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73833
74467
|
ikeMode?: string;
|
|
73834
74468
|
/**
|
|
73835
74469
|
* @remarks
|
|
73836
|
-
* The
|
|
74470
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
73837
74471
|
*
|
|
73838
74472
|
* @example
|
|
73839
74473
|
* group2
|
|
@@ -73843,7 +74477,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73843
74477
|
* @remarks
|
|
73844
74478
|
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
73845
74479
|
*
|
|
73846
|
-
* 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.
|
|
73847
74481
|
*
|
|
73848
74482
|
* @example
|
|
73849
74483
|
* ikev1
|
|
@@ -73851,9 +74485,9 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73851
74485
|
ikeVersion?: string;
|
|
73852
74486
|
/**
|
|
73853
74487
|
* @remarks
|
|
73854
|
-
* 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.
|
|
73855
74489
|
*
|
|
73856
|
-
*
|
|
74490
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
73857
74491
|
*
|
|
73858
74492
|
* @example
|
|
73859
74493
|
* 47.21.XX.XX
|
|
@@ -73863,10 +74497,10 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73863
74497
|
* @remarks
|
|
73864
74498
|
* The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
|
|
73865
74499
|
*
|
|
73866
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
73867
|
-
* * 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.
|
|
73868
74502
|
*
|
|
73869
|
-
* > 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.
|
|
73870
74504
|
*
|
|
73871
74505
|
* @example
|
|
73872
74506
|
* 123456****
|
|
@@ -73874,9 +74508,9 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73874
74508
|
psk?: string;
|
|
73875
74509
|
/**
|
|
73876
74510
|
* @remarks
|
|
73877
|
-
* 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.
|
|
73878
74512
|
*
|
|
73879
|
-
*
|
|
74513
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
73880
74514
|
*
|
|
73881
74515
|
* @example
|
|
73882
74516
|
* 47.42.XX.XX
|
|
@@ -73915,7 +74549,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73915
74549
|
ipsecEncAlg?: string;
|
|
73916
74550
|
/**
|
|
73917
74551
|
* @remarks
|
|
73918
|
-
* The SA lifetime
|
|
74552
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0** to **86400**.
|
|
73919
74553
|
*
|
|
73920
74554
|
* @example
|
|
73921
74555
|
* 86400
|
|
@@ -73923,7 +74557,7 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73923
74557
|
ipsecLifetime?: number;
|
|
73924
74558
|
/**
|
|
73925
74559
|
* @remarks
|
|
73926
|
-
* The
|
|
74560
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
|
|
73927
74561
|
*
|
|
73928
74562
|
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
73929
74563
|
*
|
|
@@ -73942,12 +74576,20 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73942
74576
|
});
|
|
73943
74577
|
}
|
|
73944
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;
|
|
73945
74587
|
/**
|
|
73946
74588
|
* @remarks
|
|
73947
74589
|
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
73948
74590
|
*
|
|
73949
|
-
* * **true
|
|
73950
|
-
* * **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.
|
|
73951
74593
|
*
|
|
73952
74594
|
* @example
|
|
73953
74595
|
* true
|
|
@@ -73957,8 +74599,8 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73957
74599
|
* @remarks
|
|
73958
74600
|
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
73959
74601
|
*
|
|
73960
|
-
* * **true
|
|
73961
|
-
* * **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.
|
|
73962
74604
|
*
|
|
73963
74605
|
* @example
|
|
73964
74606
|
* true
|
|
@@ -73992,8 +74634,6 @@ export declare class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificati
|
|
|
73992
74634
|
tunnelBgpConfig?: ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
73993
74635
|
/**
|
|
73994
74636
|
* @remarks
|
|
73995
|
-
* **TunnelOptionsSpecification** parameters are supported by dual-tunnel IPsec-VPN gateways. You can modify both the active and standby tunnels of the IPsec-VPN connection.
|
|
73996
|
-
*
|
|
73997
74637
|
* The tunnel ID.
|
|
73998
74638
|
*
|
|
73999
74639
|
* @example
|
|
@@ -76529,34 +77169,32 @@ export default class Client extends OpenApi {
|
|
|
76529
77169
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
76530
77170
|
*
|
|
76531
77171
|
* @remarks
|
|
76532
|
-
* ##
|
|
77172
|
+
* ## Usage notes
|
|
76533
77173
|
* Before you call this operation, take note of the following items:
|
|
76534
|
-
* *
|
|
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).
|
|
76535
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.
|
|
76536
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.
|
|
76537
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.
|
|
76538
77178
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
76539
77179
|
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
76540
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
76541
77180
|
*
|
|
76542
|
-
* @param
|
|
77181
|
+
* @param tmpReq - CreateNatGatewayRequest
|
|
76543
77182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
76544
77183
|
* @returns CreateNatGatewayResponse
|
|
76545
77184
|
*/
|
|
76546
|
-
createNatGatewayWithOptions(
|
|
77185
|
+
createNatGatewayWithOptions(tmpReq: CreateNatGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatGatewayResponse>;
|
|
76547
77186
|
/**
|
|
76548
77187
|
* Creates an enhanced Internet NAT gateway or a Virtual Private Cloud (VPC) NAT gateway.
|
|
76549
77188
|
*
|
|
76550
77189
|
* @remarks
|
|
76551
|
-
* ##
|
|
77190
|
+
* ## Usage notes
|
|
76552
77191
|
* Before you call this operation, take note of the following items:
|
|
76553
|
-
* *
|
|
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).
|
|
76554
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.
|
|
76555
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.
|
|
76556
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.
|
|
76557
77196
|
* * If a NAT gateway is in the **Available** state, the NAT gateway is created.
|
|
76558
77197
|
* It takes 1 to 3 minutes to create a NAT gateway.
|
|
76559
|
-
* * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
|
|
76560
77198
|
*
|
|
76561
77199
|
* @param request - CreateNatGatewayRequest
|
|
76562
77200
|
* @returns CreateNatGatewayResponse
|
|
@@ -76945,12 +77583,13 @@ export default class Client extends OpenApi {
|
|
|
76945
77583
|
* Creates an SSL server.
|
|
76946
77584
|
*
|
|
76947
77585
|
* @remarks
|
|
76948
|
-
* **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.
|
|
76949
77587
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
76950
77588
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
76951
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
76952
|
-
* ### [](#)
|
|
76953
|
-
* 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).
|
|
76954
77593
|
*
|
|
76955
77594
|
* @param request - CreateSslVpnServerRequest
|
|
76956
77595
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -76961,12 +77600,13 @@ export default class Client extends OpenApi {
|
|
|
76961
77600
|
* Creates an SSL server.
|
|
76962
77601
|
*
|
|
76963
77602
|
* @remarks
|
|
76964
|
-
* **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.
|
|
76965
77604
|
* * If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
76966
77605
|
* * If the VPN gateway is in the **active** state, the SSL server is created.
|
|
76967
|
-
* * You cannot call the **CreateSslVpnServer** operation
|
|
76968
|
-
* ### [](#)
|
|
76969
|
-
* 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).
|
|
76970
77610
|
*
|
|
76971
77611
|
* @param request - CreateSslVpnServerRequest
|
|
76972
77612
|
* @returns CreateSslVpnServerResponse
|
|
@@ -80155,6 +80795,8 @@ export default class Client extends OpenApi {
|
|
|
80155
80795
|
/**
|
|
80156
80796
|
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
80157
80797
|
*
|
|
80798
|
+
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
80799
|
+
*
|
|
80158
80800
|
* @param request - DisableNatGatewayEcsMetricRequest
|
|
80159
80801
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
80160
80802
|
* @returns DisableNatGatewayEcsMetricResponse
|
|
@@ -80163,6 +80805,8 @@ export default class Client extends OpenApi {
|
|
|
80163
80805
|
/**
|
|
80164
80806
|
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
80165
80807
|
*
|
|
80808
|
+
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
80809
|
+
*
|
|
80166
80810
|
* @param request - DisableNatGatewayEcsMetricRequest
|
|
80167
80811
|
* @returns DisableNatGatewayEcsMetricResponse
|
|
80168
80812
|
*/
|
|
@@ -80257,6 +80901,8 @@ export default class Client extends OpenApi {
|
|
|
80257
80901
|
/**
|
|
80258
80902
|
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
80259
80903
|
*
|
|
80904
|
+
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
80905
|
+
*
|
|
80260
80906
|
* @param request - EnableNatGatewayEcsMetricRequest
|
|
80261
80907
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
80262
80908
|
* @returns EnableNatGatewayEcsMetricResponse
|
|
@@ -80265,6 +80911,8 @@ export default class Client extends OpenApi {
|
|
|
80265
80911
|
/**
|
|
80266
80912
|
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
80267
80913
|
*
|
|
80914
|
+
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
80915
|
+
*
|
|
80268
80916
|
* @param request - EnableNatGatewayEcsMetricRequest
|
|
80269
80917
|
* @returns EnableNatGatewayEcsMetricResponse
|
|
80270
80918
|
*/
|
|
@@ -81642,7 +82290,7 @@ export default class Client extends OpenApi {
|
|
|
81642
82290
|
*/
|
|
81643
82291
|
modifyPhysicalConnectionAttribute(request: ModifyPhysicalConnectionAttributeRequest): Promise<ModifyPhysicalConnectionAttributeResponse>;
|
|
81644
82292
|
/**
|
|
81645
|
-
*
|
|
82293
|
+
* Modifies the name and description of a custom route entry.
|
|
81646
82294
|
*
|
|
81647
82295
|
* @remarks
|
|
81648
82296
|
* You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
@@ -81653,7 +82301,7 @@ export default class Client extends OpenApi {
|
|
|
81653
82301
|
*/
|
|
81654
82302
|
modifyRouteEntryWithOptions(request: ModifyRouteEntryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRouteEntryResponse>;
|
|
81655
82303
|
/**
|
|
81656
|
-
*
|
|
82304
|
+
* Modifies the name and description of a custom route entry.
|
|
81657
82305
|
*
|
|
81658
82306
|
* @remarks
|
|
81659
82307
|
* You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
|
|
@@ -83138,6 +83786,8 @@ export default class Client extends OpenApi {
|
|
|
83138
83786
|
* * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
|
|
83139
83787
|
* * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
|
|
83140
83788
|
*
|
|
83789
|
+
* @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
83790
|
+
*
|
|
83141
83791
|
* @param request - UpdateNatGatewayNatTypeRequest
|
|
83142
83792
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
83143
83793
|
* @returns UpdateNatGatewayNatTypeResponse
|
|
@@ -83157,6 +83807,8 @@ export default class Client extends OpenApi {
|
|
|
83157
83807
|
* * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
|
|
83158
83808
|
* * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
|
|
83159
83809
|
*
|
|
83810
|
+
* @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
|
|
83811
|
+
*
|
|
83160
83812
|
* @param request - UpdateNatGatewayNatTypeRequest
|
|
83161
83813
|
* @returns UpdateNatGatewayNatTypeResponse
|
|
83162
83814
|
*/
|