@alicloud/vpc20160428 5.0.0 → 5.0.2
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 +10 -14
- package/dist/client.js +25 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -14
package/dist/client.d.ts
CHANGED
|
@@ -1622,9 +1622,12 @@ export declare class CheckVpnBgpEnabledResponse extends $tea.Model {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
export declare class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
1624
1624
|
clientToken?: string;
|
|
1625
|
+
finishWork?: boolean;
|
|
1625
1626
|
instanceId?: string;
|
|
1626
1627
|
lineCode?: string;
|
|
1627
1628
|
lineLabel?: string;
|
|
1629
|
+
lineSPContactInfo?: string;
|
|
1630
|
+
lineServiceProvider?: string;
|
|
1628
1631
|
ownerAccount?: string;
|
|
1629
1632
|
ownerId?: number;
|
|
1630
1633
|
regionId?: string;
|
|
@@ -13044,6 +13047,7 @@ export declare class ListVpcEndpointServicesByEndUserResponseBody extends $tea.M
|
|
|
13044
13047
|
nextToken?: string;
|
|
13045
13048
|
requestId?: string;
|
|
13046
13049
|
services?: ListVpcEndpointServicesByEndUserResponseBodyServices[];
|
|
13050
|
+
totalCount?: string;
|
|
13047
13051
|
static names(): {
|
|
13048
13052
|
[key: string]: string;
|
|
13049
13053
|
};
|
|
@@ -20615,6 +20619,8 @@ export declare class DescribePhysicalConnectionLOAResponseBodyPhysicalConnection
|
|
|
20615
20619
|
instanceId?: string;
|
|
20616
20620
|
lineCode?: string;
|
|
20617
20621
|
lineLabel?: string;
|
|
20622
|
+
lineSPContactInfo?: string;
|
|
20623
|
+
lineServiceProvider?: string;
|
|
20618
20624
|
lineType?: string;
|
|
20619
20625
|
loaUrl?: string;
|
|
20620
20626
|
PMInfo?: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo;
|
|
@@ -25007,7 +25013,6 @@ export default class Client extends OpenApi {
|
|
|
25007
25013
|
*/
|
|
25008
25014
|
associateVpcCidrBlock(request: AssociateVpcCidrBlockRequest): Promise<AssociateVpcCidrBlockResponse>;
|
|
25009
25015
|
/**
|
|
25010
|
-
* ## Usage notes
|
|
25011
25016
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
25012
25017
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
25013
25018
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -25026,7 +25031,6 @@ export default class Client extends OpenApi {
|
|
|
25026
25031
|
*/
|
|
25027
25032
|
associateVpnGatewayWithCertificateWithOptions(request: AssociateVpnGatewayWithCertificateRequest, runtime: $Util.RuntimeOptions): Promise<AssociateVpnGatewayWithCertificateResponse>;
|
|
25028
25033
|
/**
|
|
25029
|
-
* ## Usage notes
|
|
25030
25034
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
25031
25035
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
25032
25036
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -25961,7 +25965,7 @@ export default class Client extends OpenApi {
|
|
|
25961
25965
|
createVbrHa(request: CreateVbrHaRequest): Promise<CreateVbrHaResponse>;
|
|
25962
25966
|
/**
|
|
25963
25967
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
25964
|
-
* *
|
|
25968
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
25965
25969
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
25966
25970
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
25967
25971
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -25974,7 +25978,7 @@ export default class Client extends OpenApi {
|
|
|
25974
25978
|
createVcoRouteEntryWithOptions(request: CreateVcoRouteEntryRequest, runtime: $Util.RuntimeOptions): Promise<CreateVcoRouteEntryResponse>;
|
|
25975
25979
|
/**
|
|
25976
25980
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
25977
|
-
* *
|
|
25981
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
25978
25982
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
25979
25983
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
25980
25984
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -26109,9 +26113,8 @@ export default class Client extends OpenApi {
|
|
|
26109
26113
|
*/
|
|
26110
26114
|
createVpconnFromVbr(request: CreateVpconnFromVbrRequest): Promise<CreateVpconnFromVbrResponse>;
|
|
26111
26115
|
/**
|
|
26112
|
-
* # Usage notes
|
|
26113
26116
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
26114
|
-
*
|
|
26117
|
+
* ### Prerequisites
|
|
26115
26118
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
26116
26119
|
* 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.
|
|
26117
26120
|
*
|
|
@@ -26121,9 +26124,8 @@ export default class Client extends OpenApi {
|
|
|
26121
26124
|
*/
|
|
26122
26125
|
createVpnAttachmentWithOptions(request: CreateVpnAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnAttachmentResponse>;
|
|
26123
26126
|
/**
|
|
26124
|
-
* # Usage notes
|
|
26125
26127
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
26126
|
-
*
|
|
26128
|
+
* ### Prerequisites
|
|
26127
26129
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
26128
26130
|
* 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.
|
|
26129
26131
|
*
|
|
@@ -26132,7 +26134,6 @@ export default class Client extends OpenApi {
|
|
|
26132
26134
|
*/
|
|
26133
26135
|
createVpnAttachment(request: CreateVpnAttachmentRequest): Promise<CreateVpnAttachmentResponse>;
|
|
26134
26136
|
/**
|
|
26135
|
-
* # Usage notes
|
|
26136
26137
|
* * **CreateVpnConnection** 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](~~73720~~) to query the status of the task.
|
|
26137
26138
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
26138
26139
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -26144,7 +26145,6 @@ export default class Client extends OpenApi {
|
|
|
26144
26145
|
*/
|
|
26145
26146
|
createVpnConnectionWithOptions(request: CreateVpnConnectionRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnConnectionResponse>;
|
|
26146
26147
|
/**
|
|
26147
|
-
* # Usage notes
|
|
26148
26148
|
* * **CreateVpnConnection** 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](~~73720~~) to query the status of the task.
|
|
26149
26149
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
26150
26150
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -27488,7 +27488,6 @@ export default class Client extends OpenApi {
|
|
|
27488
27488
|
dissociateRouteTablesFromVpcGatewayEndpointWithOptions(request: DissociateRouteTablesFromVpcGatewayEndpointRequest, runtime: $Util.RuntimeOptions): Promise<DissociateRouteTablesFromVpcGatewayEndpointResponse>;
|
|
27489
27489
|
dissociateRouteTablesFromVpcGatewayEndpoint(request: DissociateRouteTablesFromVpcGatewayEndpointRequest): Promise<DissociateRouteTablesFromVpcGatewayEndpointResponse>;
|
|
27490
27490
|
/**
|
|
27491
|
-
* ## Usage notes
|
|
27492
27491
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
27493
27492
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
27494
27493
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -27500,7 +27499,6 @@ export default class Client extends OpenApi {
|
|
|
27500
27499
|
*/
|
|
27501
27500
|
dissociateVpnGatewayWithCertificateWithOptions(request: DissociateVpnGatewayWithCertificateRequest, runtime: $Util.RuntimeOptions): Promise<DissociateVpnGatewayWithCertificateResponse>;
|
|
27502
27501
|
/**
|
|
27503
|
-
* ## Usage notes
|
|
27504
27502
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
27505
27503
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
27506
27504
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -27749,7 +27747,6 @@ export default class Client extends OpenApi {
|
|
|
27749
27747
|
listVpcGatewayEndpointsWithOptions(request: ListVpcGatewayEndpointsRequest, runtime: $Util.RuntimeOptions): Promise<ListVpcGatewayEndpointsResponse>;
|
|
27750
27748
|
listVpcGatewayEndpoints(request: ListVpcGatewayEndpointsRequest): Promise<ListVpcGatewayEndpointsResponse>;
|
|
27751
27749
|
/**
|
|
27752
|
-
* ## Usage notes
|
|
27753
27750
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
27754
27751
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
27755
27752
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|
|
@@ -27762,7 +27759,6 @@ export default class Client extends OpenApi {
|
|
|
27762
27759
|
*/
|
|
27763
27760
|
listVpnCertificateAssociationsWithOptions(request: ListVpnCertificateAssociationsRequest, runtime: $Util.RuntimeOptions): Promise<ListVpnCertificateAssociationsResponse>;
|
|
27764
27761
|
/**
|
|
27765
|
-
* ## Usage notes
|
|
27766
27762
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
27767
27763
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
27768
27764
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|
package/dist/client.js
CHANGED
|
@@ -2334,9 +2334,12 @@ class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
2334
2334
|
static names() {
|
|
2335
2335
|
return {
|
|
2336
2336
|
clientToken: 'ClientToken',
|
|
2337
|
+
finishWork: 'FinishWork',
|
|
2337
2338
|
instanceId: 'InstanceId',
|
|
2338
2339
|
lineCode: 'LineCode',
|
|
2339
2340
|
lineLabel: 'LineLabel',
|
|
2341
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
2342
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
2340
2343
|
ownerAccount: 'OwnerAccount',
|
|
2341
2344
|
ownerId: 'OwnerId',
|
|
2342
2345
|
regionId: 'RegionId',
|
|
@@ -2347,9 +2350,12 @@ class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
2347
2350
|
static types() {
|
|
2348
2351
|
return {
|
|
2349
2352
|
clientToken: 'string',
|
|
2353
|
+
finishWork: 'boolean',
|
|
2350
2354
|
instanceId: 'string',
|
|
2351
2355
|
lineCode: 'string',
|
|
2352
2356
|
lineLabel: 'string',
|
|
2357
|
+
lineSPContactInfo: 'string',
|
|
2358
|
+
lineServiceProvider: 'string',
|
|
2353
2359
|
ownerAccount: 'string',
|
|
2354
2360
|
ownerId: 'number',
|
|
2355
2361
|
regionId: 'string',
|
|
@@ -19035,6 +19041,7 @@ class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
19035
19041
|
nextToken: 'NextToken',
|
|
19036
19042
|
requestId: 'RequestId',
|
|
19037
19043
|
services: 'Services',
|
|
19044
|
+
totalCount: 'TotalCount',
|
|
19038
19045
|
};
|
|
19039
19046
|
}
|
|
19040
19047
|
static types() {
|
|
@@ -19043,6 +19050,7 @@ class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
19043
19050
|
nextToken: 'string',
|
|
19044
19051
|
requestId: 'string',
|
|
19045
19052
|
services: { 'type': 'array', 'itemType': ListVpcEndpointServicesByEndUserResponseBodyServices },
|
|
19053
|
+
totalCount: 'string',
|
|
19046
19054
|
};
|
|
19047
19055
|
}
|
|
19048
19056
|
}
|
|
@@ -30007,6 +30015,8 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType extends
|
|
|
30007
30015
|
instanceId: 'InstanceId',
|
|
30008
30016
|
lineCode: 'LineCode',
|
|
30009
30017
|
lineLabel: 'LineLabel',
|
|
30018
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
30019
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
30010
30020
|
lineType: 'LineType',
|
|
30011
30021
|
loaUrl: 'LoaUrl',
|
|
30012
30022
|
PMInfo: 'PMInfo',
|
|
@@ -30022,6 +30032,8 @@ class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType extends
|
|
|
30022
30032
|
instanceId: 'string',
|
|
30023
30033
|
lineCode: 'string',
|
|
30024
30034
|
lineLabel: 'string',
|
|
30035
|
+
lineSPContactInfo: 'string',
|
|
30036
|
+
lineServiceProvider: 'string',
|
|
30025
30037
|
lineType: 'string',
|
|
30026
30038
|
loaUrl: 'string',
|
|
30027
30039
|
PMInfo: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo,
|
|
@@ -37755,7 +37767,6 @@ class Client extends openapi_client_1.default {
|
|
|
37755
37767
|
return await this.associateVpcCidrBlockWithOptions(request, runtime);
|
|
37756
37768
|
}
|
|
37757
37769
|
/**
|
|
37758
|
-
* ## Usage notes
|
|
37759
37770
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
37760
37771
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
37761
37772
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -37810,7 +37821,6 @@ class Client extends openapi_client_1.default {
|
|
|
37810
37821
|
return $tea.cast(await this.callApi(params, req, runtime), new AssociateVpnGatewayWithCertificateResponse({}));
|
|
37811
37822
|
}
|
|
37812
37823
|
/**
|
|
37813
|
-
* ## Usage notes
|
|
37814
37824
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
37815
37825
|
* * You can associate only VPN gateways of the ShangMi (SM) type with SSL certificates. You need to associate a VPN gateway of the SM type with two SSL certificates, one as the encryption certificate and the other as the signature certificate.
|
|
37816
37826
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -38197,6 +38207,9 @@ class Client extends openapi_client_1.default {
|
|
|
38197
38207
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
38198
38208
|
query["ClientToken"] = request.clientToken;
|
|
38199
38209
|
}
|
|
38210
|
+
if (!tea_util_1.default.isUnset(request.finishWork)) {
|
|
38211
|
+
query["FinishWork"] = request.finishWork;
|
|
38212
|
+
}
|
|
38200
38213
|
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
38201
38214
|
query["InstanceId"] = request.instanceId;
|
|
38202
38215
|
}
|
|
@@ -38206,6 +38219,12 @@ class Client extends openapi_client_1.default {
|
|
|
38206
38219
|
if (!tea_util_1.default.isUnset(request.lineLabel)) {
|
|
38207
38220
|
query["LineLabel"] = request.lineLabel;
|
|
38208
38221
|
}
|
|
38222
|
+
if (!tea_util_1.default.isUnset(request.lineSPContactInfo)) {
|
|
38223
|
+
query["LineSPContactInfo"] = request.lineSPContactInfo;
|
|
38224
|
+
}
|
|
38225
|
+
if (!tea_util_1.default.isUnset(request.lineServiceProvider)) {
|
|
38226
|
+
query["LineServiceProvider"] = request.lineServiceProvider;
|
|
38227
|
+
}
|
|
38209
38228
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
38210
38229
|
query["OwnerAccount"] = request.ownerAccount;
|
|
38211
38230
|
}
|
|
@@ -41694,7 +41713,7 @@ class Client extends openapi_client_1.default {
|
|
|
41694
41713
|
}
|
|
41695
41714
|
/**
|
|
41696
41715
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
41697
|
-
* *
|
|
41716
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
41698
41717
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
41699
41718
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
41700
41719
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -41758,7 +41777,7 @@ class Client extends openapi_client_1.default {
|
|
|
41758
41777
|
}
|
|
41759
41778
|
/**
|
|
41760
41779
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
41761
|
-
* *
|
|
41780
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
41762
41781
|
* * **CreateVcoRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
41763
41782
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
41764
41783
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -42274,9 +42293,8 @@ class Client extends openapi_client_1.default {
|
|
|
42274
42293
|
return await this.createVpconnFromVbrWithOptions(request, runtime);
|
|
42275
42294
|
}
|
|
42276
42295
|
/**
|
|
42277
|
-
* # Usage notes
|
|
42278
42296
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
42279
|
-
*
|
|
42297
|
+
* ### Prerequisites
|
|
42280
42298
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
42281
42299
|
* 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.
|
|
42282
42300
|
*
|
|
@@ -42364,9 +42382,8 @@ class Client extends openapi_client_1.default {
|
|
|
42364
42382
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpnAttachmentResponse({}));
|
|
42365
42383
|
}
|
|
42366
42384
|
/**
|
|
42367
|
-
* # Usage notes
|
|
42368
42385
|
* By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
|
|
42369
|
-
*
|
|
42386
|
+
* ### Prerequisites
|
|
42370
42387
|
* Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
|
|
42371
42388
|
* 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.
|
|
42372
42389
|
*
|
|
@@ -42378,7 +42395,6 @@ class Client extends openapi_client_1.default {
|
|
|
42378
42395
|
return await this.createVpnAttachmentWithOptions(request, runtime);
|
|
42379
42396
|
}
|
|
42380
42397
|
/**
|
|
42381
|
-
* # Usage notes
|
|
42382
42398
|
* * **CreateVpnConnection** 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](~~73720~~) to query the status of the task.
|
|
42383
42399
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
42384
42400
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -42481,7 +42497,6 @@ class Client extends openapi_client_1.default {
|
|
|
42481
42497
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpnConnectionResponse({}));
|
|
42482
42498
|
}
|
|
42483
42499
|
/**
|
|
42484
|
-
* # Usage notes
|
|
42485
42500
|
* * **CreateVpnConnection** 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](~~73720~~) to query the status of the task.
|
|
42486
42501
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
42487
42502
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -50087,7 +50102,6 @@ class Client extends openapi_client_1.default {
|
|
|
50087
50102
|
return await this.dissociateRouteTablesFromVpcGatewayEndpointWithOptions(request, runtime);
|
|
50088
50103
|
}
|
|
50089
50104
|
/**
|
|
50090
|
-
* ## Usage notes
|
|
50091
50105
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
50092
50106
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
50093
50107
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -50135,7 +50149,6 @@ class Client extends openapi_client_1.default {
|
|
|
50135
50149
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateVpnGatewayWithCertificateResponse({}));
|
|
50136
50150
|
}
|
|
50137
50151
|
/**
|
|
50138
|
-
* ## Usage notes
|
|
50139
50152
|
* * **DissociateVpnGatewayWithCertificate** is an asynchronous operation. After a request is sent, the system returns a request and runs the task in the background. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status the task.
|
|
50140
50153
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
50141
50154
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -52227,7 +52240,6 @@ class Client extends openapi_client_1.default {
|
|
|
52227
52240
|
return await this.listVpcGatewayEndpointsWithOptions(request, runtime);
|
|
52228
52241
|
}
|
|
52229
52242
|
/**
|
|
52230
|
-
* ## Usage notes
|
|
52231
52243
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
52232
52244
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
52233
52245
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|
|
@@ -52276,7 +52288,6 @@ class Client extends openapi_client_1.default {
|
|
|
52276
52288
|
return $tea.cast(await this.callApi(params, req, runtime), new ListVpnCertificateAssociationsResponse({}));
|
|
52277
52289
|
}
|
|
52278
52290
|
/**
|
|
52279
|
-
* ## Usage notes
|
|
52280
52291
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
52281
52292
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
52282
52293
|
* * If you specify **RegionId** and **CertificateType**, the SSL certificates of the specified type that are associated with the VPN gateways in the specified region are queried.
|