@alicloud/vpc20160428 6.11.0 → 7.0.0
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 +2 -71
- package/dist/client.js +17 -182
- package/dist/client.js.map +1 -1
- package/dist/models/CreateForwardEntryRequest.d.ts +13 -6
- package/dist/models/CreateForwardEntryRequest.js.map +1 -1
- package/dist/models/CreateFullNatEntryRequest.d.ts +1 -2
- package/dist/models/CreateFullNatEntryRequest.js +2 -0
- package/dist/models/CreateFullNatEntryRequest.js.map +1 -1
- package/dist/models/CreateNatGatewayRequest.d.ts +23 -0
- package/dist/models/CreateNatGatewayRequest.js.map +1 -1
- package/dist/models/CreateNatGatewayShrinkRequest.d.ts +20 -0
- package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
- package/dist/models/CreateNatIpRequest.d.ts +10 -0
- package/dist/models/CreateNatIpRequest.js.map +1 -1
- package/dist/models/CreateNatIpResponseBody.d.ts +16 -0
- package/dist/models/CreateNatIpResponseBody.js.map +1 -1
- package/dist/models/CreateSnatEntryRequest.d.ts +17 -0
- package/dist/models/CreateSnatEntryRequest.js.map +1 -1
- package/dist/models/CreateVpnAttachmentRequest.d.ts +1 -0
- package/dist/models/CreateVpnAttachmentRequest.js +2 -0
- package/dist/models/CreateVpnAttachmentRequest.js.map +1 -1
- package/dist/models/DeleteNatIpRequest.d.ts +14 -0
- package/dist/models/DeleteNatIpRequest.js.map +1 -1
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.d.ts +7 -0
- package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.js.map +1 -1
- package/dist/models/DescribeNatGatewaysRequest.d.ts +2 -2
- package/dist/models/DescribeNatGatewaysResponseBody.d.ts +41 -0
- package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.d.ts +1 -0
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.js +2 -0
- package/dist/models/DescribePhysicalConnectionLoaresponseBody.js.map +1 -1
- package/dist/models/DescribeSnatTableEntriesRequest.d.ts +4 -0
- package/dist/models/DescribeSnatTableEntriesRequest.js.map +1 -1
- package/dist/models/DescribeSnatTableEntriesResponseBody.d.ts +16 -0
- package/dist/models/DescribeSnatTableEntriesResponseBody.js.map +1 -1
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.d.ts +1 -0
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.js +2 -0
- package/dist/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnAttachmentsResponseBody.d.ts +1 -0
- package/dist/models/DescribeVpnAttachmentsResponseBody.js +2 -0
- package/dist/models/DescribeVpnAttachmentsResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnConnectionResponseBody.d.ts +1 -0
- package/dist/models/DescribeVpnConnectionResponseBody.js +2 -0
- package/dist/models/DescribeVpnConnectionResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnConnectionsResponseBody.d.ts +1 -0
- package/dist/models/DescribeVpnConnectionsResponseBody.js +2 -0
- package/dist/models/DescribeVpnConnectionsResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnGatewayAvailableZonesRequest.d.ts +1 -0
- package/dist/models/DescribeVpnGatewayAvailableZonesRequest.js +2 -0
- package/dist/models/DescribeVpnGatewayAvailableZonesRequest.js.map +1 -1
- package/dist/models/DescribeVpnGatewayResponseBody.d.ts +1 -0
- package/dist/models/DescribeVpnGatewayResponseBody.js +2 -0
- package/dist/models/DescribeVpnGatewayResponseBody.js.map +1 -1
- package/dist/models/DescribeVpnGatewaysRequest.d.ts +1 -0
- package/dist/models/DescribeVpnGatewaysRequest.js +2 -0
- package/dist/models/DescribeVpnGatewaysRequest.js.map +1 -1
- package/dist/models/DescribeVpnGatewaysResponseBody.d.ts +1 -0
- package/dist/models/DescribeVpnGatewaysResponseBody.js +2 -0
- package/dist/models/DescribeVpnGatewaysResponseBody.js.map +1 -1
- package/dist/models/GetNatGatewayAttributeResponseBody.d.ts +64 -0
- package/dist/models/GetNatGatewayAttributeResponseBody.js.map +1 -1
- package/dist/models/GetRouteTargetGroupResponseBody.d.ts +9 -1
- package/dist/models/GetRouteTargetGroupResponseBody.js.map +1 -1
- package/dist/models/ListFullNatEntriesResponseBody.d.ts +2 -0
- package/dist/models/ListFullNatEntriesResponseBody.js +4 -0
- package/dist/models/ListFullNatEntriesResponseBody.js.map +1 -1
- package/dist/models/ListNatIpsRequest.d.ts +11 -0
- package/dist/models/ListNatIpsRequest.js +2 -0
- package/dist/models/ListNatIpsRequest.js.map +1 -1
- package/dist/models/ListNatIpsResponseBody.d.ts +7 -0
- package/dist/models/ListNatIpsResponseBody.js.map +1 -1
- package/dist/models/ModifyForwardEntryRequest.d.ts +11 -0
- package/dist/models/ModifyForwardEntryRequest.js.map +1 -1
- package/dist/models/ModifyFullNatEntryAttributeRequest.d.ts +1 -0
- package/dist/models/ModifyFullNatEntryAttributeRequest.js +2 -0
- package/dist/models/ModifyFullNatEntryAttributeRequest.js.map +1 -1
- package/dist/models/ModifyNatGatewayAttributeRequest.d.ts +32 -7
- package/dist/models/ModifyNatGatewayAttributeRequest.js.map +1 -1
- package/dist/models/ModifyNatGatewayAttributeShrinkRequest.d.ts +18 -7
- package/dist/models/ModifyNatGatewayAttributeShrinkRequest.js.map +1 -1
- package/dist/models/ModifySnatEntryRequest.d.ts +26 -0
- package/dist/models/ModifySnatEntryRequest.js.map +1 -1
- package/dist/models/model.d.ts +0 -9
- package/dist/models/model.js +23 -41
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +22 -203
- package/src/models/CreateForwardEntryRequest.ts +13 -6
- package/src/models/CreateFullNatEntryRequest.ts +3 -2
- package/src/models/CreateNatGatewayRequest.ts +23 -0
- package/src/models/CreateNatGatewayShrinkRequest.ts +20 -0
- package/src/models/CreateNatIpRequest.ts +10 -0
- package/src/models/CreateNatIpResponseBody.ts +16 -0
- package/src/models/CreateSnatEntryRequest.ts +17 -0
- package/src/models/CreateVpnAttachmentRequest.ts +3 -0
- package/src/models/DeleteNatIpRequest.ts +14 -0
- package/src/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.ts +7 -0
- package/src/models/DescribeNatGatewaysRequest.ts +2 -2
- package/src/models/DescribeNatGatewaysResponseBody.ts +41 -0
- package/src/models/DescribePhysicalConnectionLoaresponseBody.ts +3 -0
- package/src/models/DescribeSnatTableEntriesRequest.ts +4 -0
- package/src/models/DescribeSnatTableEntriesResponseBody.ts +16 -0
- package/src/models/DescribeVirtualBorderRoutersForPhysicalConnectionResponseBody.ts +3 -0
- package/src/models/DescribeVpnAttachmentsResponseBody.ts +3 -0
- package/src/models/DescribeVpnConnectionResponseBody.ts +3 -0
- package/src/models/DescribeVpnConnectionsResponseBody.ts +3 -0
- package/src/models/DescribeVpnGatewayAvailableZonesRequest.ts +3 -0
- package/src/models/DescribeVpnGatewayResponseBody.ts +3 -0
- package/src/models/DescribeVpnGatewaysRequest.ts +3 -0
- package/src/models/DescribeVpnGatewaysResponseBody.ts +3 -0
- package/src/models/GetNatGatewayAttributeResponseBody.ts +64 -0
- package/src/models/GetRouteTargetGroupResponseBody.ts +9 -1
- package/src/models/ListFullNatEntriesResponseBody.ts +6 -0
- package/src/models/ListNatIpsRequest.ts +13 -0
- package/src/models/ListNatIpsResponseBody.ts +7 -0
- package/src/models/ModifyForwardEntryRequest.ts +11 -0
- package/src/models/ModifyFullNatEntryAttributeRequest.ts +3 -0
- package/src/models/ModifyNatGatewayAttributeRequest.ts +32 -7
- package/src/models/ModifyNatGatewayAttributeShrinkRequest.ts +18 -7
- package/src/models/ModifySnatEntryRequest.ts +26 -0
- package/src/models/model.ts +0 -9
- package/dist/models/ConvertBandwidthPackageRequest.d.ts +0 -44
- package/dist/models/ConvertBandwidthPackageRequest.js +0 -68
- package/dist/models/ConvertBandwidthPackageRequest.js.map +0 -1
- package/dist/models/ConvertBandwidthPackageResponse.d.ts +0 -19
- package/dist/models/ConvertBandwidthPackageResponse.js +0 -69
- package/dist/models/ConvertBandwidthPackageResponse.js.map +0 -1
- package/dist/models/ConvertBandwidthPackageResponseBody.d.ts +0 -29
- package/dist/models/ConvertBandwidthPackageResponseBody.js +0 -60
- package/dist/models/ConvertBandwidthPackageResponseBody.js.map +0 -1
- package/dist/models/DisableNatGatewayEcsMetricRequest.d.ts +0 -45
- package/dist/models/DisableNatGatewayEcsMetricRequest.js +0 -62
- package/dist/models/DisableNatGatewayEcsMetricRequest.js.map +0 -1
- package/dist/models/DisableNatGatewayEcsMetricResponse.d.ts +0 -19
- package/dist/models/DisableNatGatewayEcsMetricResponse.js +0 -69
- package/dist/models/DisableNatGatewayEcsMetricResponse.js.map +0 -1
- package/dist/models/DisableNatGatewayEcsMetricResponseBody.d.ts +0 -21
- package/dist/models/DisableNatGatewayEcsMetricResponseBody.js +0 -58
- package/dist/models/DisableNatGatewayEcsMetricResponseBody.js.map +0 -1
- package/dist/models/EnableNatGatewayEcsMetricRequest.d.ts +0 -45
- package/dist/models/EnableNatGatewayEcsMetricRequest.js +0 -62
- package/dist/models/EnableNatGatewayEcsMetricRequest.js.map +0 -1
- package/dist/models/EnableNatGatewayEcsMetricResponse.d.ts +0 -19
- package/dist/models/EnableNatGatewayEcsMetricResponse.js +0 -69
- package/dist/models/EnableNatGatewayEcsMetricResponse.js.map +0 -1
- package/dist/models/EnableNatGatewayEcsMetricResponseBody.d.ts +0 -21
- package/dist/models/EnableNatGatewayEcsMetricResponseBody.js +0 -58
- package/dist/models/EnableNatGatewayEcsMetricResponseBody.js.map +0 -1
- package/src/models/ConvertBandwidthPackageRequest.ts +0 -67
- package/src/models/ConvertBandwidthPackageResponse.ts +0 -40
- package/src/models/ConvertBandwidthPackageResponseBody.ts +0 -44
- package/src/models/DisableNatGatewayEcsMetricRequest.ts +0 -62
- package/src/models/DisableNatGatewayEcsMetricResponse.ts +0 -40
- package/src/models/DisableNatGatewayEcsMetricResponseBody.ts +0 -34
- package/src/models/EnableNatGatewayEcsMetricRequest.ts +0 -62
- package/src/models/EnableNatGatewayEcsMetricResponse.ts +0 -40
- package/src/models/EnableNatGatewayEcsMetricResponseBody.ts +0 -34
package/dist/client.d.ts
CHANGED
|
@@ -872,37 +872,6 @@ export default class Client extends OpenApi {
|
|
|
872
872
|
* @returns ConnectRouterInterfaceResponse
|
|
873
873
|
*/
|
|
874
874
|
connectRouterInterface(request: $_model.ConnectRouterInterfaceRequest): Promise<$_model.ConnectRouterInterfaceResponse>;
|
|
875
|
-
/**
|
|
876
|
-
* Converts a NAT service plan to an Internet Shared Bandwidth instance.
|
|
877
|
-
*
|
|
878
|
-
* @remarks
|
|
879
|
-
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
880
|
-
* * You are not charged for the conversion.
|
|
881
|
-
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
882
|
-
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
883
|
-
*
|
|
884
|
-
* @deprecated OpenAPI ConvertBandwidthPackage is deprecated
|
|
885
|
-
*
|
|
886
|
-
* @param request - ConvertBandwidthPackageRequest
|
|
887
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
888
|
-
* @returns ConvertBandwidthPackageResponse
|
|
889
|
-
*/
|
|
890
|
-
convertBandwidthPackageWithOptions(request: $_model.ConvertBandwidthPackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertBandwidthPackageResponse>;
|
|
891
|
-
/**
|
|
892
|
-
* Converts a NAT service plan to an Internet Shared Bandwidth instance.
|
|
893
|
-
*
|
|
894
|
-
* @remarks
|
|
895
|
-
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
896
|
-
* * You are not charged for the conversion.
|
|
897
|
-
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
898
|
-
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
899
|
-
*
|
|
900
|
-
* @deprecated OpenAPI ConvertBandwidthPackage is deprecated
|
|
901
|
-
*
|
|
902
|
-
* @param request - ConvertBandwidthPackageRequest
|
|
903
|
-
* @returns ConvertBandwidthPackageResponse
|
|
904
|
-
*/
|
|
905
|
-
convertBandwidthPackage(request: $_model.ConvertBandwidthPackageRequest): Promise<$_model.ConvertBandwidthPackageResponse>;
|
|
906
875
|
/**
|
|
907
876
|
* Copies rules of a network access control list (ACL).
|
|
908
877
|
*
|
|
@@ -5289,25 +5258,6 @@ export default class Client extends OpenApi {
|
|
|
5289
5258
|
* @returns DiagnoseVpnGatewayResponse
|
|
5290
5259
|
*/
|
|
5291
5260
|
diagnoseVpnGateway(request: $_model.DiagnoseVpnGatewayRequest): Promise<$_model.DiagnoseVpnGatewayResponse>;
|
|
5292
|
-
/**
|
|
5293
|
-
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
5294
|
-
*
|
|
5295
|
-
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
5296
|
-
*
|
|
5297
|
-
* @param request - DisableNatGatewayEcsMetricRequest
|
|
5298
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
5299
|
-
* @returns DisableNatGatewayEcsMetricResponse
|
|
5300
|
-
*/
|
|
5301
|
-
disableNatGatewayEcsMetricWithOptions(request: $_model.DisableNatGatewayEcsMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableNatGatewayEcsMetricResponse>;
|
|
5302
|
-
/**
|
|
5303
|
-
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
5304
|
-
*
|
|
5305
|
-
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
5306
|
-
*
|
|
5307
|
-
* @param request - DisableNatGatewayEcsMetricRequest
|
|
5308
|
-
* @returns DisableNatGatewayEcsMetricResponse
|
|
5309
|
-
*/
|
|
5310
|
-
disableNatGatewayEcsMetric(request: $_model.DisableNatGatewayEcsMetricRequest): Promise<$_model.DisableNatGatewayEcsMetricResponse>;
|
|
5311
5261
|
/**
|
|
5312
5262
|
* Disables ClassicLink for a virtual private cloud (VPC).
|
|
5313
5263
|
*
|
|
@@ -5395,25 +5345,6 @@ export default class Client extends OpenApi {
|
|
|
5395
5345
|
* @returns DownloadVpnConnectionConfigResponse
|
|
5396
5346
|
*/
|
|
5397
5347
|
downloadVpnConnectionConfig(request: $_model.DownloadVpnConnectionConfigRequest): Promise<$_model.DownloadVpnConnectionConfigResponse>;
|
|
5398
|
-
/**
|
|
5399
|
-
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
5400
|
-
*
|
|
5401
|
-
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
5402
|
-
*
|
|
5403
|
-
* @param request - EnableNatGatewayEcsMetricRequest
|
|
5404
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
5405
|
-
* @returns EnableNatGatewayEcsMetricResponse
|
|
5406
|
-
*/
|
|
5407
|
-
enableNatGatewayEcsMetricWithOptions(request: $_model.EnableNatGatewayEcsMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableNatGatewayEcsMetricResponse>;
|
|
5408
|
-
/**
|
|
5409
|
-
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
5410
|
-
*
|
|
5411
|
-
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
5412
|
-
*
|
|
5413
|
-
* @param request - EnableNatGatewayEcsMetricRequest
|
|
5414
|
-
* @returns EnableNatGatewayEcsMetricResponse
|
|
5415
|
-
*/
|
|
5416
|
-
enableNatGatewayEcsMetric(request: $_model.EnableNatGatewayEcsMetricRequest): Promise<$_model.EnableNatGatewayEcsMetricResponse>;
|
|
5417
5348
|
/**
|
|
5418
5349
|
* Enables an Express Connect circuit that is in the Confirmed state. After you perform this operation, the Express Connect circuit enters the Enabled state.
|
|
5419
5350
|
*
|
|
@@ -5533,7 +5464,7 @@ export default class Client extends OpenApi {
|
|
|
5533
5464
|
*/
|
|
5534
5465
|
getIpv4GatewayAttribute(request: $_model.GetIpv4GatewayAttributeRequest): Promise<$_model.GetIpv4GatewayAttributeResponse>;
|
|
5535
5466
|
/**
|
|
5536
|
-
*
|
|
5467
|
+
* Queries information about a NAT gateway.
|
|
5537
5468
|
*
|
|
5538
5469
|
* @remarks
|
|
5539
5470
|
* You can call this operation to query information about a specified Internet NAT gateway or Virtual Private Cloud (VPC) NAT gateway. In this topic, "NAT gateway" refers to both gateway types.
|
|
@@ -5544,7 +5475,7 @@ export default class Client extends OpenApi {
|
|
|
5544
5475
|
*/
|
|
5545
5476
|
getNatGatewayAttributeWithOptions(request: $_model.GetNatGatewayAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetNatGatewayAttributeResponse>;
|
|
5546
5477
|
/**
|
|
5547
|
-
*
|
|
5478
|
+
* Queries information about a NAT gateway.
|
|
5548
5479
|
*
|
|
5549
5480
|
* @remarks
|
|
5550
5481
|
* You can call this operation to query information about a specified Internet NAT gateway or Virtual Private Cloud (VPC) NAT gateway. In this topic, "NAT gateway" refers to both gateway types.
|
package/dist/client.js
CHANGED
|
@@ -2801,80 +2801,6 @@ class Client extends openapi_core_1.default {
|
|
|
2801
2801
|
let runtime = new $dara.RuntimeOptions({});
|
|
2802
2802
|
return await this.connectRouterInterfaceWithOptions(request, runtime);
|
|
2803
2803
|
}
|
|
2804
|
-
/**
|
|
2805
|
-
* Converts a NAT service plan to an Internet Shared Bandwidth instance.
|
|
2806
|
-
*
|
|
2807
|
-
* @remarks
|
|
2808
|
-
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
2809
|
-
* * You are not charged for the conversion.
|
|
2810
|
-
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
2811
|
-
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
2812
|
-
*
|
|
2813
|
-
* @deprecated OpenAPI ConvertBandwidthPackage is deprecated
|
|
2814
|
-
*
|
|
2815
|
-
* @param request - ConvertBandwidthPackageRequest
|
|
2816
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
2817
|
-
* @returns ConvertBandwidthPackageResponse
|
|
2818
|
-
*/
|
|
2819
|
-
async convertBandwidthPackageWithOptions(request, runtime) {
|
|
2820
|
-
request.validate();
|
|
2821
|
-
let query = {};
|
|
2822
|
-
if (!$dara.isNull(request.bandwidthPackageId)) {
|
|
2823
|
-
query["BandwidthPackageId"] = request.bandwidthPackageId;
|
|
2824
|
-
}
|
|
2825
|
-
if (!$dara.isNull(request.clientToken)) {
|
|
2826
|
-
query["ClientToken"] = request.clientToken;
|
|
2827
|
-
}
|
|
2828
|
-
if (!$dara.isNull(request.ownerId)) {
|
|
2829
|
-
query["OwnerId"] = request.ownerId;
|
|
2830
|
-
}
|
|
2831
|
-
if (!$dara.isNull(request.regionId)) {
|
|
2832
|
-
query["RegionId"] = request.regionId;
|
|
2833
|
-
}
|
|
2834
|
-
if (!$dara.isNull(request.regionId)) {
|
|
2835
|
-
query["RegionId"] = request.regionId;
|
|
2836
|
-
}
|
|
2837
|
-
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2838
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2839
|
-
}
|
|
2840
|
-
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2841
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2842
|
-
}
|
|
2843
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2844
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2845
|
-
});
|
|
2846
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2847
|
-
action: "ConvertBandwidthPackage",
|
|
2848
|
-
version: "2016-04-28",
|
|
2849
|
-
protocol: "HTTPS",
|
|
2850
|
-
pathname: "/",
|
|
2851
|
-
method: "POST",
|
|
2852
|
-
authType: "AK",
|
|
2853
|
-
style: "RPC",
|
|
2854
|
-
reqBodyType: "formData",
|
|
2855
|
-
bodyType: "json",
|
|
2856
|
-
});
|
|
2857
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConvertBandwidthPackageResponse({}));
|
|
2858
|
-
}
|
|
2859
|
-
/**
|
|
2860
|
-
* Converts a NAT service plan to an Internet Shared Bandwidth instance.
|
|
2861
|
-
*
|
|
2862
|
-
* @remarks
|
|
2863
|
-
* Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
|
|
2864
|
-
* * You are not charged for the conversion.
|
|
2865
|
-
* * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
|
|
2866
|
-
* * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
|
|
2867
|
-
*
|
|
2868
|
-
* @deprecated OpenAPI ConvertBandwidthPackage is deprecated
|
|
2869
|
-
*
|
|
2870
|
-
* @param request - ConvertBandwidthPackageRequest
|
|
2871
|
-
* @returns ConvertBandwidthPackageResponse
|
|
2872
|
-
*/
|
|
2873
|
-
// Deprecated
|
|
2874
|
-
async convertBandwidthPackage(request) {
|
|
2875
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
2876
|
-
return await this.convertBandwidthPackageWithOptions(request, runtime);
|
|
2877
|
-
}
|
|
2878
2804
|
/**
|
|
2879
2805
|
* Copies rules of a network access control list (ACL).
|
|
2880
2806
|
*
|
|
@@ -4180,6 +4106,9 @@ class Client extends openapi_core_1.default {
|
|
|
4180
4106
|
async createFullNatEntryWithOptions(request, runtime) {
|
|
4181
4107
|
request.validate();
|
|
4182
4108
|
let query = {};
|
|
4109
|
+
if (!$dara.isNull(request.accessDomain)) {
|
|
4110
|
+
query["AccessDomain"] = request.accessDomain;
|
|
4111
|
+
}
|
|
4183
4112
|
if (!$dara.isNull(request.accessIp)) {
|
|
4184
4113
|
query["AccessIp"] = request.accessIp;
|
|
4185
4114
|
}
|
|
@@ -7893,6 +7822,9 @@ class Client extends openapi_core_1.default {
|
|
|
7893
7822
|
if (!$dara.isNull(request.tags)) {
|
|
7894
7823
|
query["Tags"] = request.tags;
|
|
7895
7824
|
}
|
|
7825
|
+
if (!$dara.isNull(request.tunnelBandwidth)) {
|
|
7826
|
+
query["TunnelBandwidth"] = request.tunnelBandwidth;
|
|
7827
|
+
}
|
|
7896
7828
|
let body = {};
|
|
7897
7829
|
let bodyFlat = {};
|
|
7898
7830
|
if (!$dara.isNull(request.tunnelOptionsSpecification)) {
|
|
@@ -17374,6 +17306,9 @@ class Client extends openapi_core_1.default {
|
|
|
17374
17306
|
if (!$dara.isNull(request.businessStatus)) {
|
|
17375
17307
|
query["BusinessStatus"] = request.businessStatus;
|
|
17376
17308
|
}
|
|
17309
|
+
if (!$dara.isNull(request.gatewayType)) {
|
|
17310
|
+
query["GatewayType"] = request.gatewayType;
|
|
17311
|
+
}
|
|
17377
17312
|
if (!$dara.isNull(request.includeReservationData)) {
|
|
17378
17313
|
query["IncludeReservationData"] = request.includeReservationData;
|
|
17379
17314
|
}
|
|
@@ -17889,59 +17824,6 @@ class Client extends openapi_core_1.default {
|
|
|
17889
17824
|
let runtime = new $dara.RuntimeOptions({});
|
|
17890
17825
|
return await this.diagnoseVpnGatewayWithOptions(request, runtime);
|
|
17891
17826
|
}
|
|
17892
|
-
/**
|
|
17893
|
-
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
17894
|
-
*
|
|
17895
|
-
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
17896
|
-
*
|
|
17897
|
-
* @param request - DisableNatGatewayEcsMetricRequest
|
|
17898
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
17899
|
-
* @returns DisableNatGatewayEcsMetricResponse
|
|
17900
|
-
*/
|
|
17901
|
-
async disableNatGatewayEcsMetricWithOptions(request, runtime) {
|
|
17902
|
-
request.validate();
|
|
17903
|
-
let query = {};
|
|
17904
|
-
if (!$dara.isNull(request.dryRun)) {
|
|
17905
|
-
query["DryRun"] = request.dryRun;
|
|
17906
|
-
}
|
|
17907
|
-
if (!$dara.isNull(request.natGatewayId)) {
|
|
17908
|
-
query["NatGatewayId"] = request.natGatewayId;
|
|
17909
|
-
}
|
|
17910
|
-
if (!$dara.isNull(request.regionId)) {
|
|
17911
|
-
query["RegionId"] = request.regionId;
|
|
17912
|
-
}
|
|
17913
|
-
if (!$dara.isNull(request.regionId)) {
|
|
17914
|
-
query["RegionId"] = request.regionId;
|
|
17915
|
-
}
|
|
17916
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17917
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
17918
|
-
});
|
|
17919
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
17920
|
-
action: "DisableNatGatewayEcsMetric",
|
|
17921
|
-
version: "2016-04-28",
|
|
17922
|
-
protocol: "HTTPS",
|
|
17923
|
-
pathname: "/",
|
|
17924
|
-
method: "POST",
|
|
17925
|
-
authType: "AK",
|
|
17926
|
-
style: "RPC",
|
|
17927
|
-
reqBodyType: "formData",
|
|
17928
|
-
bodyType: "json",
|
|
17929
|
-
});
|
|
17930
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableNatGatewayEcsMetricResponse({}));
|
|
17931
|
-
}
|
|
17932
|
-
/**
|
|
17933
|
-
* Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
|
|
17934
|
-
*
|
|
17935
|
-
* @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
|
|
17936
|
-
*
|
|
17937
|
-
* @param request - DisableNatGatewayEcsMetricRequest
|
|
17938
|
-
* @returns DisableNatGatewayEcsMetricResponse
|
|
17939
|
-
*/
|
|
17940
|
-
// Deprecated
|
|
17941
|
-
async disableNatGatewayEcsMetric(request) {
|
|
17942
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
17943
|
-
return await this.disableNatGatewayEcsMetricWithOptions(request, runtime);
|
|
17944
|
-
}
|
|
17945
17827
|
/**
|
|
17946
17828
|
* Disables ClassicLink for a virtual private cloud (VPC).
|
|
17947
17829
|
*
|
|
@@ -18251,59 +18133,6 @@ class Client extends openapi_core_1.default {
|
|
|
18251
18133
|
let runtime = new $dara.RuntimeOptions({});
|
|
18252
18134
|
return await this.downloadVpnConnectionConfigWithOptions(request, runtime);
|
|
18253
18135
|
}
|
|
18254
|
-
/**
|
|
18255
|
-
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
18256
|
-
*
|
|
18257
|
-
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
18258
|
-
*
|
|
18259
|
-
* @param request - EnableNatGatewayEcsMetricRequest
|
|
18260
|
-
* @param runtime - runtime options for this request RuntimeOptions
|
|
18261
|
-
* @returns EnableNatGatewayEcsMetricResponse
|
|
18262
|
-
*/
|
|
18263
|
-
async enableNatGatewayEcsMetricWithOptions(request, runtime) {
|
|
18264
|
-
request.validate();
|
|
18265
|
-
let query = {};
|
|
18266
|
-
if (!$dara.isNull(request.dryRun)) {
|
|
18267
|
-
query["DryRun"] = request.dryRun;
|
|
18268
|
-
}
|
|
18269
|
-
if (!$dara.isNull(request.natGatewayId)) {
|
|
18270
|
-
query["NatGatewayId"] = request.natGatewayId;
|
|
18271
|
-
}
|
|
18272
|
-
if (!$dara.isNull(request.regionId)) {
|
|
18273
|
-
query["RegionId"] = request.regionId;
|
|
18274
|
-
}
|
|
18275
|
-
if (!$dara.isNull(request.regionId)) {
|
|
18276
|
-
query["RegionId"] = request.regionId;
|
|
18277
|
-
}
|
|
18278
|
-
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
18279
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
18280
|
-
});
|
|
18281
|
-
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
18282
|
-
action: "EnableNatGatewayEcsMetric",
|
|
18283
|
-
version: "2016-04-28",
|
|
18284
|
-
protocol: "HTTPS",
|
|
18285
|
-
pathname: "/",
|
|
18286
|
-
method: "POST",
|
|
18287
|
-
authType: "AK",
|
|
18288
|
-
style: "RPC",
|
|
18289
|
-
reqBodyType: "formData",
|
|
18290
|
-
bodyType: "json",
|
|
18291
|
-
});
|
|
18292
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableNatGatewayEcsMetricResponse({}));
|
|
18293
|
-
}
|
|
18294
|
-
/**
|
|
18295
|
-
* Enables Elastic Compute Service (ECS) traffic monitoring.
|
|
18296
|
-
*
|
|
18297
|
-
* @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
|
|
18298
|
-
*
|
|
18299
|
-
* @param request - EnableNatGatewayEcsMetricRequest
|
|
18300
|
-
* @returns EnableNatGatewayEcsMetricResponse
|
|
18301
|
-
*/
|
|
18302
|
-
// Deprecated
|
|
18303
|
-
async enableNatGatewayEcsMetric(request) {
|
|
18304
|
-
let runtime = new $dara.RuntimeOptions({});
|
|
18305
|
-
return await this.enableNatGatewayEcsMetricWithOptions(request, runtime);
|
|
18306
|
-
}
|
|
18307
18136
|
/**
|
|
18308
18137
|
* Enables an Express Connect circuit that is in the Confirmed state. After you perform this operation, the Express Connect circuit enters the Enabled state.
|
|
18309
18138
|
*
|
|
@@ -18684,7 +18513,7 @@ class Client extends openapi_core_1.default {
|
|
|
18684
18513
|
return await this.getIpv4GatewayAttributeWithOptions(request, runtime);
|
|
18685
18514
|
}
|
|
18686
18515
|
/**
|
|
18687
|
-
*
|
|
18516
|
+
* Queries information about a NAT gateway.
|
|
18688
18517
|
*
|
|
18689
18518
|
* @remarks
|
|
18690
18519
|
* You can call this operation to query information about a specified Internet NAT gateway or Virtual Private Cloud (VPC) NAT gateway. In this topic, "NAT gateway" refers to both gateway types.
|
|
@@ -18734,7 +18563,7 @@ class Client extends openapi_core_1.default {
|
|
|
18734
18563
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNatGatewayAttributeResponse({}));
|
|
18735
18564
|
}
|
|
18736
18565
|
/**
|
|
18737
|
-
*
|
|
18566
|
+
* Queries information about a NAT gateway.
|
|
18738
18567
|
*
|
|
18739
18568
|
* @remarks
|
|
18740
18569
|
* You can call this operation to query information about a specified Internet NAT gateway or Virtual Private Cloud (VPC) NAT gateway. In this topic, "NAT gateway" refers to both gateway types.
|
|
@@ -20150,6 +19979,9 @@ class Client extends openapi_core_1.default {
|
|
|
20150
19979
|
if (!$dara.isNull(request.ipOrigin)) {
|
|
20151
19980
|
query["IpOrigin"] = request.ipOrigin;
|
|
20152
19981
|
}
|
|
19982
|
+
if (!$dara.isNull(request.ipv4Prefix)) {
|
|
19983
|
+
query["Ipv4Prefix"] = request.ipv4Prefix;
|
|
19984
|
+
}
|
|
20153
19985
|
if (!$dara.isNull(request.maxResults)) {
|
|
20154
19986
|
query["MaxResults"] = request.maxResults;
|
|
20155
19987
|
}
|
|
@@ -22406,6 +22238,9 @@ class Client extends openapi_core_1.default {
|
|
|
22406
22238
|
async modifyFullNatEntryAttributeWithOptions(request, runtime) {
|
|
22407
22239
|
request.validate();
|
|
22408
22240
|
let query = {};
|
|
22241
|
+
if (!$dara.isNull(request.accessDomain)) {
|
|
22242
|
+
query["AccessDomain"] = request.accessDomain;
|
|
22243
|
+
}
|
|
22409
22244
|
if (!$dara.isNull(request.accessIp)) {
|
|
22410
22245
|
query["AccessIp"] = request.accessIp;
|
|
22411
22246
|
}
|