@alicloud/vpc20160428 6.9.1 → 6.10.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.
Files changed (115) hide show
  1. package/dist/client.d.ts +76 -12
  2. package/dist/client.js +229 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AllocateIpv6internetBandwidthRequest.d.ts +0 -2
  5. package/dist/models/AllocateIpv6internetBandwidthRequest.js.map +1 -1
  6. package/dist/models/CreateNatIpResponseBody.d.ts +35 -0
  7. package/dist/models/CreateNatIpResponseBody.js +29 -1
  8. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  9. package/dist/models/CreateSslVpnServerRequest.d.ts +20 -17
  10. package/dist/models/CreateSslVpnServerRequest.js.map +1 -1
  11. package/dist/models/DeleteExpressConnectRequest.d.ts +58 -0
  12. package/dist/models/DeleteExpressConnectRequest.js +72 -0
  13. package/dist/models/DeleteExpressConnectRequest.js.map +1 -0
  14. package/dist/models/DeleteExpressConnectResponse.d.ts +19 -0
  15. package/dist/models/DeleteExpressConnectResponse.js +69 -0
  16. package/dist/models/DeleteExpressConnectResponse.js.map +1 -0
  17. package/dist/models/DeleteExpressConnectResponseBody.d.ts +21 -0
  18. package/dist/models/DeleteExpressConnectResponseBody.js +58 -0
  19. package/dist/models/DeleteExpressConnectResponseBody.js.map +1 -0
  20. package/dist/models/DeleteVswitchRequest.d.ts +6 -0
  21. package/dist/models/DeleteVswitchRequest.js.map +1 -1
  22. package/dist/models/DescribeGrantRulesToEcrRequest.d.ts +94 -0
  23. package/dist/models/DescribeGrantRulesToEcrRequest.js +92 -0
  24. package/dist/models/DescribeGrantRulesToEcrRequest.js.map +1 -0
  25. package/dist/models/DescribeGrantRulesToEcrResponse.d.ts +19 -0
  26. package/dist/models/DescribeGrantRulesToEcrResponse.js +69 -0
  27. package/dist/models/DescribeGrantRulesToEcrResponse.js.map +1 -0
  28. package/dist/models/DescribeGrantRulesToEcrResponseBody.d.ts +94 -0
  29. package/dist/models/DescribeGrantRulesToEcrResponseBody.js +94 -0
  30. package/dist/models/DescribeGrantRulesToEcrResponseBody.js.map +1 -0
  31. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.d.ts +61 -0
  32. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.js.map +1 -1
  33. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.d.ts +61 -0
  34. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.js.map +1 -1
  35. package/dist/models/DescribeVpcAttributeResponseBody.d.ts +7 -0
  36. package/dist/models/DescribeVpcAttributeResponseBody.js.map +1 -1
  37. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +45 -0
  38. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -1
  39. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +40 -0
  40. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -1
  41. package/dist/models/GetDhcpOptionsSetResponseBody.d.ts +8 -0
  42. package/dist/models/GetDhcpOptionsSetResponseBody.js.map +1 -1
  43. package/dist/models/ListBusinessRegionsRequest.d.ts +24 -0
  44. package/dist/models/ListBusinessRegionsRequest.js +58 -0
  45. package/dist/models/ListBusinessRegionsRequest.js.map +1 -0
  46. package/dist/models/ListBusinessRegionsResponse.d.ts +19 -0
  47. package/dist/models/ListBusinessRegionsResponse.js +69 -0
  48. package/dist/models/ListBusinessRegionsResponse.js.map +1 -0
  49. package/dist/models/ListBusinessRegionsResponseBody.d.ts +59 -0
  50. package/dist/models/ListBusinessRegionsResponseBody.js +86 -0
  51. package/dist/models/ListBusinessRegionsResponseBody.js.map +1 -0
  52. package/dist/models/ListDhcpOptionsSetsRequest.d.ts +2 -0
  53. package/dist/models/ListDhcpOptionsSetsRequest.js.map +1 -1
  54. package/dist/models/ListDhcpOptionsSetsResponseBody.d.ts +12 -4
  55. package/dist/models/ListDhcpOptionsSetsResponseBody.js.map +1 -1
  56. package/dist/models/ListNatIpsRequest.d.ts +5 -0
  57. package/dist/models/ListNatIpsRequest.js +2 -0
  58. package/dist/models/ListNatIpsRequest.js.map +1 -1
  59. package/dist/models/ListPhysicalConnectionFeaturesRequest.d.ts +51 -0
  60. package/dist/models/ListPhysicalConnectionFeaturesRequest.js +70 -0
  61. package/dist/models/ListPhysicalConnectionFeaturesRequest.js.map +1 -0
  62. package/dist/models/ListPhysicalConnectionFeaturesResponse.d.ts +19 -0
  63. package/dist/models/ListPhysicalConnectionFeaturesResponse.js +69 -0
  64. package/dist/models/ListPhysicalConnectionFeaturesResponse.js.map +1 -0
  65. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.d.ts +66 -0
  66. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js +84 -0
  67. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js.map +1 -0
  68. package/dist/models/ListTrafficMirrorFiltersResponseBody.d.ts +14 -0
  69. package/dist/models/ListTrafficMirrorFiltersResponseBody.js.map +1 -1
  70. package/dist/models/ListVpcGatewayEndpointsRequest.d.ts +8 -1
  71. package/dist/models/ListVpcGatewayEndpointsRequest.js.map +1 -1
  72. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +6 -0
  73. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  74. package/dist/models/ModifyVpcPrefixListRequest.d.ts +1 -1
  75. package/dist/models/OpenPublicIpAddressPoolServiceRequest.d.ts +10 -0
  76. package/dist/models/OpenPublicIpAddressPoolServiceRequest.js.map +1 -1
  77. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.d.ts +9 -0
  78. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.js.map +1 -1
  79. package/dist/models/model.d.ts +17 -0
  80. package/dist/models/model.js +70 -36
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +260 -12
  84. package/src/models/AllocateIpv6internetBandwidthRequest.ts +0 -2
  85. package/src/models/CreateNatIpResponseBody.ts +54 -0
  86. package/src/models/CreateSslVpnServerRequest.ts +20 -17
  87. package/src/models/DeleteExpressConnectRequest.ts +85 -0
  88. package/src/models/DeleteExpressConnectResponse.ts +40 -0
  89. package/src/models/DeleteExpressConnectResponseBody.ts +34 -0
  90. package/src/models/DeleteVswitchRequest.ts +6 -0
  91. package/src/models/DescribeGrantRulesToEcrRequest.ts +132 -0
  92. package/src/models/DescribeGrantRulesToEcrResponse.ts +40 -0
  93. package/src/models/DescribeGrantRulesToEcrResponseBody.ts +134 -0
  94. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.ts +61 -0
  95. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.ts +61 -0
  96. package/src/models/DescribeVpcAttributeResponseBody.ts +7 -0
  97. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +45 -0
  98. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +40 -0
  99. package/src/models/GetDhcpOptionsSetResponseBody.ts +10 -2
  100. package/src/models/ListBusinessRegionsRequest.ts +37 -0
  101. package/src/models/ListBusinessRegionsResponse.ts +40 -0
  102. package/src/models/ListBusinessRegionsResponseBody.ts +91 -0
  103. package/src/models/ListDhcpOptionsSetsRequest.ts +8 -6
  104. package/src/models/ListDhcpOptionsSetsResponseBody.ts +12 -4
  105. package/src/models/ListNatIpsRequest.ts +7 -0
  106. package/src/models/ListPhysicalConnectionFeaturesRequest.ts +76 -0
  107. package/src/models/ListPhysicalConnectionFeaturesResponse.ts +40 -0
  108. package/src/models/ListPhysicalConnectionFeaturesResponseBody.ts +96 -0
  109. package/src/models/ListTrafficMirrorFiltersResponseBody.ts +14 -0
  110. package/src/models/ListVpcGatewayEndpointsRequest.ts +8 -1
  111. package/src/models/ModifyFlowLogAttributeRequest.ts +6 -0
  112. package/src/models/ModifyVpcPrefixListRequest.ts +1 -1
  113. package/src/models/OpenPublicIpAddressPoolServiceRequest.ts +10 -0
  114. package/src/models/OpenPublicIpAddressPoolServiceResponseBody.ts +9 -0
  115. package/src/models/model.ts +17 -0
package/src/client.ts CHANGED
@@ -2492,6 +2492,8 @@ export default class Client extends OpenApi {
2492
2492
  }
2493
2493
 
2494
2494
  /**
2495
+ * 将DHCP选项集与VPC关联
2496
+ *
2495
2497
  * @remarks
2496
2498
  * The **AttachDhcpOptionsSetToVpc** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of a DHCP options set:
2497
2499
  * * If the DHCP options set is in the **Pending** state, the DHCP options set is being associated.
@@ -2559,6 +2561,8 @@ export default class Client extends OpenApi {
2559
2561
  }
2560
2562
 
2561
2563
  /**
2564
+ * 将DHCP选项集与VPC关联
2565
+ *
2562
2566
  * @remarks
2563
2567
  * The **AttachDhcpOptionsSetToVpc** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVpcAttribute](https://help.aliyun.com/document_detail/94565.html) operation to query the status of a DHCP options set:
2564
2568
  * * If the DHCP options set is in the **Pending** state, the DHCP options set is being associated.
@@ -7470,8 +7474,8 @@ export default class Client extends OpenApi {
7470
7474
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
7471
7475
  * * If the VPN gateway is in the **active** state, the SSL server is created.
7472
7476
  * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
7473
- * ### [](#)Prerequisite
7474
- * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
7477
+ * ### [](#prerequisite)[](#)Prerequisite
7478
+ * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html) .
7475
7479
  * * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
7476
7480
  *
7477
7481
  * @param request - CreateSslVpnServerRequest
@@ -7582,8 +7586,8 @@ export default class Client extends OpenApi {
7582
7586
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
7583
7587
  * * If the VPN gateway is in the **active** state, the SSL server is created.
7584
7588
  * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
7585
- * ### [](#)Prerequisite
7586
- * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html).
7589
+ * ### [](#prerequisite)[](#)Prerequisite
7590
+ * * A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](https://help.aliyun.com/document_detail/2794049.html) .
7587
7591
  * * If you want to enable two-factor authentication for the SSL server, make sure that the VPN gateway supports two-factor authentication. You may need to upgrade the VPN gateway. For more information, see [Two-factor authentication supports IDaaS EIAM 2.0](https://help.aliyun.com/document_detail/2785320.html).
7588
7592
  *
7589
7593
  * @param request - CreateSslVpnServerRequest
@@ -10226,6 +10230,76 @@ export default class Client extends OpenApi {
10226
10230
  return await this.deleteDhcpOptionsSetWithOptions(request, runtime);
10227
10231
  }
10228
10232
 
10233
+ /**
10234
+ * Deletes a Express Connect instance, including the initiator and acceptor.
10235
+ *
10236
+ * @param request - DeleteExpressConnectRequest
10237
+ * @param runtime - runtime options for this request RuntimeOptions
10238
+ * @returns DeleteExpressConnectResponse
10239
+ */
10240
+ async deleteExpressConnectWithOptions(request: $_model.DeleteExpressConnectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteExpressConnectResponse> {
10241
+ request.validate();
10242
+ let query = { };
10243
+ if (!$dara.isNull(request.clientToken)) {
10244
+ query["ClientToken"] = request.clientToken;
10245
+ }
10246
+
10247
+ if (!$dara.isNull(request.force)) {
10248
+ query["Force"] = request.force;
10249
+ }
10250
+
10251
+ if (!$dara.isNull(request.ownerAccount)) {
10252
+ query["OwnerAccount"] = request.ownerAccount;
10253
+ }
10254
+
10255
+ if (!$dara.isNull(request.ownerId)) {
10256
+ query["OwnerId"] = request.ownerId;
10257
+ }
10258
+
10259
+ if (!$dara.isNull(request.regionId)) {
10260
+ query["RegionId"] = request.regionId;
10261
+ }
10262
+
10263
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
10264
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
10265
+ }
10266
+
10267
+ if (!$dara.isNull(request.resourceOwnerId)) {
10268
+ query["ResourceOwnerId"] = request.resourceOwnerId;
10269
+ }
10270
+
10271
+ if (!$dara.isNull(request.routerInterfaceId)) {
10272
+ query["RouterInterfaceId"] = request.routerInterfaceId;
10273
+ }
10274
+
10275
+ let req = new $OpenApiUtil.OpenApiRequest({
10276
+ query: OpenApiUtil.query(query),
10277
+ });
10278
+ let params = new $OpenApiUtil.Params({
10279
+ action: "DeleteExpressConnect",
10280
+ version: "2016-04-28",
10281
+ protocol: "HTTPS",
10282
+ pathname: "/",
10283
+ method: "POST",
10284
+ authType: "AK",
10285
+ style: "RPC",
10286
+ reqBodyType: "formData",
10287
+ bodyType: "json",
10288
+ });
10289
+ return $dara.cast<$_model.DeleteExpressConnectResponse>(await this.callApi(params, req, runtime), new $_model.DeleteExpressConnectResponse({}));
10290
+ }
10291
+
10292
+ /**
10293
+ * Deletes a Express Connect instance, including the initiator and acceptor.
10294
+ *
10295
+ * @param request - DeleteExpressConnectRequest
10296
+ * @returns DeleteExpressConnectResponse
10297
+ */
10298
+ async deleteExpressConnect(request: $_model.DeleteExpressConnectRequest): Promise<$_model.DeleteExpressConnectResponse> {
10299
+ let runtime = new $dara.RuntimeOptions({ });
10300
+ return await this.deleteExpressConnectWithOptions(request, runtime);
10301
+ }
10302
+
10229
10303
  /**
10230
10304
  * Deletes a quality of service (QoS) policy.
10231
10305
  *
@@ -15920,6 +15994,68 @@ export default class Client extends OpenApi {
15920
15994
  return await this.describeGrantRulesToCenWithOptions(request, runtime);
15921
15995
  }
15922
15996
 
15997
+ /**
15998
+ * Queries the cross-account authorization list of an Express Connect Router (ECR).
15999
+ *
16000
+ * @param request - DescribeGrantRulesToEcrRequest
16001
+ * @param runtime - runtime options for this request RuntimeOptions
16002
+ * @returns DescribeGrantRulesToEcrResponse
16003
+ */
16004
+ async describeGrantRulesToEcrWithOptions(request: $_model.DescribeGrantRulesToEcrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGrantRulesToEcrResponse> {
16005
+ request.validate();
16006
+ let query = { };
16007
+ if (!$dara.isNull(request.instanceId)) {
16008
+ query["InstanceId"] = request.instanceId;
16009
+ }
16010
+
16011
+ if (!$dara.isNull(request.pageNumber)) {
16012
+ query["PageNumber"] = request.pageNumber;
16013
+ }
16014
+
16015
+ if (!$dara.isNull(request.pageSize)) {
16016
+ query["PageSize"] = request.pageSize;
16017
+ }
16018
+
16019
+ if (!$dara.isNull(request.regionId)) {
16020
+ query["RegionId"] = request.regionId;
16021
+ }
16022
+
16023
+ if (!$dara.isNull(request.resourceGroupId)) {
16024
+ query["ResourceGroupId"] = request.resourceGroupId;
16025
+ }
16026
+
16027
+ if (!$dara.isNull(request.tags)) {
16028
+ query["Tags"] = request.tags;
16029
+ }
16030
+
16031
+ let req = new $OpenApiUtil.OpenApiRequest({
16032
+ query: OpenApiUtil.query(query),
16033
+ });
16034
+ let params = new $OpenApiUtil.Params({
16035
+ action: "DescribeGrantRulesToEcr",
16036
+ version: "2016-04-28",
16037
+ protocol: "HTTPS",
16038
+ pathname: "/",
16039
+ method: "POST",
16040
+ authType: "AK",
16041
+ style: "RPC",
16042
+ reqBodyType: "formData",
16043
+ bodyType: "json",
16044
+ });
16045
+ return $dara.cast<$_model.DescribeGrantRulesToEcrResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGrantRulesToEcrResponse({}));
16046
+ }
16047
+
16048
+ /**
16049
+ * Queries the cross-account authorization list of an Express Connect Router (ECR).
16050
+ *
16051
+ * @param request - DescribeGrantRulesToEcrRequest
16052
+ * @returns DescribeGrantRulesToEcrResponse
16053
+ */
16054
+ async describeGrantRulesToEcr(request: $_model.DescribeGrantRulesToEcrRequest): Promise<$_model.DescribeGrantRulesToEcrResponse> {
16055
+ let runtime = new $dara.RuntimeOptions({ });
16056
+ return await this.describeGrantRulesToEcrWithOptions(request, runtime);
16057
+ }
16058
+
15923
16059
  /**
15924
16060
  * Queries HaVips in a region.
15925
16061
  *
@@ -16808,7 +16944,7 @@ export default class Client extends OpenApi {
16808
16944
  }
16809
16945
 
16810
16946
  /**
16811
- * 查询NAT已绑定ENI信息
16947
+ * Queries elastic network interfaces (ENIs) associated with a virtual private cloud (VPC) NAT gateway when the VPC NAT gateway serves as a PrivateLink service resource. This feature is not publicly available.
16812
16948
  *
16813
16949
  * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
16814
16950
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16887,7 +17023,7 @@ export default class Client extends OpenApi {
16887
17023
  }
16888
17024
 
16889
17025
  /**
16890
- * 查询NAT已绑定ENI信息
17026
+ * Queries elastic network interfaces (ENIs) associated with a virtual private cloud (VPC) NAT gateway when the VPC NAT gateway serves as a PrivateLink service resource. This feature is not publicly available.
16891
17027
  *
16892
17028
  * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
16893
17029
  * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
@@ -19267,7 +19403,7 @@ export default class Client extends OpenApi {
19267
19403
  }
19268
19404
 
19269
19405
  /**
19270
- * 查询VPC跨账号授权给ECR
19406
+ * Queries the cross-account authorization information of an ECR for a specified network instance.
19271
19407
  *
19272
19408
  * @param request - DescribeVpcGrantRulesToEcrRequest
19273
19409
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19346,7 +19482,7 @@ export default class Client extends OpenApi {
19346
19482
  }
19347
19483
 
19348
19484
  /**
19349
- * 查询VPC跨账号授权给ECR
19485
+ * Queries the cross-account authorization information of an ECR for a specified network instance.
19350
19486
  *
19351
19487
  * @param request - DescribeVpcGrantRulesToEcrRequest
19352
19488
  * @returns DescribeVpcGrantRulesToEcrResponse
@@ -22348,6 +22484,48 @@ export default class Client extends OpenApi {
22348
22484
  return await this.listBusinessAccessPointsWithOptions(request, runtime);
22349
22485
  }
22350
22486
 
22487
+ /**
22488
+ * Query the list of regions available for an Express Connect circuit.
22489
+ *
22490
+ * @param request - ListBusinessRegionsRequest
22491
+ * @param runtime - runtime options for this request RuntimeOptions
22492
+ * @returns ListBusinessRegionsResponse
22493
+ */
22494
+ async listBusinessRegionsWithOptions(request: $_model.ListBusinessRegionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListBusinessRegionsResponse> {
22495
+ request.validate();
22496
+ let query = { };
22497
+ if (!$dara.isNull(request.acceptLanguage)) {
22498
+ query["AcceptLanguage"] = request.acceptLanguage;
22499
+ }
22500
+
22501
+ let req = new $OpenApiUtil.OpenApiRequest({
22502
+ query: OpenApiUtil.query(query),
22503
+ });
22504
+ let params = new $OpenApiUtil.Params({
22505
+ action: "ListBusinessRegions",
22506
+ version: "2016-04-28",
22507
+ protocol: "HTTPS",
22508
+ pathname: "/",
22509
+ method: "POST",
22510
+ authType: "AK",
22511
+ style: "RPC",
22512
+ reqBodyType: "formData",
22513
+ bodyType: "json",
22514
+ });
22515
+ return $dara.cast<$_model.ListBusinessRegionsResponse>(await this.callApi(params, req, runtime), new $_model.ListBusinessRegionsResponse({}));
22516
+ }
22517
+
22518
+ /**
22519
+ * Query the list of regions available for an Express Connect circuit.
22520
+ *
22521
+ * @param request - ListBusinessRegionsRequest
22522
+ * @returns ListBusinessRegionsResponse
22523
+ */
22524
+ async listBusinessRegions(request: $_model.ListBusinessRegionsRequest): Promise<$_model.ListBusinessRegionsResponse> {
22525
+ let runtime = new $dara.RuntimeOptions({ });
22526
+ return await this.listBusinessRegionsWithOptions(request, runtime);
22527
+ }
22528
+
22351
22529
  /**
22352
22530
  * Queries Dynamic Host Configuration Protocol (DHCP) options sets.
22353
22531
  *
@@ -23060,6 +23238,10 @@ export default class Client extends OpenApi {
23060
23238
  query["DryRun"] = request.dryRun;
23061
23239
  }
23062
23240
 
23241
+ if (!$dara.isNull(request.ipOrigin)) {
23242
+ query["IpOrigin"] = request.ipOrigin;
23243
+ }
23244
+
23063
23245
  if (!$dara.isNull(request.maxResults)) {
23064
23246
  query["MaxResults"] = request.maxResults;
23065
23247
  }
@@ -23140,6 +23322,72 @@ export default class Client extends OpenApi {
23140
23322
  return await this.listNatIpsWithOptions(request, runtime);
23141
23323
  }
23142
23324
 
23325
+ /**
23326
+ * Querying the connection features supported by a Express Connect circuit.
23327
+ *
23328
+ * @param request - ListPhysicalConnectionFeaturesRequest
23329
+ * @param runtime - runtime options for this request RuntimeOptions
23330
+ * @returns ListPhysicalConnectionFeaturesResponse
23331
+ */
23332
+ async listPhysicalConnectionFeaturesWithOptions(request: $_model.ListPhysicalConnectionFeaturesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPhysicalConnectionFeaturesResponse> {
23333
+ request.validate();
23334
+ let query = { };
23335
+ if (!$dara.isNull(request.clientToken)) {
23336
+ query["ClientToken"] = request.clientToken;
23337
+ }
23338
+
23339
+ if (!$dara.isNull(request.ownerAccount)) {
23340
+ query["OwnerAccount"] = request.ownerAccount;
23341
+ }
23342
+
23343
+ if (!$dara.isNull(request.ownerId)) {
23344
+ query["OwnerId"] = request.ownerId;
23345
+ }
23346
+
23347
+ if (!$dara.isNull(request.physicalConnectionId)) {
23348
+ query["PhysicalConnectionId"] = request.physicalConnectionId;
23349
+ }
23350
+
23351
+ if (!$dara.isNull(request.regionId)) {
23352
+ query["RegionId"] = request.regionId;
23353
+ }
23354
+
23355
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
23356
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
23357
+ }
23358
+
23359
+ if (!$dara.isNull(request.resourceOwnerId)) {
23360
+ query["ResourceOwnerId"] = request.resourceOwnerId;
23361
+ }
23362
+
23363
+ let req = new $OpenApiUtil.OpenApiRequest({
23364
+ query: OpenApiUtil.query(query),
23365
+ });
23366
+ let params = new $OpenApiUtil.Params({
23367
+ action: "ListPhysicalConnectionFeatures",
23368
+ version: "2016-04-28",
23369
+ protocol: "HTTPS",
23370
+ pathname: "/",
23371
+ method: "POST",
23372
+ authType: "AK",
23373
+ style: "RPC",
23374
+ reqBodyType: "formData",
23375
+ bodyType: "json",
23376
+ });
23377
+ return $dara.cast<$_model.ListPhysicalConnectionFeaturesResponse>(await this.callApi(params, req, runtime), new $_model.ListPhysicalConnectionFeaturesResponse({}));
23378
+ }
23379
+
23380
+ /**
23381
+ * Querying the connection features supported by a Express Connect circuit.
23382
+ *
23383
+ * @param request - ListPhysicalConnectionFeaturesRequest
23384
+ * @returns ListPhysicalConnectionFeaturesResponse
23385
+ */
23386
+ async listPhysicalConnectionFeatures(request: $_model.ListPhysicalConnectionFeaturesRequest): Promise<$_model.ListPhysicalConnectionFeaturesResponse> {
23387
+ let runtime = new $dara.RuntimeOptions({ });
23388
+ return await this.listPhysicalConnectionFeaturesWithOptions(request, runtime);
23389
+ }
23390
+
23143
23391
  /**
23144
23392
  * Queries prefix lists.
23145
23393
  *
@@ -29655,7 +29903,7 @@ export default class Client extends OpenApi {
29655
29903
  }
29656
29904
 
29657
29905
  /**
29658
- * 开通IP地址池功能。
29906
+ * Enables the IP address pool feature.
29659
29907
  *
29660
29908
  * @param request - OpenPublicIpAddressPoolServiceRequest
29661
29909
  * @param runtime - runtime options for this request RuntimeOptions
@@ -29710,7 +29958,7 @@ export default class Client extends OpenApi {
29710
29958
  }
29711
29959
 
29712
29960
  /**
29713
- * 开通IP地址池功能。
29961
+ * Enables the IP address pool feature.
29714
29962
  *
29715
29963
  * @param request - OpenPublicIpAddressPoolServiceRequest
29716
29964
  * @returns OpenPublicIpAddressPoolServiceResponse
@@ -31599,7 +31847,7 @@ export default class Client extends OpenApi {
31599
31847
  }
31600
31848
 
31601
31849
  /**
31602
- * Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
31850
+ * Migrate a contiguous EIP group to an IP address pool.
31603
31851
  *
31604
31852
  * @param request - TransformEipSegmentToPublicIpAddressPoolRequest
31605
31853
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31650,7 +31898,7 @@ export default class Client extends OpenApi {
31650
31898
  }
31651
31899
 
31652
31900
  /**
31653
- * Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
31901
+ * Migrate a contiguous EIP group to an IP address pool.
31654
31902
  *
31655
31903
  * @param request - TransformEipSegmentToPublicIpAddressPoolRequest
31656
31904
  * @returns TransformEipSegmentToPublicIpAddressPoolResponse
@@ -64,8 +64,6 @@ export class AllocateIpv6InternetBandwidthRequest extends $dara.Model {
64
64
  * @remarks
65
65
  * The ID of the IPv6 gateway.
66
66
  *
67
- * This parameter is required.
68
- *
69
67
  * @example
70
68
  * ipv6gw-uf6hcyzu65v98v3du****
71
69
  */
@@ -2,7 +2,55 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class CreateNatIpResponseBodyNatIps extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 192.168.1.128/28
9
+ *
10
+ * **if can be null:**
11
+ * true
12
+ */
13
+ ipv4Prefix?: string;
14
+ /**
15
+ * @example
16
+ * 192.168.2.128
17
+ */
18
+ natIp?: string;
19
+ /**
20
+ * @example
21
+ * vpcnatip-xxxxxxxx
22
+ */
23
+ natIpId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ ipv4Prefix: 'Ipv4Prefix',
27
+ natIp: 'NatIp',
28
+ natIpId: 'NatIpId',
29
+ };
30
+ }
31
+
32
+ static types(): { [key: string]: any } {
33
+ return {
34
+ ipv4Prefix: 'string',
35
+ natIp: 'string',
36
+ natIpId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
5
49
  export class CreateNatIpResponseBody extends $dara.Model {
50
+ /**
51
+ * @example
52
+ * ""
53
+ */
6
54
  ipv4Prefix?: string;
7
55
  /**
8
56
  * @remarks
@@ -20,6 +68,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
20
68
  * vpcnatip-gw8y7q3cpk3fggs8****
21
69
  */
22
70
  natIpId?: string;
71
+ natIps?: CreateNatIpResponseBodyNatIps[];
23
72
  /**
24
73
  * @remarks
25
74
  * The request ID.
@@ -33,6 +82,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
33
82
  ipv4Prefix: 'Ipv4Prefix',
34
83
  natIp: 'NatIp',
35
84
  natIpId: 'NatIpId',
85
+ natIps: 'NatIps',
36
86
  requestId: 'RequestId',
37
87
  };
38
88
  }
@@ -42,11 +92,15 @@ export class CreateNatIpResponseBody extends $dara.Model {
42
92
  ipv4Prefix: 'string',
43
93
  natIp: 'string',
44
94
  natIpId: 'string',
95
+ natIps: { 'type': 'array', 'itemType': CreateNatIpResponseBodyNatIps },
45
96
  requestId: 'string',
46
97
  };
47
98
  }
48
99
 
49
100
  validate() {
101
+ if(Array.isArray(this.natIps)) {
102
+ $dara.Model.validateArray(this.natIps);
103
+ }
50
104
  super.validate();
51
105
  }
52
106
 
@@ -30,24 +30,19 @@ export class CreateSslVpnServerRequest extends $dara.Model {
30
30
  *
31
31
  * Make sure that the number of IP addresses in the client CIDR block is at least four times the maximum number of SSL-VPN connections supported by the VPN gateway.
32
32
  *
33
- * <details>
34
- * <summary>Click to view the reason.</summary>
33
+ * **Click to view the reason.**
35
34
  *
36
35
  * For example, if you specify 192.168.0.0/24 as the client CIDR block, the system first divides a subnet CIDR block with a subnet mask of 30 from 192.168.0.0/24, such as 192.168.0.4/30. This subnet provides up to four IP addresses. Then, the system allocates an IP address from 192.168.0.4/30 to the client and uses the other three IP addresses to ensure network communication. In this case, one client consumes four IP addresses. Therefore, to ensure that an IP address is assigned to your client, the number of IP addresses in the client CIDR block must be at least four times the maximum number of SSL-VPN connections supported by the VPN gateway with which the SSL server is associated.
37
- * </details>
38
36
  *
39
- * <details>
40
- * <summary>Click to view the CIDR blocks that are not supported.</summary>
37
+ * **Click to view the CIDR blocks that are not supported.**
41
38
  *
42
39
  * * 100.64.0.0~100.127.255.255
43
40
  * * 127.0.0.0~127.255.255.255
44
41
  * * 169.254.0.0~169.254.255.255
45
42
  * * 224.0.0.0~239.255.255.255
46
43
  * * 255.0.0.0~255.255.255.255
47
- * </details>
48
- * <details>
49
- * <summary>Click to view the recommended client CIDR blocks for different numbers of SSL-VPN connections.</summary>
50
44
  *
45
+ * **Click to view the recommended client CIDR blocks for different numbers of SSL-VPN connections.**
51
46
  *
52
47
  * * If the number of SSL-VPN connections is 5, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 27 bits in length. Examples: 10.0.0.0/27 and 10.0.0.0/26.
53
48
  * * If the number of SSL-VPN connections is 10, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 26 bits in length. Examples: 10.0.0.0/26 and 10.0.0.0/25.
@@ -57,12 +52,16 @@ export class CreateSslVpnServerRequest extends $dara.Model {
57
52
  * * If the number of SSL-VPN connections is 200, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 22 bits in length. Examples: 10.0.0.0/22 and 10.0.0.0/21.
58
53
  * * If the number of SSL-VPN connections is 500, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 21 bits in length. Examples: 10.0.0.0/21 and 10.0.0.0/20.
59
54
  * * If the number of SSL-VPN connections is 1,000, we recommend that you specify a client CIDR block with a subnet mask that is less than or equal to 20 bits in length. Examples: 10.0.0.0/20 and 10.0.0.0/19.
60
- * </details>
61
55
  *
62
- * > - The subnet mask of the client CIDR block must be 16 to 29 bits in length.
63
- * > - Make sure that the client CIDR block does not overlap with the local CIDR block, the VPC CIDR block, or route CIDR blocks associated with the client.
64
- * > - We recommend that you use 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets as the client CIDR block. If you want to specify a public CIDR block as the client CIDR block, you must specify the public CIDR block as the user CIDR block of the virtual private cloud (VPC). This way, the VPC can access the public CIDR block. For more information, see [VPC FAQs](https://help.aliyun.com/document_detail/185311.html).
65
- * > - After you create an SSL server, the system automatically adds routes that point to the client CIDR block to the VPC route table. Do not manually add routes that point to the client CIDR block. Otherwise, SSL-VPN connections cannot work as expected.
56
+ * >
57
+ *
58
+ * * The subnet mask of the client CIDR block must be 16 to 29 bits in length.
59
+ *
60
+ * * Make sure that the client CIDR block does not overlap with the local CIDR block, the VPC CIDR block, or route CIDR blocks associated with the client.
61
+ *
62
+ * * We recommend that you use 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or one of their subnets as the client CIDR block. If you want to specify a public CIDR block as the client CIDR block, you must specify the public CIDR block as the user CIDR block of the virtual private cloud (VPC). This way, the VPC can access the public CIDR block. For more information, see [VPC FAQs](https://help.aliyun.com/document_detail/185311.html).
63
+ *
64
+ * * After you create an SSL server, the system automatically adds routes that point to the client CIDR block to the VPC route table. Do not manually add routes that point to the client CIDR block. Otherwise, SSL-VPN connections cannot work as expected.
66
65
  *
67
66
  * This parameter is required.
68
67
  *
@@ -76,7 +75,7 @@ export class CreateSslVpnServerRequest extends $dara.Model {
76
75
  *
77
76
  * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
78
77
  *
79
- * > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
78
+ * > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
80
79
  *
81
80
  * @example
82
81
  * 02fb3da4-130e-11e9-8e44-0016e04115b
@@ -101,9 +100,13 @@ export class CreateSslVpnServerRequest extends $dara.Model {
101
100
  * * **true**: enables this feature.
102
101
  * * **false** (default): disables this feature.
103
102
  *
104
- * > - If you use two-factor authentication for the first time, you must first complete [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D).
105
- * > - When you create an SSL server in the UAE (Dubai) region, we recommend that you associate the SSL server with an IDaaS EIAM 2.0 instance in Singapore to reduce latency.
106
- * > - IDaaS EIAM 1.0 instances are no longer for purchase. If your Alibaba Cloud account has IDaaS EIAM 1.0 instances, the IDaaS EIAM 1.0 instances can be associated after two-factor authentication is enabled. If your Alibaba Cloud account does not have IDaaS EIAM 1.0 instances, only IDaaS EIAM 2.0 instances can be associated after two-factor authentication is enabled.
103
+ * >
104
+ *
105
+ * * If you use two-factor authentication for the first time, you must first complete [authorization](https://ram.console.aliyun.com/role/authorization?request=%7B%22Services%22%3A%5B%7B%22Service%22%3A%22VPN%22%2C%22Roles%22%3A%5B%7B%22RoleName%22%3A%22AliyunVpnAccessingIdaasRole%22%2C%22TemplateId%22%3A%22IdaasRole%22%7D%5D%7D%5D%2C%22ReturnUrl%22%3A%22https%3A%2F%2Fvpc.console.aliyun.com%2Fsslvpn%2Fcn-shanghai%2Fvpn-servers%22%7D) .
106
+ *
107
+ * * When you create an SSL server in the UAE (Dubai) region, we recommend that you associate the SSL server with an IDaaS EIAM 2.0 instance in Singapore to reduce latency.
108
+ *
109
+ * * IDaaS EIAM 1.0 instances are no longer for purchase. If your Alibaba Cloud account has IDaaS EIAM 1.0 instances, the IDaaS EIAM 1.0 instances can be associated after two-factor authentication is enabled. If your Alibaba Cloud account does not have IDaaS EIAM 1.0 instances, only IDaaS EIAM 2.0 instances can be associated after two-factor authentication is enabled.
107
110
  *
108
111
  * @example
109
112
  * false
@@ -0,0 +1,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteExpressConnectRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
10
+ * Use the client to generate the value, but you must ensure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
11
+ *
12
+ * @example
13
+ * 02fb3da4-130e-11e9-8e44-00****
14
+ */
15
+ clientToken?: string;
16
+ /**
17
+ * @remarks
18
+ * Specifies whether to delete the route entries associated with the Express Connect instance.
19
+ *
20
+ * * **true**: forcefully deletes the snapshot
21
+ * * **false**
22
+ *
23
+ * @example
24
+ * false
25
+ */
26
+ force?: boolean;
27
+ ownerAccount?: string;
28
+ ownerId?: number;
29
+ /**
30
+ * @remarks
31
+ * The ID of the region where the Express Connect instance is deployed. Call the [DescribeRegion](https://www.alibabacloud.com/help/vpc/developer-reference/api-vpc-2016-04-28-describeregions?spm=a2c63.p38356.0.i2) operation to query the region list.
32
+ *
33
+ * This parameter is required.
34
+ *
35
+ * @example
36
+ * cn-shanghai
37
+ */
38
+ regionId?: string;
39
+ resourceOwnerAccount?: string;
40
+ resourceOwnerId?: number;
41
+ /**
42
+ * @remarks
43
+ * The ID of the Express Connect instance.
44
+ *
45
+ * This parameter is required.
46
+ *
47
+ * @example
48
+ * ri-119mfjz****
49
+ */
50
+ routerInterfaceId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ clientToken: 'ClientToken',
54
+ force: 'Force',
55
+ ownerAccount: 'OwnerAccount',
56
+ ownerId: 'OwnerId',
57
+ regionId: 'RegionId',
58
+ resourceOwnerAccount: 'ResourceOwnerAccount',
59
+ resourceOwnerId: 'ResourceOwnerId',
60
+ routerInterfaceId: 'RouterInterfaceId',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ clientToken: 'string',
67
+ force: 'boolean',
68
+ ownerAccount: 'string',
69
+ ownerId: 'number',
70
+ regionId: 'string',
71
+ resourceOwnerAccount: 'string',
72
+ resourceOwnerId: 'number',
73
+ routerInterfaceId: 'string',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+