@alicloud/vpc20160428 6.9.0 → 6.10.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.
Files changed (124) hide show
  1. package/dist/client.d.ts +76 -12
  2. package/dist/client.js +238 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateNatIpResponseBody.d.ts +35 -0
  5. package/dist/models/CreateNatIpResponseBody.js +29 -1
  6. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  7. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.d.ts +2 -0
  8. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js +4 -0
  9. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js.map +1 -1
  10. package/dist/models/CreateSslVpnServerRequest.d.ts +20 -17
  11. package/dist/models/CreateSslVpnServerRequest.js.map +1 -1
  12. package/dist/models/DeleteExpressConnectRequest.d.ts +58 -0
  13. package/dist/models/DeleteExpressConnectRequest.js +72 -0
  14. package/dist/models/DeleteExpressConnectRequest.js.map +1 -0
  15. package/dist/models/DeleteExpressConnectResponse.d.ts +19 -0
  16. package/dist/models/DeleteExpressConnectResponse.js +69 -0
  17. package/dist/models/DeleteExpressConnectResponse.js.map +1 -0
  18. package/dist/models/DeleteExpressConnectResponseBody.d.ts +21 -0
  19. package/dist/models/DeleteExpressConnectResponseBody.js +58 -0
  20. package/dist/models/DeleteExpressConnectResponseBody.js.map +1 -0
  21. package/dist/models/DeleteVswitchRequest.d.ts +6 -0
  22. package/dist/models/DeleteVswitchRequest.js.map +1 -1
  23. package/dist/models/DescribeGrantRulesToEcrRequest.d.ts +94 -0
  24. package/dist/models/DescribeGrantRulesToEcrRequest.js +92 -0
  25. package/dist/models/DescribeGrantRulesToEcrRequest.js.map +1 -0
  26. package/dist/models/DescribeGrantRulesToEcrResponse.d.ts +19 -0
  27. package/dist/models/DescribeGrantRulesToEcrResponse.js +69 -0
  28. package/dist/models/DescribeGrantRulesToEcrResponse.js.map +1 -0
  29. package/dist/models/DescribeGrantRulesToEcrResponseBody.d.ts +94 -0
  30. package/dist/models/DescribeGrantRulesToEcrResponseBody.js +94 -0
  31. package/dist/models/DescribeGrantRulesToEcrResponseBody.js.map +1 -0
  32. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.d.ts +61 -0
  33. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.js.map +1 -1
  34. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.d.ts +61 -0
  35. package/dist/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.js.map +1 -1
  36. package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +1 -0
  37. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js +2 -0
  38. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js.map +1 -1
  39. package/dist/models/DescribeVpcAttributeResponseBody.d.ts +7 -0
  40. package/dist/models/DescribeVpcAttributeResponseBody.js.map +1 -1
  41. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +45 -0
  42. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -1
  43. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +40 -0
  44. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -1
  45. package/dist/models/GetDhcpOptionsSetResponseBody.d.ts +8 -0
  46. package/dist/models/GetDhcpOptionsSetResponseBody.js.map +1 -1
  47. package/dist/models/ListBusinessRegionsRequest.d.ts +24 -0
  48. package/dist/models/ListBusinessRegionsRequest.js +58 -0
  49. package/dist/models/ListBusinessRegionsRequest.js.map +1 -0
  50. package/dist/models/ListBusinessRegionsResponse.d.ts +19 -0
  51. package/dist/models/ListBusinessRegionsResponse.js +69 -0
  52. package/dist/models/ListBusinessRegionsResponse.js.map +1 -0
  53. package/dist/models/ListBusinessRegionsResponseBody.d.ts +59 -0
  54. package/dist/models/ListBusinessRegionsResponseBody.js +86 -0
  55. package/dist/models/ListBusinessRegionsResponseBody.js.map +1 -0
  56. package/dist/models/ListDhcpOptionsSetsRequest.d.ts +2 -0
  57. package/dist/models/ListDhcpOptionsSetsRequest.js.map +1 -1
  58. package/dist/models/ListDhcpOptionsSetsResponseBody.d.ts +12 -4
  59. package/dist/models/ListDhcpOptionsSetsResponseBody.js.map +1 -1
  60. package/dist/models/ListNatIpsRequest.d.ts +5 -0
  61. package/dist/models/ListNatIpsRequest.js +2 -0
  62. package/dist/models/ListNatIpsRequest.js.map +1 -1
  63. package/dist/models/ListPhysicalConnectionFeaturesRequest.d.ts +51 -0
  64. package/dist/models/ListPhysicalConnectionFeaturesRequest.js +70 -0
  65. package/dist/models/ListPhysicalConnectionFeaturesRequest.js.map +1 -0
  66. package/dist/models/ListPhysicalConnectionFeaturesResponse.d.ts +19 -0
  67. package/dist/models/ListPhysicalConnectionFeaturesResponse.js +69 -0
  68. package/dist/models/ListPhysicalConnectionFeaturesResponse.js.map +1 -0
  69. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.d.ts +66 -0
  70. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js +84 -0
  71. package/dist/models/ListPhysicalConnectionFeaturesResponseBody.js.map +1 -0
  72. package/dist/models/ListTrafficMirrorFiltersResponseBody.d.ts +14 -0
  73. package/dist/models/ListTrafficMirrorFiltersResponseBody.js.map +1 -1
  74. package/dist/models/ListVpcGatewayEndpointsRequest.d.ts +8 -1
  75. package/dist/models/ListVpcGatewayEndpointsRequest.js.map +1 -1
  76. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +6 -0
  77. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  78. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.d.ts +1 -0
  79. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js +2 -0
  80. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js.map +1 -1
  81. package/dist/models/ModifyVpcPrefixListRequest.d.ts +1 -1
  82. package/dist/models/OpenPublicIpAddressPoolServiceRequest.d.ts +10 -0
  83. package/dist/models/OpenPublicIpAddressPoolServiceRequest.js.map +1 -1
  84. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.d.ts +9 -0
  85. package/dist/models/OpenPublicIpAddressPoolServiceResponseBody.js.map +1 -1
  86. package/dist/models/model.d.ts +17 -0
  87. package/dist/models/model.js +70 -36
  88. package/dist/models/model.js.map +1 -1
  89. package/package.json +1 -1
  90. package/src/client.ts +272 -12
  91. package/src/models/CreateNatIpResponseBody.ts +54 -0
  92. package/src/models/CreatePhysicalConnectionOccupancyOrderRequest.ts +6 -0
  93. package/src/models/CreateSslVpnServerRequest.ts +20 -17
  94. package/src/models/DeleteExpressConnectRequest.ts +85 -0
  95. package/src/models/DeleteExpressConnectResponse.ts +40 -0
  96. package/src/models/DeleteExpressConnectResponseBody.ts +34 -0
  97. package/src/models/DeleteVswitchRequest.ts +6 -0
  98. package/src/models/DescribeGrantRulesToEcrRequest.ts +132 -0
  99. package/src/models/DescribeGrantRulesToEcrResponse.ts +40 -0
  100. package/src/models/DescribeGrantRulesToEcrResponseBody.ts +134 -0
  101. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesRequest.ts +61 -0
  102. package/src/models/DescribeNatGatewayAssociateNetworkInterfacesResponseBody.ts +61 -0
  103. package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +3 -0
  104. package/src/models/DescribeVpcAttributeResponseBody.ts +7 -0
  105. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +45 -0
  106. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +40 -0
  107. package/src/models/GetDhcpOptionsSetResponseBody.ts +10 -2
  108. package/src/models/ListBusinessRegionsRequest.ts +37 -0
  109. package/src/models/ListBusinessRegionsResponse.ts +40 -0
  110. package/src/models/ListBusinessRegionsResponseBody.ts +91 -0
  111. package/src/models/ListDhcpOptionsSetsRequest.ts +8 -6
  112. package/src/models/ListDhcpOptionsSetsResponseBody.ts +12 -4
  113. package/src/models/ListNatIpsRequest.ts +7 -0
  114. package/src/models/ListPhysicalConnectionFeaturesRequest.ts +76 -0
  115. package/src/models/ListPhysicalConnectionFeaturesResponse.ts +40 -0
  116. package/src/models/ListPhysicalConnectionFeaturesResponseBody.ts +96 -0
  117. package/src/models/ListTrafficMirrorFiltersResponseBody.ts +14 -0
  118. package/src/models/ListVpcGatewayEndpointsRequest.ts +8 -1
  119. package/src/models/ModifyFlowLogAttributeRequest.ts +6 -0
  120. package/src/models/ModifyVirtualBorderRouterAttributeRequest.ts +3 -0
  121. package/src/models/ModifyVpcPrefixListRequest.ts +1 -1
  122. package/src/models/OpenPublicIpAddressPoolServiceRequest.ts +10 -0
  123. package/src/models/OpenPublicIpAddressPoolServiceResponseBody.ts +9 -0
  124. 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.
@@ -6477,6 +6481,14 @@ export default class Client extends OpenApi {
6477
6481
  query["AutoPay"] = request.autoPay;
6478
6482
  }
6479
6483
 
6484
+ if (!$dara.isNull(request.autoRenew)) {
6485
+ query["AutoRenew"] = request.autoRenew;
6486
+ }
6487
+
6488
+ if (!$dara.isNull(request.autoRenewDuration)) {
6489
+ query["AutoRenewDuration"] = request.autoRenewDuration;
6490
+ }
6491
+
6480
6492
  if (!$dara.isNull(request.clientToken)) {
6481
6493
  query["ClientToken"] = request.clientToken;
6482
6494
  }
@@ -7462,8 +7474,8 @@ export default class Client extends OpenApi {
7462
7474
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
7463
7475
  * * If the VPN gateway is in the **active** state, the SSL server is created.
7464
7476
  * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
7465
- * ### [](#)Prerequisite
7466
- * * 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) .
7467
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).
7468
7480
  *
7469
7481
  * @param request - CreateSslVpnServerRequest
@@ -7574,8 +7586,8 @@ export default class Client extends OpenApi {
7574
7586
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
7575
7587
  * * If the VPN gateway is in the **active** state, the SSL server is created.
7576
7588
  * * You cannot repeatedly call the **CreateSslVpnServer** operation within the specified period of time.
7577
- * ### [](#)Prerequisite
7578
- * * 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) .
7579
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).
7580
7592
  *
7581
7593
  * @param request - CreateSslVpnServerRequest
@@ -10218,6 +10230,76 @@ export default class Client extends OpenApi {
10218
10230
  return await this.deleteDhcpOptionsSetWithOptions(request, runtime);
10219
10231
  }
10220
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
+
10221
10303
  /**
10222
10304
  * Deletes a quality of service (QoS) policy.
10223
10305
  *
@@ -15912,6 +15994,68 @@ export default class Client extends OpenApi {
15912
15994
  return await this.describeGrantRulesToCenWithOptions(request, runtime);
15913
15995
  }
15914
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
+
15915
16059
  /**
15916
16060
  * Queries HaVips in a region.
15917
16061
  *
@@ -16800,7 +16944,7 @@ export default class Client extends OpenApi {
16800
16944
  }
16801
16945
 
16802
16946
  /**
16803
- * 查询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.
16804
16948
  *
16805
16949
  * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
16806
16950
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16879,7 +17023,7 @@ export default class Client extends OpenApi {
16879
17023
  }
16880
17024
 
16881
17025
  /**
16882
- * 查询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.
16883
17027
  *
16884
17028
  * @param request - DescribeNatGatewayAssociateNetworkInterfacesRequest
16885
17029
  * @returns DescribeNatGatewayAssociateNetworkInterfacesResponse
@@ -19259,7 +19403,7 @@ export default class Client extends OpenApi {
19259
19403
  }
19260
19404
 
19261
19405
  /**
19262
- * 查询VPC跨账号授权给ECR
19406
+ * Queries the cross-account authorization information of an ECR for a specified network instance.
19263
19407
  *
19264
19408
  * @param request - DescribeVpcGrantRulesToEcrRequest
19265
19409
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19338,7 +19482,7 @@ export default class Client extends OpenApi {
19338
19482
  }
19339
19483
 
19340
19484
  /**
19341
- * 查询VPC跨账号授权给ECR
19485
+ * Queries the cross-account authorization information of an ECR for a specified network instance.
19342
19486
  *
19343
19487
  * @param request - DescribeVpcGrantRulesToEcrRequest
19344
19488
  * @returns DescribeVpcGrantRulesToEcrResponse
@@ -22340,6 +22484,48 @@ export default class Client extends OpenApi {
22340
22484
  return await this.listBusinessAccessPointsWithOptions(request, runtime);
22341
22485
  }
22342
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
+
22343
22529
  /**
22344
22530
  * Queries Dynamic Host Configuration Protocol (DHCP) options sets.
22345
22531
  *
@@ -23052,6 +23238,10 @@ export default class Client extends OpenApi {
23052
23238
  query["DryRun"] = request.dryRun;
23053
23239
  }
23054
23240
 
23241
+ if (!$dara.isNull(request.ipOrigin)) {
23242
+ query["IpOrigin"] = request.ipOrigin;
23243
+ }
23244
+
23055
23245
  if (!$dara.isNull(request.maxResults)) {
23056
23246
  query["MaxResults"] = request.maxResults;
23057
23247
  }
@@ -23132,6 +23322,72 @@ export default class Client extends OpenApi {
23132
23322
  return await this.listNatIpsWithOptions(request, runtime);
23133
23323
  }
23134
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
+
23135
23391
  /**
23136
23392
  * Queries prefix lists.
23137
23393
  *
@@ -28267,6 +28523,10 @@ export default class Client extends OpenApi {
28267
28523
  query["MinTxInterval"] = request.minTxInterval;
28268
28524
  }
28269
28525
 
28526
+ if (!$dara.isNull(request.mtu)) {
28527
+ query["Mtu"] = request.mtu;
28528
+ }
28529
+
28270
28530
  if (!$dara.isNull(request.name)) {
28271
28531
  query["Name"] = request.name;
28272
28532
  }
@@ -29643,7 +29903,7 @@ export default class Client extends OpenApi {
29643
29903
  }
29644
29904
 
29645
29905
  /**
29646
- * 开通IP地址池功能。
29906
+ * Enables the IP address pool feature.
29647
29907
  *
29648
29908
  * @param request - OpenPublicIpAddressPoolServiceRequest
29649
29909
  * @param runtime - runtime options for this request RuntimeOptions
@@ -29698,7 +29958,7 @@ export default class Client extends OpenApi {
29698
29958
  }
29699
29959
 
29700
29960
  /**
29701
- * 开通IP地址池功能。
29961
+ * Enables the IP address pool feature.
29702
29962
  *
29703
29963
  * @param request - OpenPublicIpAddressPoolServiceRequest
29704
29964
  * @returns OpenPublicIpAddressPoolServiceResponse
@@ -31587,7 +31847,7 @@ export default class Client extends OpenApi {
31587
31847
  }
31588
31848
 
31589
31849
  /**
31590
- * Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
31850
+ * Migrate a contiguous EIP group to an IP address pool.
31591
31851
  *
31592
31852
  * @param request - TransformEipSegmentToPublicIpAddressPoolRequest
31593
31853
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31638,7 +31898,7 @@ export default class Client extends OpenApi {
31638
31898
  }
31639
31899
 
31640
31900
  /**
31641
- * Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
31901
+ * Migrate a contiguous EIP group to an IP address pool.
31642
31902
  *
31643
31903
  * @param request - TransformEipSegmentToPublicIpAddressPoolRequest
31644
31904
  * @returns TransformEipSegmentToPublicIpAddressPoolResponse
@@ -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
 
@@ -14,6 +14,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
14
14
  * false
15
15
  */
16
16
  autoPay?: boolean;
17
+ autoRenew?: boolean;
18
+ autoRenewDuration?: number;
17
19
  /**
18
20
  * @remarks
19
21
  * The client token that is used to ensure the idempotence of the request.
@@ -85,6 +87,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
85
87
  static names(): { [key: string]: string } {
86
88
  return {
87
89
  autoPay: 'AutoPay',
90
+ autoRenew: 'AutoRenew',
91
+ autoRenewDuration: 'AutoRenewDuration',
88
92
  clientToken: 'ClientToken',
89
93
  instanceChargeType: 'InstanceChargeType',
90
94
  ownerAccount: 'OwnerAccount',
@@ -101,6 +105,8 @@ export class CreatePhysicalConnectionOccupancyOrderRequest extends $dara.Model {
101
105
  static types(): { [key: string]: any } {
102
106
  return {
103
107
  autoPay: 'boolean',
108
+ autoRenew: 'boolean',
109
+ autoRenewDuration: 'number',
104
110
  clientToken: 'string',
105
111
  instanceChargeType: 'string',
106
112
  ownerAccount: 'string',
@@ -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