@alicloud/vpc20160428 6.7.2 → 6.7.3
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 +1224 -258
- package/dist/client.js +2386 -428
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3554 -646
package/dist/client.d.ts
CHANGED
|
@@ -2121,8 +2121,33 @@ export declare class CreateVpnAttachmentRequestTags extends $dara.Model {
|
|
|
2121
2121
|
});
|
|
2122
2122
|
}
|
|
2123
2123
|
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
2124
|
+
/**
|
|
2125
|
+
* @remarks
|
|
2126
|
+
* The ANS of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
2127
|
+
*
|
|
2128
|
+
* > We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
2129
|
+
*
|
|
2130
|
+
* @example
|
|
2131
|
+
* 65530
|
|
2132
|
+
*/
|
|
2124
2133
|
localAsn?: number;
|
|
2134
|
+
/**
|
|
2135
|
+
* @remarks
|
|
2136
|
+
* 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.
|
|
2137
|
+
*
|
|
2138
|
+
* @example
|
|
2139
|
+
* 169.254.10.1
|
|
2140
|
+
*/
|
|
2125
2141
|
localBgpIp?: string;
|
|
2142
|
+
/**
|
|
2143
|
+
* @remarks
|
|
2144
|
+
* The BGP CIDR block of the tunnel. The CIDR block must fall into 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.
|
|
2145
|
+
*
|
|
2146
|
+
* > The two tunnels of an IPsec-VPN connection must use different CIDR blocks.
|
|
2147
|
+
*
|
|
2148
|
+
* @example
|
|
2149
|
+
* 169.254.10.0/30
|
|
2150
|
+
*/
|
|
2126
2151
|
tunnelCidr?: string;
|
|
2127
2152
|
static names(): {
|
|
2128
2153
|
[key: string]: string;
|
|
@@ -2136,14 +2161,94 @@ export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelB
|
|
|
2136
2161
|
});
|
|
2137
2162
|
}
|
|
2138
2163
|
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
2164
|
+
/**
|
|
2165
|
+
* @remarks
|
|
2166
|
+
* The authentication algorithm that is used in Phase 1 negotiations. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **sha1**.
|
|
2167
|
+
*
|
|
2168
|
+
* @example
|
|
2169
|
+
* sha1
|
|
2170
|
+
*/
|
|
2139
2171
|
ikeAuthAlg?: string;
|
|
2172
|
+
/**
|
|
2173
|
+
* @remarks
|
|
2174
|
+
* The encryption algorithm that is used in Phase 1 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**. Default value: **aes**.
|
|
2175
|
+
*
|
|
2176
|
+
* @example
|
|
2177
|
+
* aes
|
|
2178
|
+
*/
|
|
2140
2179
|
ikeEncAlg?: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* @remarks
|
|
2182
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
|
|
2183
|
+
*
|
|
2184
|
+
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
2185
|
+
*
|
|
2186
|
+
* @example
|
|
2187
|
+
* 86400
|
|
2188
|
+
*/
|
|
2141
2189
|
ikeLifetime?: number;
|
|
2190
|
+
/**
|
|
2191
|
+
* @remarks
|
|
2192
|
+
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
2193
|
+
*
|
|
2194
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
2195
|
+
* * **aggressive**: This mode is faster with a higher success rate.
|
|
2196
|
+
*
|
|
2197
|
+
* @example
|
|
2198
|
+
* main
|
|
2199
|
+
*/
|
|
2142
2200
|
ikeMode?: string;
|
|
2201
|
+
/**
|
|
2202
|
+
* @remarks
|
|
2203
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Default value: **group2**.\\
|
|
2204
|
+
* Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
2205
|
+
*
|
|
2206
|
+
* @example
|
|
2207
|
+
* group2
|
|
2208
|
+
*/
|
|
2143
2209
|
ikePfs?: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* @remarks
|
|
2212
|
+
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev2**.
|
|
2213
|
+
*
|
|
2214
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
2215
|
+
*
|
|
2216
|
+
* @example
|
|
2217
|
+
* ikev2
|
|
2218
|
+
*/
|
|
2144
2219
|
ikeVersion?: string;
|
|
2220
|
+
/**
|
|
2221
|
+
* @remarks
|
|
2222
|
+
* The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain spaces. The default value is the IP address of the tunnel.
|
|
2223
|
+
*
|
|
2224
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
2225
|
+
*
|
|
2226
|
+
* @example
|
|
2227
|
+
* 47.XX.XX.1
|
|
2228
|
+
*/
|
|
2145
2229
|
localId?: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* @remarks
|
|
2232
|
+
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
2233
|
+
*
|
|
2234
|
+
* * The key cannot contain spaces. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
2235
|
+
* * 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 [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
2236
|
+
*
|
|
2237
|
+
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
2238
|
+
*
|
|
2239
|
+
* @example
|
|
2240
|
+
* 123456****
|
|
2241
|
+
*/
|
|
2146
2242
|
psk?: string;
|
|
2243
|
+
/**
|
|
2244
|
+
* @remarks
|
|
2245
|
+
* The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain spaces. The default value is the IP address of the customer gateway that is associated with the tunnel.
|
|
2246
|
+
*
|
|
2247
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
2248
|
+
*
|
|
2249
|
+
* @example
|
|
2250
|
+
* 47.XX.XX.2
|
|
2251
|
+
*/
|
|
2147
2252
|
remoteId?: string;
|
|
2148
2253
|
static names(): {
|
|
2149
2254
|
[key: string]: string;
|
|
@@ -2157,9 +2262,43 @@ export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelI
|
|
|
2157
2262
|
});
|
|
2158
2263
|
}
|
|
2159
2264
|
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
2265
|
+
/**
|
|
2266
|
+
* @remarks
|
|
2267
|
+
* The authentication algorithm that is used in Phase 2 negotiations.
|
|
2268
|
+
*
|
|
2269
|
+
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **sha1**.
|
|
2270
|
+
*
|
|
2271
|
+
* @example
|
|
2272
|
+
* sha1
|
|
2273
|
+
*/
|
|
2160
2274
|
ipsecAuthAlg?: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* @remarks
|
|
2277
|
+
* The encryption algorithm that is used in Phase 2 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**. Default value: **aes**.
|
|
2278
|
+
*
|
|
2279
|
+
* @example
|
|
2280
|
+
* aes
|
|
2281
|
+
*/
|
|
2161
2282
|
ipsecEncAlg?: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* @remarks
|
|
2285
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
|
|
2286
|
+
*
|
|
2287
|
+
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
2288
|
+
*
|
|
2289
|
+
* @example
|
|
2290
|
+
* 86400
|
|
2291
|
+
*/
|
|
2162
2292
|
ipsecLifetime?: number;
|
|
2293
|
+
/**
|
|
2294
|
+
* @remarks
|
|
2295
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Default value: **group2**.
|
|
2296
|
+
*
|
|
2297
|
+
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
2298
|
+
*
|
|
2299
|
+
* @example
|
|
2300
|
+
* group2
|
|
2301
|
+
*/
|
|
2163
2302
|
ipsecPfs?: string;
|
|
2164
2303
|
static names(): {
|
|
2165
2304
|
[key: string]: string;
|
|
@@ -2173,12 +2312,65 @@ export declare class CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelI
|
|
|
2173
2312
|
});
|
|
2174
2313
|
}
|
|
2175
2314
|
export declare class CreateVpnAttachmentRequestTunnelOptionsSpecification extends $dara.Model {
|
|
2315
|
+
/**
|
|
2316
|
+
* @remarks
|
|
2317
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
2318
|
+
*
|
|
2319
|
+
* > This parameter is required when you create a dual-tunnel IPsec-VPN connection.
|
|
2320
|
+
*
|
|
2321
|
+
* @example
|
|
2322
|
+
* cgw-p0w2jemrcj5u61un8****
|
|
2323
|
+
*/
|
|
2176
2324
|
customerGatewayId?: string;
|
|
2325
|
+
/**
|
|
2326
|
+
* @remarks
|
|
2327
|
+
* Specifies whether to enable the DPD feature for the tunnel. Valid values:
|
|
2328
|
+
*
|
|
2329
|
+
* * **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 along with the security tunnel.
|
|
2330
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
2331
|
+
*
|
|
2332
|
+
* @example
|
|
2333
|
+
* true
|
|
2334
|
+
*/
|
|
2177
2335
|
enableDpd?: boolean;
|
|
2336
|
+
/**
|
|
2337
|
+
* @remarks
|
|
2338
|
+
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
2339
|
+
*
|
|
2340
|
+
* * **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.
|
|
2341
|
+
* * **false**: disables NAT traversal.
|
|
2342
|
+
*
|
|
2343
|
+
* @example
|
|
2344
|
+
* true
|
|
2345
|
+
*/
|
|
2178
2346
|
enableNatTraversal?: boolean;
|
|
2347
|
+
/**
|
|
2348
|
+
* @remarks
|
|
2349
|
+
* The BGP configurations of the tunnel.
|
|
2350
|
+
*
|
|
2351
|
+
* > If you enable BGP for an IPsec-VPN connection, you must set **EnableTunnelsBgp** parameter to **true**.
|
|
2352
|
+
*/
|
|
2179
2353
|
tunnelBgpConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
2354
|
+
/**
|
|
2355
|
+
* @remarks
|
|
2356
|
+
* The configurations of Phase 1 negotiations.
|
|
2357
|
+
*/
|
|
2180
2358
|
tunnelIkeConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
2359
|
+
/**
|
|
2360
|
+
* @remarks
|
|
2361
|
+
* The order in which the tunnel was created.
|
|
2362
|
+
*
|
|
2363
|
+
* * **1**: Tunnel 1.
|
|
2364
|
+
* * **2**: Tunnel 2.
|
|
2365
|
+
*
|
|
2366
|
+
* @example
|
|
2367
|
+
* 1
|
|
2368
|
+
*/
|
|
2181
2369
|
tunnelIndex?: number;
|
|
2370
|
+
/**
|
|
2371
|
+
* @remarks
|
|
2372
|
+
* The configurations of Phase 2 negotiations.
|
|
2373
|
+
*/
|
|
2182
2374
|
tunnelIpsecConfig?: CreateVpnAttachmentRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
2183
2375
|
static names(): {
|
|
2184
2376
|
[key: string]: string;
|
|
@@ -2232,10 +2424,8 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
2232
2424
|
* @remarks
|
|
2233
2425
|
* The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
2234
2426
|
*
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2237
2427
|
* > - If you set **EnableTunnelsBgp** to **true**, you must set this parameter.
|
|
2238
|
-
* > - Before you add BGP configurations, we recommend that you learn about how BGP dynamic routing works and the limits. For more information, see [
|
|
2428
|
+
* > - 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).
|
|
2239
2429
|
* > - 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.
|
|
2240
2430
|
*
|
|
2241
2431
|
* @example
|
|
@@ -2252,7 +2442,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelB
|
|
|
2252
2442
|
localBgpIp?: string;
|
|
2253
2443
|
/**
|
|
2254
2444
|
* @remarks
|
|
2255
|
-
* The BGP CIDR block of the tunnel. The CIDR block must fall within
|
|
2445
|
+
* The BGP CIDR block of the 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.
|
|
2256
2446
|
*
|
|
2257
2447
|
* > The BGP CIDR block of each tunnel must be unique on a VPN gateway.
|
|
2258
2448
|
*
|
|
@@ -2294,7 +2484,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2294
2484
|
ikeEncAlg?: string;
|
|
2295
2485
|
/**
|
|
2296
2486
|
* @remarks
|
|
2297
|
-
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds
|
|
2487
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds
|
|
2298
2488
|
*
|
|
2299
2489
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
2300
2490
|
*
|
|
@@ -2307,7 +2497,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2307
2497
|
* The negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
2308
2498
|
*
|
|
2309
2499
|
* * **main:** This mode offers higher security during negotiations.
|
|
2310
|
-
* * **aggressive
|
|
2500
|
+
* * **aggressive:** This mode is faster and has a higher success rate.
|
|
2311
2501
|
*
|
|
2312
2502
|
* @example
|
|
2313
2503
|
* main
|
|
@@ -2334,7 +2524,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2334
2524
|
ikeVersion?: string;
|
|
2335
2525
|
/**
|
|
2336
2526
|
* @remarks
|
|
2337
|
-
* The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations.
|
|
2527
|
+
* The identifier of the tunnel 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.
|
|
2338
2528
|
*
|
|
2339
2529
|
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
2340
2530
|
*
|
|
@@ -2346,7 +2536,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2346
2536
|
* @remarks
|
|
2347
2537
|
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
2348
2538
|
*
|
|
2349
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
2539
|
+
* * The key cannot contain spaces. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
2350
2540
|
* * 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.
|
|
2351
2541
|
*
|
|
2352
2542
|
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
@@ -2357,7 +2547,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2357
2547
|
psk?: string;
|
|
2358
2548
|
/**
|
|
2359
2549
|
* @remarks
|
|
2360
|
-
* The identifier of the tunnel peer, which is used in Phase 1 negotiations.
|
|
2550
|
+
* 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.
|
|
2361
2551
|
*
|
|
2362
2552
|
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
2363
2553
|
*
|
|
@@ -2399,7 +2589,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelI
|
|
|
2399
2589
|
ipsecEncAlg?: string;
|
|
2400
2590
|
/**
|
|
2401
2591
|
* @remarks
|
|
2402
|
-
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds
|
|
2592
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds
|
|
2403
2593
|
*
|
|
2404
2594
|
* Valid values: **0** to **86400**. Default value: **86400**.
|
|
2405
2595
|
*
|
|
@@ -2476,7 +2666,7 @@ export declare class CreateVpnConnectionRequestTunnelOptionsSpecification extend
|
|
|
2476
2666
|
remoteCaCertificate?: string;
|
|
2477
2667
|
/**
|
|
2478
2668
|
* @remarks
|
|
2479
|
-
* The role of the tunnel. Valid values:
|
|
2669
|
+
* The role of the tunnel. Valid values:
|
|
2480
2670
|
*
|
|
2481
2671
|
* * **master**: The tunnel is an active tunnel.
|
|
2482
2672
|
* * **slave**: The tunnel is a standby tunnel.
|
|
@@ -3738,7 +3928,7 @@ export declare class DescribeCommonBandwidthPackagesResponseBodyCommonBandwidthP
|
|
|
3738
3928
|
export declare class DescribeCustomerGatewayResponseBodyTagsTag extends $dara.Model {
|
|
3739
3929
|
/**
|
|
3740
3930
|
* @remarks
|
|
3741
|
-
* The
|
|
3931
|
+
* The tag key.
|
|
3742
3932
|
*
|
|
3743
3933
|
* @example
|
|
3744
3934
|
* TagKey
|
|
@@ -3746,7 +3936,7 @@ export declare class DescribeCustomerGatewayResponseBodyTagsTag extends $dara.Mo
|
|
|
3746
3936
|
key?: string;
|
|
3747
3937
|
/**
|
|
3748
3938
|
* @remarks
|
|
3749
|
-
* The
|
|
3939
|
+
* The tag value.
|
|
3750
3940
|
*
|
|
3751
3941
|
* @example
|
|
3752
3942
|
* TagValue
|
|
@@ -4552,6 +4742,7 @@ export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddress exte
|
|
|
4552
4742
|
* eipsg-t4nr90yik5oy38xd****
|
|
4553
4743
|
*/
|
|
4554
4744
|
segmentInstanceId?: string;
|
|
4745
|
+
serviceID?: number;
|
|
4555
4746
|
/**
|
|
4556
4747
|
* @remarks
|
|
4557
4748
|
* Indicates whether the resource is created by the service account. Valid values:
|
|
@@ -11833,9 +12024,9 @@ export declare class DescribeSnatTableEntriesResponseBodySnatTableEntries extend
|
|
|
11833
12024
|
export declare class DescribeSslVpnClientCertsResponseBodySslVpnClientCertKeysSslVpnClientCertKey extends $dara.Model {
|
|
11834
12025
|
/**
|
|
11835
12026
|
* @remarks
|
|
11836
|
-
* The timestamp
|
|
12027
|
+
* The timestamp generated when the SSL client certificate was created. Unit: milliseconds.
|
|
11837
12028
|
*
|
|
11838
|
-
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since
|
|
12029
|
+
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
11839
12030
|
*
|
|
11840
12031
|
* @example
|
|
11841
12032
|
* 1492747187000
|
|
@@ -11843,9 +12034,9 @@ export declare class DescribeSslVpnClientCertsResponseBodySslVpnClientCertKeysSs
|
|
|
11843
12034
|
createTime?: number;
|
|
11844
12035
|
/**
|
|
11845
12036
|
* @remarks
|
|
11846
|
-
* The timestamp
|
|
12037
|
+
* The timestamp generated when the SSL client certificate expires. Unit: milliseconds.
|
|
11847
12038
|
*
|
|
11848
|
-
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since
|
|
12039
|
+
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
11849
12040
|
*
|
|
11850
12041
|
* @example
|
|
11851
12042
|
* 1494966335000
|
|
@@ -11861,7 +12052,7 @@ export declare class DescribeSslVpnClientCertsResponseBodySslVpnClientCertKeysSs
|
|
|
11861
12052
|
name?: string;
|
|
11862
12053
|
/**
|
|
11863
12054
|
* @remarks
|
|
11864
|
-
* The region
|
|
12055
|
+
* The region ID of the SSL client certificate.
|
|
11865
12056
|
*
|
|
11866
12057
|
* @example
|
|
11867
12058
|
* cn-hangzhou
|
|
@@ -11871,7 +12062,7 @@ export declare class DescribeSslVpnClientCertsResponseBodySslVpnClientCertKeysSs
|
|
|
11871
12062
|
* @remarks
|
|
11872
12063
|
* The ID of the resource group to which the SSL client certificate belongs.
|
|
11873
12064
|
*
|
|
11874
|
-
* You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query
|
|
12065
|
+
* You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
11875
12066
|
*
|
|
11876
12067
|
* @example
|
|
11877
12068
|
* rg-acfmzs372yg****
|
|
@@ -11897,7 +12088,7 @@ export declare class DescribeSslVpnClientCertsResponseBodySslVpnClientCertKeysSs
|
|
|
11897
12088
|
* @remarks
|
|
11898
12089
|
* The status of the SSL client certificate. Valid values:
|
|
11899
12090
|
*
|
|
11900
|
-
* * **expiring-soon
|
|
12091
|
+
* * **expiring-soon**: The certificate expires in one week.
|
|
11901
12092
|
* * **normal**
|
|
11902
12093
|
* * **expired**
|
|
11903
12094
|
*
|
|
@@ -12067,26 +12258,35 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12067
12258
|
*/
|
|
12068
12259
|
enableMultiFactorAuth?: boolean;
|
|
12069
12260
|
/**
|
|
12261
|
+
* @remarks
|
|
12262
|
+
* The ID of the IDaaS application.
|
|
12263
|
+
*
|
|
12070
12264
|
* @example
|
|
12071
12265
|
* app_my6g4qmvnwxzj2f****
|
|
12072
12266
|
*/
|
|
12073
12267
|
IDaaSApplicationId?: string;
|
|
12074
12268
|
/**
|
|
12075
12269
|
* @remarks
|
|
12076
|
-
* The ID of the IDaaS instance.
|
|
12270
|
+
* The ID of the IDaaS EIAM instance.
|
|
12077
12271
|
*
|
|
12078
12272
|
* @example
|
|
12079
12273
|
* idaas-cn-hangzhou-****
|
|
12080
12274
|
*/
|
|
12081
12275
|
IDaaSInstanceId?: string;
|
|
12082
12276
|
/**
|
|
12277
|
+
* @remarks
|
|
12278
|
+
* The version of the IDaaS EIAM instance.
|
|
12279
|
+
*
|
|
12280
|
+
* * This parameter is returned only if the SSL server is associated with an IDaaS EIAM 2.0 instance. Only **EIAM 2.0** is returned.
|
|
12281
|
+
* * If the SSL server is associated with an IDaaS EIAM 1.0 instance, no value is returned.
|
|
12282
|
+
*
|
|
12083
12283
|
* @example
|
|
12084
12284
|
* EIAM 2.0
|
|
12085
12285
|
*/
|
|
12086
12286
|
IDaaSInstanceVersion?: string;
|
|
12087
12287
|
/**
|
|
12088
12288
|
* @remarks
|
|
12089
|
-
* The region ID of the IDaaS instance.
|
|
12289
|
+
* The region ID of the IDaaS EIAM instance.
|
|
12090
12290
|
*
|
|
12091
12291
|
* @example
|
|
12092
12292
|
* cn-hangzhou
|
|
@@ -12118,7 +12318,7 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12118
12318
|
maxConnections?: number;
|
|
12119
12319
|
/**
|
|
12120
12320
|
* @remarks
|
|
12121
|
-
* The name of the SSL
|
|
12321
|
+
* The name of the SSL server.
|
|
12122
12322
|
*
|
|
12123
12323
|
* @example
|
|
12124
12324
|
* test
|
|
@@ -12134,7 +12334,7 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12134
12334
|
port?: number;
|
|
12135
12335
|
/**
|
|
12136
12336
|
* @remarks
|
|
12137
|
-
* The protocol that is used by the SSL
|
|
12337
|
+
* The protocol that is used by the SSL server.
|
|
12138
12338
|
*
|
|
12139
12339
|
* @example
|
|
12140
12340
|
* UDP
|
|
@@ -12142,7 +12342,7 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12142
12342
|
proto?: string;
|
|
12143
12343
|
/**
|
|
12144
12344
|
* @remarks
|
|
12145
|
-
* The region ID of the SSL
|
|
12345
|
+
* The region ID of the SSL server.
|
|
12146
12346
|
*
|
|
12147
12347
|
* @example
|
|
12148
12348
|
* cn-hangzhou
|
|
@@ -12150,7 +12350,7 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12150
12350
|
regionId?: string;
|
|
12151
12351
|
/**
|
|
12152
12352
|
* @remarks
|
|
12153
|
-
* The resource group ID of the SSL
|
|
12353
|
+
* The resource group ID of the SSL server.
|
|
12154
12354
|
*
|
|
12155
12355
|
* You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
|
|
12156
12356
|
*
|
|
@@ -12160,7 +12360,7 @@ export declare class DescribeSslVpnServersResponseBodySslVpnServersSslVpnServer
|
|
|
12160
12360
|
resourceGroupId?: string;
|
|
12161
12361
|
/**
|
|
12162
12362
|
* @remarks
|
|
12163
|
-
* The ID of the SSL
|
|
12363
|
+
* The ID of the SSL server.
|
|
12164
12364
|
*
|
|
12165
12365
|
* @example
|
|
12166
12366
|
* vss-bp15j3du13gq1dgey****
|
|
@@ -12834,6 +13034,13 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
12834
13034
|
* vco-p0w2jpkhi2eeop6q6****
|
|
12835
13035
|
*/
|
|
12836
13036
|
nextHop?: string;
|
|
13037
|
+
/**
|
|
13038
|
+
* @remarks
|
|
13039
|
+
* The list of next hops.
|
|
13040
|
+
*
|
|
13041
|
+
* > - This parameter is returned only by dual-tunnel IPsec connections.
|
|
13042
|
+
* > - This parameter is returned only when the tunnel status is **Phase 2 Negotiation Successful**.
|
|
13043
|
+
*/
|
|
12837
13044
|
nextHopTunnelIdList?: string[];
|
|
12838
13045
|
/**
|
|
12839
13046
|
* @remarks
|
|
@@ -12886,10 +13093,9 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
12886
13093
|
vpnConnectionId?: string;
|
|
12887
13094
|
/**
|
|
12888
13095
|
* @remarks
|
|
12889
|
-
* The weight of the destination-based route.
|
|
13096
|
+
* The weight of the destination-based route.
|
|
12890
13097
|
*
|
|
12891
|
-
*
|
|
12892
|
-
* * **100**: a high priority
|
|
13098
|
+
* > The current parameter has no effect.
|
|
12893
13099
|
*
|
|
12894
13100
|
* @example
|
|
12895
13101
|
* 100
|
|
@@ -12907,8 +13113,35 @@ export declare class DescribeVcoRouteEntriesResponseBodyVcoRouteEntries extends
|
|
|
12907
13113
|
});
|
|
12908
13114
|
}
|
|
12909
13115
|
export declare class DescribeVcoRouteEntriesResponseBodyVpnRouteCounts extends $dara.Model {
|
|
13116
|
+
/**
|
|
13117
|
+
* @remarks
|
|
13118
|
+
* The number of route entries.
|
|
13119
|
+
*
|
|
13120
|
+
* @example
|
|
13121
|
+
* 3
|
|
13122
|
+
*/
|
|
12910
13123
|
routeCount?: number;
|
|
13124
|
+
/**
|
|
13125
|
+
* @remarks
|
|
13126
|
+
* The route type. Valid values:
|
|
13127
|
+
*
|
|
13128
|
+
* * **custom**: destination-based route.
|
|
13129
|
+
* * **bgp**: BGP route.
|
|
13130
|
+
*
|
|
13131
|
+
* @example
|
|
13132
|
+
* bgp
|
|
13133
|
+
*/
|
|
12911
13134
|
routeEntryType?: string;
|
|
13135
|
+
/**
|
|
13136
|
+
* @remarks
|
|
13137
|
+
* The source of the BGP route. Valid values:
|
|
13138
|
+
*
|
|
13139
|
+
* * **CLOUD**: The current BGP route is learned by the IPsec connection from the transit router.
|
|
13140
|
+
* * **VPN_BGP**: The current BGP route is learned by the IPsec connection from the data center.
|
|
13141
|
+
*
|
|
13142
|
+
* @example
|
|
13143
|
+
* VPN_BGP
|
|
13144
|
+
*/
|
|
12912
13145
|
source?: string;
|
|
12913
13146
|
static names(): {
|
|
12914
13147
|
[key: string]: string;
|
|
@@ -14618,7 +14851,21 @@ export declare class DescribeVpcsResponseBodyVpcs extends $dara.Model {
|
|
|
14618
14851
|
});
|
|
14619
14852
|
}
|
|
14620
14853
|
export declare class DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags extends $dara.Model {
|
|
14854
|
+
/**
|
|
14855
|
+
* @remarks
|
|
14856
|
+
* The tag key of the IPsec-VPN connection.
|
|
14857
|
+
*
|
|
14858
|
+
* @example
|
|
14859
|
+
* TagKey
|
|
14860
|
+
*/
|
|
14621
14861
|
key?: string;
|
|
14862
|
+
/**
|
|
14863
|
+
* @remarks
|
|
14864
|
+
* The tag value of the IPsec-VPN connection.
|
|
14865
|
+
*
|
|
14866
|
+
* @example
|
|
14867
|
+
* TagValue
|
|
14868
|
+
*/
|
|
14622
14869
|
value?: string;
|
|
14623
14870
|
static names(): {
|
|
14624
14871
|
[key: string]: string;
|
|
@@ -14675,7 +14922,25 @@ export declare class DescribeVpnAttachmentsResponseBodyVpnAttachments extends $d
|
|
|
14675
14922
|
* nametest1
|
|
14676
14923
|
*/
|
|
14677
14924
|
name?: string;
|
|
14925
|
+
/**
|
|
14926
|
+
* @remarks
|
|
14927
|
+
* The system tags of the IPsec-VPN connection.
|
|
14928
|
+
*
|
|
14929
|
+
* You can check whether an IPsec-VPN connection supports BGP based on the system tags.
|
|
14930
|
+
*
|
|
14931
|
+
* **BGPSupport**: indicates whether the IPsec-VPN connection supports BGP.
|
|
14932
|
+
*
|
|
14933
|
+
* * **true**
|
|
14934
|
+
* * **false**
|
|
14935
|
+
*
|
|
14936
|
+
* @example
|
|
14937
|
+
* {\\"description\\":\\"forwarding 1.7.22\\",\\"VisuallySsl\\":\\"true\\",\\"PbrPriority\\":\\"true\\",\\"BGPSupport\\":\\"true\\",\\"IDaaSNewVersion\\":\\"true\\"}
|
|
14938
|
+
*/
|
|
14678
14939
|
tag?: string;
|
|
14940
|
+
/**
|
|
14941
|
+
* @remarks
|
|
14942
|
+
* The list of tags to be added to the IPsec-VPN connection.
|
|
14943
|
+
*/
|
|
14679
14944
|
tags?: DescribeVpnAttachmentsResponseBodyVpnAttachmentsTags[];
|
|
14680
14945
|
/**
|
|
14681
14946
|
* @remarks
|
|
@@ -15178,6 +15443,18 @@ export declare class DescribeVpnConnectionResponseBodyTunnelOptionsSpecification
|
|
|
15178
15443
|
* The configuration of Phase 1 negotiations.
|
|
15179
15444
|
*/
|
|
15180
15445
|
tunnelIkeConfig?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
15446
|
+
/**
|
|
15447
|
+
* @remarks
|
|
15448
|
+
* The order in which the tunnel is created.
|
|
15449
|
+
*
|
|
15450
|
+
* * **1**: Tunnel 1.
|
|
15451
|
+
* * **2**: Tunnel 2.
|
|
15452
|
+
*
|
|
15453
|
+
* > This parameter is returned only if the IPsec-VPN connection is associated with a transit router.
|
|
15454
|
+
*
|
|
15455
|
+
* @example
|
|
15456
|
+
* 1
|
|
15457
|
+
*/
|
|
15181
15458
|
tunnelIndex?: number;
|
|
15182
15459
|
/**
|
|
15183
15460
|
* @remarks
|
|
@@ -15900,6 +16177,18 @@ export declare class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnecti
|
|
|
15900
16177
|
* The configuration of Phase 1 negotiations.
|
|
15901
16178
|
*/
|
|
15902
16179
|
tunnelIkeConfig?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecificationTunnelOptionsTunnelIkeConfig;
|
|
16180
|
+
/**
|
|
16181
|
+
* @remarks
|
|
16182
|
+
* The order in which the tunnel is created.
|
|
16183
|
+
*
|
|
16184
|
+
* * **1**: Tunnel 1.
|
|
16185
|
+
* * **2**: Tunnel 2.
|
|
16186
|
+
*
|
|
16187
|
+
* > This parameter is returned only if the IPsec-VPN connection is associated with a transit router.
|
|
16188
|
+
*
|
|
16189
|
+
* @example
|
|
16190
|
+
* 1
|
|
16191
|
+
*/
|
|
15903
16192
|
tunnelIndex?: number;
|
|
15904
16193
|
/**
|
|
15905
16194
|
* @remarks
|
|
@@ -16326,9 +16615,9 @@ export declare class DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnecti
|
|
|
16326
16615
|
transitRouterName?: string;
|
|
16327
16616
|
/**
|
|
16328
16617
|
* @remarks
|
|
16329
|
-
* The tunnel
|
|
16618
|
+
* The tunnel configurations of the IPsec-VPN connection.
|
|
16330
16619
|
*
|
|
16331
|
-
* Parameters in **TunnelOptionsSpecification** are returned only if you query IPsec-VPN
|
|
16620
|
+
* Parameters in **TunnelOptionsSpecification** are returned only if you query an IPsec-VPN connection in dual-tunnel mode.
|
|
16332
16621
|
*/
|
|
16333
16622
|
tunnelOptionsSpecification?: DescribeVpnConnectionsResponseBodyVpnConnectionsVpnConnectionTunnelOptionsSpecification;
|
|
16334
16623
|
/**
|
|
@@ -16400,9 +16689,9 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccou
|
|
|
16400
16689
|
bindInstance?: string;
|
|
16401
16690
|
/**
|
|
16402
16691
|
* @remarks
|
|
16403
|
-
* The
|
|
16692
|
+
* The type of resource that can be associated with the IPsec-VPN connection.
|
|
16404
16693
|
*
|
|
16405
|
-
*
|
|
16694
|
+
* Only **CEN** can be returned, which indicates that the IPsec-VPN connection is authorized to be associated with the transit router of a Cloud Enterprise Network (CEN) instance that belongs to another Alibaba Cloud account.
|
|
16406
16695
|
*
|
|
16407
16696
|
* @example
|
|
16408
16697
|
* CEN
|
|
@@ -16410,7 +16699,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccou
|
|
|
16410
16699
|
bindProduct?: string;
|
|
16411
16700
|
/**
|
|
16412
16701
|
* @remarks
|
|
16413
|
-
* The ID of the Alibaba Cloud account whose
|
|
16702
|
+
* The ID of the Alibaba Cloud account whose resources the IPsec-VPN connection is authorized to be associated with.
|
|
16414
16703
|
*
|
|
16415
16704
|
* @example
|
|
16416
16705
|
* 1210123456123456
|
|
@@ -16418,7 +16707,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccou
|
|
|
16418
16707
|
bindUid?: number;
|
|
16419
16708
|
/**
|
|
16420
16709
|
* @remarks
|
|
16421
|
-
* The
|
|
16710
|
+
* The time when the authorization for the IPsec-VPN connection was created.
|
|
16422
16711
|
*
|
|
16423
16712
|
* This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
|
|
16424
16713
|
*
|
|
@@ -22151,7 +22440,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22151
22440
|
* @remarks
|
|
22152
22441
|
* The CIDR block of the tunnel.
|
|
22153
22442
|
*
|
|
22154
|
-
* The CIDR block must fall
|
|
22443
|
+
* 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.
|
|
22155
22444
|
*
|
|
22156
22445
|
* @example
|
|
22157
22446
|
* 169.254.11.0/30
|
|
@@ -22184,8 +22473,8 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22184
22473
|
* @remarks
|
|
22185
22474
|
* The encryption algorithm that is used in IKE Phase 1 negotiations.
|
|
22186
22475
|
*
|
|
22187
|
-
* * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **
|
|
22188
|
-
* *
|
|
22476
|
+
* * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
22477
|
+
* * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
|
|
22189
22478
|
*
|
|
22190
22479
|
* @example
|
|
22191
22480
|
* aes
|
|
@@ -22193,7 +22482,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22193
22482
|
ikeEncAlg?: string;
|
|
22194
22483
|
/**
|
|
22195
22484
|
* @remarks
|
|
22196
|
-
* The SA lifetime
|
|
22485
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0 to 86400**.
|
|
22197
22486
|
*
|
|
22198
22487
|
* @example
|
|
22199
22488
|
* 86400
|
|
@@ -22201,10 +22490,10 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22201
22490
|
ikeLifetime?: number;
|
|
22202
22491
|
/**
|
|
22203
22492
|
* @remarks
|
|
22204
|
-
* The
|
|
22493
|
+
* The negotiation mode of IKE. Valid values:
|
|
22205
22494
|
*
|
|
22206
22495
|
* * **main:** This mode offers higher security during negotiations.
|
|
22207
|
-
* * **aggressive
|
|
22496
|
+
* * **aggressive**: This mode is faster and has a higher success rate.
|
|
22208
22497
|
*
|
|
22209
22498
|
* @example
|
|
22210
22499
|
* main
|
|
@@ -22212,7 +22501,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22212
22501
|
ikeMode?: string;
|
|
22213
22502
|
/**
|
|
22214
22503
|
* @remarks
|
|
22215
|
-
* The Diffie-Hellman
|
|
22504
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
22216
22505
|
*
|
|
22217
22506
|
* @example
|
|
22218
22507
|
* group2
|
|
@@ -22220,7 +22509,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22220
22509
|
ikePfs?: string;
|
|
22221
22510
|
/**
|
|
22222
22511
|
* @remarks
|
|
22223
|
-
* The IKE
|
|
22512
|
+
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
22224
22513
|
*
|
|
22225
22514
|
* @example
|
|
22226
22515
|
* ikev2
|
|
@@ -22228,7 +22517,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22228
22517
|
ikeVersion?: string;
|
|
22229
22518
|
/**
|
|
22230
22519
|
* @remarks
|
|
22231
|
-
* The tunnel identifier. The identifier can be up to 100 characters in length, and supports
|
|
22520
|
+
* The tunnel identifier. The identifier can be up to 100 characters in length, and supports FQDNs and IP addresses. The default value is the IP address of the tunnel.
|
|
22232
22521
|
*
|
|
22233
22522
|
* @example
|
|
22234
22523
|
* 47.XX.XX.87
|
|
@@ -22238,10 +22527,10 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22238
22527
|
* @remarks
|
|
22239
22528
|
* The pre-shared key that is used to verify identities between the tunnel and peer.
|
|
22240
22529
|
*
|
|
22241
|
-
* *
|
|
22242
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
22530
|
+
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
22531
|
+
* * 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/120374.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
22243
22532
|
*
|
|
22244
|
-
* >
|
|
22533
|
+
* > The pre-shared key that is configured for the tunnel and the tunnel peer must be the same. Otherwise, the system cannot establish the tunnel.
|
|
22245
22534
|
*
|
|
22246
22535
|
* @example
|
|
22247
22536
|
* 123456****
|
|
@@ -22282,8 +22571,8 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22282
22571
|
* @remarks
|
|
22283
22572
|
* The encryption algorithm that is used in IPsec Phase 2 negotiations.
|
|
22284
22573
|
*
|
|
22285
|
-
* * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **
|
|
22286
|
-
* *
|
|
22574
|
+
* * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
22575
|
+
* * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
|
|
22287
22576
|
*
|
|
22288
22577
|
* @example
|
|
22289
22578
|
* aes
|
|
@@ -22291,7 +22580,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22291
22580
|
ipsecEncAlg?: string;
|
|
22292
22581
|
/**
|
|
22293
22582
|
* @remarks
|
|
22294
|
-
* The SA lifetime
|
|
22583
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds. Valid values: **0 to 86400**.
|
|
22295
22584
|
*
|
|
22296
22585
|
* @example
|
|
22297
22586
|
* 86400
|
|
@@ -22299,7 +22588,7 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22299
22588
|
ipsecLifetime?: number;
|
|
22300
22589
|
/**
|
|
22301
22590
|
* @remarks
|
|
22302
|
-
* The
|
|
22591
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
22303
22592
|
*
|
|
22304
22593
|
* @example
|
|
22305
22594
|
* group2
|
|
@@ -22317,12 +22606,16 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunne
|
|
|
22317
22606
|
});
|
|
22318
22607
|
}
|
|
22319
22608
|
export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification extends $dara.Model {
|
|
22609
|
+
/**
|
|
22610
|
+
* @example
|
|
22611
|
+
* cgw-1nmwbpgrp7ssqm1yn****
|
|
22612
|
+
*/
|
|
22320
22613
|
customerGatewayId?: string;
|
|
22321
22614
|
/**
|
|
22322
22615
|
* @remarks
|
|
22323
|
-
* Specifies whether to enable
|
|
22616
|
+
* Specifies whether to enable dead peer detection (DPD). Valid values: Valid values:
|
|
22324
22617
|
*
|
|
22325
|
-
* * **true
|
|
22618
|
+
* * **true** The IPsec initiator sends DPD packets to verify the existence and availability of the IPsec peer. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
|
|
22326
22619
|
* * **false**: DPD is disabled. The IPsec initiator does not send DPD packets.
|
|
22327
22620
|
*
|
|
22328
22621
|
* @example
|
|
@@ -22333,8 +22626,8 @@ export declare class ModifyTunnelAttributeRequestTunnelOptionsSpecification exte
|
|
|
22333
22626
|
* @remarks
|
|
22334
22627
|
* Specifies whether to enable NAT traversal. Valid values:
|
|
22335
22628
|
*
|
|
22336
|
-
* * **true**: NAT traversal
|
|
22337
|
-
* * **false**: NAT traversal
|
|
22629
|
+
* * **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.
|
|
22630
|
+
* * **false**: disables NAT traversal.
|
|
22338
22631
|
*
|
|
22339
22632
|
* @example
|
|
22340
22633
|
* true
|
|
@@ -22636,8 +22929,33 @@ export declare class ModifyVpcPrefixListRequestRemovePrefixListEntry extends $da
|
|
|
22636
22929
|
});
|
|
22637
22930
|
}
|
|
22638
22931
|
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
22932
|
+
/**
|
|
22933
|
+
* @remarks
|
|
22934
|
+
* The autonomous system number (ASN) of the tunnel on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
22935
|
+
*
|
|
22936
|
+
* > We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
22937
|
+
*
|
|
22938
|
+
* @example
|
|
22939
|
+
* 65530
|
|
22940
|
+
*/
|
|
22639
22941
|
localAsn?: number;
|
|
22942
|
+
/**
|
|
22943
|
+
* @remarks
|
|
22944
|
+
* 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.
|
|
22945
|
+
*
|
|
22946
|
+
* @example
|
|
22947
|
+
* 169.254.10.1
|
|
22948
|
+
*/
|
|
22640
22949
|
localBgpIp?: string;
|
|
22950
|
+
/**
|
|
22951
|
+
* @remarks
|
|
22952
|
+
* The BGP CIDR block of the 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.
|
|
22953
|
+
*
|
|
22954
|
+
* > The two tunnels of an IPsec connection must use different CIDR blocks.
|
|
22955
|
+
*
|
|
22956
|
+
* @example
|
|
22957
|
+
* 169.254.10.0/30
|
|
22958
|
+
*/
|
|
22641
22959
|
tunnelCidr?: string;
|
|
22642
22960
|
static names(): {
|
|
22643
22961
|
[key: string]: string;
|
|
@@ -22651,14 +22969,93 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
|
|
|
22651
22969
|
});
|
|
22652
22970
|
}
|
|
22653
22971
|
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
22972
|
+
/**
|
|
22973
|
+
* @remarks
|
|
22974
|
+
* The authentication algorithm that is used in Phase 1 negotiations. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
22975
|
+
*
|
|
22976
|
+
* @example
|
|
22977
|
+
* sha1
|
|
22978
|
+
*/
|
|
22654
22979
|
ikeAuthAlg?: string;
|
|
22980
|
+
/**
|
|
22981
|
+
* @remarks
|
|
22982
|
+
* The encryption algorithm that is used in Phase 1 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
22983
|
+
*
|
|
22984
|
+
* @example
|
|
22985
|
+
* aes
|
|
22986
|
+
*/
|
|
22655
22987
|
ikeEncAlg?: string;
|
|
22988
|
+
/**
|
|
22989
|
+
* @remarks
|
|
22990
|
+
* The SA lifetime as a result of Phase 1 negotiations. Unit: seconds.
|
|
22991
|
+
*
|
|
22992
|
+
* Valid values: **0** to **86400**.
|
|
22993
|
+
*
|
|
22994
|
+
* @example
|
|
22995
|
+
* 86400
|
|
22996
|
+
*/
|
|
22656
22997
|
ikeLifetime?: number;
|
|
22998
|
+
/**
|
|
22999
|
+
* @remarks
|
|
23000
|
+
* The negotiation mode of IKE. Valid values: **main** and **aggressive**.
|
|
23001
|
+
*
|
|
23002
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
23003
|
+
* * **aggressive**: This mode is faster with a higher success rate.
|
|
23004
|
+
*
|
|
23005
|
+
* @example
|
|
23006
|
+
* main
|
|
23007
|
+
*/
|
|
22657
23008
|
ikeMode?: string;
|
|
23009
|
+
/**
|
|
23010
|
+
* @remarks
|
|
23011
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
23012
|
+
*
|
|
23013
|
+
* @example
|
|
23014
|
+
* group2
|
|
23015
|
+
*/
|
|
22658
23016
|
ikePfs?: string;
|
|
23017
|
+
/**
|
|
23018
|
+
* @remarks
|
|
23019
|
+
* The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
|
|
23020
|
+
*
|
|
23021
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
23022
|
+
*
|
|
23023
|
+
* @example
|
|
23024
|
+
* ikev2
|
|
23025
|
+
*/
|
|
22659
23026
|
ikeVersion?: string;
|
|
23027
|
+
/**
|
|
23028
|
+
* @remarks
|
|
23029
|
+
* The identifier of the tunnel on the Alibaba Cloud side, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain spaces.
|
|
23030
|
+
*
|
|
23031
|
+
* **LocalId** supports fully qualified domain names (FQDNs). If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
23032
|
+
*
|
|
23033
|
+
* @example
|
|
23034
|
+
* 47.XX.XX.1
|
|
23035
|
+
*/
|
|
22660
23036
|
localId?: string;
|
|
23037
|
+
/**
|
|
23038
|
+
* @remarks
|
|
23039
|
+
* The pre-shared key that is used for identity authentication between the tunnel and the tunnel peer.
|
|
23040
|
+
*
|
|
23041
|
+
* * The key must be 1 to 100 characters in length, and can contain digits, and letters. The key cannot contain spaces. ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
23042
|
+
* * 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 [DescribeVpnAttachments](https://help.aliyun.com/document_detail/2526939.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
23043
|
+
*
|
|
23044
|
+
* > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
|
|
23045
|
+
*
|
|
23046
|
+
* @example
|
|
23047
|
+
* 123456****
|
|
23048
|
+
*/
|
|
22661
23049
|
psk?: string;
|
|
23050
|
+
/**
|
|
23051
|
+
* @remarks
|
|
23052
|
+
* The identifier of the tunnel peer, which is used in Phase 1 negotiations. The identifier cannot exceed 100 characters in length and cannot contain spaces.
|
|
23053
|
+
*
|
|
23054
|
+
* **RemoteId** supports FQDNs. If you use an FQDN, we recommend that you set the negotiation mode to **aggressive**.
|
|
23055
|
+
*
|
|
23056
|
+
* @example
|
|
23057
|
+
* 47.XX.XX.2
|
|
23058
|
+
*/
|
|
22662
23059
|
remoteId?: string;
|
|
22663
23060
|
static names(): {
|
|
22664
23061
|
[key: string]: string;
|
|
@@ -22672,9 +23069,43 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
|
|
|
22672
23069
|
});
|
|
22673
23070
|
}
|
|
22674
23071
|
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
23072
|
+
/**
|
|
23073
|
+
* @remarks
|
|
23074
|
+
* The authentication algorithm that is used in Phase 2 negotiations.
|
|
23075
|
+
*
|
|
23076
|
+
* Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
23077
|
+
*
|
|
23078
|
+
* @example
|
|
23079
|
+
* sha1
|
|
23080
|
+
*/
|
|
22675
23081
|
ipsecAuthAlg?: string;
|
|
23082
|
+
/**
|
|
23083
|
+
* @remarks
|
|
23084
|
+
* The encryption algorithm that is used in Phase 2 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
23085
|
+
*
|
|
23086
|
+
* @example
|
|
23087
|
+
* aes
|
|
23088
|
+
*/
|
|
22676
23089
|
ipsecEncAlg?: string;
|
|
23090
|
+
/**
|
|
23091
|
+
* @remarks
|
|
23092
|
+
* The SA lifetime as a result of Phase 2 negotiations. Unit: seconds.
|
|
23093
|
+
*
|
|
23094
|
+
* Valid values: **0** to **86400**.
|
|
23095
|
+
*
|
|
23096
|
+
* @example
|
|
23097
|
+
* 86400
|
|
23098
|
+
*/
|
|
22677
23099
|
ipsecLifetime?: number;
|
|
23100
|
+
/**
|
|
23101
|
+
* @remarks
|
|
23102
|
+
* The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations.
|
|
23103
|
+
*
|
|
23104
|
+
* Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
23105
|
+
*
|
|
23106
|
+
* @example
|
|
23107
|
+
* group2
|
|
23108
|
+
*/
|
|
22678
23109
|
ipsecPfs?: string;
|
|
22679
23110
|
static names(): {
|
|
22680
23111
|
[key: string]: string;
|
|
@@ -22688,13 +23119,73 @@ export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificati
|
|
|
22688
23119
|
});
|
|
22689
23120
|
}
|
|
22690
23121
|
export declare class ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecification extends $dara.Model {
|
|
23122
|
+
/**
|
|
23123
|
+
* @remarks
|
|
23124
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
23125
|
+
*
|
|
23126
|
+
* > This parameter is only supported in dual-tunnel IPsec-VPN connections.
|
|
23127
|
+
*
|
|
23128
|
+
* @example
|
|
23129
|
+
* cgw-p0w2jemrcj5u61un8****
|
|
23130
|
+
*/
|
|
22691
23131
|
customerGatewayId?: string;
|
|
23132
|
+
/**
|
|
23133
|
+
* @remarks
|
|
23134
|
+
* Specifies whether to enable the Dead Peer Detection (DPD) feature for the tunnel. Valid values:
|
|
23135
|
+
*
|
|
23136
|
+
* * **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 along with the security tunnel.
|
|
23137
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
23138
|
+
*
|
|
23139
|
+
* @example
|
|
23140
|
+
* true
|
|
23141
|
+
*/
|
|
22692
23142
|
enableDpd?: boolean;
|
|
23143
|
+
/**
|
|
23144
|
+
* @remarks
|
|
23145
|
+
* Specifies whether to enable NAT traversal for the tunnel. Valid values:
|
|
23146
|
+
*
|
|
23147
|
+
* * **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.
|
|
23148
|
+
* * **false**: disables NAT traversal.
|
|
23149
|
+
*
|
|
23150
|
+
* @example
|
|
23151
|
+
* true
|
|
23152
|
+
*/
|
|
22693
23153
|
enableNatTraversal?: boolean;
|
|
23154
|
+
/**
|
|
23155
|
+
* @remarks
|
|
23156
|
+
* Add BGP configurations for the tunnel.
|
|
23157
|
+
*
|
|
23158
|
+
* > If you enable BGP for an IPsec-VPN connection, you must set **EnableTunnelsBgp** parameter to **true**.
|
|
23159
|
+
*/
|
|
22694
23160
|
tunnelBgpConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig;
|
|
23161
|
+
/**
|
|
23162
|
+
* @remarks
|
|
23163
|
+
* The tunnel ID.
|
|
23164
|
+
*
|
|
23165
|
+
* @example
|
|
23166
|
+
* tun-0jod7plwf2a0o9lvu****
|
|
23167
|
+
*/
|
|
22695
23168
|
tunnelId?: string;
|
|
23169
|
+
/**
|
|
23170
|
+
* @remarks
|
|
23171
|
+
* The configuration of Phase 1 negotiations.
|
|
23172
|
+
*/
|
|
22696
23173
|
tunnelIkeConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig;
|
|
23174
|
+
/**
|
|
23175
|
+
* @remarks
|
|
23176
|
+
* The order in which the tunnel was created.
|
|
23177
|
+
*
|
|
23178
|
+
* * **1**: Tunnel 1.
|
|
23179
|
+
* * **2**: Tunnel 2.
|
|
23180
|
+
*
|
|
23181
|
+
* @example
|
|
23182
|
+
* 1
|
|
23183
|
+
*/
|
|
22697
23184
|
tunnelIndex?: number;
|
|
23185
|
+
/**
|
|
23186
|
+
* @remarks
|
|
23187
|
+
* The configuration of Phase 2 negotiations.
|
|
23188
|
+
*/
|
|
22698
23189
|
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
22699
23190
|
static names(): {
|
|
22700
23191
|
[key: string]: string;
|
|
@@ -22734,7 +23225,10 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $
|
|
|
22734
23225
|
ikeLifetime?: number;
|
|
22735
23226
|
/**
|
|
22736
23227
|
* @remarks
|
|
22737
|
-
* The negotiation mode.
|
|
23228
|
+
* The IKE negotiation mode.
|
|
23229
|
+
*
|
|
23230
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
23231
|
+
* * **aggressive**: This mode is faster with a higher success rate.
|
|
22738
23232
|
*
|
|
22739
23233
|
* @example
|
|
22740
23234
|
* main
|
|
@@ -22752,6 +23246,11 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $
|
|
|
22752
23246
|
* @remarks
|
|
22753
23247
|
* The version of the IKE protocol.
|
|
22754
23248
|
*
|
|
23249
|
+
* * **ikev1**
|
|
23250
|
+
* * **ikev2**
|
|
23251
|
+
*
|
|
23252
|
+
* Compared with IKEv1, IKEv2 simplifies the SA negotiation process and provides better support for scenarios with multiple CIDR blocks.
|
|
23253
|
+
*
|
|
22755
23254
|
* @example
|
|
22756
23255
|
* ikev1
|
|
22757
23256
|
*/
|
|
@@ -22766,9 +23265,9 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIkeConfig extends $
|
|
|
22766
23265
|
localId?: string;
|
|
22767
23266
|
/**
|
|
22768
23267
|
* @remarks
|
|
22769
|
-
*
|
|
23268
|
+
* Enter a pre-shared key that is used for identity authentication between Alibaba Cloud and the data center.
|
|
22770
23269
|
*
|
|
22771
|
-
* > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise,
|
|
23270
|
+
* > 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 Alibaba Cloud cannot be established.
|
|
22772
23271
|
*
|
|
22773
23272
|
* @example
|
|
22774
23273
|
* 1234***
|
|
@@ -22838,10 +23337,45 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyIpsecConfig extends
|
|
|
22838
23337
|
});
|
|
22839
23338
|
}
|
|
22840
23339
|
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig extends $dara.Model {
|
|
23340
|
+
/**
|
|
23341
|
+
* @remarks
|
|
23342
|
+
* The ASN on the Alibaba Cloud side.
|
|
23343
|
+
*
|
|
23344
|
+
* @example
|
|
23345
|
+
* 65530
|
|
23346
|
+
*/
|
|
22841
23347
|
localAsn?: number;
|
|
23348
|
+
/**
|
|
23349
|
+
* @remarks
|
|
23350
|
+
* The BGP IP address of the tunnel on the Alibaba Cloud side.
|
|
23351
|
+
*
|
|
23352
|
+
* @example
|
|
23353
|
+
* 169.254.10.1
|
|
23354
|
+
*/
|
|
22842
23355
|
localBgpIp?: string;
|
|
23356
|
+
/**
|
|
23357
|
+
* @remarks
|
|
23358
|
+
* The ASN of the tunnel peer.
|
|
23359
|
+
*
|
|
23360
|
+
* @example
|
|
23361
|
+
* 65531
|
|
23362
|
+
*/
|
|
22843
23363
|
peerAsn?: number;
|
|
23364
|
+
/**
|
|
23365
|
+
* @remarks
|
|
23366
|
+
* The BGP IP address of the tunnel peer.
|
|
23367
|
+
*
|
|
23368
|
+
* @example
|
|
23369
|
+
* 169.254.10.2
|
|
23370
|
+
*/
|
|
22844
23371
|
peerBgpIp?: string;
|
|
23372
|
+
/**
|
|
23373
|
+
* @remarks
|
|
23374
|
+
* The BGP CIDR block of the tunnel.
|
|
23375
|
+
*
|
|
23376
|
+
* @example
|
|
23377
|
+
* 169.254.10.0/30
|
|
23378
|
+
*/
|
|
22845
23379
|
tunnelCidr?: string;
|
|
22846
23380
|
static names(): {
|
|
22847
23381
|
[key: string]: string;
|
|
@@ -22855,14 +23389,80 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecif
|
|
|
22855
23389
|
});
|
|
22856
23390
|
}
|
|
22857
23391
|
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig extends $dara.Model {
|
|
23392
|
+
/**
|
|
23393
|
+
* @remarks
|
|
23394
|
+
* The authentication algorithm in the IKE phase.
|
|
23395
|
+
*
|
|
23396
|
+
* @example
|
|
23397
|
+
* sha1
|
|
23398
|
+
*/
|
|
22858
23399
|
ikeAuthAlg?: string;
|
|
23400
|
+
/**
|
|
23401
|
+
* @remarks
|
|
23402
|
+
* The encryption algorithm in the IKE phase.
|
|
23403
|
+
*
|
|
23404
|
+
* @example
|
|
23405
|
+
* aes
|
|
23406
|
+
*/
|
|
22859
23407
|
ikeEncAlg?: string;
|
|
23408
|
+
/**
|
|
23409
|
+
* @remarks
|
|
23410
|
+
* The lifetime in the IKE phase. Unit: seconds.
|
|
23411
|
+
*
|
|
23412
|
+
* @example
|
|
23413
|
+
* 86400
|
|
23414
|
+
*/
|
|
22860
23415
|
ikeLifetime?: number;
|
|
23416
|
+
/**
|
|
23417
|
+
* @remarks
|
|
23418
|
+
* The negotiation mode of IKE. Valid values:
|
|
23419
|
+
*
|
|
23420
|
+
* * **main:** This mode offers higher security during negotiations.
|
|
23421
|
+
* * **aggressive**: This mode is faster with a higher success rate.
|
|
23422
|
+
*
|
|
23423
|
+
* @example
|
|
23424
|
+
* main
|
|
23425
|
+
*/
|
|
22861
23426
|
ikeMode?: string;
|
|
23427
|
+
/**
|
|
23428
|
+
* @remarks
|
|
23429
|
+
* The Diffie-Hellman (DH) group in the IKE phase.
|
|
23430
|
+
*
|
|
23431
|
+
* @example
|
|
23432
|
+
* group2
|
|
23433
|
+
*/
|
|
22862
23434
|
ikePfs?: string;
|
|
23435
|
+
/**
|
|
23436
|
+
* @remarks
|
|
23437
|
+
* The version of the IKE protocol.
|
|
23438
|
+
*
|
|
23439
|
+
* @example
|
|
23440
|
+
* ikev2
|
|
23441
|
+
*/
|
|
22863
23442
|
ikeVersion?: string;
|
|
23443
|
+
/**
|
|
23444
|
+
* @remarks
|
|
23445
|
+
* The identifier of the tunnel on the Alibaba Cloud side.
|
|
23446
|
+
*
|
|
23447
|
+
* @example
|
|
23448
|
+
* 47.XX.XX.1
|
|
23449
|
+
*/
|
|
22864
23450
|
localId?: string;
|
|
23451
|
+
/**
|
|
23452
|
+
* @remarks
|
|
23453
|
+
* The pre-shared key.
|
|
23454
|
+
*
|
|
23455
|
+
* @example
|
|
23456
|
+
* 123456****
|
|
23457
|
+
*/
|
|
22865
23458
|
psk?: string;
|
|
23459
|
+
/**
|
|
23460
|
+
* @remarks
|
|
23461
|
+
* The peer identifier.
|
|
23462
|
+
*
|
|
23463
|
+
* @example
|
|
23464
|
+
* 47.XX.XX.2
|
|
23465
|
+
*/
|
|
22866
23466
|
remoteId?: string;
|
|
22867
23467
|
static names(): {
|
|
22868
23468
|
[key: string]: string;
|
|
@@ -22876,9 +23476,37 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecif
|
|
|
22876
23476
|
});
|
|
22877
23477
|
}
|
|
22878
23478
|
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig extends $dara.Model {
|
|
23479
|
+
/**
|
|
23480
|
+
* @remarks
|
|
23481
|
+
* The authentication algorithm in the IPsec phase.
|
|
23482
|
+
*
|
|
23483
|
+
* @example
|
|
23484
|
+
* sha1
|
|
23485
|
+
*/
|
|
22879
23486
|
ipsecAuthAlg?: string;
|
|
23487
|
+
/**
|
|
23488
|
+
* @remarks
|
|
23489
|
+
* The encryption algorithm in the IPsec phase.
|
|
23490
|
+
*
|
|
23491
|
+
* @example
|
|
23492
|
+
* aes
|
|
23493
|
+
*/
|
|
22880
23494
|
ipsecEncAlg?: string;
|
|
23495
|
+
/**
|
|
23496
|
+
* @remarks
|
|
23497
|
+
* The lifetime in the IPsec phase. Unit: seconds.
|
|
23498
|
+
*
|
|
23499
|
+
* @example
|
|
23500
|
+
* 86400
|
|
23501
|
+
*/
|
|
22881
23502
|
ipsecLifetime?: number;
|
|
23503
|
+
/**
|
|
23504
|
+
* @remarks
|
|
23505
|
+
* The DH group in the IPsec phase.
|
|
23506
|
+
*
|
|
23507
|
+
* @example
|
|
23508
|
+
* group2
|
|
23509
|
+
*/
|
|
22882
23510
|
ipsecPfs?: string;
|
|
22883
23511
|
static names(): {
|
|
22884
23512
|
[key: string]: string;
|
|
@@ -22892,16 +23520,100 @@ export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecif
|
|
|
22892
23520
|
});
|
|
22893
23521
|
}
|
|
22894
23522
|
export declare class ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification extends $dara.Model {
|
|
23523
|
+
/**
|
|
23524
|
+
* @remarks
|
|
23525
|
+
* The ID of the customer gateway that is associated with the tunnel.
|
|
23526
|
+
*
|
|
23527
|
+
* @example
|
|
23528
|
+
* cgw-p0w2jemrcj5u61un8****
|
|
23529
|
+
*/
|
|
22895
23530
|
customerGatewayId?: string;
|
|
23531
|
+
/**
|
|
23532
|
+
* @remarks
|
|
23533
|
+
* Whether the DPD feature is enabled for the tunnel.
|
|
23534
|
+
*
|
|
23535
|
+
* * **true**: The feature is enabled.
|
|
23536
|
+
* * **false**: The feature is disabled.
|
|
23537
|
+
*
|
|
23538
|
+
* @example
|
|
23539
|
+
* true
|
|
23540
|
+
*/
|
|
22896
23541
|
enableDpd?: boolean;
|
|
23542
|
+
/**
|
|
23543
|
+
* @remarks
|
|
23544
|
+
* Indicates whether traversal feature is enabled for the tunnel. Valid values:
|
|
23545
|
+
*
|
|
23546
|
+
* * **true**: The feature is enabled.
|
|
23547
|
+
* * **false**: The feature is disabled.
|
|
23548
|
+
*
|
|
23549
|
+
* @example
|
|
23550
|
+
* true
|
|
23551
|
+
*/
|
|
22897
23552
|
enableNatTraversal?: boolean;
|
|
23553
|
+
/**
|
|
23554
|
+
* @remarks
|
|
23555
|
+
* The IP address on the Alibaba Cloud side.
|
|
23556
|
+
*
|
|
23557
|
+
* @example
|
|
23558
|
+
* 47.XX.XX.66
|
|
23559
|
+
*/
|
|
22898
23560
|
internetIp?: string;
|
|
23561
|
+
/**
|
|
23562
|
+
* @remarks
|
|
23563
|
+
* The tunnel role. Valid values:
|
|
23564
|
+
*
|
|
23565
|
+
* * **master**: The tunnel is an active tunnel.
|
|
23566
|
+
* * **slave**: The tunnel is a standby tunnel.
|
|
23567
|
+
*
|
|
23568
|
+
* @example
|
|
23569
|
+
* master
|
|
23570
|
+
*/
|
|
22899
23571
|
role?: string;
|
|
23572
|
+
/**
|
|
23573
|
+
* @remarks
|
|
23574
|
+
* The status of the tunnel. Valid values:
|
|
23575
|
+
*
|
|
23576
|
+
* * **active**: The tunnel is active.
|
|
23577
|
+
* * **updating**: The tunnel is being updated.
|
|
23578
|
+
* * **deleting:** The tunnel is being deleted.
|
|
23579
|
+
*
|
|
23580
|
+
* @example
|
|
23581
|
+
* active
|
|
23582
|
+
*/
|
|
22900
23583
|
state?: string;
|
|
23584
|
+
/**
|
|
23585
|
+
* @remarks
|
|
23586
|
+
* BGP configuration.
|
|
23587
|
+
*/
|
|
22901
23588
|
tunnelBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelBgpConfig;
|
|
23589
|
+
/**
|
|
23590
|
+
* @remarks
|
|
23591
|
+
* The tunnel ID.
|
|
23592
|
+
*
|
|
23593
|
+
* @example
|
|
23594
|
+
* tun-0jod7plwf2a0o9lvu****
|
|
23595
|
+
*/
|
|
22902
23596
|
tunnelId?: string;
|
|
23597
|
+
/**
|
|
23598
|
+
* @remarks
|
|
23599
|
+
* The configurations of Phase 1 negotiations.
|
|
23600
|
+
*/
|
|
22903
23601
|
tunnelIkeConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIkeConfig;
|
|
23602
|
+
/**
|
|
23603
|
+
* @remarks
|
|
23604
|
+
* The order in which the tunnel was created.
|
|
23605
|
+
*
|
|
23606
|
+
* * **1**: Tunnel 1.
|
|
23607
|
+
* * **2**: Tunnel 2.
|
|
23608
|
+
*
|
|
23609
|
+
* @example
|
|
23610
|
+
* 1
|
|
23611
|
+
*/
|
|
22904
23612
|
tunnelIndex?: number;
|
|
23613
|
+
/**
|
|
23614
|
+
* @remarks
|
|
23615
|
+
* The configurations of Phase 2 negotiations.
|
|
23616
|
+
*/
|
|
22905
23617
|
tunnelIpsecConfig?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecificationTunnelIpsecConfig;
|
|
22906
23618
|
static names(): {
|
|
22907
23619
|
[key: string]: string;
|
|
@@ -26175,7 +26887,10 @@ export declare class AllocateIpv6AddressResponse extends $dara.Model {
|
|
|
26175
26887
|
export declare class AllocateIpv6InternetBandwidthRequest extends $dara.Model {
|
|
26176
26888
|
/**
|
|
26177
26889
|
* @remarks
|
|
26178
|
-
* The Internet bandwidth of the IPv6
|
|
26890
|
+
* The Internet bandwidth of the IPv6 address. Unit: Mbit/s.
|
|
26891
|
+
*
|
|
26892
|
+
* * If you set **InternetChargeType** to **PayByTraffic**, valid values are **1** to **1000**.
|
|
26893
|
+
* * If you set **InternetChargeType** to **PayByBandwidth**, valid values are **1** to **2000**.
|
|
26179
26894
|
*
|
|
26180
26895
|
* This parameter is required.
|
|
26181
26896
|
*
|
|
@@ -28438,7 +29153,7 @@ export declare class CheckVpnBgpEnabledRequest extends $dara.Model {
|
|
|
28438
29153
|
*
|
|
28439
29154
|
* You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
28440
29155
|
*
|
|
28441
|
-
* >
|
|
29156
|
+
* > 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.
|
|
28442
29157
|
*
|
|
28443
29158
|
* @example
|
|
28444
29159
|
* 123e4567-e89b-12d3-a456-4266****
|
|
@@ -29510,11 +30225,14 @@ export declare class CreateCommonBandwidthPackageResponse extends $dara.Model {
|
|
|
29510
30225
|
export declare class CreateCustomerGatewayRequest extends $dara.Model {
|
|
29511
30226
|
/**
|
|
29512
30227
|
* @remarks
|
|
29513
|
-
* The autonomous system number (ASN) of the gateway device in
|
|
30228
|
+
* The autonomous system number (ASN) of the gateway device in your data center. This parameter is required If you want to use Border Gateway Protocol (BGP) for the IPsec-VPN connection. Valid values: 1 to 4294967295. 45104 is not supported.
|
|
29514
30229
|
*
|
|
29515
|
-
* **Asn** is a 4-byte number. You can enter
|
|
30230
|
+
* **Asn** is a 4-byte number. You can enter it in two segments and separate the first 16 bits from the following 16 bits with a period (.). Enter the number in each segment in decimal format.
|
|
29516
30231
|
*
|
|
29517
|
-
* For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
|
|
30232
|
+
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
30233
|
+
*
|
|
30234
|
+
* > - 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.
|
|
30235
|
+
* > - 45104 is a unique identifier assigned by IANA to Alibaba Cloud. It is used to identify Alibaba Cloud during route selection and data transmission over the Internet.
|
|
29518
30236
|
*
|
|
29519
30237
|
* @example
|
|
29520
30238
|
* 65530
|
|
@@ -29554,7 +30272,18 @@ export declare class CreateCustomerGatewayRequest extends $dara.Model {
|
|
|
29554
30272
|
description?: string;
|
|
29555
30273
|
/**
|
|
29556
30274
|
* @remarks
|
|
29557
|
-
* The
|
|
30275
|
+
* The static IP address of the gateway device in the data center.
|
|
30276
|
+
*
|
|
30277
|
+
* * If you want to create a public IPsec-VPN connection, enter a public IP address.
|
|
30278
|
+
* * If you want to create a private IPsec-VPN connection, enter a private IP address.
|
|
30279
|
+
*
|
|
30280
|
+
* You cannot use the following IP addresses. Otherwise, a IPsec-VPN connection cannot be established:
|
|
30281
|
+
*
|
|
30282
|
+
* * 100.64.0.0~100.127.255.255
|
|
30283
|
+
* * 127.0.0.0~127.255.255.255
|
|
30284
|
+
* * 169.254.0.0~169.254.255.255
|
|
30285
|
+
* * 224.0.0.0~239.255.255.255
|
|
30286
|
+
* * 255.0.0.0~255.255.255.255
|
|
29558
30287
|
*
|
|
29559
30288
|
* This parameter is required.
|
|
29560
30289
|
*
|
|
@@ -29649,7 +30378,7 @@ export declare class CreateCustomerGatewayResponseBody extends $dara.Model {
|
|
|
29649
30378
|
description?: string;
|
|
29650
30379
|
/**
|
|
29651
30380
|
* @remarks
|
|
29652
|
-
* The
|
|
30381
|
+
* The static IP address of the gateway device in the on-premises data center.
|
|
29653
30382
|
*
|
|
29654
30383
|
* @example
|
|
29655
30384
|
* 101.12.XX.XX
|
|
@@ -31722,7 +32451,7 @@ export declare class CreateHaVipRequest extends $dara.Model {
|
|
|
31722
32451
|
* @remarks
|
|
31723
32452
|
* The description of the HAVIP.
|
|
31724
32453
|
*
|
|
31725
|
-
* The description must be 1 to
|
|
32454
|
+
* The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
|
|
31726
32455
|
*
|
|
31727
32456
|
* @example
|
|
31728
32457
|
* This is my HaVip.
|
|
@@ -32563,11 +33292,11 @@ export declare class CreateIpsecServerRequest extends $dara.Model {
|
|
|
32563
33292
|
* @remarks
|
|
32564
33293
|
* The pre-shared key.
|
|
32565
33294
|
*
|
|
32566
|
-
* The pre-shared key is used for
|
|
33295
|
+
* The pre-shared key that is used for authentication between the IPsec-VPN server and the client. It must be 1 to 100 characters in length.
|
|
32567
33296
|
*
|
|
32568
|
-
* If you do not specify a pre-shared key, the system randomly generates a 16-
|
|
33297
|
+
* 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 [ListIpsecServers](https://help.aliyun.com/document_detail/2794120.html) to query keys generated by the system.
|
|
32569
33298
|
*
|
|
32570
|
-
* >
|
|
33299
|
+
* > The pre-shared key of the IPsec server key must be the same as that of the client. Otherwise, the connection between the IPsec server and the client cannot be established.
|
|
32571
33300
|
*
|
|
32572
33301
|
* @example
|
|
32573
33302
|
* Cfd123****
|
|
@@ -32859,7 +33588,7 @@ export declare class CreateIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
32859
33588
|
* @remarks
|
|
32860
33589
|
* The description of the egress-only rule.
|
|
32861
33590
|
*
|
|
32862
|
-
* The description must be
|
|
33591
|
+
* The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
32863
33592
|
*
|
|
32864
33593
|
* @example
|
|
32865
33594
|
* ruledescription
|
|
@@ -32899,7 +33628,7 @@ export declare class CreateIpv6EgressOnlyRuleRequest extends $dara.Model {
|
|
|
32899
33628
|
* @remarks
|
|
32900
33629
|
* The name of the egress-only rule.
|
|
32901
33630
|
*
|
|
32902
|
-
* The name must be
|
|
33631
|
+
* The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
32903
33632
|
*
|
|
32904
33633
|
* @example
|
|
32905
33634
|
* rulename
|
|
@@ -32994,7 +33723,7 @@ export declare class CreateIpv6GatewayRequest extends $dara.Model {
|
|
|
32994
33723
|
* @remarks
|
|
32995
33724
|
* The description of the IPv6 gateway.
|
|
32996
33725
|
*
|
|
32997
|
-
* The description must be
|
|
33726
|
+
* The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
32998
33727
|
*
|
|
32999
33728
|
* @example
|
|
33000
33729
|
* ipv6gatewayforVPC1
|
|
@@ -33004,7 +33733,7 @@ export declare class CreateIpv6GatewayRequest extends $dara.Model {
|
|
|
33004
33733
|
* @remarks
|
|
33005
33734
|
* The name of the IPv6 gateway.
|
|
33006
33735
|
*
|
|
33007
|
-
* The name must be
|
|
33736
|
+
* The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
33008
33737
|
*
|
|
33009
33738
|
* @example
|
|
33010
33739
|
* ipv6GW
|
|
@@ -35795,17 +36524,18 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
35795
36524
|
* @remarks
|
|
35796
36525
|
* The client CIDR block.
|
|
35797
36526
|
*
|
|
35798
|
-
*
|
|
36527
|
+
* The CIDR block from which an IP address is allocated to the virtual network interface controller (NIC) of the client, rather than the private CIDR block.
|
|
35799
36528
|
*
|
|
35800
|
-
* If the client accesses the SSL server over an SSL-VPN connection, the VPN gateway assigns an IP address from the specified client CIDR block
|
|
36529
|
+
* If the client accesses the SSL server over an SSL-VPN connection, the VPN gateway assigns an IP address from the specified client CIDR block for the client to access cloud resources.
|
|
35801
36530
|
*
|
|
35802
36531
|
* Make sure that the number of IP addresses in the client CIDR block is at least four times the maximum number of SSL-VPN connections supported by the VPN gateway.
|
|
35803
36532
|
*
|
|
35804
36533
|
* <details>
|
|
35805
36534
|
* <summary>Click to view the reason.</summary>
|
|
35806
36535
|
*
|
|
35807
|
-
* For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet CIDR block with a subnet mask of 30 from 192.168.0.0/24, such as 192.168.0.4/30. This subnet provides up to four IP addresses. Then, the system allocates an IP address from 192.168.0.4/30 to the client and uses the other three IP addresses to ensure network communication. In this case, one client consumes four IP addresses. Therefore, to ensure that an IP address is assigned to your client,
|
|
36536
|
+
* For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet CIDR block with a subnet mask of 30 from 192.168.0.0/24, such as 192.168.0.4/30. This subnet provides up to four IP addresses. Then, the system allocates an IP address from 192.168.0.4/30 to the client and uses the other three IP addresses to ensure network communication. In this case, one client consumes four IP addresses. Therefore, to ensure that an IP address is assigned to your client, the number of IP addresses in the client CIDR block must be at least four times the maximum number of SSL-VPN connections supported by the VPN gateway with which the SSL server is associated.
|
|
35808
36537
|
* </details>
|
|
36538
|
+
*
|
|
35809
36539
|
* <details>
|
|
35810
36540
|
* <summary>Click to view the CIDR blocks that are not supported.</summary>
|
|
35811
36541
|
*
|
|
@@ -35818,6 +36548,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
35818
36548
|
* <details>
|
|
35819
36549
|
* <summary>Click to view the recommended client CIDR blocks for different numbers of SSL-VPN connections.</summary>
|
|
35820
36550
|
*
|
|
36551
|
+
*
|
|
35821
36552
|
* * If the number of SSL-VPN connections is 5, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 27 bits in length. Examples: 10.0.0.0/27 and 10.0.0.0/26.
|
|
35822
36553
|
* * If the number of SSL-VPN connections is 10, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 26 bits in length. Examples: 10.0.0.0/26 and 10.0.0.0/25.
|
|
35823
36554
|
* * If the number of SSL-VPN connections is 20, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 25 bits in length. Examples: 10.0.0.0/25 and 10.0.0.0/24.
|
|
@@ -35828,10 +36559,10 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
35828
36559
|
* * If the number of SSL-VPN connections is 1,000, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 20 bits in length. Examples: 10.0.0.0/20 and 10.0.0.0/19.
|
|
35829
36560
|
* </details>
|
|
35830
36561
|
*
|
|
35831
|
-
* >
|
|
36562
|
+
* > - The subnet mask of the client CIDR block must be 16 to 29 bits in length.
|
|
35832
36563
|
* > - Make sure that the client CIDR block does not overlap with the local CIDR block, the VPC CIDR block, or route CIDR blocks associated with the client.
|
|
35833
|
-
* > - We recommend that you use 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets as the client CIDR block. If you want to specify a public CIDR block as the client CIDR block, you must specify the public CIDR block as the user CIDR block of the virtual private cloud (VPC). This way, the VPC can access the public CIDR block. For more information, see [VPC
|
|
35834
|
-
* > - After you create an SSL server, the system automatically adds routes that point to the client CIDR block to the VPC route table. Do not add routes that point to the client CIDR block
|
|
36564
|
+
* > - We recommend that you use 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets as the client CIDR block. If you want to specify a public CIDR block as the client CIDR block, you must specify the public CIDR block as the user CIDR block of the virtual private cloud (VPC). This way, the VPC can access the public CIDR block. For more information, see [VPC FAQs](https://help.aliyun.com/document_detail/185311.html).
|
|
36565
|
+
* > - After you create an SSL server, the system automatically adds routes that point to the client CIDR block to the VPC route table. Do not manually add routes that point to the client CIDR block. Otherwise, SSL-VPN connections cannot work as expected.
|
|
35835
36566
|
*
|
|
35836
36567
|
* This parameter is required.
|
|
35837
36568
|
*
|
|
@@ -35908,7 +36639,7 @@ export declare class CreateSslVpnServerRequest extends $dara.Model {
|
|
|
35908
36639
|
* @remarks
|
|
35909
36640
|
* The local CIDR block.
|
|
35910
36641
|
*
|
|
35911
|
-
*
|
|
36642
|
+
* The CIDR block that your client needs to access by using the SSL-VPN connection.
|
|
35912
36643
|
*
|
|
35913
36644
|
* This value can be the CIDR block of a VPC, a vSwitch, a data center that is connected to a VPC by using an Express Connect circuit, or an Alibaba Cloud service such as Object Storage Service (OSS).
|
|
35914
36645
|
*
|
|
@@ -37044,7 +37775,7 @@ export declare class CreateVcoRouteEntryRequest extends $dara.Model {
|
|
|
37044
37775
|
ownerAccount?: string;
|
|
37045
37776
|
/**
|
|
37046
37777
|
* @remarks
|
|
37047
|
-
* The ID of the
|
|
37778
|
+
* The region ID of the IPsec-VPN connection.
|
|
37048
37779
|
*
|
|
37049
37780
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
37050
37781
|
*
|
|
@@ -38344,22 +39075,24 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38344
39075
|
autoConfigRoute?: boolean;
|
|
38345
39076
|
/**
|
|
38346
39077
|
* @remarks
|
|
38347
|
-
*
|
|
39078
|
+
* This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
|
|
39079
|
+
*
|
|
39080
|
+
* BGP configuration:
|
|
38348
39081
|
*
|
|
38349
|
-
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false
|
|
39082
|
+
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false** (default).
|
|
38350
39083
|
*
|
|
38351
39084
|
* * **BgpConfig.LocalAsn**: the ASN on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
|
|
38352
39085
|
*
|
|
38353
|
-
* You can enter
|
|
39086
|
+
* 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.
|
|
38354
39087
|
*
|
|
38355
|
-
* For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
|
|
39088
|
+
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
38356
39089
|
*
|
|
38357
|
-
* * **BgpConfig.TunnelCidr**:
|
|
39090
|
+
* * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must fall into 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.
|
|
38358
39091
|
*
|
|
38359
|
-
* * **LocalBgpIp
|
|
39092
|
+
* * **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.
|
|
38360
39093
|
*
|
|
38361
|
-
* >
|
|
38362
|
-
* >
|
|
39094
|
+
* > - Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
39095
|
+
* > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
38363
39096
|
*
|
|
38364
39097
|
* @example
|
|
38365
39098
|
* {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -38381,6 +39114,8 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38381
39114
|
* @remarks
|
|
38382
39115
|
* The customer gateway ID.
|
|
38383
39116
|
*
|
|
39117
|
+
* > This parameter is required only when you create a single-tunnel IPsec-VPN connection.
|
|
39118
|
+
*
|
|
38384
39119
|
* @example
|
|
38385
39120
|
* cgw-p0w2jemrcj5u61un8****
|
|
38386
39121
|
*/
|
|
@@ -38398,10 +39133,12 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38398
39133
|
effectImmediately?: boolean;
|
|
38399
39134
|
/**
|
|
38400
39135
|
* @remarks
|
|
38401
|
-
*
|
|
39136
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
38402
39137
|
*
|
|
38403
|
-
*
|
|
38404
|
-
*
|
|
39138
|
+
* Specifies whether to enable DPD. Valid values: Valid values:
|
|
39139
|
+
*
|
|
39140
|
+
* * **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 along with the security tunnel.
|
|
39141
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
38405
39142
|
*
|
|
38406
39143
|
* @example
|
|
38407
39144
|
* true
|
|
@@ -38409,25 +39146,40 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38409
39146
|
enableDpd?: boolean;
|
|
38410
39147
|
/**
|
|
38411
39148
|
* @remarks
|
|
39149
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
39150
|
+
*
|
|
38412
39151
|
* Specifies whether to enable NAT traversal. Valid values:
|
|
38413
39152
|
*
|
|
38414
|
-
* * **true** (default) 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 VPN tunnel.
|
|
38415
|
-
* * **false
|
|
39153
|
+
* * **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.
|
|
39154
|
+
* * **false**: disables NAT traversal.
|
|
38416
39155
|
*
|
|
38417
39156
|
* @example
|
|
38418
39157
|
* true
|
|
38419
39158
|
*/
|
|
38420
39159
|
enableNatTraversal?: boolean;
|
|
39160
|
+
/**
|
|
39161
|
+
* @remarks
|
|
39162
|
+
* This parameter is available if you create an IPsec-VPN connection in dual-tunnel mode.
|
|
39163
|
+
*
|
|
39164
|
+
* Specifies whether to enable the BGP feature for the tunnel. Valid values: **true** and **false**. Default value: false.
|
|
39165
|
+
*
|
|
39166
|
+
* > Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html)
|
|
39167
|
+
*
|
|
39168
|
+
* @example
|
|
39169
|
+
* false
|
|
39170
|
+
*/
|
|
38421
39171
|
enableTunnelsBgp?: boolean;
|
|
38422
39172
|
/**
|
|
38423
39173
|
* @remarks
|
|
38424
|
-
*
|
|
39174
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
38425
39175
|
*
|
|
38426
|
-
*
|
|
39176
|
+
* The health check configurations:
|
|
38427
39177
|
*
|
|
38428
|
-
* * **HealthCheckConfig.
|
|
39178
|
+
* * **HealthCheckConfig.enable**: indicates whether the health check is enabled. Valid values: **true** and **false** (default).
|
|
38429
39179
|
*
|
|
38430
|
-
* * **HealthCheckConfig.
|
|
39180
|
+
* * **HealthCheckConfig.dip**: the destination IP address configured for health checks. Enter the IP address of the on-premises data center that the VPC can access through the IPsec connection.
|
|
39181
|
+
*
|
|
39182
|
+
* * **HealthCheckConfig.sip**: the source IP address configured for health checks. Enter the IP address of the VPC that the on-premises data center can access through the IPsec connection.
|
|
38431
39183
|
*
|
|
38432
39184
|
* * **HealthCheckConfig.interval**: the time interval of health check retries. Unit: seconds. Default value: **3**.
|
|
38433
39185
|
*
|
|
@@ -38444,11 +39196,13 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38444
39196
|
healthCheckConfig?: string;
|
|
38445
39197
|
/**
|
|
38446
39198
|
* @remarks
|
|
39199
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
39200
|
+
*
|
|
38447
39201
|
* The configurations of Phase 1 negotiations:
|
|
38448
39202
|
*
|
|
38449
39203
|
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
38450
39204
|
*
|
|
38451
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
39205
|
+
* * 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: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
38452
39206
|
* * 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.
|
|
38453
39207
|
*
|
|
38454
39208
|
* > 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.
|
|
@@ -38465,9 +39219,9 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38465
39219
|
*
|
|
38466
39220
|
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
38467
39221
|
*
|
|
38468
|
-
* * **IkeConfig.
|
|
39222
|
+
* * **IkeConfig.LocalId**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length and cannot contain space characters. This parameter is empty by default.
|
|
38469
39223
|
*
|
|
38470
|
-
* * **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.
|
|
39224
|
+
* * **IkeConfig.RemoteId**: the identifier on the data center side. The identifier cannot exceed 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway.
|
|
38471
39225
|
*
|
|
38472
39226
|
* @example
|
|
38473
39227
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -38475,12 +39229,14 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38475
39229
|
ikeConfig?: string;
|
|
38476
39230
|
/**
|
|
38477
39231
|
* @remarks
|
|
39232
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
39233
|
+
*
|
|
38478
39234
|
* The configurations of Phase 2 negotiations:
|
|
38479
39235
|
*
|
|
38480
39236
|
* * **IpsecConfig.IpsecEncAlg**: the encryption algorithm that is used in Phase 2 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**. Default value: **aes**.
|
|
38481
39237
|
* * **IpsecConfig. IpsecAuthAlg**: the authentication algorithm that is used in Phase 2 negotiations. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**. Default value: **md5**.
|
|
38482
|
-
* * **IpsecConfig. IpsecPfs**:
|
|
38483
|
-
* * **
|
|
39238
|
+
* * **IpsecConfig. IpsecPfs**: The Diffie-Hellman key exchange algorithm used in the second phase negotiation. Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**. Default value: **group2**.
|
|
39239
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 2 negotiations. Unit: seconds. Valid values: **0** to **86400**. Default value: **86400**.
|
|
38484
39240
|
*
|
|
38485
39241
|
* @example
|
|
38486
39242
|
* {"IpsecEncAlg":"aes","IpsecAuthAlg":"sha1","IpsecPfs":"group2","IpsecLifetime":86400}
|
|
@@ -38585,6 +39341,12 @@ export declare class CreateVpnAttachmentRequest extends $dara.Model {
|
|
|
38585
39341
|
*/
|
|
38586
39342
|
tags?: CreateVpnAttachmentRequestTags[];
|
|
38587
39343
|
/**
|
|
39344
|
+
* @remarks
|
|
39345
|
+
* The tunnel configurations.
|
|
39346
|
+
*
|
|
39347
|
+
* * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
|
|
39348
|
+
* * When you create a IPsec-VPN connection in dual-tunnel mode, you must add both tunnels to IPsec-VPN connection to ensure that the IPsec-VPN connection has connection redundancy. Each IPsec-VPN connection supports only two tunnels.
|
|
39349
|
+
*
|
|
38588
39350
|
* **if can be null:**
|
|
38589
39351
|
* true
|
|
38590
39352
|
*/
|
|
@@ -38704,7 +39466,7 @@ export declare class CreateVpnConnectionRequest extends $dara.Model {
|
|
|
38704
39466
|
autoConfigRoute?: boolean;
|
|
38705
39467
|
/**
|
|
38706
39468
|
* @remarks
|
|
38707
|
-
* This parameter is supported
|
|
39469
|
+
* This parameter is supported if you create an IPsec-VPN connection in single-tunnel mode.
|
|
38708
39470
|
*
|
|
38709
39471
|
* BGP configuration:
|
|
38710
39472
|
*
|
|
@@ -38716,14 +39478,14 @@ export declare class CreateVpnConnectionRequest extends $dara.Model {
|
|
|
38716
39478
|
*
|
|
38717
39479
|
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
38718
39480
|
*
|
|
38719
|
-
* * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must
|
|
39481
|
+
* * **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.
|
|
38720
39482
|
*
|
|
38721
|
-
* >The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
|
|
39483
|
+
* > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
|
|
38722
39484
|
*
|
|
38723
39485
|
* * **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.
|
|
38724
39486
|
*
|
|
38725
|
-
* >
|
|
38726
|
-
* >
|
|
39487
|
+
* > - Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/2638220.html).
|
|
39488
|
+
* > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
38727
39489
|
*
|
|
38728
39490
|
* @example
|
|
38729
39491
|
* {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -38822,13 +39584,11 @@ export declare class CreateVpnConnectionRequest extends $dara.Model {
|
|
|
38822
39584
|
*
|
|
38823
39585
|
* * **IkeConfig.Psk**: the pre-shared key that is used for identity authentication between the VPN gateway and the on-premises data center.
|
|
38824
39586
|
*
|
|
38825
|
-
* * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
39587
|
+
* * The key cannot contain spaces. The key must be 1 to 100 characters in length, and can contain digits, letters, and the following special characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
38826
39588
|
*
|
|
38827
39589
|
* * 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.
|
|
38828
39590
|
*
|
|
38829
|
-
*
|
|
38830
|
-
*
|
|
38831
|
-
* **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.
|
|
39591
|
+
* > 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.
|
|
38832
39592
|
*
|
|
38833
39593
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**. Default value: **ikev1**.
|
|
38834
39594
|
*
|
|
@@ -38837,7 +39597,7 @@ export declare class CreateVpnConnectionRequest extends $dara.Model {
|
|
|
38837
39597
|
* * **IkeConfig.IkeMode**: the negotiation mode of IKE. Valid values: **main** and **aggressive**. Default value: **main**.
|
|
38838
39598
|
*
|
|
38839
39599
|
* * **main:** This mode offers higher security during negotiations.
|
|
38840
|
-
* * **aggressive
|
|
39600
|
+
* * **aggressive:** This mode is faster and has a higher success rate.
|
|
38841
39601
|
*
|
|
38842
39602
|
* * **IkeConfig.IkeEncAlg**: the encryption algorithm that is used in Phase 1 negotiations.
|
|
38843
39603
|
*
|
|
@@ -38849,11 +39609,11 @@ export declare class CreateVpnConnectionRequest extends $dara.Model {
|
|
|
38849
39609
|
*
|
|
38850
39610
|
* * **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**.
|
|
38851
39611
|
*
|
|
38852
|
-
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds
|
|
39612
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0** to **86400**. Default value: **86400**.
|
|
38853
39613
|
*
|
|
38854
|
-
* * **IkeConfig.LocalId**: the identifier of the VPN gateway. It can
|
|
39614
|
+
* * **IkeConfig.LocalId**: the identifier of the VPN gateway. It can be up to 100 characters in length and cannot contain space characters. The default value is the IP address of the VPN gateway.
|
|
38855
39615
|
*
|
|
38856
|
-
* * **IkeConfig.RemoteId**: the identifier of the customer gateway. It can
|
|
39616
|
+
* * **IkeConfig.RemoteId**: the identifier of the customer gateway. It can be up to 100 characters in length and cannot contain space characters. The default value is the IP address of the customer gateway.
|
|
38857
39617
|
*
|
|
38858
39618
|
* @example
|
|
38859
39619
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -41849,7 +42609,28 @@ export declare class DeleteIpv6EgressOnlyRuleResponse extends $dara.Model {
|
|
|
41849
42609
|
});
|
|
41850
42610
|
}
|
|
41851
42611
|
export declare class DeleteIpv6GatewayRequest extends $dara.Model {
|
|
42612
|
+
/**
|
|
42613
|
+
* @remarks
|
|
42614
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
42615
|
+
*
|
|
42616
|
+
* 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.
|
|
42617
|
+
*
|
|
42618
|
+
* > 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.
|
|
42619
|
+
*
|
|
42620
|
+
* @example
|
|
42621
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
42622
|
+
*/
|
|
41852
42623
|
clientToken?: string;
|
|
42624
|
+
/**
|
|
42625
|
+
* @remarks
|
|
42626
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
42627
|
+
*
|
|
42628
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
42629
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
42630
|
+
*
|
|
42631
|
+
* @example
|
|
42632
|
+
* false
|
|
42633
|
+
*/
|
|
41853
42634
|
dryRun?: boolean;
|
|
41854
42635
|
/**
|
|
41855
42636
|
* @remarks
|
|
@@ -41924,7 +42705,24 @@ export declare class DeleteIpv6GatewayResponse extends $dara.Model {
|
|
|
41924
42705
|
});
|
|
41925
42706
|
}
|
|
41926
42707
|
export declare class DeleteIpv6InternetBandwidthRequest extends $dara.Model {
|
|
42708
|
+
/**
|
|
42709
|
+
* @remarks
|
|
42710
|
+
* The client token that is used to ensure the idempotence of the request. 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. 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.
|
|
42711
|
+
*
|
|
42712
|
+
* @example
|
|
42713
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
42714
|
+
*/
|
|
41927
42715
|
clientToken?: string;
|
|
42716
|
+
/**
|
|
42717
|
+
* @remarks
|
|
42718
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
42719
|
+
*
|
|
42720
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
42721
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
42722
|
+
*
|
|
42723
|
+
* @example
|
|
42724
|
+
* true
|
|
42725
|
+
*/
|
|
41928
42726
|
dryRun?: boolean;
|
|
41929
42727
|
/**
|
|
41930
42728
|
* @remarks
|
|
@@ -43888,7 +44686,7 @@ export declare class DeleteVcoRouteEntryRequest extends $dara.Model {
|
|
|
43888
44686
|
ownerAccount?: string;
|
|
43889
44687
|
/**
|
|
43890
44688
|
* @remarks
|
|
43891
|
-
* The ID of the
|
|
44689
|
+
* The region ID of the IPsec-VPN connection.
|
|
43892
44690
|
*
|
|
43893
44691
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
43894
44692
|
*
|
|
@@ -45918,7 +46716,7 @@ export declare class DescribeCustomerGatewayResponseBody extends $dara.Model {
|
|
|
45918
46716
|
description?: string;
|
|
45919
46717
|
/**
|
|
45920
46718
|
* @remarks
|
|
45921
|
-
* The
|
|
46719
|
+
* The IP address of the gateway device in the data center.
|
|
45922
46720
|
*
|
|
45923
46721
|
* @example
|
|
45924
46722
|
* 139.32.XX.XX
|
|
@@ -49411,9 +50209,10 @@ export declare class DescribeIpv6EgressOnlyRulesRequest extends $dara.Model {
|
|
|
49411
50209
|
instanceId?: string;
|
|
49412
50210
|
/**
|
|
49413
50211
|
* @remarks
|
|
49414
|
-
* The type of the instance to which you want to apply the egress-only rule.
|
|
50212
|
+
* The type of the instance to which you want to apply the egress-only rule. Valid values:
|
|
49415
50213
|
*
|
|
49416
|
-
*
|
|
50214
|
+
* * IPv6Address (default)
|
|
50215
|
+
* * IPv6Prefix
|
|
49417
50216
|
*
|
|
49418
50217
|
* @example
|
|
49419
50218
|
* Ipv6Address
|
|
@@ -49449,7 +50248,7 @@ export declare class DescribeIpv6EgressOnlyRulesRequest extends $dara.Model {
|
|
|
49449
50248
|
ownerId?: number;
|
|
49450
50249
|
/**
|
|
49451
50250
|
* @remarks
|
|
49452
|
-
* The
|
|
50251
|
+
* The page number. Default value: **1**.
|
|
49453
50252
|
*
|
|
49454
50253
|
* @example
|
|
49455
50254
|
* 1
|
|
@@ -49457,7 +50256,7 @@ export declare class DescribeIpv6EgressOnlyRulesRequest extends $dara.Model {
|
|
|
49457
50256
|
pageNumber?: number;
|
|
49458
50257
|
/**
|
|
49459
50258
|
* @remarks
|
|
49460
|
-
* The number of entries
|
|
50259
|
+
* The number of entries per page. Maximum value: **50**. Default value: **10**.
|
|
49461
50260
|
*
|
|
49462
50261
|
* @example
|
|
49463
50262
|
* 10
|
|
@@ -52649,8 +53448,7 @@ export declare class DescribeSslVpnClientCertsRequest extends $dara.Model {
|
|
|
52649
53448
|
* @remarks
|
|
52650
53449
|
* The ID of the resource group to which the SSL client certificate belongs.
|
|
52651
53450
|
*
|
|
52652
|
-
* The SSL client certificate
|
|
52653
|
-
* You can call the [DescribeSslVpnServers](https://help.aliyun.com/document_detail/2794078.html) operation to query the ID of the resource group to which the SSL server belongs.
|
|
53451
|
+
* The SSL client certificate and its associated SSL server belong to the same resource group. You can call the [DescribeSslVpnServers](https://help.aliyun.com/document_detail/2794078.html) operation to query the ID of the resource group to which the SSL server belongs.
|
|
52654
53452
|
*
|
|
52655
53453
|
* @example
|
|
52656
53454
|
* rg-acfmzs372yg****
|
|
@@ -52930,11 +53728,9 @@ export declare class DescribeSslVpnServersRequest extends $dara.Model {
|
|
|
52930
53728
|
regionId?: string;
|
|
52931
53729
|
/**
|
|
52932
53730
|
* @remarks
|
|
52933
|
-
* The
|
|
53731
|
+
* The resource group ID of the SSL server.
|
|
52934
53732
|
*
|
|
52935
|
-
* The SSL server
|
|
52936
|
-
*
|
|
52937
|
-
* You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2526915.html) operation to query the ID of the resource group to which the VPN gateway instance belongs.
|
|
53733
|
+
* The SSL server and its associated VPN gateway belong to the same resource group. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the ID of the resource group to which the VPN gateway belongs.
|
|
52938
53734
|
*
|
|
52939
53735
|
* @example
|
|
52940
53736
|
* rg-acfmzs372yg****
|
|
@@ -52996,7 +53792,7 @@ export declare class DescribeSslVpnServersResponseBody extends $dara.Model {
|
|
|
52996
53792
|
requestId?: string;
|
|
52997
53793
|
/**
|
|
52998
53794
|
* @remarks
|
|
52999
|
-
* The detailed information about the SSL-VPN
|
|
53795
|
+
* The detailed information about the SSL-VPN servers.
|
|
53000
53796
|
*/
|
|
53001
53797
|
sslVpnServers?: DescribeSslVpnServersResponseBodySslVpnServers;
|
|
53002
53798
|
/**
|
|
@@ -54247,9 +55043,15 @@ export declare class DescribeVcoRouteEntriesResponseBody extends $dara.Model {
|
|
|
54247
55043
|
totalCount?: number;
|
|
54248
55044
|
/**
|
|
54249
55045
|
* @remarks
|
|
54250
|
-
* The list of
|
|
55046
|
+
* The list of route entries.
|
|
54251
55047
|
*/
|
|
54252
55048
|
vcoRouteEntries?: DescribeVcoRouteEntriesResponseBodyVcoRouteEntries[];
|
|
55049
|
+
/**
|
|
55050
|
+
* @remarks
|
|
55051
|
+
* The information on route entries of the dual-tunnel IPsec connection.
|
|
55052
|
+
*
|
|
55053
|
+
* > This parameter is returned only for IPsec connections in dual-tunnel mode.
|
|
55054
|
+
*/
|
|
54253
55055
|
vpnRouteCounts?: DescribeVcoRouteEntriesResponseBodyVpnRouteCounts[];
|
|
54254
55056
|
static names(): {
|
|
54255
55057
|
[key: string]: string;
|
|
@@ -55448,9 +56250,9 @@ export declare class DescribeVpnConnectionResponseBody extends $dara.Model {
|
|
|
55448
56250
|
transitRouterName?: string;
|
|
55449
56251
|
/**
|
|
55450
56252
|
* @remarks
|
|
55451
|
-
* The tunnel
|
|
56253
|
+
* The tunnel configurations of the IPsec-VPN connection.
|
|
55452
56254
|
*
|
|
55453
|
-
* Parameters in **TunnelOptionsSpecification** are returned only if you query IPsec-VPN
|
|
56255
|
+
* Parameters in **TunnelOptionsSpecification** are returned only if you query an IPsec-VPN connection in dual-tunnel mode.
|
|
55454
56256
|
*/
|
|
55455
56257
|
tunnelOptionsSpecification?: DescribeVpnConnectionResponseBodyTunnelOptionsSpecification;
|
|
55456
56258
|
/**
|
|
@@ -55701,7 +56503,7 @@ export declare class DescribeVpnConnectionsRequest extends $dara.Model {
|
|
|
55701
56503
|
ownerId?: number;
|
|
55702
56504
|
/**
|
|
55703
56505
|
* @remarks
|
|
55704
|
-
* The number of the page to return. Default value: **1**.
|
|
56506
|
+
* The page number of the page to return. Default value: **1**.
|
|
55705
56507
|
*
|
|
55706
56508
|
* @example
|
|
55707
56509
|
* 1
|
|
@@ -55709,7 +56511,7 @@ export declare class DescribeVpnConnectionsRequest extends $dara.Model {
|
|
|
55709
56511
|
pageNumber?: number;
|
|
55710
56512
|
/**
|
|
55711
56513
|
* @remarks
|
|
55712
|
-
* The number of entries
|
|
56514
|
+
* The number of entries returned on each page. Default value: **10**. Valid values: **1** to **50**.
|
|
55713
56515
|
*
|
|
55714
56516
|
* @example
|
|
55715
56517
|
* 10
|
|
@@ -55810,7 +56612,7 @@ export declare class DescribeVpnConnectionsResponseBody extends $dara.Model {
|
|
|
55810
56612
|
totalCount?: number;
|
|
55811
56613
|
/**
|
|
55812
56614
|
* @remarks
|
|
55813
|
-
* The information about the IPsec-VPN
|
|
56615
|
+
* The information about the IPsec-VPN connections.
|
|
55814
56616
|
*/
|
|
55815
56617
|
vpnConnections?: DescribeVpnConnectionsResponseBodyVpnConnections;
|
|
55816
56618
|
static names(): {
|
|
@@ -55846,9 +56648,9 @@ export declare class DescribeVpnCrossAccountAuthorizationsRequest extends $dara.
|
|
|
55846
56648
|
* @remarks
|
|
55847
56649
|
* The client token that is used to ensure the idempotence of the request.
|
|
55848
56650
|
*
|
|
55849
|
-
* You can use the client to generate the
|
|
56651
|
+
* 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.
|
|
55850
56652
|
*
|
|
55851
|
-
* > If you do not
|
|
56653
|
+
* > 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.
|
|
55852
56654
|
*
|
|
55853
56655
|
* @example
|
|
55854
56656
|
* 123e4567-e89b-12d3-a456-4266****
|
|
@@ -55857,7 +56659,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsRequest extends $dara.
|
|
|
55857
56659
|
ownerAccount?: string;
|
|
55858
56660
|
/**
|
|
55859
56661
|
* @remarks
|
|
55860
|
-
* The
|
|
56662
|
+
* The page number. Default value: **1**.
|
|
55861
56663
|
*
|
|
55862
56664
|
* @example
|
|
55863
56665
|
* 1
|
|
@@ -55865,7 +56667,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsRequest extends $dara.
|
|
|
55865
56667
|
pageNumber?: number;
|
|
55866
56668
|
/**
|
|
55867
56669
|
* @remarks
|
|
55868
|
-
* The number of entries to return
|
|
56670
|
+
* The number of entries to return per page. Default value: **10**. Valid values: **1** to **50**.
|
|
55869
56671
|
*
|
|
55870
56672
|
* @example
|
|
55871
56673
|
* 10
|
|
@@ -55875,7 +56677,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsRequest extends $dara.
|
|
|
55875
56677
|
* @remarks
|
|
55876
56678
|
* The ID of the region to which the IPsec-VPN connection belongs.
|
|
55877
56679
|
*
|
|
55878
|
-
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the
|
|
56680
|
+
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
|
|
55879
56681
|
*
|
|
55880
56682
|
* This parameter is required.
|
|
55881
56683
|
*
|
|
@@ -55914,7 +56716,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBody extends $
|
|
|
55914
56716
|
crossAccountAuthorizations?: DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccountAuthorizations[];
|
|
55915
56717
|
/**
|
|
55916
56718
|
* @remarks
|
|
55917
|
-
* The page number
|
|
56719
|
+
* The page number.
|
|
55918
56720
|
*
|
|
55919
56721
|
* @example
|
|
55920
56722
|
* 1
|
|
@@ -55922,7 +56724,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBody extends $
|
|
|
55922
56724
|
pageNumber?: number;
|
|
55923
56725
|
/**
|
|
55924
56726
|
* @remarks
|
|
55925
|
-
* The number of entries
|
|
56727
|
+
* The number of entries per page.
|
|
55926
56728
|
*
|
|
55927
56729
|
* @example
|
|
55928
56730
|
* 10
|
|
@@ -55930,7 +56732,7 @@ export declare class DescribeVpnCrossAccountAuthorizationsResponseBody extends $
|
|
|
55930
56732
|
pageSize?: number;
|
|
55931
56733
|
/**
|
|
55932
56734
|
* @remarks
|
|
55933
|
-
* The ID
|
|
56735
|
+
* The request ID.
|
|
55934
56736
|
*
|
|
55935
56737
|
* @example
|
|
55936
56738
|
* DB04E39A-6F0C-36AC-BCA0-B6D371B90062
|
|
@@ -56945,9 +57747,7 @@ export declare class DescribeVpnSslServerLogsResponseBody extends $dara.Model {
|
|
|
56945
57747
|
count?: number;
|
|
56946
57748
|
/**
|
|
56947
57749
|
* @remarks
|
|
56948
|
-
*
|
|
56949
|
-
*
|
|
56950
|
-
* Each item in the array is a log entry.
|
|
57750
|
+
* Log information list.
|
|
56951
57751
|
*/
|
|
56952
57752
|
data?: DescribeVpnSslServerLogsResponseBodyData;
|
|
56953
57753
|
/**
|
|
@@ -57348,10 +58148,10 @@ export declare class DiagnoseVpnGatewayRequest extends $dara.Model {
|
|
|
57348
58148
|
clientToken?: string;
|
|
57349
58149
|
/**
|
|
57350
58150
|
* @remarks
|
|
57351
|
-
*
|
|
58151
|
+
* Check the connectivity of the destination address. Valid values:
|
|
57352
58152
|
*
|
|
57353
|
-
* * **PrivateSourceIp**: the source IP address
|
|
57354
|
-
* * **PrivateDestinationIp**: the destination IP address
|
|
58153
|
+
* * **PrivateSourceIp**: the source IP address. The source IP address must be on the VPC side.
|
|
58154
|
+
* * **PrivateDestinationIp**: the destination IP address. The destination IP address must be on the data center side.
|
|
57355
58155
|
*
|
|
57356
58156
|
* @example
|
|
57357
58157
|
* {"PrivateSourceIp":"192.168.1.1","PrivateDestinationIp":"192.168.0.1"}
|
|
@@ -57415,7 +58215,9 @@ export declare class DiagnoseVpnGatewayRequest extends $dara.Model {
|
|
|
57415
58215
|
export declare class DiagnoseVpnGatewayResponseBody extends $dara.Model {
|
|
57416
58216
|
/**
|
|
57417
58217
|
* @remarks
|
|
57418
|
-
* The ID
|
|
58218
|
+
* The diagnostic ID.
|
|
58219
|
+
*
|
|
58220
|
+
* After a diagnostic ID is returned, you can call [GetVpnGatewayDiagnoseResult](https://help.aliyun.com/document_detail/2521963.html) to query the diagnostic report.
|
|
57419
58221
|
*
|
|
57420
58222
|
* @example
|
|
57421
58223
|
* vpndgn-uf6kuxbe3iv028k3s****
|
|
@@ -61228,9 +62030,7 @@ export declare class ListIpsecServerLogsResponseBody extends $dara.Model {
|
|
|
61228
62030
|
count?: number;
|
|
61229
62031
|
/**
|
|
61230
62032
|
* @remarks
|
|
61231
|
-
*
|
|
61232
|
-
*
|
|
61233
|
-
* Each item in the array is a log entry.
|
|
62033
|
+
* Log information list.
|
|
61234
62034
|
*/
|
|
61235
62035
|
data?: string[];
|
|
61236
62036
|
/**
|
|
@@ -66729,17 +67529,38 @@ export declare class ModifyIPv6TranslatorEntryResponse extends $dara.Model {
|
|
|
66729
67529
|
});
|
|
66730
67530
|
}
|
|
66731
67531
|
export declare class ModifyIpv6AddressAttributeRequest extends $dara.Model {
|
|
67532
|
+
/**
|
|
67533
|
+
* @remarks
|
|
67534
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
67535
|
+
*
|
|
67536
|
+
* 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.
|
|
67537
|
+
*
|
|
67538
|
+
* > 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.
|
|
67539
|
+
*
|
|
67540
|
+
* @example
|
|
67541
|
+
* d7d24a21-f4ba-4454-9173-b3828dae492b
|
|
67542
|
+
*/
|
|
66732
67543
|
clientToken?: string;
|
|
66733
67544
|
/**
|
|
66734
67545
|
* @remarks
|
|
66735
67546
|
* The description of the IPv6 address.
|
|
66736
67547
|
*
|
|
66737
|
-
*
|
|
67548
|
+
* The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
66738
67549
|
*
|
|
66739
67550
|
* @example
|
|
66740
67551
|
* test
|
|
66741
67552
|
*/
|
|
66742
67553
|
description?: string;
|
|
67554
|
+
/**
|
|
67555
|
+
* @remarks
|
|
67556
|
+
* Specifies whether to perform a dry run, without performing the actual request. Valid values:
|
|
67557
|
+
*
|
|
67558
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
67559
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
67560
|
+
*
|
|
67561
|
+
* @example
|
|
67562
|
+
* false
|
|
67563
|
+
*/
|
|
66743
67564
|
dryRun?: boolean;
|
|
66744
67565
|
/**
|
|
66745
67566
|
* @remarks
|
|
@@ -66755,7 +67576,7 @@ export declare class ModifyIpv6AddressAttributeRequest extends $dara.Model {
|
|
|
66755
67576
|
* @remarks
|
|
66756
67577
|
* The name of the IPv6 address.
|
|
66757
67578
|
*
|
|
66758
|
-
* The name must be
|
|
67579
|
+
* The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
66759
67580
|
*
|
|
66760
67581
|
* @example
|
|
66761
67582
|
* test
|
|
@@ -66824,15 +67645,38 @@ export declare class ModifyIpv6AddressAttributeResponse extends $dara.Model {
|
|
|
66824
67645
|
});
|
|
66825
67646
|
}
|
|
66826
67647
|
export declare class ModifyIpv6GatewayAttributeRequest extends $dara.Model {
|
|
67648
|
+
/**
|
|
67649
|
+
* @remarks
|
|
67650
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
67651
|
+
*
|
|
67652
|
+
* 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.
|
|
67653
|
+
*
|
|
67654
|
+
* > 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.
|
|
67655
|
+
*
|
|
67656
|
+
* @example
|
|
67657
|
+
* 02fb3da4-130e-11e9-8e44-0016e04115b
|
|
67658
|
+
*/
|
|
66827
67659
|
clientToken?: string;
|
|
66828
67660
|
/**
|
|
66829
67661
|
* @remarks
|
|
66830
67662
|
* The description of the IPv6 gateway.
|
|
66831
67663
|
*
|
|
67664
|
+
* The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
|
|
67665
|
+
*
|
|
66832
67666
|
* @example
|
|
66833
67667
|
* ipv6description
|
|
66834
67668
|
*/
|
|
66835
67669
|
description?: string;
|
|
67670
|
+
/**
|
|
67671
|
+
* @remarks
|
|
67672
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
67673
|
+
*
|
|
67674
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes dry run, the `DryRunOperation` error code is returned.
|
|
67675
|
+
* * **false**: sends the API request. After the request passes the check, a 2XX HTTP status code is returned and the gateway endpoint is associated with the route table. This is the default value.
|
|
67676
|
+
*
|
|
67677
|
+
* @example
|
|
67678
|
+
* false
|
|
67679
|
+
*/
|
|
66836
67680
|
dryRun?: boolean;
|
|
66837
67681
|
/**
|
|
66838
67682
|
* @remarks
|
|
@@ -66848,7 +67692,7 @@ export declare class ModifyIpv6GatewayAttributeRequest extends $dara.Model {
|
|
|
66848
67692
|
* @remarks
|
|
66849
67693
|
* The name of the IPv6 gateway.
|
|
66850
67694
|
*
|
|
66851
|
-
*
|
|
67695
|
+
* The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
|
|
66852
67696
|
*
|
|
66853
67697
|
* @example
|
|
66854
67698
|
* ipv6name
|
|
@@ -68679,7 +69523,45 @@ export declare class ModifySslVpnServerRequest extends $dara.Model {
|
|
|
68679
69523
|
cipher?: string;
|
|
68680
69524
|
/**
|
|
68681
69525
|
* @remarks
|
|
68682
|
-
* The client
|
|
69526
|
+
* The client CIDR block.
|
|
69527
|
+
*
|
|
69528
|
+
* The CIDR block from which an IP address is allocated to the virtual network interface controller (NIC) of the client, rather than the private CIDR block.
|
|
69529
|
+
*
|
|
69530
|
+
* If the client accesses the SSL server over an SSL-VPN connection, the VPN gateway assigns an IP address from the specified client CIDR block for the client to access cloud resources.
|
|
69531
|
+
*
|
|
69532
|
+
* Make sure that the number of IP addresses in the client CIDR block is at least four times the maximum number of SSL-VPN connections supported by the VPN gateway.
|
|
69533
|
+
*
|
|
69534
|
+
* <details>
|
|
69535
|
+
* <summary>Click to view the reason.</summary>
|
|
69536
|
+
*
|
|
69537
|
+
* For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet CIDR block with a subnet mask of 30 from 192.168.0.0/24, such as 192.168.0.4/30. This subnet provides up to four IP addresses. Then, the system allocates an IP address from 192.168.0.4/30 to the client and uses the other three IP addresses to ensure network communication. In this case, one client consumes four IP addresses. Therefore, to ensure that an IP address is assigned to your client, the number of IP addresses in the client CIDR block must be at least four times the maximum number of SSL-VPN connections supported by the VPN gateway with which the SSL server is associated.
|
|
69538
|
+
* </details>
|
|
69539
|
+
* <details>
|
|
69540
|
+
* <summary>Click to view the CIDR blocks that are not supported.</summary>
|
|
69541
|
+
*
|
|
69542
|
+
* * 100.64.0.0~100.127.255.255
|
|
69543
|
+
* * 127.0.0.0~127.255.255.255
|
|
69544
|
+
* * 169.254.0.0~169.254.255.255
|
|
69545
|
+
* * 224.0.0.0~239.255.255.255
|
|
69546
|
+
* * 255.0.0.0~255.255.255.255
|
|
69547
|
+
* </details>
|
|
69548
|
+
* <details>
|
|
69549
|
+
* <summary>Click to view the recommended client CIDR blocks for different numbers of SSL-VPN connections.</summary>
|
|
69550
|
+
*
|
|
69551
|
+
* * If the number of SSL-VPN connections is 5, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 27 bits in length. Examples: 10.0.0.0/27 and 10.0.0.0/26.
|
|
69552
|
+
* * If the number of SSL-VPN connections is 10, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 26 bits in length. Examples: 10.0.0.0/26 and 10.0.0.0/25.
|
|
69553
|
+
* * If the number of SSL-VPN connections is 20, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 25 bits in length. Examples: 10.0.0.0/25 and 10.0.0.0/24.
|
|
69554
|
+
* * If the number of SSL-VPN connections is 50, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 24 bits in length. Examples: 10.0.0.0/24 and 10.0.0.0/23.
|
|
69555
|
+
* * If the number of SSL-VPN connections is 100, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 23 bits in length. Examples: 10.0.0.0/23 and 10.0.0.0/22.
|
|
69556
|
+
* * If the number of SSL-VPN connections is 200, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 22 bits in length. Examples: 10.0.0.0/22 and 10.0.0.0/21.
|
|
69557
|
+
* * If the number of SSL-VPN connections is 500, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 21 bits in length. Examples: 10.0.0.0/21 and 10.0.0.0/20.
|
|
69558
|
+
* * If the number of SSL-VPN connections is 1,000, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 20 bits in length. Examples: 10.0.0.0/20 and 10.0.0.0/19.
|
|
69559
|
+
* </details>
|
|
69560
|
+
*
|
|
69561
|
+
* > - The subnet mask of the client CIDR block must be 16 to 29 bits in length.
|
|
69562
|
+
* > - Make sure that the client CIDR block does not overlap with the local CIDR block, the VPC CIDR block, or route CIDR blocks associated with the client.
|
|
69563
|
+
* > - We recommend that you use 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets as the client CIDR block. If you want to specify a public CIDR block as the client CIDR block, you must specify the public CIDR block as the user CIDR block of the virtual private cloud (VPC). This way, the VPC can access the public CIDR block. For more information, see [VPC FAQs](https://help.aliyun.com/document_detail/185311.html).
|
|
69564
|
+
* > - After you create an SSL server, the system automatically adds routes that point to the client CIDR block to the VPC route table. Do not manually add routes that point to the client CIDR block. Otherwise, SSL-VPN connections cannot work as expected.
|
|
68683
69565
|
*
|
|
68684
69566
|
* @example
|
|
68685
69567
|
* 10.30.30.0/24
|
|
@@ -68710,13 +69592,14 @@ export declare class ModifySslVpnServerRequest extends $dara.Model {
|
|
|
68710
69592
|
compress?: boolean;
|
|
68711
69593
|
/**
|
|
68712
69594
|
* @remarks
|
|
68713
|
-
* Specifies whether to enable two-factor authentication.
|
|
69595
|
+
* Specifies whether to enable two-factor authentication. To enable two-factor authentication, you need to specify **IDaaSInstanceId**, **IDaaSRegionId**, and **IDaaSApplicationId**. Valid values:
|
|
68714
69596
|
*
|
|
68715
|
-
* * **true
|
|
68716
|
-
* * **false
|
|
69597
|
+
* * **true**: enables the feature.
|
|
69598
|
+
* * **false**: disables the feature.
|
|
68717
69599
|
*
|
|
68718
|
-
* > -
|
|
68719
|
-
* > -
|
|
69600
|
+
* > - If you use two-factor authentication for the first time, you must first 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).
|
|
69601
|
+
* > - When you create an SSL server in the UAE (Dubai) region, we recommend that you associate the SSL server with an IDaaS EIAM 2.0 instance in Singapore to reduce latency.
|
|
69602
|
+
* > - IDaaS EIAM 1.0 instances are no longer available for purchase. If your Alibaba Cloud account has IDaaS EIAM 1.0 instances, the 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.
|
|
68720
69603
|
*
|
|
68721
69604
|
* @example
|
|
68722
69605
|
* false
|
|
@@ -68751,7 +69634,18 @@ export declare class ModifySslVpnServerRequest extends $dara.Model {
|
|
|
68751
69634
|
IDaaSRegionId?: string;
|
|
68752
69635
|
/**
|
|
68753
69636
|
* @remarks
|
|
68754
|
-
* The CIDR block
|
|
69637
|
+
* The local CIDR block.
|
|
69638
|
+
*
|
|
69639
|
+
* The CIDR block that your client needs to access by using the SSL-VPN connection.
|
|
69640
|
+
*
|
|
69641
|
+
* This value can be the CIDR block of a VPC, a vSwitch, a data center that is connected to a VPC by using an Express Connect circuit, or an Alibaba Cloud service such as Object Storage Service (OSS).
|
|
69642
|
+
*
|
|
69643
|
+
* The subnet mask of the specified local CIDR block must be 8 to 32 bits in length. You cannot specify the following CIDR blocks as the local CIDR blocks:
|
|
69644
|
+
*
|
|
69645
|
+
* * 127.0.0.0~127.255.255.255
|
|
69646
|
+
* * 169.254.0.0~169.254.255.255
|
|
69647
|
+
* * 224.0.0.0~239.255.255.255
|
|
69648
|
+
* * 255.0.0.0~255.255.255.255
|
|
68755
69649
|
*
|
|
68756
69650
|
* @example
|
|
68757
69651
|
* 10.20.20.0/24
|
|
@@ -68836,7 +69730,7 @@ export declare class ModifySslVpnServerResponseBody extends $dara.Model {
|
|
|
68836
69730
|
cipher?: string;
|
|
68837
69731
|
/**
|
|
68838
69732
|
* @remarks
|
|
68839
|
-
* The client
|
|
69733
|
+
* The client CIDR block.
|
|
68840
69734
|
*
|
|
68841
69735
|
* @example
|
|
68842
69736
|
* 10.30.30.0/24
|
|
@@ -68914,7 +69808,7 @@ export declare class ModifySslVpnServerResponseBody extends $dara.Model {
|
|
|
68914
69808
|
internetIp?: string;
|
|
68915
69809
|
/**
|
|
68916
69810
|
* @remarks
|
|
68917
|
-
* The CIDR block
|
|
69811
|
+
* The local CIDR block.
|
|
68918
69812
|
*
|
|
68919
69813
|
* @example
|
|
68920
69814
|
* 10.20.20.0/24
|
|
@@ -69581,7 +70475,7 @@ export declare class ModifyVcoRouteEntryWeightRequest extends $dara.Model {
|
|
|
69581
70475
|
ownerAccount?: string;
|
|
69582
70476
|
/**
|
|
69583
70477
|
* @remarks
|
|
69584
|
-
* The ID of the
|
|
70478
|
+
* The region ID of the IPsec-VPN connection.
|
|
69585
70479
|
*
|
|
69586
70480
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
69587
70481
|
*
|
|
@@ -70236,7 +71130,9 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70236
71130
|
autoConfigRoute?: boolean;
|
|
70237
71131
|
/**
|
|
70238
71132
|
* @remarks
|
|
70239
|
-
*
|
|
71133
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
71134
|
+
*
|
|
71135
|
+
* BGP configuration:
|
|
70240
71136
|
*
|
|
70241
71137
|
* * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values:
|
|
70242
71138
|
*
|
|
@@ -70245,16 +71141,16 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70245
71141
|
*
|
|
70246
71142
|
* * **BgpConfig.LocalAsn**: the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**.
|
|
70247
71143
|
*
|
|
70248
|
-
* You can enter
|
|
71144
|
+
* 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.
|
|
70249
71145
|
*
|
|
70250
|
-
* For example, if you enter 123.456, the ASN is: 123 × 65536 + 456 = 8061384.
|
|
71146
|
+
* For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
|
|
70251
71147
|
*
|
|
70252
|
-
* * **BgpConfig.TunnelCidr
|
|
71148
|
+
* * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must fall into 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.
|
|
70253
71149
|
*
|
|
70254
|
-
* * **LocalBgpIp
|
|
71150
|
+
* * **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.
|
|
70255
71151
|
*
|
|
70256
|
-
* > - Before you
|
|
70257
|
-
* > - We recommend that you use a private ASN to establish
|
|
71152
|
+
* > - Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
71153
|
+
* > - We recommend that you use a private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
|
|
70258
71154
|
*
|
|
70259
71155
|
* @example
|
|
70260
71156
|
* {"EnableBgp":"true","LocalAsn":"45104","TunnelCidr":"169.254.11.0/30","LocalBgpIp":"169.254.11.1"}
|
|
@@ -70274,7 +71170,9 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70274
71170
|
clientToken?: string;
|
|
70275
71171
|
/**
|
|
70276
71172
|
* @remarks
|
|
70277
|
-
* The customer
|
|
71173
|
+
* The customer gateways to be associated with the IPsec-VPN connections.
|
|
71174
|
+
*
|
|
71175
|
+
* > Only single-tunnel IPsec-VPN connections support this parameter.
|
|
70278
71176
|
*
|
|
70279
71177
|
* @example
|
|
70280
71178
|
* cgw-p0w2jemrcj5u61un8****
|
|
@@ -70293,10 +71191,12 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70293
71191
|
effectImmediately?: boolean;
|
|
70294
71192
|
/**
|
|
70295
71193
|
* @remarks
|
|
70296
|
-
*
|
|
71194
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
70297
71195
|
*
|
|
70298
|
-
*
|
|
70299
|
-
*
|
|
71196
|
+
* Specifies whether to enable dead peer detection (DPD). Valid values:
|
|
71197
|
+
*
|
|
71198
|
+
* * **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, along with the security tunnel.
|
|
71199
|
+
* * **false**: disables DPD. The initiator of the IPsec-VPN connection does not send DPD packets.
|
|
70300
71200
|
*
|
|
70301
71201
|
* @example
|
|
70302
71202
|
* true
|
|
@@ -70304,22 +71204,36 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70304
71204
|
enableDpd?: boolean;
|
|
70305
71205
|
/**
|
|
70306
71206
|
* @remarks
|
|
71207
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
71208
|
+
*
|
|
70307
71209
|
* Specifies whether to enable NAT traversal. Valid values:
|
|
70308
71210
|
*
|
|
70309
|
-
* * **true
|
|
70310
|
-
* * **false
|
|
71211
|
+
* * **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.
|
|
71212
|
+
* * **false**: disables NAT traversal.
|
|
70311
71213
|
*
|
|
70312
71214
|
* @example
|
|
70313
71215
|
* true
|
|
70314
71216
|
*/
|
|
70315
71217
|
enableNatTraversal?: boolean;
|
|
70316
71218
|
/**
|
|
71219
|
+
* @remarks
|
|
71220
|
+
* You can specify this parameter if you modify the configuration of a dual-tunnel IPsec-VPN connection.
|
|
71221
|
+
*
|
|
71222
|
+
* Specifies whether to enable the BGP feature for the tunnel. Valid values: **true** and **false**.
|
|
71223
|
+
*
|
|
71224
|
+
* > Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [Configure BGP dynamic routing](https://help.aliyun.com/document_detail/445767.html).
|
|
71225
|
+
*
|
|
71226
|
+
* @example
|
|
71227
|
+
* false
|
|
71228
|
+
*
|
|
70317
71229
|
* **if can be null:**
|
|
70318
71230
|
* true
|
|
70319
71231
|
*/
|
|
70320
71232
|
enableTunnelsBgp?: boolean;
|
|
70321
71233
|
/**
|
|
70322
71234
|
* @remarks
|
|
71235
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
71236
|
+
*
|
|
70323
71237
|
* The health check configurations:
|
|
70324
71238
|
*
|
|
70325
71239
|
* * **HealthCheckConfig.enable**: specifies whether to enable the health check feature. Valid values:
|
|
@@ -70327,9 +71241,9 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70327
71241
|
* * **true**
|
|
70328
71242
|
* * **false**
|
|
70329
71243
|
*
|
|
70330
|
-
* * **HealthCheckConfig.dip**: the destination IP address
|
|
71244
|
+
* * **HealthCheckConfig.dip**: the destination IP address configured for health checks. Specify the IP address of the data center with which the VPC can access through the IPsec-VPN connection.
|
|
70331
71245
|
*
|
|
70332
|
-
* * **HealthCheckConfig.sip**: the source IP address
|
|
71246
|
+
* * **HealthCheckConfig.sip**: the source IP address configured for health checks. The IP address of the VPC with which the data center can access through the IPsec-VPN connection.
|
|
70333
71247
|
*
|
|
70334
71248
|
* * **HealthCheckConfig.interval**: the interval between two consecutive health checks. Unit: seconds.
|
|
70335
71249
|
*
|
|
@@ -70346,30 +71260,32 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70346
71260
|
healthCheckConfig?: string;
|
|
70347
71261
|
/**
|
|
70348
71262
|
* @remarks
|
|
71263
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
71264
|
+
*
|
|
70349
71265
|
* The configuration of Phase 1 negotiations:
|
|
70350
71266
|
*
|
|
70351
|
-
* * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the
|
|
71267
|
+
* * **IkeConfig.Psk**: The pre-shared key that is used for identity authentication between the Alibaba Cloud IPsec connection and the on-premises data center.
|
|
70352
71268
|
*
|
|
70353
|
-
* * The
|
|
70354
|
-
* * If you do not specify a pre-shared key, the system generates a
|
|
71269
|
+
* * The key must be 1 to 100 characters in length, and can contain digits, and letters. The key cannot contain spaces. ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
71270
|
+
* * 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/120374.html) operation to query the pre-shared key that is automatically generated by the system.
|
|
70355
71271
|
*
|
|
70356
|
-
* >The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise,
|
|
71272
|
+
* > 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.
|
|
70357
71273
|
*
|
|
70358
|
-
* * **IkeConfig.IkeVersion**: the Internet Key Exchange (IKE)
|
|
71274
|
+
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
|
|
70359
71275
|
*
|
|
70360
71276
|
* * **IkeConfig.IkeMode**: the negotiation mode. Valid values: **main** and **aggressive**.
|
|
70361
71277
|
*
|
|
70362
|
-
* * **IkeConfig.IkeEncAlg
|
|
71278
|
+
* * **IkeConfig.IkeEncAlg:** the encryption algorithm that is used in Phase 1 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
70363
71279
|
*
|
|
70364
71280
|
* * **IkeConfig.IkeAuthAlg**: the authentication algorithm that is used in Phase 1 negotiations. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
70365
71281
|
*
|
|
70366
|
-
* * **IkeConfig.IkePfs**: the Diffie-Hellman
|
|
71282
|
+
* * **IkeConfig.IkePfs**: the Diffie-Hellman key exchange algorithm that is used in Phase 1 negotiations. Valid values: **group1**, **group2**, **group5**, and **group14**.
|
|
70367
71283
|
*
|
|
70368
|
-
* * **IkeConfig.IkeLifetime**: the
|
|
71284
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0** to **86400**.
|
|
70369
71285
|
*
|
|
70370
|
-
* * **IkeConfig.
|
|
71286
|
+
* * **IkeConfig.LocalId**: the identifier on the Alibaba Cloud side. The identifier cannot exceed 100 characters in length and cannot contain spaces.
|
|
70371
71287
|
*
|
|
70372
|
-
* * **IkeConfig.RemoteId**: the identifier of the
|
|
71288
|
+
* * **IkeConfig.RemoteId**: the identifier of the data center. It cannot exceed 100 characters in length and cannot contain spaces.
|
|
70373
71289
|
*
|
|
70374
71290
|
* @example
|
|
70375
71291
|
* {"Psk":"1234****","IkeVersion":"ikev1","IkeMode":"main","IkeEncAlg":"aes","IkeAuthAlg":"sha1","IkePfs":"group2","IkeLifetime":86400,"LocalId":"47.XX.XX.1","RemoteId":"47.XX.XX.2"}
|
|
@@ -70377,12 +71293,14 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70377
71293
|
ikeConfig?: string;
|
|
70378
71294
|
/**
|
|
70379
71295
|
* @remarks
|
|
71296
|
+
* This parameter is supported if you modify the configurations of an IPsec-VPN connection in single-tunnel mode.
|
|
71297
|
+
*
|
|
70380
71298
|
* The configuration of Phase 2 negotiations:
|
|
70381
71299
|
*
|
|
70382
71300
|
* * **IpsecConfig.IpsecEncAlg:** the encryption algorithm that is used in Phase 2 negotiations. Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
|
|
70383
71301
|
* * **IpsecConfig. IpsecAuthAlg:** the authentication algorithm that is used in Phase 2 negotiations. Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
|
|
70384
|
-
* * **IpsecConfig. IpsecPfs:** the
|
|
70385
|
-
* * **
|
|
71302
|
+
* * **IpsecConfig. IpsecPfs:** the Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
|
|
71303
|
+
* * **IkeConfig.IkeLifetime**: the SA lifetime determined by Phase 2 negotiations. Unit: seconds. Valid values: **0** to **86400**.
|
|
70386
71304
|
*
|
|
70387
71305
|
* @example
|
|
70388
71306
|
* {"IpsecEncAlg":"aes","IpsecAuthAlg":"sha1","IpsecPfs":"group2","IpsecLifetime":86400}
|
|
@@ -70463,6 +71381,11 @@ export declare class ModifyVpnAttachmentAttributeRequest extends $dara.Model {
|
|
|
70463
71381
|
resourceOwnerAccount?: string;
|
|
70464
71382
|
resourceOwnerId?: number;
|
|
70465
71383
|
/**
|
|
71384
|
+
* @remarks
|
|
71385
|
+
* The tunnel configurations.
|
|
71386
|
+
*
|
|
71387
|
+
* 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 the two tunnels of the IPsec-VPN connection.
|
|
71388
|
+
*
|
|
70466
71389
|
* **if can be null:**
|
|
70467
71390
|
* true
|
|
70468
71391
|
*/
|
|
@@ -70523,6 +71446,8 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70523
71446
|
* @remarks
|
|
70524
71447
|
* The ID of the customer gateway associated with the IPsec-VPN connection.
|
|
70525
71448
|
*
|
|
71449
|
+
* This parameter is returned only for single-tunnel IPsec-VPN connections.
|
|
71450
|
+
*
|
|
70526
71451
|
* @example
|
|
70527
71452
|
* cgw-p0w2jemrcj5u61un8****
|
|
70528
71453
|
*/
|
|
@@ -70548,10 +71473,12 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70548
71473
|
effectImmediately?: boolean;
|
|
70549
71474
|
/**
|
|
70550
71475
|
* @remarks
|
|
70551
|
-
* Indicates whether the DPD feature is enabled for the IPsec-VPN connection.
|
|
71476
|
+
* Indicates whether the DPD feature is enabled for the IPsec-VPN connection.
|
|
70552
71477
|
*
|
|
70553
|
-
* * **true
|
|
70554
|
-
* * **false
|
|
71478
|
+
* * **true**: The feature is enabled.
|
|
71479
|
+
* * **false**: The feature is disabled.
|
|
71480
|
+
*
|
|
71481
|
+
* This parameter is returned only for single-tunnel IPsec-VPN connections.
|
|
70555
71482
|
*
|
|
70556
71483
|
* @example
|
|
70557
71484
|
* true
|
|
@@ -70559,29 +71486,47 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70559
71486
|
enableDpd?: boolean;
|
|
70560
71487
|
/**
|
|
70561
71488
|
* @remarks
|
|
70562
|
-
*
|
|
71489
|
+
* Specifies whether to enable NAT traversal for the IPsec-VPN connection.
|
|
70563
71490
|
*
|
|
70564
|
-
* * **true
|
|
70565
|
-
* * **false
|
|
71491
|
+
* * **true**: The feature is enabled.
|
|
71492
|
+
* * **false**: The feature is disabled.
|
|
71493
|
+
*
|
|
71494
|
+
* This parameter is returned only for single-tunnel IPsec-VPN connections.
|
|
70566
71495
|
*
|
|
70567
71496
|
* @example
|
|
70568
71497
|
* true
|
|
70569
71498
|
*/
|
|
70570
71499
|
enableNatTraversal?: boolean;
|
|
71500
|
+
/**
|
|
71501
|
+
* @remarks
|
|
71502
|
+
* Specifies whether to enable Border Gateway Protocol (BGP) for tunnels.
|
|
71503
|
+
*
|
|
71504
|
+
* * **true**: The feature is enabled.
|
|
71505
|
+
* * **false**: The feature is disabled.
|
|
71506
|
+
*
|
|
71507
|
+
* This parameter is returned only by dual-tunnel IPsec-VPN connections.
|
|
71508
|
+
*
|
|
71509
|
+
* @example
|
|
71510
|
+
* false
|
|
71511
|
+
*/
|
|
70571
71512
|
enableTunnelsBgp?: boolean;
|
|
70572
71513
|
/**
|
|
70573
71514
|
* @remarks
|
|
70574
71515
|
* The configuration of Phase 1 negotiations.
|
|
71516
|
+
*
|
|
71517
|
+
* **IkeConfig** parameters are returned only for single-tunnel IPsec-VPN connections.
|
|
70575
71518
|
*/
|
|
70576
71519
|
ikeConfig?: ModifyVpnAttachmentAttributeResponseBodyIkeConfig;
|
|
70577
71520
|
/**
|
|
70578
71521
|
* @remarks
|
|
70579
71522
|
* The configuration of Phase 2 negotiations.
|
|
71523
|
+
*
|
|
71524
|
+
* **IpsecConfig** parameters are returned only for single-tunnel IPsec-VPN connections.
|
|
70580
71525
|
*/
|
|
70581
71526
|
ipsecConfig?: ModifyVpnAttachmentAttributeResponseBodyIpsecConfig;
|
|
70582
71527
|
/**
|
|
70583
71528
|
* @remarks
|
|
70584
|
-
* The CIDR block
|
|
71529
|
+
* The CIDR block on the Alibaba Cloud side that communicates with the on-premises data center is required, such as CIDR blocks of VPCs.
|
|
70585
71530
|
*
|
|
70586
71531
|
* @example
|
|
70587
71532
|
* 10.1.1.0/24,10.1.2.0/24
|
|
@@ -70608,7 +71553,7 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70608
71553
|
networkType?: string;
|
|
70609
71554
|
/**
|
|
70610
71555
|
* @remarks
|
|
70611
|
-
* The CIDR block of the data center with
|
|
71556
|
+
* The CIDR block of the on-premises data center that communicates with Alibaba Cloud is required.
|
|
70612
71557
|
*
|
|
70613
71558
|
* @example
|
|
70614
71559
|
* 10.1.3.0/24,10.1.4.0/24
|
|
@@ -70655,15 +71600,25 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70655
71600
|
* ike_sa_not_established
|
|
70656
71601
|
*/
|
|
70657
71602
|
status?: string;
|
|
71603
|
+
/**
|
|
71604
|
+
* @remarks
|
|
71605
|
+
* The tunnel configurations of the IPsec-VPN connection.
|
|
71606
|
+
*
|
|
71607
|
+
* **TunnelOptionsSpecification** parameters are returned only for dual-tunnel IPsec-VPN connections.
|
|
71608
|
+
*/
|
|
70658
71609
|
tunnelOptionsSpecification?: ModifyVpnAttachmentAttributeResponseBodyTunnelOptionsSpecification[];
|
|
70659
71610
|
/**
|
|
70660
71611
|
* @remarks
|
|
70661
|
-
* The health check
|
|
71612
|
+
* The health check configurations of the IPsec-VPN connection.
|
|
71613
|
+
*
|
|
71614
|
+
* **VcoHealthCheck** parameters are returned only for single-tunnel IPsec-VPC connections.
|
|
70662
71615
|
*/
|
|
70663
71616
|
vcoHealthCheck?: ModifyVpnAttachmentAttributeResponseBodyVcoHealthCheck;
|
|
70664
71617
|
/**
|
|
70665
71618
|
* @remarks
|
|
70666
|
-
* The BGP
|
|
71619
|
+
* The BGP configurations of the IPsec-VPN connection.
|
|
71620
|
+
*
|
|
71621
|
+
* **VpnBgpConfig** parameters are returned only for single-tunnel IPsec-VPN connections.
|
|
70667
71622
|
*/
|
|
70668
71623
|
vpnBgpConfig?: ModifyVpnAttachmentAttributeResponseBodyVpnBgpConfig;
|
|
70669
71624
|
/**
|
|
@@ -70676,7 +71631,9 @@ export declare class ModifyVpnAttachmentAttributeResponseBody extends $dara.Mode
|
|
|
70676
71631
|
vpnConnectionId?: string;
|
|
70677
71632
|
/**
|
|
70678
71633
|
* @remarks
|
|
70679
|
-
* The ID of the VPN gateway associated with the IPsec-VPN connection.
|
|
71634
|
+
* The ID of the VPN gateway that is associated with the IPsec-VPN connection.
|
|
71635
|
+
*
|
|
71636
|
+
* **vpn-not-exist**: The IPsec-VPN connection is not associated with a VPN Gateway.
|
|
70680
71637
|
*
|
|
70681
71638
|
* @example
|
|
70682
71639
|
* vpn-p0wa1c1018pmeb6cu****
|
|
@@ -70839,9 +71796,7 @@ export declare class ModifyVpnConnectionAttributeRequest extends $dara.Model {
|
|
|
70839
71796
|
* * 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: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
|
|
70840
71797
|
* * 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.
|
|
70841
71798
|
*
|
|
70842
|
-
*
|
|
70843
|
-
*
|
|
70844
|
-
* **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.
|
|
71799
|
+
* > 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.
|
|
70845
71800
|
*
|
|
70846
71801
|
* * **IkeConfig.IkeVersion**: the version of the Internet Key Exchange (IKE) protocol. Valid values: **ikev1** and **ikev2**.
|
|
70847
71802
|
*
|
|
@@ -71219,9 +72174,9 @@ export declare class ModifyVpnGatewayAttributeRequest extends $dara.Model {
|
|
|
71219
72174
|
clientToken?: string;
|
|
71220
72175
|
/**
|
|
71221
72176
|
* @remarks
|
|
71222
|
-
* The new description of the VPN
|
|
72177
|
+
* The new description of the VPN connection.
|
|
71223
72178
|
*
|
|
71224
|
-
* The description must be 1 to 100 characters in length
|
|
72179
|
+
* The description must be 1 to 100 characters in length.
|
|
71225
72180
|
*
|
|
71226
72181
|
* @example
|
|
71227
72182
|
* test
|
|
@@ -71370,7 +72325,7 @@ export declare class ModifyVpnGatewayAttributeResponseBody extends $dara.Model {
|
|
|
71370
72325
|
* @remarks
|
|
71371
72326
|
* The IP address of the VPN gateway.
|
|
71372
72327
|
*
|
|
71373
|
-
* This parameter is returned only
|
|
72328
|
+
* This parameter is returned only if the VPN gateway supports IPsec-VPN connections in single-tunnel mode.
|
|
71374
72329
|
*
|
|
71375
72330
|
* @example
|
|
71376
72331
|
* 172.27.30.24
|
|
@@ -71393,11 +72348,6 @@ export declare class ModifyVpnGatewayAttributeResponseBody extends $dara.Model {
|
|
|
71393
72348
|
*/
|
|
71394
72349
|
requestId?: string;
|
|
71395
72350
|
/**
|
|
71396
|
-
* @remarks
|
|
71397
|
-
* VPN网关实例所属的资源组ID。
|
|
71398
|
-
*
|
|
71399
|
-
* 您可以调用[ListResourceGroups](https://help.aliyun.com/document_detail/158855.html)接口查询资源组信息。
|
|
71400
|
-
*
|
|
71401
72351
|
* @example
|
|
71402
72352
|
* rg-acfmzs372yg****
|
|
71403
72353
|
*/
|
|
@@ -76614,11 +77564,11 @@ export declare class UpdateIpsecServerRequest extends $dara.Model {
|
|
|
76614
77564
|
* @remarks
|
|
76615
77565
|
* The pre-shared key.
|
|
76616
77566
|
*
|
|
76617
|
-
* The pre-shared key that is used for authentication between the IPsec
|
|
77567
|
+
* The pre-shared key that is used for authentication between the IPsec server and the client. The key must be 1 to 100 characters in length.
|
|
76618
77568
|
*
|
|
76619
77569
|
* You can call [ListIpsecServers](https://help.aliyun.com/document_detail/2794120.html) to query keys generated by the system.
|
|
76620
77570
|
*
|
|
76621
|
-
* >
|
|
77571
|
+
* > The pre-shared key of the IPsec server key must be the same as that of the client. Otherwise, the connection between the IPsec server and the client cannot be established.
|
|
76622
77572
|
*
|
|
76623
77573
|
* @example
|
|
76624
77574
|
* Cfd123****
|
|
@@ -78527,7 +79477,8 @@ export default class Client extends OpenApi {
|
|
|
78527
79477
|
* Default IPv6 gateways support only private communication. You can call the AllocateIpv6InternetBandwidth operation to purchase Internet bandwidth resources for an IPv6 address. This way, ECS instances in a VPC can access the Internet through the IPv6 address. IPv6 clients can also access the ECS instances over the Internet.
|
|
78528
79478
|
*
|
|
78529
79479
|
* @remarks
|
|
78530
|
-
*
|
|
79480
|
+
* Before you call this operation, make sure that an ECS instance that supports IPv6 is created in a VPC that has an IPv6 CIDR block. For more information, see [Create a VPC with an IPv6 CIDR block](https://help.aliyun.com/document_detail/100540.html).
|
|
79481
|
+
* * You cannot repeatedly call **AllocateIpv6InternetBandwidth** within the specified period of time.
|
|
78531
79482
|
*
|
|
78532
79483
|
* @param request - AllocateIpv6InternetBandwidthRequest
|
|
78533
79484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -78538,7 +79489,8 @@ export default class Client extends OpenApi {
|
|
|
78538
79489
|
* Default IPv6 gateways support only private communication. You can call the AllocateIpv6InternetBandwidth operation to purchase Internet bandwidth resources for an IPv6 address. This way, ECS instances in a VPC can access the Internet through the IPv6 address. IPv6 clients can also access the ECS instances over the Internet.
|
|
78539
79490
|
*
|
|
78540
79491
|
* @remarks
|
|
78541
|
-
*
|
|
79492
|
+
* Before you call this operation, make sure that an ECS instance that supports IPv6 is created in a VPC that has an IPv6 CIDR block. For more information, see [Create a VPC with an IPv6 CIDR block](https://help.aliyun.com/document_detail/100540.html).
|
|
79493
|
+
* * You cannot repeatedly call **AllocateIpv6InternetBandwidth** within the specified period of time.
|
|
78542
79494
|
*
|
|
78543
79495
|
* @param request - AllocateIpv6InternetBandwidthRequest
|
|
78544
79496
|
* @returns AllocateIpv6InternetBandwidthResponse
|
|
@@ -80555,9 +81507,12 @@ export default class Client extends OpenApi {
|
|
|
80555
81507
|
* Creates an IPsec-VPN connection. After you create the IPsec-VPN connection, you can associate the IPsec-VPN connection with a transit router.
|
|
80556
81508
|
*
|
|
80557
81509
|
* @remarks
|
|
80558
|
-
*
|
|
81510
|
+
* By default, the IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not bound to any resources. You can call the [CreateTransitRouterVpnAttachment](https://help.aliyun.com/document_detail/443993.html) operation to bind the IPsec-VPN connection to a transit router.
|
|
81511
|
+
* * If you want to associate an IPsec-VPN connection with a transit router, you can create a dual-tunnel connection in some regions. For more information, see [Dual-tunnel IPsec-VPN connections](https://help.aliyun.com/document_detail/2853535.html).
|
|
81512
|
+
* * When you create a IPsec-VPN connection in dual tunnel mode, you can configure the following request parameters in addition to the required parameters: **ClientToken**, **Name**, **NetworkType**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **ResourceGroupId**, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
81513
|
+
* * When you create a IPsec-VPN connection in single tunnel mode, you can configure the following request parameters in addition to the required parameters: **ClientToken**, **CustomerGatewayId**, **NetworkType**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **Tags** array, and **ResourceGroupId**.
|
|
80559
81514
|
* ### [](#)Prerequisites
|
|
80560
|
-
* Before you create an IPsec-VPN connection,
|
|
81515
|
+
* Before you create an IPsec-VPN connection, you must create a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](https://help.aliyun.com/document_detail/120368.html).
|
|
80561
81516
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
80562
81517
|
*
|
|
80563
81518
|
* @param request - CreateVpnAttachmentRequest
|
|
@@ -80569,9 +81524,12 @@ export default class Client extends OpenApi {
|
|
|
80569
81524
|
* Creates an IPsec-VPN connection. After you create the IPsec-VPN connection, you can associate the IPsec-VPN connection with a transit router.
|
|
80570
81525
|
*
|
|
80571
81526
|
* @remarks
|
|
80572
|
-
*
|
|
81527
|
+
* By default, the IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not bound to any resources. You can call the [CreateTransitRouterVpnAttachment](https://help.aliyun.com/document_detail/443993.html) operation to bind the IPsec-VPN connection to a transit router.
|
|
81528
|
+
* * If you want to associate an IPsec-VPN connection with a transit router, you can create a dual-tunnel connection in some regions. For more information, see [Dual-tunnel IPsec-VPN connections](https://help.aliyun.com/document_detail/2853535.html).
|
|
81529
|
+
* * When you create a IPsec-VPN connection in dual tunnel mode, you can configure the following request parameters in addition to the required parameters: **ClientToken**, **Name**, **NetworkType**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **ResourceGroupId**, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
81530
|
+
* * When you create a IPsec-VPN connection in single tunnel mode, you can configure the following request parameters in addition to the required parameters: **ClientToken**, **CustomerGatewayId**, **NetworkType**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **Tags** array, and **ResourceGroupId**.
|
|
80573
81531
|
* ### [](#)Prerequisites
|
|
80574
|
-
* Before you create an IPsec-VPN connection,
|
|
81532
|
+
* Before you create an IPsec-VPN connection, you must create a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](https://help.aliyun.com/document_detail/120368.html).
|
|
80575
81533
|
* If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
|
|
80576
81534
|
*
|
|
80577
81535
|
* @param request - CreateVpnAttachmentRequest
|
|
@@ -81133,9 +82091,9 @@ export default class Client extends OpenApi {
|
|
|
81133
82091
|
*
|
|
81134
82092
|
* @remarks
|
|
81135
82093
|
* **DeleteIpsecServer** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
81136
|
-
* * If
|
|
81137
|
-
* * If
|
|
81138
|
-
* * You cannot
|
|
82094
|
+
* * If the VPN gateway is in the **updating** state, the IPsec server is being deleted.
|
|
82095
|
+
* * If the VPN gateway is in the **active** state, the IPsec server is deleted.
|
|
82096
|
+
* * You cannot call **DeleteIpsecServer** within the specified period of time.
|
|
81139
82097
|
*
|
|
81140
82098
|
* @param request - DeleteIpsecServerRequest
|
|
81141
82099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -81147,9 +82105,9 @@ export default class Client extends OpenApi {
|
|
|
81147
82105
|
*
|
|
81148
82106
|
* @remarks
|
|
81149
82107
|
* **DeleteIpsecServer** 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 [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
81150
|
-
* * If
|
|
81151
|
-
* * If
|
|
81152
|
-
* * You cannot
|
|
82108
|
+
* * If the VPN gateway is in the **updating** state, the IPsec server is being deleted.
|
|
82109
|
+
* * If the VPN gateway is in the **active** state, the IPsec server is deleted.
|
|
82110
|
+
* * You cannot call **DeleteIpsecServer** within the specified period of time.
|
|
81153
82111
|
*
|
|
81154
82112
|
* @param request - DeleteIpsecServerRequest
|
|
81155
82113
|
* @returns DeleteIpsecServerResponse
|
|
@@ -82552,7 +83510,7 @@ export default class Client extends OpenApi {
|
|
|
82552
83510
|
*/
|
|
82553
83511
|
describeIpv6Addresses(request: DescribeIpv6AddressesRequest): Promise<DescribeIpv6AddressesResponse>;
|
|
82554
83512
|
/**
|
|
82555
|
-
*
|
|
83513
|
+
* Queries egress-only rules.
|
|
82556
83514
|
*
|
|
82557
83515
|
* @param request - DescribeIpv6EgressOnlyRulesRequest
|
|
82558
83516
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -82560,7 +83518,7 @@ export default class Client extends OpenApi {
|
|
|
82560
83518
|
*/
|
|
82561
83519
|
describeIpv6EgressOnlyRulesWithOptions(request: DescribeIpv6EgressOnlyRulesRequest, runtime: $dara.RuntimeOptions): Promise<DescribeIpv6EgressOnlyRulesResponse>;
|
|
82562
83520
|
/**
|
|
82563
|
-
*
|
|
83521
|
+
* Queries egress-only rules.
|
|
82564
83522
|
*
|
|
82565
83523
|
* @param request - DescribeIpv6EgressOnlyRulesRequest
|
|
82566
83524
|
* @returns DescribeIpv6EgressOnlyRulesResponse
|
|
@@ -83266,12 +84224,16 @@ export default class Client extends OpenApi {
|
|
|
83266
84224
|
*/
|
|
83267
84225
|
describeVpnRouteEntries(request: DescribeVpnRouteEntriesRequest): Promise<DescribeVpnRouteEntriesResponse>;
|
|
83268
84226
|
/**
|
|
84227
|
+
* Queries the log entries of an SSL server.
|
|
84228
|
+
*
|
|
83269
84229
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
83270
84230
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
83271
84231
|
* @returns DescribeVpnSslServerLogsResponse
|
|
83272
84232
|
*/
|
|
83273
84233
|
describeVpnSslServerLogsWithOptions(request: DescribeVpnSslServerLogsRequest, runtime: $dara.RuntimeOptions): Promise<DescribeVpnSslServerLogsResponse>;
|
|
83274
84234
|
/**
|
|
84235
|
+
* Queries the log entries of an SSL server.
|
|
84236
|
+
*
|
|
83275
84237
|
* @param request - DescribeVpnSslServerLogsRequest
|
|
83276
84238
|
* @returns DescribeVpnSslServerLogsResponse
|
|
83277
84239
|
*/
|
|
@@ -83349,7 +84311,7 @@ export default class Client extends OpenApi {
|
|
|
83349
84311
|
* Diagnoses a VPN gateway.
|
|
83350
84312
|
*
|
|
83351
84313
|
* @remarks
|
|
83352
|
-
*
|
|
84314
|
+
* VPN网关发起诊断
|
|
83353
84315
|
*
|
|
83354
84316
|
* @param request - DiagnoseVpnGatewayRequest
|
|
83355
84317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -83360,7 +84322,7 @@ export default class Client extends OpenApi {
|
|
|
83360
84322
|
* Diagnoses a VPN gateway.
|
|
83361
84323
|
*
|
|
83362
84324
|
* @remarks
|
|
83363
|
-
*
|
|
84325
|
+
* VPN网关发起诊断
|
|
83364
84326
|
*
|
|
83365
84327
|
* @param request - DiagnoseVpnGatewayRequest
|
|
83366
84328
|
* @returns DiagnoseVpnGatewayResponse
|
|
@@ -83920,12 +84882,16 @@ export default class Client extends OpenApi {
|
|
|
83920
84882
|
*/
|
|
83921
84883
|
listGeographicSubRegions(): Promise<ListGeographicSubRegionsResponse>;
|
|
83922
84884
|
/**
|
|
84885
|
+
* Queries the logs of an IPsec server.
|
|
84886
|
+
*
|
|
83923
84887
|
* @param request - ListIpsecServerLogsRequest
|
|
83924
84888
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
83925
84889
|
* @returns ListIpsecServerLogsResponse
|
|
83926
84890
|
*/
|
|
83927
84891
|
listIpsecServerLogsWithOptions(request: ListIpsecServerLogsRequest, runtime: $dara.RuntimeOptions): Promise<ListIpsecServerLogsResponse>;
|
|
83928
84892
|
/**
|
|
84893
|
+
* Queries the logs of an IPsec server.
|
|
84894
|
+
*
|
|
83929
84895
|
* @param request - ListIpsecServerLogsRequest
|
|
83930
84896
|
* @returns ListIpsecServerLogsResponse
|
|
83931
84897
|
*/
|
|
@@ -85222,13 +86188,13 @@ export default class Client extends OpenApi {
|
|
|
85222
86188
|
* Modifies the configuration of an IPsec-VPN connection.
|
|
85223
86189
|
*
|
|
85224
86190
|
* @remarks
|
|
85225
|
-
*
|
|
85226
|
-
*
|
|
85227
|
-
*
|
|
85228
|
-
*
|
|
85229
|
-
*
|
|
85230
|
-
*
|
|
85231
|
-
*
|
|
86191
|
+
* When you modify a IPsec-VPN connection in dual-tunnel mode, you can configure the following parameters in addition to the required request parameters: **ClientToken**, **Name**, **LocalSubnet**, **RemoteSubnet**, **EffectImmediately**, **AutoConfigRoute**, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
86192
|
+
* * When you modify a IPsec-VPN connection in single tunnel mode, you can configure the following parameters in addition to the required request parameters: **ClientToken**, **Name**, **LocalSubnet**, **RemoteSubnet**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, and **CustomerGatewayId**.
|
|
86193
|
+
* * **ModifyVpnAttachmentAttribute** 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 [DescribeVpnConnection](https://help.aliyun.com/document_detail/53046.html) operation to query the status of the task:
|
|
86194
|
+
* * If the IPsec-VPN connection is in the **updating** state, the IPsec-VPN connection is being modified.
|
|
86195
|
+
* * If the IPsec-VPN connection is in the **attached** state, the IPsec-VPN connection is modified.
|
|
86196
|
+
* * You cannot concurrently call **ModifyVpnAttachmentAttribute** within the specified period of time.
|
|
86197
|
+
* * You cannot call **ModifyVpnAttachmentAttribute** to modify the gateway type of an IPsec-VPN connection.
|
|
85232
86198
|
*
|
|
85233
86199
|
* @param request - ModifyVpnAttachmentAttributeRequest
|
|
85234
86200
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -85239,13 +86205,13 @@ export default class Client extends OpenApi {
|
|
|
85239
86205
|
* Modifies the configuration of an IPsec-VPN connection.
|
|
85240
86206
|
*
|
|
85241
86207
|
* @remarks
|
|
85242
|
-
*
|
|
85243
|
-
*
|
|
85244
|
-
*
|
|
85245
|
-
*
|
|
85246
|
-
*
|
|
85247
|
-
*
|
|
85248
|
-
*
|
|
86208
|
+
* When you modify a IPsec-VPN connection in dual-tunnel mode, you can configure the following parameters in addition to the required request parameters: **ClientToken**, **Name**, **LocalSubnet**, **RemoteSubnet**, **EffectImmediately**, **AutoConfigRoute**, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
|
|
86209
|
+
* * When you modify a IPsec-VPN connection in single tunnel mode, you can configure the following parameters in addition to the required request parameters: **ClientToken**, **Name**, **LocalSubnet**, **RemoteSubnet**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, and **CustomerGatewayId**.
|
|
86210
|
+
* * **ModifyVpnAttachmentAttribute** 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 [DescribeVpnConnection](https://help.aliyun.com/document_detail/53046.html) operation to query the status of the task:
|
|
86211
|
+
* * If the IPsec-VPN connection is in the **updating** state, the IPsec-VPN connection is being modified.
|
|
86212
|
+
* * If the IPsec-VPN connection is in the **attached** state, the IPsec-VPN connection is modified.
|
|
86213
|
+
* * You cannot concurrently call **ModifyVpnAttachmentAttribute** within the specified period of time.
|
|
86214
|
+
* * You cannot call **ModifyVpnAttachmentAttribute** to modify the gateway type of an IPsec-VPN connection.
|
|
85249
86215
|
*
|
|
85250
86216
|
* @param request - ModifyVpnAttachmentAttributeRequest
|
|
85251
86217
|
* @returns ModifyVpnAttachmentAttributeResponse
|
|
@@ -86317,11 +87283,11 @@ export default class Client extends OpenApi {
|
|
|
86317
87283
|
* Modifies the configuration of an IPsec server.
|
|
86318
87284
|
*
|
|
86319
87285
|
* @remarks
|
|
86320
|
-
* If you modify only
|
|
86321
|
-
* *
|
|
86322
|
-
* * If the VPN gateway is in the **updating** state, the
|
|
86323
|
-
* * If the VPN gateway is in the **active** state, the
|
|
86324
|
-
* * You cannot repeatedly call
|
|
87286
|
+
* If you modify only **IpsecServerName** of the IPsec server, this operation is synchronous. If you modify other parameters besides **IpsecServerName**, this operation is asynchronous.
|
|
87287
|
+
* * If **UpdateIpsecServer** 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.
|
|
87288
|
+
* * If the VPN gateway is in the **updating** state, the IPsec server is being modified.
|
|
87289
|
+
* * If the VPN gateway is in the **active** state, the IPsec server is modified.
|
|
87290
|
+
* * You cannot repeatedly call **UpdateIpsecServer** within the specified period of time.
|
|
86325
87291
|
*
|
|
86326
87292
|
* @param request - UpdateIpsecServerRequest
|
|
86327
87293
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -86332,11 +87298,11 @@ export default class Client extends OpenApi {
|
|
|
86332
87298
|
* Modifies the configuration of an IPsec server.
|
|
86333
87299
|
*
|
|
86334
87300
|
* @remarks
|
|
86335
|
-
* If you modify only
|
|
86336
|
-
* *
|
|
86337
|
-
* * If the VPN gateway is in the **updating** state, the
|
|
86338
|
-
* * If the VPN gateway is in the **active** state, the
|
|
86339
|
-
* * You cannot repeatedly call
|
|
87301
|
+
* If you modify only **IpsecServerName** of the IPsec server, this operation is synchronous. If you modify other parameters besides **IpsecServerName**, this operation is asynchronous.
|
|
87302
|
+
* * If **UpdateIpsecServer** 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.
|
|
87303
|
+
* * If the VPN gateway is in the **updating** state, the IPsec server is being modified.
|
|
87304
|
+
* * If the VPN gateway is in the **active** state, the IPsec server is modified.
|
|
87305
|
+
* * You cannot repeatedly call **UpdateIpsecServer** within the specified period of time.
|
|
86340
87306
|
*
|
|
86341
87307
|
* @param request - UpdateIpsecServerRequest
|
|
86342
87308
|
* @returns UpdateIpsecServerResponse
|