@alicloud/vpc20160428 5.0.0 → 5.0.1
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 +3 -12
- package/dist/client.js +4 -12
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +5 -12
package/dist/client.d.ts
CHANGED
|
@@ -13044,6 +13044,7 @@ export declare class ListVpcEndpointServicesByEndUserResponseBody extends $tea.M
|
|
|
13044
13044
|
nextToken?: string;
|
|
13045
13045
|
requestId?: string;
|
|
13046
13046
|
services?: ListVpcEndpointServicesByEndUserResponseBodyServices[];
|
|
13047
|
+
totalCount?: string;
|
|
13047
13048
|
static names(): {
|
|
13048
13049
|
[key: string]: string;
|
|
13049
13050
|
};
|
|
@@ -25007,7 +25008,6 @@ export default class Client extends OpenApi {
|
|
|
25007
25008
|
*/
|
|
25008
25009
|
associateVpcCidrBlock(request: AssociateVpcCidrBlockRequest): Promise<AssociateVpcCidrBlockResponse>;
|
|
25009
25010
|
/**
|
|
25010
|
-
* ## Usage notes
|
|
25011
25011
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
25012
25012
|
* * 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
25013
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -25026,7 +25026,6 @@ export default class Client extends OpenApi {
|
|
|
25026
25026
|
*/
|
|
25027
25027
|
associateVpnGatewayWithCertificateWithOptions(request: AssociateVpnGatewayWithCertificateRequest, runtime: $Util.RuntimeOptions): Promise<AssociateVpnGatewayWithCertificateResponse>;
|
|
25028
25028
|
/**
|
|
25029
|
-
* ## Usage notes
|
|
25030
25029
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
25031
25030
|
* * 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
25031
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -26109,9 +26108,8 @@ export default class Client extends OpenApi {
|
|
|
26109
26108
|
*/
|
|
26110
26109
|
createVpconnFromVbr(request: CreateVpconnFromVbrRequest): Promise<CreateVpconnFromVbrResponse>;
|
|
26111
26110
|
/**
|
|
26112
|
-
* # Usage notes
|
|
26113
26111
|
* 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
|
-
*
|
|
26112
|
+
* ### Prerequisites
|
|
26115
26113
|
* 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
26114
|
* 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
26115
|
*
|
|
@@ -26121,9 +26119,8 @@ export default class Client extends OpenApi {
|
|
|
26121
26119
|
*/
|
|
26122
26120
|
createVpnAttachmentWithOptions(request: CreateVpnAttachmentRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnAttachmentResponse>;
|
|
26123
26121
|
/**
|
|
26124
|
-
* # Usage notes
|
|
26125
26122
|
* 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
|
-
*
|
|
26123
|
+
* ### Prerequisites
|
|
26127
26124
|
* 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
26125
|
* 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
26126
|
*
|
|
@@ -26132,7 +26129,6 @@ export default class Client extends OpenApi {
|
|
|
26132
26129
|
*/
|
|
26133
26130
|
createVpnAttachment(request: CreateVpnAttachmentRequest): Promise<CreateVpnAttachmentResponse>;
|
|
26134
26131
|
/**
|
|
26135
|
-
* # Usage notes
|
|
26136
26132
|
* * **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
26133
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
26138
26134
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -26144,7 +26140,6 @@ export default class Client extends OpenApi {
|
|
|
26144
26140
|
*/
|
|
26145
26141
|
createVpnConnectionWithOptions(request: CreateVpnConnectionRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnConnectionResponse>;
|
|
26146
26142
|
/**
|
|
26147
|
-
* # Usage notes
|
|
26148
26143
|
* * **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
26144
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
26150
26145
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -27488,7 +27483,6 @@ export default class Client extends OpenApi {
|
|
|
27488
27483
|
dissociateRouteTablesFromVpcGatewayEndpointWithOptions(request: DissociateRouteTablesFromVpcGatewayEndpointRequest, runtime: $Util.RuntimeOptions): Promise<DissociateRouteTablesFromVpcGatewayEndpointResponse>;
|
|
27489
27484
|
dissociateRouteTablesFromVpcGatewayEndpoint(request: DissociateRouteTablesFromVpcGatewayEndpointRequest): Promise<DissociateRouteTablesFromVpcGatewayEndpointResponse>;
|
|
27490
27485
|
/**
|
|
27491
|
-
* ## Usage notes
|
|
27492
27486
|
* * **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
27487
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
27494
27488
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -27500,7 +27494,6 @@ export default class Client extends OpenApi {
|
|
|
27500
27494
|
*/
|
|
27501
27495
|
dissociateVpnGatewayWithCertificateWithOptions(request: DissociateVpnGatewayWithCertificateRequest, runtime: $Util.RuntimeOptions): Promise<DissociateVpnGatewayWithCertificateResponse>;
|
|
27502
27496
|
/**
|
|
27503
|
-
* ## Usage notes
|
|
27504
27497
|
* * **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
27498
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
27506
27499
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -27749,7 +27742,6 @@ export default class Client extends OpenApi {
|
|
|
27749
27742
|
listVpcGatewayEndpointsWithOptions(request: ListVpcGatewayEndpointsRequest, runtime: $Util.RuntimeOptions): Promise<ListVpcGatewayEndpointsResponse>;
|
|
27750
27743
|
listVpcGatewayEndpoints(request: ListVpcGatewayEndpointsRequest): Promise<ListVpcGatewayEndpointsResponse>;
|
|
27751
27744
|
/**
|
|
27752
|
-
* ## Usage notes
|
|
27753
27745
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
27754
27746
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
27755
27747
|
* * 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 +27754,6 @@ export default class Client extends OpenApi {
|
|
|
27762
27754
|
*/
|
|
27763
27755
|
listVpnCertificateAssociationsWithOptions(request: ListVpnCertificateAssociationsRequest, runtime: $Util.RuntimeOptions): Promise<ListVpnCertificateAssociationsResponse>;
|
|
27764
27756
|
/**
|
|
27765
|
-
* ## Usage notes
|
|
27766
27757
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
27767
27758
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
27768
27759
|
* * 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
|
@@ -19035,6 +19035,7 @@ class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
19035
19035
|
nextToken: 'NextToken',
|
|
19036
19036
|
requestId: 'RequestId',
|
|
19037
19037
|
services: 'Services',
|
|
19038
|
+
totalCount: 'TotalCount',
|
|
19038
19039
|
};
|
|
19039
19040
|
}
|
|
19040
19041
|
static types() {
|
|
@@ -19043,6 +19044,7 @@ class ListVpcEndpointServicesByEndUserResponseBody extends $tea.Model {
|
|
|
19043
19044
|
nextToken: 'string',
|
|
19044
19045
|
requestId: 'string',
|
|
19045
19046
|
services: { 'type': 'array', 'itemType': ListVpcEndpointServicesByEndUserResponseBodyServices },
|
|
19047
|
+
totalCount: 'string',
|
|
19046
19048
|
};
|
|
19047
19049
|
}
|
|
19048
19050
|
}
|
|
@@ -37755,7 +37757,6 @@ class Client extends openapi_client_1.default {
|
|
|
37755
37757
|
return await this.associateVpcCidrBlockWithOptions(request, runtime);
|
|
37756
37758
|
}
|
|
37757
37759
|
/**
|
|
37758
|
-
* ## Usage notes
|
|
37759
37760
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
37760
37761
|
* * 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
37762
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -37810,7 +37811,6 @@ class Client extends openapi_client_1.default {
|
|
|
37810
37811
|
return $tea.cast(await this.callApi(params, req, runtime), new AssociateVpnGatewayWithCertificateResponse({}));
|
|
37811
37812
|
}
|
|
37812
37813
|
/**
|
|
37813
|
-
* ## Usage notes
|
|
37814
37814
|
* Before you associate a VPN gateway with an SSL certificate, take note of the following items:
|
|
37815
37815
|
* * 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
37816
|
* * The SSL certificates must use the SM algorithm.
|
|
@@ -42274,9 +42274,8 @@ class Client extends openapi_client_1.default {
|
|
|
42274
42274
|
return await this.createVpconnFromVbrWithOptions(request, runtime);
|
|
42275
42275
|
}
|
|
42276
42276
|
/**
|
|
42277
|
-
* # Usage notes
|
|
42278
42277
|
* 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
|
-
*
|
|
42278
|
+
* ### Prerequisites
|
|
42280
42279
|
* 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
42280
|
* 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
42281
|
*
|
|
@@ -42364,9 +42363,8 @@ class Client extends openapi_client_1.default {
|
|
|
42364
42363
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpnAttachmentResponse({}));
|
|
42365
42364
|
}
|
|
42366
42365
|
/**
|
|
42367
|
-
* # Usage notes
|
|
42368
42366
|
* 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
|
-
*
|
|
42367
|
+
* ### Prerequisites
|
|
42370
42368
|
* 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
42369
|
* 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
42370
|
*
|
|
@@ -42378,7 +42376,6 @@ class Client extends openapi_client_1.default {
|
|
|
42378
42376
|
return await this.createVpnAttachmentWithOptions(request, runtime);
|
|
42379
42377
|
}
|
|
42380
42378
|
/**
|
|
42381
|
-
* # Usage notes
|
|
42382
42379
|
* * **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
42380
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
42384
42381
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -42481,7 +42478,6 @@ class Client extends openapi_client_1.default {
|
|
|
42481
42478
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpnConnectionResponse({}));
|
|
42482
42479
|
}
|
|
42483
42480
|
/**
|
|
42484
|
-
* # Usage notes
|
|
42485
42481
|
* * **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
42482
|
* * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
|
|
42487
42483
|
* * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
|
|
@@ -50087,7 +50083,6 @@ class Client extends openapi_client_1.default {
|
|
|
50087
50083
|
return await this.dissociateRouteTablesFromVpcGatewayEndpointWithOptions(request, runtime);
|
|
50088
50084
|
}
|
|
50089
50085
|
/**
|
|
50090
|
-
* ## Usage notes
|
|
50091
50086
|
* * **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
50087
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
50093
50088
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -50135,7 +50130,6 @@ class Client extends openapi_client_1.default {
|
|
|
50135
50130
|
return $tea.cast(await this.callApi(params, req, runtime), new DissociateVpnGatewayWithCertificateResponse({}));
|
|
50136
50131
|
}
|
|
50137
50132
|
/**
|
|
50138
|
-
* ## Usage notes
|
|
50139
50133
|
* * **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
50134
|
* * If the VPN gateway is in the **updating** state, the SSL certificate is being disassociated from the VPN gateway.
|
|
50141
50135
|
* * If the VPN gateway is in the **active** state, the SSL certificate is disassociated from the VPN gateway.
|
|
@@ -52227,7 +52221,6 @@ class Client extends openapi_client_1.default {
|
|
|
52227
52221
|
return await this.listVpcGatewayEndpointsWithOptions(request, runtime);
|
|
52228
52222
|
}
|
|
52229
52223
|
/**
|
|
52230
|
-
* ## Usage notes
|
|
52231
52224
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
52232
52225
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
52233
52226
|
* * 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 +52269,6 @@ class Client extends openapi_client_1.default {
|
|
|
52276
52269
|
return $tea.cast(await this.callApi(params, req, runtime), new ListVpnCertificateAssociationsResponse({}));
|
|
52277
52270
|
}
|
|
52278
52271
|
/**
|
|
52279
|
-
* ## Usage notes
|
|
52280
52272
|
* When you call **ListVpnCertificateAssociations**, take note of the following information:
|
|
52281
52273
|
* * If you specify only **RegionId**, the SSL certificates associated with all VPN gateways in the specified region are queried.
|
|
52282
52274
|
* * 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.
|