@alicloud/vpc20160428 7.0.1 → 7.1.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 +79 -24
- package/dist/client.js +235 -24
- package/dist/client.js.map +1 -1
- package/dist/models/AssociateVpcCidrBlockRequest.d.ts +2 -2
- package/dist/models/CreateDefaultVswitchRequest.d.ts +2 -2
- 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/CreateVpcRequest.d.ts +2 -2
- 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/DeleteVpcRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchCidrReservationRequest.d.ts +1 -1
- package/dist/models/DeleteVswitchRequest.d.ts +1 -1
- package/dist/models/DescribeGrantRulesToCenRequest.d.ts +2 -2
- package/dist/models/DescribeVpcAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeVpcsRequest.d.ts +2 -2
- package/dist/models/DescribeVswitchAttributesRequest.d.ts +1 -1
- package/dist/models/DescribeVswitchAttributesResponseBody.d.ts +5 -3
- package/dist/models/DescribeVswitchAttributesResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchesRequest.d.ts +1 -1
- package/dist/models/GrantInstanceToCenRequest.d.ts +1 -1
- package/dist/models/ModifyRouteEntryRequest.d.ts +3 -1
- package/dist/models/ModifyRouteEntryRequest.js.map +1 -1
- package/dist/models/ModifyVpcAttributeRequest.d.ts +1 -1
- package/dist/models/RevokeInstanceFromCenRequest.d.ts +1 -1
- package/dist/models/UnassociateVpcCidrBlockRequest.d.ts +6 -4
- package/dist/models/UnassociateVpcCidrBlockRequest.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 +272 -24
- package/src/models/AssociateVpcCidrBlockRequest.ts +2 -2
- package/src/models/CreateDefaultVswitchRequest.ts +2 -2
- package/src/models/CreateEnhancedVpnGatewayRequest.ts +115 -0
- package/src/models/CreateEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/CreateEnhancedVpnGatewayResponseBody.ts +45 -0
- package/src/models/CreateVpcRequest.ts +2 -2
- package/src/models/DeleteEnhancedVpnGatewayRequest.ts +63 -0
- package/src/models/DeleteEnhancedVpnGatewayResponse.ts +40 -0
- package/src/models/DeleteEnhancedVpnGatewayResponseBody.ts +31 -0
- package/src/models/DeleteVpcRequest.ts +1 -1
- package/src/models/DeleteVswitchCidrReservationRequest.ts +1 -1
- package/src/models/DeleteVswitchRequest.ts +1 -1
- package/src/models/DescribeGrantRulesToCenRequest.ts +2 -2
- package/src/models/DescribeVpcAttributeRequest.ts +1 -1
- package/src/models/DescribeVpcsRequest.ts +2 -2
- package/src/models/DescribeVswitchAttributesRequest.ts +1 -1
- package/src/models/DescribeVswitchAttributesResponseBody.ts +5 -3
- package/src/models/DescribeVswitchesRequest.ts +1 -1
- package/src/models/GrantInstanceToCenRequest.ts +1 -1
- package/src/models/ModifyRouteEntryRequest.ts +3 -1
- package/src/models/ModifyVpcAttributeRequest.ts +1 -1
- package/src/models/RevokeInstanceFromCenRequest.ts +1 -1
- package/src/models/UnassociateVpcCidrBlockRequest.ts +6 -4
- 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.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.
|
|
@@ -1191,7 +1191,7 @@ class Client extends openapi_core_1.default {
|
|
|
1191
1191
|
* # [](#)
|
|
1192
1192
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1193
1193
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1194
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1194
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1195
1195
|
*
|
|
1196
1196
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1197
1197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1253,7 +1253,7 @@ class Client extends openapi_core_1.default {
|
|
|
1253
1253
|
* # [](#)
|
|
1254
1254
|
* The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
|
|
1255
1255
|
* 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
|
|
1256
|
-
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR
|
|
1256
|
+
* 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](https://help.aliyun.com/document_detail/146745.html) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR block, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](https://help.aliyun.com/document_detail/35737.html) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
|
|
1257
1257
|
*
|
|
1258
1258
|
* @param request - AllocateVpcIpv6CidrRequest
|
|
1259
1259
|
* @returns AllocateVpcIpv6CidrResponse
|
|
@@ -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
|
*
|
|
@@ -7355,9 +7433,9 @@ class Client extends openapi_core_1.default {
|
|
|
7355
7433
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
7356
7434
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
7357
7435
|
* * **CreateVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
7358
|
-
* * If the VPC is in the **
|
|
7359
|
-
* * If the VPC is in the **
|
|
7360
|
-
* * You cannot repeatedly call the **
|
|
7436
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
7437
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
7438
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
7361
7439
|
*
|
|
7362
7440
|
* @param request - CreateVpcRequest
|
|
7363
7441
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7456,9 +7534,9 @@ class Client extends openapi_core_1.default {
|
|
|
7456
7534
|
* * After you create a VPC, a vRouter and a route table are automatically created.
|
|
7457
7535
|
* * At most three user CIDR blocks can be added to a VPC. If a user CIDR block includes another user CIDR block, the one with the shorter subnet mask takes effect. For example, if both 10.0.0.0/8 and 10.1.0.0/16 are specified, only 10.0.0.0/8 takes effect.
|
|
7458
7536
|
* * **CreateVpc** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of the task:
|
|
7459
|
-
* * If the VPC is in the **
|
|
7460
|
-
* * If the VPC is in the **
|
|
7461
|
-
* * You cannot repeatedly call the **
|
|
7537
|
+
* * If the VPC is in the **Pending** state, the VPC is being created.
|
|
7538
|
+
* * If the VPC is in the **Available** state, the VPC is created.
|
|
7539
|
+
* * You cannot repeatedly call the **CreateVpc** operation to create default VPCs within a specific time period. However, you can repeatedly call this operation to create custom VPCs within a specific time period.
|
|
7462
7540
|
*
|
|
7463
7541
|
* @param request - CreateVpcRequest
|
|
7464
7542
|
* @returns CreateVpcResponse
|
|
@@ -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
|
*
|
|
@@ -11296,8 +11431,8 @@ class Client extends openapi_core_1.default {
|
|
|
11296
11431
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
11297
11432
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
11298
11433
|
* * **DeleteVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
11299
|
-
* * If the vSwitch is in the **
|
|
11300
|
-
* * If
|
|
11434
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
11435
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
11301
11436
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
11302
11437
|
*
|
|
11303
11438
|
* @param request - DeleteVSwitchRequest
|
|
@@ -11353,8 +11488,8 @@ class Client extends openapi_core_1.default {
|
|
|
11353
11488
|
* * You can delete only vSwitches that are in the **Available** state.
|
|
11354
11489
|
* * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
|
|
11355
11490
|
* * **DeleteVSwitch** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
11356
|
-
* * If the vSwitch is in the **
|
|
11357
|
-
* * If
|
|
11491
|
+
* * If the vSwitch is in the **Deleting** state, the vSwitch is being deleted.
|
|
11492
|
+
* * If the DescribeVSwitchAttributes operation returns empty values for the vSwitch attributes, the vSwitch is deleted.
|
|
11358
11493
|
* * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
|
|
11359
11494
|
*
|
|
11360
11495
|
* @param request - DeleteVSwitchRequest
|
|
@@ -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).
|
|
@@ -16627,6 +16762,10 @@ class Client extends openapi_core_1.default {
|
|
|
16627
16762
|
/**
|
|
16628
16763
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
16629
16764
|
*
|
|
16765
|
+
* @remarks
|
|
16766
|
+
* ## Debugging
|
|
16767
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
16768
|
+
*
|
|
16630
16769
|
* @param request - DescribeVpcAttributeRequest
|
|
16631
16770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
16632
16771
|
* @returns DescribeVpcAttributeResponse
|
|
@@ -16677,6 +16816,10 @@ class Client extends openapi_core_1.default {
|
|
|
16677
16816
|
/**
|
|
16678
16817
|
* Queries the configuration of a virtual private cloud (VPC).
|
|
16679
16818
|
*
|
|
16819
|
+
* @remarks
|
|
16820
|
+
* ## Debugging
|
|
16821
|
+
* [You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.](https://api.aliyun.com/#product=Vpc\\&api=DescribeVpcAttribute\\&type=RPC\\&version=2016-04-28)
|
|
16822
|
+
*
|
|
16680
16823
|
* @param request - DescribeVpcAttributeRequest
|
|
16681
16824
|
* @returns DescribeVpcAttributeResponse
|
|
16682
16825
|
*/
|
|
@@ -20022,7 +20165,7 @@ class Client extends openapi_core_1.default {
|
|
|
20022
20165
|
return await this.listNatIpsWithOptions(request, runtime);
|
|
20023
20166
|
}
|
|
20024
20167
|
/**
|
|
20025
|
-
*
|
|
20168
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
20026
20169
|
*
|
|
20027
20170
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
20028
20171
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20069,7 +20212,7 @@ class Client extends openapi_core_1.default {
|
|
|
20069
20212
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPhysicalConnectionFeaturesResponse({}));
|
|
20070
20213
|
}
|
|
20071
20214
|
/**
|
|
20072
|
-
*
|
|
20215
|
+
* Querying the connection features supported by a Express Connect circuit.
|
|
20073
20216
|
*
|
|
20074
20217
|
* @param request - ListPhysicalConnectionFeaturesRequest
|
|
20075
20218
|
* @returns ListPhysicalConnectionFeaturesResponse
|
|
@@ -24229,7 +24372,7 @@ class Client extends openapi_core_1.default {
|
|
|
24229
24372
|
return await this.modifyVRouterAttributeWithOptions(request, runtime);
|
|
24230
24373
|
}
|
|
24231
24374
|
/**
|
|
24232
|
-
* Modifies the name and
|
|
24375
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
24233
24376
|
*
|
|
24234
24377
|
* @remarks
|
|
24235
24378
|
* **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -24294,7 +24437,7 @@ class Client extends openapi_core_1.default {
|
|
|
24294
24437
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVSwitchAttributeResponse({}));
|
|
24295
24438
|
}
|
|
24296
24439
|
/**
|
|
24297
|
-
* Modifies the name and
|
|
24440
|
+
* Modifies the name, description, and IPv6 settings of a vSwitch.
|
|
24298
24441
|
*
|
|
24299
24442
|
* @remarks
|
|
24300
24443
|
* **ModifyVSwitchAttribute** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](https://help.aliyun.com/document_detail/94567.html) operation to query the status of the task:
|
|
@@ -24594,7 +24737,7 @@ class Client extends openapi_core_1.default {
|
|
|
24594
24737
|
return await this.modifyVirtualBorderRouterAttributeWithOptions(request, runtime);
|
|
24595
24738
|
}
|
|
24596
24739
|
/**
|
|
24597
|
-
* Modifies the
|
|
24740
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
24598
24741
|
*
|
|
24599
24742
|
* @remarks
|
|
24600
24743
|
* ## [](#)Description
|
|
@@ -24663,7 +24806,7 @@ class Client extends openapi_core_1.default {
|
|
|
24663
24806
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyVpcAttributeResponse({}));
|
|
24664
24807
|
}
|
|
24665
24808
|
/**
|
|
24666
|
-
* Modifies the
|
|
24809
|
+
* Modifies the name and description of a virtual private cloud (VPC).
|
|
24667
24810
|
*
|
|
24668
24811
|
* @remarks
|
|
24669
24812
|
* ## [](#)Description
|
|
@@ -26278,7 +26421,8 @@ class Client extends openapi_core_1.default {
|
|
|
26278
26421
|
return await this.releaseIpv6AddressWithOptions(request, runtime);
|
|
26279
26422
|
}
|
|
26280
26423
|
/**
|
|
26281
|
-
*
|
|
26424
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
26425
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
26282
26426
|
*
|
|
26283
26427
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
26284
26428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26328,7 +26472,8 @@ class Client extends openapi_core_1.default {
|
|
|
26328
26472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveCommonBandwidthPackageIpResponse({}));
|
|
26329
26473
|
}
|
|
26330
26474
|
/**
|
|
26331
|
-
*
|
|
26475
|
+
* The region ID of the Internet Shared Bandwidth instance.
|
|
26476
|
+
* You can call the [DescribeRegions]\\(~~36063~~) operation to query the most recent region list.
|
|
26332
26477
|
*
|
|
26333
26478
|
* @param request - RemoveCommonBandwidthPackageIpRequest
|
|
26334
26479
|
* @returns RemoveCommonBandwidthPackageIpResponse
|
|
@@ -28205,6 +28350,72 @@ class Client extends openapi_core_1.default {
|
|
|
28205
28350
|
let runtime = new $dara.RuntimeOptions({});
|
|
28206
28351
|
return await this.updateDhcpOptionsSetAttributeWithOptions(request, runtime);
|
|
28207
28352
|
}
|
|
28353
|
+
/**
|
|
28354
|
+
* 修改增强型VPN实例属性
|
|
28355
|
+
*
|
|
28356
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
28357
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28358
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
28359
|
+
*/
|
|
28360
|
+
async updateEnhancedVpnGatewayWithOptions(request, runtime) {
|
|
28361
|
+
request.validate();
|
|
28362
|
+
let query = {};
|
|
28363
|
+
if (!$dara.isNull(request.autoPropagate)) {
|
|
28364
|
+
query["AutoPropagate"] = request.autoPropagate;
|
|
28365
|
+
}
|
|
28366
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
28367
|
+
query["ClientToken"] = request.clientToken;
|
|
28368
|
+
}
|
|
28369
|
+
if (!$dara.isNull(request.description)) {
|
|
28370
|
+
query["Description"] = request.description;
|
|
28371
|
+
}
|
|
28372
|
+
if (!$dara.isNull(request.name)) {
|
|
28373
|
+
query["Name"] = request.name;
|
|
28374
|
+
}
|
|
28375
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
28376
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
28377
|
+
}
|
|
28378
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
28379
|
+
query["OwnerId"] = request.ownerId;
|
|
28380
|
+
}
|
|
28381
|
+
if (!$dara.isNull(request.regionId)) {
|
|
28382
|
+
query["RegionId"] = request.regionId;
|
|
28383
|
+
}
|
|
28384
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
28385
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
28386
|
+
}
|
|
28387
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
28388
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
28389
|
+
}
|
|
28390
|
+
if (!$dara.isNull(request.vpnGatewayId)) {
|
|
28391
|
+
query["VpnGatewayId"] = request.vpnGatewayId;
|
|
28392
|
+
}
|
|
28393
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
28394
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
28395
|
+
});
|
|
28396
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
28397
|
+
action: "UpdateEnhancedVpnGateway",
|
|
28398
|
+
version: "2016-04-28",
|
|
28399
|
+
protocol: "HTTPS",
|
|
28400
|
+
pathname: "/",
|
|
28401
|
+
method: "POST",
|
|
28402
|
+
authType: "AK",
|
|
28403
|
+
style: "RPC",
|
|
28404
|
+
reqBodyType: "formData",
|
|
28405
|
+
bodyType: "json",
|
|
28406
|
+
});
|
|
28407
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateEnhancedVpnGatewayResponse({}));
|
|
28408
|
+
}
|
|
28409
|
+
/**
|
|
28410
|
+
* 修改增强型VPN实例属性
|
|
28411
|
+
*
|
|
28412
|
+
* @param request - UpdateEnhancedVpnGatewayRequest
|
|
28413
|
+
* @returns UpdateEnhancedVpnGatewayResponse
|
|
28414
|
+
*/
|
|
28415
|
+
async updateEnhancedVpnGateway(request) {
|
|
28416
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
28417
|
+
return await this.updateEnhancedVpnGatewayWithOptions(request, runtime);
|
|
28418
|
+
}
|
|
28208
28419
|
/**
|
|
28209
28420
|
* Updates a failover test.
|
|
28210
28421
|
*
|