@alicloud/vpc20160428 6.8.7 → 6.9.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 (93) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +108 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +14 -6
  5. package/dist/models/AssociateVpcCidrBlockRequest.js.map +1 -1
  6. package/dist/models/CreateNatGatewayRequest.d.ts +2 -0
  7. package/dist/models/CreateNatGatewayRequest.js +4 -0
  8. package/dist/models/CreateNatGatewayRequest.js.map +1 -1
  9. package/dist/models/CreateNatGatewayShrinkRequest.d.ts +2 -0
  10. package/dist/models/CreateNatGatewayShrinkRequest.js +4 -0
  11. package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
  12. package/dist/models/CreateNatIpRequest.d.ts +6 -0
  13. package/dist/models/CreateNatIpRequest.js +4 -0
  14. package/dist/models/CreateNatIpRequest.js.map +1 -1
  15. package/dist/models/CreateNatIpResponseBody.d.ts +1 -0
  16. package/dist/models/CreateNatIpResponseBody.js +2 -0
  17. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  18. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.d.ts +2 -0
  19. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js +4 -0
  20. package/dist/models/CreatePhysicalConnectionOccupancyOrderRequest.js.map +1 -1
  21. package/dist/models/CreateVpcRequest.d.ts +14 -0
  22. package/dist/models/CreateVpcRequest.js.map +1 -1
  23. package/dist/models/DeleteIpv4gatewayRequest.d.ts +9 -0
  24. package/dist/models/DeleteIpv4gatewayRequest.js.map +1 -1
  25. package/dist/models/DeleteNatIpRequest.d.ts +2 -2
  26. package/dist/models/DeleteNatIpRequest.js +4 -0
  27. package/dist/models/DeleteNatIpRequest.js.map +1 -1
  28. package/dist/models/DeleteRouteEntriesRequest.d.ts +10 -0
  29. package/dist/models/DeleteRouteEntriesRequest.js.map +1 -1
  30. package/dist/models/DeleteRouteEntryRequest.d.ts +8 -0
  31. package/dist/models/DeleteRouteEntryRequest.js.map +1 -1
  32. package/dist/models/DescribeEipAddressesResponseBody.d.ts +5 -3
  33. package/dist/models/DescribeEipAddressesResponseBody.js.map +1 -1
  34. package/dist/models/DescribeFlowLogsRequest.d.ts +26 -29
  35. package/dist/models/DescribeFlowLogsRequest.js.map +1 -1
  36. package/dist/models/DescribeFlowLogsResponseBody.d.ts +51 -49
  37. package/dist/models/DescribeFlowLogsResponseBody.js.map +1 -1
  38. package/dist/models/DescribeNatGatewaysResponseBody.d.ts +27 -0
  39. package/dist/models/DescribeNatGatewaysResponseBody.js +47 -1
  40. package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
  41. package/dist/models/DescribeTagsRequest.d.ts +8 -0
  42. package/dist/models/DescribeTagsRequest.js.map +1 -1
  43. package/dist/models/DescribeVirtualBorderRoutersResponseBody.d.ts +1 -0
  44. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js +2 -0
  45. package/dist/models/DescribeVirtualBorderRoutersResponseBody.js.map +1 -1
  46. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +83 -0
  47. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js +106 -0
  48. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -0
  49. package/dist/models/DescribeVpcGrantRulesToEcrResponse.d.ts +19 -0
  50. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js +69 -0
  51. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js.map +1 -0
  52. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +76 -0
  53. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js +98 -0
  54. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -0
  55. package/dist/models/DescribeVroutersResponseBody.d.ts +1 -1
  56. package/dist/models/ListNatIpsResponseBody.d.ts +1 -0
  57. package/dist/models/ListNatIpsResponseBody.js +2 -0
  58. package/dist/models/ListNatIpsResponseBody.js.map +1 -1
  59. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +4 -0
  60. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  61. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.d.ts +1 -0
  62. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js +2 -0
  63. package/dist/models/ModifyVirtualBorderRouterAttributeRequest.js.map +1 -1
  64. package/dist/models/model.d.ts +7 -0
  65. package/dist/models/model.js +53 -39
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +132 -6
  69. package/src/models/AssociateVpcCidrBlockRequest.ts +14 -6
  70. package/src/models/CreateNatGatewayRequest.ts +6 -0
  71. package/src/models/CreateNatGatewayShrinkRequest.ts +6 -0
  72. package/src/models/CreateNatIpRequest.ts +10 -0
  73. package/src/models/CreateNatIpResponseBody.ts +3 -0
  74. package/src/models/CreatePhysicalConnectionOccupancyOrderRequest.ts +6 -0
  75. package/src/models/CreateVpcRequest.ts +14 -0
  76. package/src/models/DeleteIpv4gatewayRequest.ts +9 -0
  77. package/src/models/DeleteNatIpRequest.ts +6 -2
  78. package/src/models/DeleteRouteEntriesRequest.ts +10 -0
  79. package/src/models/DeleteRouteEntryRequest.ts +8 -0
  80. package/src/models/DescribeEipAddressesResponseBody.ts +5 -3
  81. package/src/models/DescribeFlowLogsRequest.ts +26 -29
  82. package/src/models/DescribeFlowLogsResponseBody.ts +51 -49
  83. package/src/models/DescribeNatGatewaysResponseBody.ts +55 -0
  84. package/src/models/DescribeTagsRequest.ts +8 -0
  85. package/src/models/DescribeVirtualBorderRoutersResponseBody.ts +3 -0
  86. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +135 -0
  87. package/src/models/DescribeVpcGrantRulesToEcrResponse.ts +40 -0
  88. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +120 -0
  89. package/src/models/DescribeVroutersResponseBody.ts +1 -1
  90. package/src/models/ListNatIpsResponseBody.ts +3 -0
  91. package/src/models/ModifyFlowLogAttributeRequest.ts +4 -0
  92. package/src/models/ModifyVirtualBorderRouterAttributeRequest.ts +3 -0
  93. package/src/models/model.ts +7 -0
package/dist/client.d.ts CHANGED
@@ -4195,7 +4195,7 @@ export default class Client extends OpenApi {
4195
4195
  */
4196
4196
  describeFailoverTestJobs(request: $_model.DescribeFailoverTestJobsRequest): Promise<$_model.DescribeFailoverTestJobsResponse>;
4197
4197
  /**
4198
- * Queries the information about flow logs.
4198
+ * Query flow logs.
4199
4199
  *
4200
4200
  * @param request - DescribeFlowLogsRequest
4201
4201
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4203,7 +4203,7 @@ export default class Client extends OpenApi {
4203
4203
  */
4204
4204
  describeFlowLogsWithOptions(request: $_model.DescribeFlowLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFlowLogsResponse>;
4205
4205
  /**
4206
- * Queries the information about flow logs.
4206
+ * Query flow logs.
4207
4207
  *
4208
4208
  * @param request - DescribeFlowLogsRequest
4209
4209
  * @returns DescribeFlowLogsResponse
@@ -4774,7 +4774,7 @@ export default class Client extends OpenApi {
4774
4774
  */
4775
4775
  describeTagKeysForExpressConnect(request: $_model.DescribeTagKeysForExpressConnectRequest): Promise<$_model.DescribeTagKeysForExpressConnectResponse>;
4776
4776
  /**
4777
- * 查询满足筛选条件的标签列表。
4777
+ * Queries tags that meet the specified filter conditions.
4778
4778
  *
4779
4779
  * @remarks
4780
4780
  * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
@@ -4788,7 +4788,7 @@ export default class Client extends OpenApi {
4788
4788
  */
4789
4789
  describeTagsWithOptions(request: $_model.DescribeTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTagsResponse>;
4790
4790
  /**
4791
- * 查询满足筛选条件的标签列表。
4791
+ * Queries tags that meet the specified filter conditions.
4792
4792
  *
4793
4793
  * @remarks
4794
4794
  * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
@@ -4801,7 +4801,7 @@ export default class Client extends OpenApi {
4801
4801
  */
4802
4802
  describeTags(request: $_model.DescribeTagsRequest): Promise<$_model.DescribeTagsResponse>;
4803
4803
  /**
4804
- * 查询路由器列表
4804
+ * Queries vRouters in a region.
4805
4805
  *
4806
4806
  * @param request - DescribeVRoutersRequest
4807
4807
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4809,7 +4809,7 @@ export default class Client extends OpenApi {
4809
4809
  */
4810
4810
  describeVRoutersWithOptions(request: $_model.DescribeVRoutersRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVRoutersResponse>;
4811
4811
  /**
4812
- * 查询路由器列表
4812
+ * Queries vRouters in a region.
4813
4813
  *
4814
4814
  * @param request - DescribeVRoutersRequest
4815
4815
  * @returns DescribeVRoutersResponse
@@ -4920,6 +4920,21 @@ export default class Client extends OpenApi {
4920
4920
  * @returns DescribeVpcAttributeResponse
4921
4921
  */
4922
4922
  describeVpcAttribute(request: $_model.DescribeVpcAttributeRequest): Promise<$_model.DescribeVpcAttributeResponse>;
4923
+ /**
4924
+ * 查询VPC跨账号授权给ECR
4925
+ *
4926
+ * @param request - DescribeVpcGrantRulesToEcrRequest
4927
+ * @param runtime - runtime options for this request RuntimeOptions
4928
+ * @returns DescribeVpcGrantRulesToEcrResponse
4929
+ */
4930
+ describeVpcGrantRulesToEcrWithOptions(request: $_model.DescribeVpcGrantRulesToEcrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVpcGrantRulesToEcrResponse>;
4931
+ /**
4932
+ * 查询VPC跨账号授权给ECR
4933
+ *
4934
+ * @param request - DescribeVpcGrantRulesToEcrRequest
4935
+ * @returns DescribeVpcGrantRulesToEcrResponse
4936
+ */
4937
+ describeVpcGrantRulesToEcr(request: $_model.DescribeVpcGrantRulesToEcrRequest): Promise<$_model.DescribeVpcGrantRulesToEcrResponse>;
4923
4938
  /**
4924
4939
  * Queries virtual private clouds (VPCs).
4925
4940
  *
package/dist/client.js CHANGED
@@ -5127,9 +5127,15 @@ class Client extends openapi_core_1.default {
5127
5127
  if (!$dara.isNull(request.internetChargeType)) {
5128
5128
  query["InternetChargeType"] = request.internetChargeType;
5129
5129
  }
5130
+ if (!$dara.isNull(request.ipv4Prefix)) {
5131
+ query["Ipv4Prefix"] = request.ipv4Prefix;
5132
+ }
5130
5133
  if (!$dara.isNull(request.name)) {
5131
5134
  query["Name"] = request.name;
5132
5135
  }
5136
+ if (!$dara.isNull(request.natIp)) {
5137
+ query["NatIp"] = request.natIp;
5138
+ }
5133
5139
  if (!$dara.isNull(request.natType)) {
5134
5140
  query["NatType"] = request.natType;
5135
5141
  }
@@ -5231,6 +5237,12 @@ class Client extends openapi_core_1.default {
5231
5237
  if (!$dara.isNull(request.dryRun)) {
5232
5238
  query["DryRun"] = request.dryRun;
5233
5239
  }
5240
+ if (!$dara.isNull(request.ipv4Prefix)) {
5241
+ query["Ipv4Prefix"] = request.ipv4Prefix;
5242
+ }
5243
+ if (!$dara.isNull(request.ipv4PrefixCount)) {
5244
+ query["Ipv4PrefixCount"] = request.ipv4PrefixCount;
5245
+ }
5234
5246
  if (!$dara.isNull(request.natGatewayId)) {
5235
5247
  query["NatGatewayId"] = request.natGatewayId;
5236
5248
  }
@@ -5570,6 +5582,12 @@ class Client extends openapi_core_1.default {
5570
5582
  if (!$dara.isNull(request.autoPay)) {
5571
5583
  query["AutoPay"] = request.autoPay;
5572
5584
  }
5585
+ if (!$dara.isNull(request.autoRenew)) {
5586
+ query["AutoRenew"] = request.autoRenew;
5587
+ }
5588
+ if (!$dara.isNull(request.autoRenewDuration)) {
5589
+ query["AutoRenewDuration"] = request.autoRenewDuration;
5590
+ }
5573
5591
  if (!$dara.isNull(request.clientToken)) {
5574
5592
  query["ClientToken"] = request.clientToken;
5575
5593
  }
@@ -10004,6 +10022,12 @@ class Client extends openapi_core_1.default {
10004
10022
  if (!$dara.isNull(request.dryRun)) {
10005
10023
  query["DryRun"] = request.dryRun;
10006
10024
  }
10025
+ if (!$dara.isNull(request.ipv4Prefix)) {
10026
+ query["Ipv4Prefix"] = request.ipv4Prefix;
10027
+ }
10028
+ if (!$dara.isNull(request.natGatewayId)) {
10029
+ query["NatGatewayId"] = request.natGatewayId;
10030
+ }
10007
10031
  if (!$dara.isNull(request.natIpId)) {
10008
10032
  query["NatIpId"] = request.natIpId;
10009
10033
  }
@@ -13353,7 +13377,7 @@ class Client extends openapi_core_1.default {
13353
13377
  return await this.describeFailoverTestJobsWithOptions(request, runtime);
13354
13378
  }
13355
13379
  /**
13356
- * Queries the information about flow logs.
13380
+ * Query flow logs.
13357
13381
  *
13358
13382
  * @param request - DescribeFlowLogsRequest
13359
13383
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13436,7 +13460,7 @@ class Client extends openapi_core_1.default {
13436
13460
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFlowLogsResponse({}));
13437
13461
  }
13438
13462
  /**
13439
- * Queries the information about flow logs.
13463
+ * Query flow logs.
13440
13464
  *
13441
13465
  * @param request - DescribeFlowLogsRequest
13442
13466
  * @returns DescribeFlowLogsResponse
@@ -15910,7 +15934,7 @@ class Client extends openapi_core_1.default {
15910
15934
  return await this.describeTagKeysForExpressConnectWithOptions(request, runtime);
15911
15935
  }
15912
15936
  /**
15913
- * 查询满足筛选条件的标签列表。
15937
+ * Queries tags that meet the specified filter conditions.
15914
15938
  *
15915
15939
  * @remarks
15916
15940
  * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
@@ -15972,7 +15996,7 @@ class Client extends openapi_core_1.default {
15972
15996
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTagsResponse({}));
15973
15997
  }
15974
15998
  /**
15975
- * 查询满足筛选条件的标签列表。
15999
+ * Queries tags that meet the specified filter conditions.
15976
16000
  *
15977
16001
  * @remarks
15978
16002
  * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
@@ -15988,7 +16012,7 @@ class Client extends openapi_core_1.default {
15988
16012
  return await this.describeTagsWithOptions(request, runtime);
15989
16013
  }
15990
16014
  /**
15991
- * 查询路由器列表
16015
+ * Queries vRouters in a region.
15992
16016
  *
15993
16017
  * @param request - DescribeVRoutersRequest
15994
16018
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16038,7 +16062,7 @@ class Client extends openapi_core_1.default {
16038
16062
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVRoutersResponse({}));
16039
16063
  }
16040
16064
  /**
16041
- * 查询路由器列表
16065
+ * Queries vRouters in a region.
16042
16066
  *
16043
16067
  * @param request - DescribeVRoutersRequest
16044
16068
  * @returns DescribeVRoutersResponse
@@ -16506,6 +16530,81 @@ class Client extends openapi_core_1.default {
16506
16530
  let runtime = new $dara.RuntimeOptions({});
16507
16531
  return await this.describeVpcAttributeWithOptions(request, runtime);
16508
16532
  }
16533
+ /**
16534
+ * 查询VPC跨账号授权给ECR
16535
+ *
16536
+ * @param request - DescribeVpcGrantRulesToEcrRequest
16537
+ * @param runtime - runtime options for this request RuntimeOptions
16538
+ * @returns DescribeVpcGrantRulesToEcrResponse
16539
+ */
16540
+ async describeVpcGrantRulesToEcrWithOptions(request, runtime) {
16541
+ request.validate();
16542
+ let query = {};
16543
+ if (!$dara.isNull(request.ecrInstanceId)) {
16544
+ query["EcrInstanceId"] = request.ecrInstanceId;
16545
+ }
16546
+ if (!$dara.isNull(request.ecrOwnerId)) {
16547
+ query["EcrOwnerId"] = request.ecrOwnerId;
16548
+ }
16549
+ if (!$dara.isNull(request.instanceId)) {
16550
+ query["InstanceId"] = request.instanceId;
16551
+ }
16552
+ if (!$dara.isNull(request.instanceType)) {
16553
+ query["InstanceType"] = request.instanceType;
16554
+ }
16555
+ if (!$dara.isNull(request.maxResults)) {
16556
+ query["MaxResults"] = request.maxResults;
16557
+ }
16558
+ if (!$dara.isNull(request.nextToken)) {
16559
+ query["NextToken"] = request.nextToken;
16560
+ }
16561
+ if (!$dara.isNull(request.ownerAccount)) {
16562
+ query["OwnerAccount"] = request.ownerAccount;
16563
+ }
16564
+ if (!$dara.isNull(request.ownerId)) {
16565
+ query["OwnerId"] = request.ownerId;
16566
+ }
16567
+ if (!$dara.isNull(request.regionId)) {
16568
+ query["RegionId"] = request.regionId;
16569
+ }
16570
+ if (!$dara.isNull(request.resourceGroupId)) {
16571
+ query["ResourceGroupId"] = request.resourceGroupId;
16572
+ }
16573
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
16574
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16575
+ }
16576
+ if (!$dara.isNull(request.resourceOwnerId)) {
16577
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16578
+ }
16579
+ if (!$dara.isNull(request.tags)) {
16580
+ query["Tags"] = request.tags;
16581
+ }
16582
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
16583
+ query: openapi_core_2.OpenApiUtil.query(query),
16584
+ });
16585
+ let params = new openapi_core_2.$OpenApiUtil.Params({
16586
+ action: "DescribeVpcGrantRulesToEcr",
16587
+ version: "2016-04-28",
16588
+ protocol: "HTTPS",
16589
+ pathname: "/",
16590
+ method: "POST",
16591
+ authType: "AK",
16592
+ style: "RPC",
16593
+ reqBodyType: "formData",
16594
+ bodyType: "json",
16595
+ });
16596
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVpcGrantRulesToEcrResponse({}));
16597
+ }
16598
+ /**
16599
+ * 查询VPC跨账号授权给ECR
16600
+ *
16601
+ * @param request - DescribeVpcGrantRulesToEcrRequest
16602
+ * @returns DescribeVpcGrantRulesToEcrResponse
16603
+ */
16604
+ async describeVpcGrantRulesToEcr(request) {
16605
+ let runtime = new $dara.RuntimeOptions({});
16606
+ return await this.describeVpcGrantRulesToEcrWithOptions(request, runtime);
16607
+ }
16509
16608
  /**
16510
16609
  * Queries virtual private clouds (VPCs).
16511
16610
  *
@@ -24128,6 +24227,9 @@ class Client extends openapi_core_1.default {
24128
24227
  if (!$dara.isNull(request.minTxInterval)) {
24129
24228
  query["MinTxInterval"] = request.minTxInterval;
24130
24229
  }
24230
+ if (!$dara.isNull(request.mtu)) {
24231
+ query["Mtu"] = request.mtu;
24232
+ }
24131
24233
  if (!$dara.isNull(request.name)) {
24132
24234
  query["Name"] = request.name;
24133
24235
  }