@alicloud/vpc20160428 7.0.1 → 7.1.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 +55 -8
- package/dist/client.js +211 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEnhancedVpnGatewayRequest.d.ts +76 -0
- package/dist/models/CreateEnhancedVpnGatewayRequest.js +84 -0
- package/dist/models/CreateEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/CreateEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.d.ts +28 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.js +62 -0
- package/dist/models/CreateEnhancedVpnGatewayResponseBody.js.map +1 -0
- package/dist/models/DeleteEnhancedVpnGatewayRequest.d.ts +38 -0
- package/dist/models/DeleteEnhancedVpnGatewayRequest.js +70 -0
- package/dist/models/DeleteEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.d.ts +18 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js +58 -0
- package/dist/models/DeleteEnhancedVpnGatewayResponseBody.js.map +1 -0
- package/dist/models/ModifyRouteEntryRequest.d.ts +3 -1
- package/dist/models/ModifyRouteEntryRequest.js.map +1 -1
- package/dist/models/UpdateEnhancedVpnGatewayRequest.d.ts +53 -0
- package/dist/models/UpdateEnhancedVpnGatewayRequest.js +76 -0
- package/dist/models/UpdateEnhancedVpnGatewayRequest.js.map +1 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.d.ts +19 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.js +69 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponse.js.map +1 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.d.ts +135 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js +163 -0
- package/dist/models/UpdateEnhancedVpnGatewayResponseBody.js.map +1 -0
- package/dist/models/UpdateNetworkAclEntriesRequest.d.ts +26 -22
- package/dist/models/UpdateNetworkAclEntriesRequest.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +49 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +248 -8
- package/src/models/CreateEnhancedVpnGatewayRequest.ts +115 -0
- package/src/models/CreateEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/CreateEnhancedVpnGatewayResponseBody.ts +45 -0
- package/src/models/DeleteEnhancedVpnGatewayRequest.ts +63 -0
- package/src/models/DeleteEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/DeleteEnhancedVpnGatewayResponseBody.ts +31 -0
- package/src/models/ModifyRouteEntryRequest.ts +3 -1
- package/src/models/UpdateEnhancedVpnGatewayRequest.ts +84 -0
- package/src/models/UpdateEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/UpdateEnhancedVpnGatewayResponseBody.ts +226 -0
- package/src/models/UpdateNetworkAclEntriesRequest.ts +26 -22
- package/src/models/model.ts +12 -0
package/dist/client.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export default class Client extends OpenApi {
|
|
|
74
74
|
*/
|
|
75
75
|
addBgpNetwork(request: $_model.AddBgpNetworkRequest): Promise<$_model.AddBgpNetworkResponse>;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* AddCommonBandwidthPackageIp
|
|
78
78
|
*
|
|
79
79
|
* @remarks
|
|
80
80
|
* Associates an elastic IP address (EIP) with an Internet Shared Bandwidth instance.
|
|
@@ -85,7 +85,7 @@ export default class Client extends OpenApi {
|
|
|
85
85
|
*/
|
|
86
86
|
addCommonBandwidthPackageIpWithOptions(request: $_model.AddCommonBandwidthPackageIpRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddCommonBandwidthPackageIpResponse>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* AddCommonBandwidthPackageIp
|
|
89
89
|
*
|
|
90
90
|
* @remarks
|
|
91
91
|
* Associates an elastic IP address (EIP) with an Internet Shared Bandwidth instance.
|
|
@@ -1072,6 +1072,21 @@ export default class Client extends OpenApi {
|
|
|
1072
1072
|
* @returns CreateDhcpOptionsSetResponse
|
|
1073
1073
|
*/
|
|
1074
1074
|
createDhcpOptionsSet(request: $_model.CreateDhcpOptionsSetRequest): Promise<$_model.CreateDhcpOptionsSetResponse>;
|
|
1075
|
+
/**
|
|
1076
|
+
* 创建增强型VPN网关
|
|
1077
|
+
*
|
|
1078
|
+
* @param request - CreateEnhancedVpnGatewayRequest
|
|
1079
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1080
|
+
* @returns CreateEnhancedVpnGatewayResponse
|
|
1081
|
+
*/
|
|
1082
|
+
createEnhancedVpnGatewayWithOptions(request: $_model.CreateEnhancedVpnGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEnhancedVpnGatewayResponse>;
|
|
1083
|
+
/**
|
|
1084
|
+
* 创建增强型VPN网关
|
|
1085
|
+
*
|
|
1086
|
+
* @param request - CreateEnhancedVpnGatewayRequest
|
|
1087
|
+
* @returns CreateEnhancedVpnGatewayResponse
|
|
1088
|
+
*/
|
|
1089
|
+
createEnhancedVpnGateway(request: $_model.CreateEnhancedVpnGatewayRequest): Promise<$_model.CreateEnhancedVpnGatewayResponse>;
|
|
1075
1090
|
/**
|
|
1076
1091
|
* Creates an Express Cloud Connect (ECC) instance.
|
|
1077
1092
|
*
|
|
@@ -2640,6 +2655,21 @@ export default class Client extends OpenApi {
|
|
|
2640
2655
|
* @returns DeleteDhcpOptionsSetResponse
|
|
2641
2656
|
*/
|
|
2642
2657
|
deleteDhcpOptionsSet(request: $_model.DeleteDhcpOptionsSetRequest): Promise<$_model.DeleteDhcpOptionsSetResponse>;
|
|
2658
|
+
/**
|
|
2659
|
+
* Deletes an Enhanced VPN gateway.
|
|
2660
|
+
*
|
|
2661
|
+
* @param request - DeleteEnhancedVpnGatewayRequest
|
|
2662
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2663
|
+
* @returns DeleteEnhancedVpnGatewayResponse
|
|
2664
|
+
*/
|
|
2665
|
+
deleteEnhancedVpnGatewayWithOptions(request: $_model.DeleteEnhancedVpnGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteEnhancedVpnGatewayResponse>;
|
|
2666
|
+
/**
|
|
2667
|
+
* Deletes an Enhanced VPN gateway.
|
|
2668
|
+
*
|
|
2669
|
+
* @param request - DeleteEnhancedVpnGatewayRequest
|
|
2670
|
+
* @returns DeleteEnhancedVpnGatewayResponse
|
|
2671
|
+
*/
|
|
2672
|
+
deleteEnhancedVpnGateway(request: $_model.DeleteEnhancedVpnGatewayRequest): Promise<$_model.DeleteEnhancedVpnGatewayResponse>;
|
|
2643
2673
|
/**
|
|
2644
2674
|
* Deletes a Express Connect instance, including the initiator and acceptor.
|
|
2645
2675
|
*
|
|
@@ -4092,7 +4122,7 @@ export default class Client extends OpenApi {
|
|
|
4092
4122
|
*/
|
|
4093
4123
|
describeEipGatewayInfo(request: $_model.DescribeEipGatewayInfoRequest): Promise<$_model.DescribeEipGatewayInfoResponse>;
|
|
4094
4124
|
/**
|
|
4095
|
-
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and
|
|
4125
|
+
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and obtain up to 400 data points in each request.
|
|
4096
4126
|
*
|
|
4097
4127
|
* @remarks
|
|
4098
4128
|
* To improve user experience in querying monitoring data, we recommend that you call the DescribeMetricList API operation provided by CloudMonitor to query EIP monitoring data. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [EIP monitoring data](https://help.aliyun.com/document_detail/162874.html).
|
|
@@ -4103,7 +4133,7 @@ export default class Client extends OpenApi {
|
|
|
4103
4133
|
*/
|
|
4104
4134
|
describeEipMonitorDataWithOptions(request: $_model.DescribeEipMonitorDataRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeEipMonitorDataResponse>;
|
|
4105
4135
|
/**
|
|
4106
|
-
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and
|
|
4136
|
+
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and obtain up to 400 data points in each request.
|
|
4107
4137
|
*
|
|
4108
4138
|
* @remarks
|
|
4109
4139
|
* To improve user experience in querying monitoring data, we recommend that you call the DescribeMetricList API operation provided by CloudMonitor to query EIP monitoring data. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [EIP monitoring data](https://help.aliyun.com/document_detail/162874.html).
|
|
@@ -5857,7 +5887,7 @@ export default class Client extends OpenApi {
|
|
|
5857
5887
|
*/
|
|
5858
5888
|
listNatIps(request: $_model.ListNatIpsRequest): Promise<$_model.ListNatIpsResponse>;
|
|
5859
5889
|
/**
|
|
5860
|
-
*
|
|
5890
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
5861
5891
|
*
|
|
5862
5892
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
5863
5893
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5865,7 +5895,7 @@ export default class Client extends OpenApi {
|
|
|
5865
5895
|
*/
|
|
5866
5896
|
listPhysicalConnectionFeaturesWithOptions(request: $_model.ListPhysicalConnectionFeaturesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPhysicalConnectionFeaturesResponse>;
|
|
5867
5897
|
/**
|
|
5868
|
-
*
|
|
5898
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
5869
5899
|
*
|
|
5870
5900
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
5871
5901
|
* @returns ListPhysicalConnectionFeaturesResponse
|
|
@@ -7622,7 +7652,8 @@ export default class Client extends OpenApi {
|
|
|
7622
7652
|
*/
|
|
7623
7653
|
releaseIpv6Address(request: $_model.ReleaseIpv6AddressRequest): Promise<$_model.ReleaseIpv6AddressResponse>;
|
|
7624
7654
|
/**
|
|
7625
|
-
*
|
|
7655
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
7656
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
7626
7657
|
*
|
|
7627
7658
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
7628
7659
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7630,7 +7661,8 @@ export default class Client extends OpenApi {
|
|
|
7630
7661
|
*/
|
|
7631
7662
|
removeCommonBandwidthPackageIpWithOptions(request: $_model.RemoveCommonBandwidthPackageIpRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveCommonBandwidthPackageIpResponse>;
|
|
7632
7663
|
/**
|
|
7633
|
-
*
|
|
7664
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
7665
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
7634
7666
|
*
|
|
7635
7667
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
7636
7668
|
* @returns RemoveCommonBandwidthPackageIpResponse
|
|
@@ -8233,6 +8265,21 @@ export default class Client extends OpenApi {
|
|
|
8233
8265
|
* @returns UpdateDhcpOptionsSetAttributeResponse
|
|
8234
8266
|
*/
|
|
8235
8267
|
updateDhcpOptionsSetAttribute(request: $_model.UpdateDhcpOptionsSetAttributeRequest): Promise<$_model.UpdateDhcpOptionsSetAttributeResponse>;
|
|
8268
|
+
/**
|
|
8269
|
+
* 修改增强型VPN实例属性
|
|
8270
|
+
*
|
|
8271
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
8272
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8273
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
8274
|
+
*/
|
|
8275
|
+
updateEnhancedVpnGatewayWithOptions(request: $_model.UpdateEnhancedVpnGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateEnhancedVpnGatewayResponse>;
|
|
8276
|
+
/**
|
|
8277
|
+
* 修改增强型VPN实例属性
|
|
8278
|
+
*
|
|
8279
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
8280
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
8281
|
+
*/
|
|
8282
|
+
updateEnhancedVpnGateway(request: $_model.UpdateEnhancedVpnGatewayRequest): Promise<$_model.UpdateEnhancedVpnGatewayResponse>;
|
|
8236
8283
|
/**
|
|
8237
8284
|
* Updates a failover test.
|
|
8238
8285
|
*
|
package/dist/client.js
CHANGED
|
@@ -288,7 +288,7 @@ class Client extends openapi_core_1.default {
|
|
|
288
288
|
return await this.addBgpNetworkWithOptions(request, runtime);
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* AddCommonBandwidthPackageIp
|
|
292
292
|
*
|
|
293
293
|
* @remarks
|
|
294
294
|
* Associates an elastic IP address (EIP) with an Internet Shared Bandwidth instance.
|
|
@@ -344,7 +344,7 @@ class Client extends openapi_core_1.default {
|
|
|
344
344
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCommonBandwidthPackageIpResponse({}));
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
347
|
+
* AddCommonBandwidthPackageIp
|
|
348
348
|
*
|
|
349
349
|
* @remarks
|
|
350
350
|
* Associates an elastic IP address (EIP) with an Internet Shared Bandwidth instance.
|
|
@@ -3460,6 +3460,84 @@ class Client extends openapi_core_1.default {
|
|
|
3460
3460
|
let runtime = new $dara.RuntimeOptions({});
|
|
3461
3461
|
return await this.createDhcpOptionsSetWithOptions(request, runtime);
|
|
3462
3462
|
}
|
|
3463
|
+
/**
|
|
3464
|
+
* 创建增强型VPN网关
|
|
3465
|
+
*
|
|
3466
|
+
* @param request - CreateEnhancedVpnGatewayRequest
|
|
3467
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3468
|
+
* @returns CreateEnhancedVpnGatewayResponse
|
|
3469
|
+
*/
|
|
3470
|
+
async createEnhancedVpnGatewayWithOptions(request, runtime) {
|
|
3471
|
+
request.validate();
|
|
3472
|
+
let query = {};
|
|
3473
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
3474
|
+
query["ClientToken"] = request.clientToken;
|
|
3475
|
+
}
|
|
3476
|
+
if (!$dara.isNull(request.disasterRecoveryVSwitchId)) {
|
|
3477
|
+
query["DisasterRecoveryVSwitchId"] = request.disasterRecoveryVSwitchId;
|
|
3478
|
+
}
|
|
3479
|
+
if (!$dara.isNull(request.gatewayType)) {
|
|
3480
|
+
query["GatewayType"] = request.gatewayType;
|
|
3481
|
+
}
|
|
3482
|
+
if (!$dara.isNull(request.name)) {
|
|
3483
|
+
query["Name"] = request.name;
|
|
3484
|
+
}
|
|
3485
|
+
if (!$dara.isNull(request.networkType)) {
|
|
3486
|
+
query["NetworkType"] = request.networkType;
|
|
3487
|
+
}
|
|
3488
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
3489
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
3490
|
+
}
|
|
3491
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
3492
|
+
query["OwnerId"] = request.ownerId;
|
|
3493
|
+
}
|
|
3494
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3495
|
+
query["RegionId"] = request.regionId;
|
|
3496
|
+
}
|
|
3497
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
3498
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
3499
|
+
}
|
|
3500
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
3501
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3502
|
+
}
|
|
3503
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
3504
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3505
|
+
}
|
|
3506
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
3507
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
3508
|
+
}
|
|
3509
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
3510
|
+
query["VpcId"] = request.vpcId;
|
|
3511
|
+
}
|
|
3512
|
+
if (!$dara.isNull(request.vpnType)) {
|
|
3513
|
+
query["VpnType"] = request.vpnType;
|
|
3514
|
+
}
|
|
3515
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3516
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3517
|
+
});
|
|
3518
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3519
|
+
action: "CreateEnhancedVpnGateway",
|
|
3520
|
+
version: "2016-04-28",
|
|
3521
|
+
protocol: "HTTPS",
|
|
3522
|
+
pathname: "/",
|
|
3523
|
+
method: "POST",
|
|
3524
|
+
authType: "AK",
|
|
3525
|
+
style: "RPC",
|
|
3526
|
+
reqBodyType: "formData",
|
|
3527
|
+
bodyType: "json",
|
|
3528
|
+
});
|
|
3529
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateEnhancedVpnGatewayResponse({}));
|
|
3530
|
+
}
|
|
3531
|
+
/**
|
|
3532
|
+
* 创建增强型VPN网关
|
|
3533
|
+
*
|
|
3534
|
+
* @param request - CreateEnhancedVpnGatewayRequest
|
|
3535
|
+
* @returns CreateEnhancedVpnGatewayResponse
|
|
3536
|
+
*/
|
|
3537
|
+
async createEnhancedVpnGateway(request) {
|
|
3538
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3539
|
+
return await this.createEnhancedVpnGatewayWithOptions(request, runtime);
|
|
3540
|
+
}
|
|
3463
3541
|
/**
|
|
3464
3542
|
* Creates an Express Cloud Connect (ECC) instance.
|
|
3465
3543
|
*
|
|
@@ -8756,6 +8834,63 @@ class Client extends openapi_core_1.default {
|
|
|
8756
8834
|
let runtime = new $dara.RuntimeOptions({});
|
|
8757
8835
|
return await this.deleteDhcpOptionsSetWithOptions(request, runtime);
|
|
8758
8836
|
}
|
|
8837
|
+
/**
|
|
8838
|
+
* Deletes an Enhanced VPN gateway.
|
|
8839
|
+
*
|
|
8840
|
+
* @param request - DeleteEnhancedVpnGatewayRequest
|
|
8841
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8842
|
+
* @returns DeleteEnhancedVpnGatewayResponse
|
|
8843
|
+
*/
|
|
8844
|
+
async deleteEnhancedVpnGatewayWithOptions(request, runtime) {
|
|
8845
|
+
request.validate();
|
|
8846
|
+
let query = {};
|
|
8847
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
8848
|
+
query["ClientToken"] = request.clientToken;
|
|
8849
|
+
}
|
|
8850
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
8851
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
8852
|
+
}
|
|
8853
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
8854
|
+
query["OwnerId"] = request.ownerId;
|
|
8855
|
+
}
|
|
8856
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8857
|
+
query["RegionId"] = request.regionId;
|
|
8858
|
+
}
|
|
8859
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
8860
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8861
|
+
}
|
|
8862
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
8863
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8864
|
+
}
|
|
8865
|
+
if (!$dara.isNull(request.vpnGatewayId)) {
|
|
8866
|
+
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
8867
|
+
}
|
|
8868
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8869
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8870
|
+
});
|
|
8871
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8872
|
+
action: "DeleteEnhancedVpnGateway",
|
|
8873
|
+
version: "2016-04-28",
|
|
8874
|
+
protocol: "HTTPS",
|
|
8875
|
+
pathname: "/",
|
|
8876
|
+
method: "POST",
|
|
8877
|
+
authType: "AK",
|
|
8878
|
+
style: "RPC",
|
|
8879
|
+
reqBodyType: "formData",
|
|
8880
|
+
bodyType: "json",
|
|
8881
|
+
});
|
|
8882
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteEnhancedVpnGatewayResponse({}));
|
|
8883
|
+
}
|
|
8884
|
+
/**
|
|
8885
|
+
* Deletes an Enhanced VPN gateway.
|
|
8886
|
+
*
|
|
8887
|
+
* @param request - DeleteEnhancedVpnGatewayRequest
|
|
8888
|
+
* @returns DeleteEnhancedVpnGatewayResponse
|
|
8889
|
+
*/
|
|
8890
|
+
async deleteEnhancedVpnGateway(request) {
|
|
8891
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8892
|
+
return await this.deleteEnhancedVpnGatewayWithOptions(request, runtime);
|
|
8893
|
+
}
|
|
8759
8894
|
/**
|
|
8760
8895
|
* Deletes a Express Connect instance, including the initiator and acceptor.
|
|
8761
8896
|
*
|
|
@@ -13024,7 +13159,7 @@ class Client extends openapi_core_1.default {
|
|
|
13024
13159
|
return await this.describeEipGatewayInfoWithOptions(request, runtime);
|
|
13025
13160
|
}
|
|
13026
13161
|
/**
|
|
13027
|
-
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and
|
|
13162
|
+
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and obtain up to 400 data points in each request.
|
|
13028
13163
|
*
|
|
13029
13164
|
* @remarks
|
|
13030
13165
|
* To improve user experience in querying monitoring data, we recommend that you call the DescribeMetricList API operation provided by CloudMonitor to query EIP monitoring data. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [EIP monitoring data](https://help.aliyun.com/document_detail/162874.html).
|
|
@@ -13080,7 +13215,7 @@ class Client extends openapi_core_1.default {
|
|
|
13080
13215
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeEipMonitorDataResponse({}));
|
|
13081
13216
|
}
|
|
13082
13217
|
/**
|
|
13083
|
-
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and
|
|
13218
|
+
* Queries the monitoring data of an elastic IP address (EIP). You can query monitoring data within the last 30 days, and obtain up to 400 data points in each request.
|
|
13084
13219
|
*
|
|
13085
13220
|
* @remarks
|
|
13086
13221
|
* To improve user experience in querying monitoring data, we recommend that you call the DescribeMetricList API operation provided by CloudMonitor to query EIP monitoring data. For more information, see [DescribeMetricList](https://help.aliyun.com/document_detail/51936.html) and [EIP monitoring data](https://help.aliyun.com/document_detail/162874.html).
|
|
@@ -20022,7 +20157,7 @@ class Client extends openapi_core_1.default {
|
|
|
20022
20157
|
return await this.listNatIpsWithOptions(request, runtime);
|
|
20023
20158
|
}
|
|
20024
20159
|
/**
|
|
20025
|
-
*
|
|
20160
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
20026
20161
|
*
|
|
20027
20162
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
20028
20163
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20069,7 +20204,7 @@ class Client extends openapi_core_1.default {
|
|
|
20069
20204
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPhysicalConnectionFeaturesResponse({}));
|
|
20070
20205
|
}
|
|
20071
20206
|
/**
|
|
20072
|
-
*
|
|
20207
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
20073
20208
|
*
|
|
20074
20209
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
20075
20210
|
* @returns ListPhysicalConnectionFeaturesResponse
|
|
@@ -26278,7 +26413,8 @@ class Client extends openapi_core_1.default {
|
|
|
26278
26413
|
return await this.releaseIpv6AddressWithOptions(request, runtime);
|
|
26279
26414
|
}
|
|
26280
26415
|
/**
|
|
26281
|
-
*
|
|
26416
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
26417
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
26282
26418
|
*
|
|
26283
26419
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
26284
26420
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26328,7 +26464,8 @@ class Client extends openapi_core_1.default {
|
|
|
26328
26464
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveCommonBandwidthPackageIpResponse({}));
|
|
26329
26465
|
}
|
|
26330
26466
|
/**
|
|
26331
|
-
*
|
|
26467
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
26468
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
26332
26469
|
*
|
|
26333
26470
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
26334
26471
|
* @returns RemoveCommonBandwidthPackageIpResponse
|
|
@@ -28205,6 +28342,72 @@ class Client extends openapi_core_1.default {
|
|
|
28205
28342
|
let runtime = new $dara.RuntimeOptions({});
|
|
28206
28343
|
return await this.updateDhcpOptionsSetAttributeWithOptions(request, runtime);
|
|
28207
28344
|
}
|
|
28345
|
+
/**
|
|
28346
|
+
* 修改增强型VPN实例属性
|
|
28347
|
+
*
|
|
28348
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
28349
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28350
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
28351
|
+
*/
|
|
28352
|
+
async updateEnhancedVpnGatewayWithOptions(request, runtime) {
|
|
28353
|
+
request.validate();
|
|
28354
|
+
let query = {};
|
|
28355
|
+
if (!$dara.isNull(request.autoPropagate)) {
|
|
28356
|
+
query["AutoPropagate"] = request.autoPropagate;
|
|
28357
|
+
}
|
|
28358
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
28359
|
+
query["ClientToken"] = request.clientToken;
|
|
28360
|
+
}
|
|
28361
|
+
if (!$dara.isNull(request.description)) {
|
|
28362
|
+
query["Description"] = request.description;
|
|
28363
|
+
}
|
|
28364
|
+
if (!$dara.isNull(request.name)) {
|
|
28365
|
+
query["Name"] = request.name;
|
|
28366
|
+
}
|
|
28367
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
28368
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
28369
|
+
}
|
|
28370
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
28371
|
+
query["OwnerId"] = request.ownerId;
|
|
28372
|
+
}
|
|
28373
|
+
if (!$dara.isNull(request.regionId)) {
|
|
28374
|
+
query["RegionId"] = request.regionId;
|
|
28375
|
+
}
|
|
28376
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
28377
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
28378
|
+
}
|
|
28379
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
28380
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
28381
|
+
}
|
|
28382
|
+
if (!$dara.isNull(request.vpnGatewayId)) {
|
|
28383
|
+
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
28384
|
+
}
|
|
28385
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
28386
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
28387
|
+
});
|
|
28388
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
28389
|
+
action: "UpdateEnhancedVpnGateway",
|
|
28390
|
+
version: "2016-04-28",
|
|
28391
|
+
protocol: "HTTPS",
|
|
28392
|
+
pathname: "/",
|
|
28393
|
+
method: "POST",
|
|
28394
|
+
authType: "AK",
|
|
28395
|
+
style: "RPC",
|
|
28396
|
+
reqBodyType: "formData",
|
|
28397
|
+
bodyType: "json",
|
|
28398
|
+
});
|
|
28399
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEnhancedVpnGatewayResponse({}));
|
|
28400
|
+
}
|
|
28401
|
+
/**
|
|
28402
|
+
* 修改增强型VPN实例属性
|
|
28403
|
+
*
|
|
28404
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
28405
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
28406
|
+
*/
|
|
28407
|
+
async updateEnhancedVpnGateway(request) {
|
|
28408
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
28409
|
+
return await this.updateEnhancedVpnGatewayWithOptions(request, runtime);
|
|
28410
|
+
}
|
|
28208
28411
|
/**
|
|
28209
28412
|
* Updates a failover test.
|
|
28210
28413
|
*
|