@alicloud/vpc20160428 6.8.6 → 6.9.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 (88) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +108 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AssociateVpcCidrBlockRequest.d.ts +15 -8
  5. package/dist/models/AssociateVpcCidrBlockRequest.js +2 -0
  6. package/dist/models/AssociateVpcCidrBlockRequest.js.map +1 -1
  7. package/dist/models/CreateNatGatewayRequest.d.ts +2 -0
  8. package/dist/models/CreateNatGatewayRequest.js +4 -0
  9. package/dist/models/CreateNatGatewayRequest.js.map +1 -1
  10. package/dist/models/CreateNatGatewayShrinkRequest.d.ts +2 -0
  11. package/dist/models/CreateNatGatewayShrinkRequest.js +4 -0
  12. package/dist/models/CreateNatGatewayShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateNatIpRequest.d.ts +6 -0
  14. package/dist/models/CreateNatIpRequest.js +4 -0
  15. package/dist/models/CreateNatIpRequest.js.map +1 -1
  16. package/dist/models/CreateNatIpResponseBody.d.ts +1 -0
  17. package/dist/models/CreateNatIpResponseBody.js +2 -0
  18. package/dist/models/CreateNatIpResponseBody.js.map +1 -1
  19. package/dist/models/CreateVpcRequest.d.ts +16 -0
  20. package/dist/models/CreateVpcRequest.js +4 -0
  21. package/dist/models/CreateVpcRequest.js.map +1 -1
  22. package/dist/models/DeleteIpv4gatewayRequest.d.ts +9 -0
  23. package/dist/models/DeleteIpv4gatewayRequest.js.map +1 -1
  24. package/dist/models/DeleteNatIpRequest.d.ts +2 -2
  25. package/dist/models/DeleteNatIpRequest.js +4 -0
  26. package/dist/models/DeleteNatIpRequest.js.map +1 -1
  27. package/dist/models/DeleteRouteEntriesRequest.d.ts +10 -0
  28. package/dist/models/DeleteRouteEntriesRequest.js.map +1 -1
  29. package/dist/models/DeleteRouteEntryRequest.d.ts +8 -0
  30. package/dist/models/DeleteRouteEntryRequest.js.map +1 -1
  31. package/dist/models/DescribeEipAddressesResponseBody.d.ts +5 -3
  32. package/dist/models/DescribeEipAddressesResponseBody.js.map +1 -1
  33. package/dist/models/DescribeFlowLogsRequest.d.ts +26 -29
  34. package/dist/models/DescribeFlowLogsRequest.js.map +1 -1
  35. package/dist/models/DescribeFlowLogsResponseBody.d.ts +51 -49
  36. package/dist/models/DescribeFlowLogsResponseBody.js.map +1 -1
  37. package/dist/models/DescribeNatGatewaysResponseBody.d.ts +27 -0
  38. package/dist/models/DescribeNatGatewaysResponseBody.js +47 -1
  39. package/dist/models/DescribeNatGatewaysResponseBody.js.map +1 -1
  40. package/dist/models/DescribeTagsRequest.d.ts +8 -0
  41. package/dist/models/DescribeTagsRequest.js.map +1 -1
  42. package/dist/models/DescribeVpcGrantRulesToEcrRequest.d.ts +83 -0
  43. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js +106 -0
  44. package/dist/models/DescribeVpcGrantRulesToEcrRequest.js.map +1 -0
  45. package/dist/models/DescribeVpcGrantRulesToEcrResponse.d.ts +19 -0
  46. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js +69 -0
  47. package/dist/models/DescribeVpcGrantRulesToEcrResponse.js.map +1 -0
  48. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.d.ts +76 -0
  49. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js +98 -0
  50. package/dist/models/DescribeVpcGrantRulesToEcrResponseBody.js.map +1 -0
  51. package/dist/models/DescribeVroutersResponseBody.d.ts +1 -1
  52. package/dist/models/GetVpcPrefixListAssociationsRequest.d.ts +1 -1
  53. package/dist/models/GetVpcPrefixListAssociationsResponseBody.d.ts +7 -0
  54. package/dist/models/GetVpcPrefixListAssociationsResponseBody.js.map +1 -1
  55. package/dist/models/ListNatIpsResponseBody.d.ts +1 -0
  56. package/dist/models/ListNatIpsResponseBody.js +2 -0
  57. package/dist/models/ListNatIpsResponseBody.js.map +1 -1
  58. package/dist/models/ModifyFlowLogAttributeRequest.d.ts +4 -0
  59. package/dist/models/ModifyFlowLogAttributeRequest.js.map +1 -1
  60. package/dist/models/model.d.ts +7 -0
  61. package/dist/models/model.js +53 -39
  62. package/dist/models/model.js.map +1 -1
  63. package/package.json +1 -1
  64. package/src/client.ts +132 -24
  65. package/src/models/AssociateVpcCidrBlockRequest.ts +17 -8
  66. package/src/models/CreateNatGatewayRequest.ts +6 -0
  67. package/src/models/CreateNatGatewayShrinkRequest.ts +6 -0
  68. package/src/models/CreateNatIpRequest.ts +10 -0
  69. package/src/models/CreateNatIpResponseBody.ts +3 -0
  70. package/src/models/CreateVpcRequest.ts +20 -0
  71. package/src/models/DeleteIpv4gatewayRequest.ts +9 -0
  72. package/src/models/DeleteNatIpRequest.ts +6 -2
  73. package/src/models/DeleteRouteEntriesRequest.ts +10 -0
  74. package/src/models/DeleteRouteEntryRequest.ts +8 -0
  75. package/src/models/DescribeEipAddressesResponseBody.ts +5 -3
  76. package/src/models/DescribeFlowLogsRequest.ts +26 -29
  77. package/src/models/DescribeFlowLogsResponseBody.ts +51 -49
  78. package/src/models/DescribeNatGatewaysResponseBody.ts +55 -0
  79. package/src/models/DescribeTagsRequest.ts +8 -0
  80. package/src/models/DescribeVpcGrantRulesToEcrRequest.ts +135 -0
  81. package/src/models/DescribeVpcGrantRulesToEcrResponse.ts +40 -0
  82. package/src/models/DescribeVpcGrantRulesToEcrResponseBody.ts +120 -0
  83. package/src/models/DescribeVroutersResponseBody.ts +1 -1
  84. package/src/models/GetVpcPrefixListAssociationsRequest.ts +1 -1
  85. package/src/models/GetVpcPrefixListAssociationsResponseBody.ts +7 -0
  86. package/src/models/ListNatIpsResponseBody.ts +3 -0
  87. package/src/models/ModifyFlowLogAttributeRequest.ts +4 -0
  88. package/src/models/model.ts +7 -0
package/src/client.ts CHANGED
@@ -542,7 +542,6 @@ export default class Client extends OpenApi {
542
542
  * @param runtime - runtime options for this request RuntimeOptions
543
543
  * @returns AddIPv6TranslatorAclListEntryResponse
544
544
  */
545
- // Deprecated
546
545
  async addIPv6TranslatorAclListEntryWithOptions(request: $_model.AddIPv6TranslatorAclListEntryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddIPv6TranslatorAclListEntryResponse> {
547
546
  request.validate();
548
547
  let query = { };
@@ -1065,7 +1064,6 @@ export default class Client extends OpenApi {
1065
1064
  * @param runtime - runtime options for this request RuntimeOptions
1066
1065
  * @returns AllocateEipSegmentAddressResponse
1067
1066
  */
1068
- // Deprecated
1069
1067
  async allocateEipSegmentAddressWithOptions(request: $_model.AllocateEipSegmentAddressRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AllocateEipSegmentAddressResponse> {
1070
1068
  request.validate();
1071
1069
  let query = { };
@@ -2328,6 +2326,10 @@ export default class Client extends OpenApi {
2328
2326
  query["IpamPoolId"] = request.ipamPoolId;
2329
2327
  }
2330
2328
 
2329
+ if (!$dara.isNull(request.ipv6CidrMask)) {
2330
+ query["Ipv6CidrMask"] = request.ipv6CidrMask;
2331
+ }
2332
+
2331
2333
  if (!$dara.isNull(request.ipv6Isp)) {
2332
2334
  query["Ipv6Isp"] = request.ipv6Isp;
2333
2335
  }
@@ -3210,7 +3212,6 @@ export default class Client extends OpenApi {
3210
3212
  * @param runtime - runtime options for this request RuntimeOptions
3211
3213
  * @returns ConvertBandwidthPackageResponse
3212
3214
  */
3213
- // Deprecated
3214
3215
  async convertBandwidthPackageWithOptions(request: $_model.ConvertBandwidthPackageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertBandwidthPackageResponse> {
3215
3216
  request.validate();
3216
3217
  let query = { };
@@ -4924,7 +4925,6 @@ export default class Client extends OpenApi {
4924
4925
  * @param runtime - runtime options for this request RuntimeOptions
4925
4926
  * @returns CreateGlobalAccelerationInstanceResponse
4926
4927
  */
4927
- // Deprecated
4928
4928
  async createGlobalAccelerationInstanceWithOptions(request: $_model.CreateGlobalAccelerationInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGlobalAccelerationInstanceResponse> {
4929
4929
  request.validate();
4930
4930
  let query = { };
@@ -5210,7 +5210,6 @@ export default class Client extends OpenApi {
5210
5210
  * @param runtime - runtime options for this request RuntimeOptions
5211
5211
  * @returns CreateIPv6TranslatorResponse
5212
5212
  */
5213
- // Deprecated
5214
5213
  async createIPv6TranslatorWithOptions(request: $_model.CreateIPv6TranslatorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateIPv6TranslatorResponse> {
5215
5214
  request.validate();
5216
5215
  let query = { };
@@ -5306,7 +5305,6 @@ export default class Client extends OpenApi {
5306
5305
  * @param runtime - runtime options for this request RuntimeOptions
5307
5306
  * @returns CreateIPv6TranslatorAclListResponse
5308
5307
  */
5309
- // Deprecated
5310
5308
  async createIPv6TranslatorAclListWithOptions(request: $_model.CreateIPv6TranslatorAclListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateIPv6TranslatorAclListResponse> {
5311
5309
  request.validate();
5312
5310
  let query = { };
@@ -5378,7 +5376,6 @@ export default class Client extends OpenApi {
5378
5376
  * @param runtime - runtime options for this request RuntimeOptions
5379
5377
  * @returns CreateIPv6TranslatorEntryResponse
5380
5378
  */
5381
- // Deprecated
5382
5379
  async createIPv6TranslatorEntryWithOptions(request: $_model.CreateIPv6TranslatorEntryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateIPv6TranslatorEntryResponse> {
5383
5380
  request.validate();
5384
5381
  let query = { };
@@ -5939,10 +5936,18 @@ export default class Client extends OpenApi {
5939
5936
  query["InternetChargeType"] = request.internetChargeType;
5940
5937
  }
5941
5938
 
5939
+ if (!$dara.isNull(request.ipv4Prefix)) {
5940
+ query["Ipv4Prefix"] = request.ipv4Prefix;
5941
+ }
5942
+
5942
5943
  if (!$dara.isNull(request.name)) {
5943
5944
  query["Name"] = request.name;
5944
5945
  }
5945
5946
 
5947
+ if (!$dara.isNull(request.natIp)) {
5948
+ query["NatIp"] = request.natIp;
5949
+ }
5950
+
5946
5951
  if (!$dara.isNull(request.natType)) {
5947
5952
  query["NatType"] = request.natType;
5948
5953
  }
@@ -6062,6 +6067,14 @@ export default class Client extends OpenApi {
6062
6067
  query["DryRun"] = request.dryRun;
6063
6068
  }
6064
6069
 
6070
+ if (!$dara.isNull(request.ipv4Prefix)) {
6071
+ query["Ipv4Prefix"] = request.ipv4Prefix;
6072
+ }
6073
+
6074
+ if (!$dara.isNull(request.ipv4PrefixCount)) {
6075
+ query["Ipv4PrefixCount"] = request.ipv4PrefixCount;
6076
+ }
6077
+
6065
6078
  if (!$dara.isNull(request.natGatewayId)) {
6066
6079
  query["NatGatewayId"] = request.natGatewayId;
6067
6080
  }
@@ -8597,6 +8610,14 @@ export default class Client extends OpenApi {
8597
8610
  query["Ipv6CidrBlock"] = request.ipv6CidrBlock;
8598
8611
  }
8599
8612
 
8613
+ if (!$dara.isNull(request.ipv6CidrMask)) {
8614
+ query["Ipv6CidrMask"] = request.ipv6CidrMask;
8615
+ }
8616
+
8617
+ if (!$dara.isNull(request.ipv6IpamPoolId)) {
8618
+ query["Ipv6IpamPoolId"] = request.ipv6IpamPoolId;
8619
+ }
8620
+
8600
8621
  if (!$dara.isNull(request.ipv6Isp)) {
8601
8622
  query["Ipv6Isp"] = request.ipv6Isp;
8602
8623
  }
@@ -10962,7 +10983,6 @@ export default class Client extends OpenApi {
10962
10983
  * @param runtime - runtime options for this request RuntimeOptions
10963
10984
  * @returns DeleteIPv6TranslatorAclListResponse
10964
10985
  */
10965
- // Deprecated
10966
10986
  async deleteIPv6TranslatorAclListWithOptions(request: $_model.DeleteIPv6TranslatorAclListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteIPv6TranslatorAclListResponse> {
10967
10987
  request.validate();
10968
10988
  let query = { };
@@ -11034,7 +11054,6 @@ export default class Client extends OpenApi {
11034
11054
  * @param runtime - runtime options for this request RuntimeOptions
11035
11055
  * @returns DeleteIPv6TranslatorEntryResponse
11036
11056
  */
11037
- // Deprecated
11038
11057
  async deleteIPv6TranslatorEntryWithOptions(request: $_model.DeleteIPv6TranslatorEntryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteIPv6TranslatorEntryResponse> {
11039
11058
  request.validate();
11040
11059
  let query = { };
@@ -11622,6 +11641,14 @@ export default class Client extends OpenApi {
11622
11641
  query["DryRun"] = request.dryRun;
11623
11642
  }
11624
11643
 
11644
+ if (!$dara.isNull(request.ipv4Prefix)) {
11645
+ query["Ipv4Prefix"] = request.ipv4Prefix;
11646
+ }
11647
+
11648
+ if (!$dara.isNull(request.natGatewayId)) {
11649
+ query["NatGatewayId"] = request.natGatewayId;
11650
+ }
11651
+
11625
11652
  if (!$dara.isNull(request.natIpId)) {
11626
11653
  query["NatIpId"] = request.natIpId;
11627
11654
  }
@@ -15490,7 +15517,7 @@ export default class Client extends OpenApi {
15490
15517
  }
15491
15518
 
15492
15519
  /**
15493
- * Queries the information about flow logs.
15520
+ * Query flow logs.
15494
15521
  *
15495
15522
  * @param request - DescribeFlowLogsRequest
15496
15523
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15593,7 +15620,7 @@ export default class Client extends OpenApi {
15593
15620
  }
15594
15621
 
15595
15622
  /**
15596
- * Queries the information about flow logs.
15623
+ * Query flow logs.
15597
15624
  *
15598
15625
  * @param request - DescribeFlowLogsRequest
15599
15626
  * @returns DescribeFlowLogsResponse
@@ -16108,7 +16135,6 @@ export default class Client extends OpenApi {
16108
16135
  * @param runtime - runtime options for this request RuntimeOptions
16109
16136
  * @returns DescribeIPv6TranslatorAclListsResponse
16110
16137
  */
16111
- // Deprecated
16112
16138
  async describeIPv6TranslatorAclListsWithOptions(request: $_model.DescribeIPv6TranslatorAclListsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeIPv6TranslatorAclListsResponse> {
16113
16139
  request.validate();
16114
16140
  let query = { };
@@ -16188,7 +16214,6 @@ export default class Client extends OpenApi {
16188
16214
  * @param runtime - runtime options for this request RuntimeOptions
16189
16215
  * @returns DescribeIPv6TranslatorEntriesResponse
16190
16216
  */
16191
- // Deprecated
16192
16217
  async describeIPv6TranslatorEntriesWithOptions(request: $_model.DescribeIPv6TranslatorEntriesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeIPv6TranslatorEntriesResponse> {
16193
16218
  request.validate();
16194
16219
  let query = { };
@@ -16308,7 +16333,6 @@ export default class Client extends OpenApi {
16308
16333
  * @param runtime - runtime options for this request RuntimeOptions
16309
16334
  * @returns DescribeIPv6TranslatorsResponse
16310
16335
  */
16311
- // Deprecated
16312
16336
  async describeIPv6TranslatorsWithOptions(request: $_model.DescribeIPv6TranslatorsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeIPv6TranslatorsResponse> {
16313
16337
  request.validate();
16314
16338
  let query = { };
@@ -17676,7 +17700,6 @@ export default class Client extends OpenApi {
17676
17700
  * @param runtime - runtime options for this request RuntimeOptions
17677
17701
  * @returns DescribeRouteTablesResponse
17678
17702
  */
17679
- // Deprecated
17680
17703
  async describeRouteTablesWithOptions(request: $_model.DescribeRouteTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRouteTablesResponse> {
17681
17704
  request.validate();
17682
17705
  let query = { };
@@ -18534,7 +18557,7 @@ export default class Client extends OpenApi {
18534
18557
  }
18535
18558
 
18536
18559
  /**
18537
- * 查询满足筛选条件的标签列表。
18560
+ * Queries tags that meet the specified filter conditions.
18538
18561
  *
18539
18562
  * @remarks
18540
18563
  * 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.
@@ -18607,7 +18630,7 @@ export default class Client extends OpenApi {
18607
18630
  }
18608
18631
 
18609
18632
  /**
18610
- * 查询满足筛选条件的标签列表。
18633
+ * Queries tags that meet the specified filter conditions.
18611
18634
  *
18612
18635
  * @remarks
18613
18636
  * 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.
@@ -18624,7 +18647,7 @@ export default class Client extends OpenApi {
18624
18647
  }
18625
18648
 
18626
18649
  /**
18627
- * 查询路由器列表
18650
+ * Queries vRouters in a region.
18628
18651
  *
18629
18652
  * @param request - DescribeVRoutersRequest
18630
18653
  * @param runtime - runtime options for this request RuntimeOptions
@@ -18683,7 +18706,7 @@ export default class Client extends OpenApi {
18683
18706
  }
18684
18707
 
18685
18708
  /**
18686
- * 查询路由器列表
18709
+ * Queries vRouters in a region.
18687
18710
  *
18688
18711
  * @param request - DescribeVRoutersRequest
18689
18712
  * @returns DescribeVRoutersResponse
@@ -19235,6 +19258,96 @@ export default class Client extends OpenApi {
19235
19258
  return await this.describeVpcAttributeWithOptions(request, runtime);
19236
19259
  }
19237
19260
 
19261
+ /**
19262
+ * 查询VPC跨账号授权给ECR
19263
+ *
19264
+ * @param request - DescribeVpcGrantRulesToEcrRequest
19265
+ * @param runtime - runtime options for this request RuntimeOptions
19266
+ * @returns DescribeVpcGrantRulesToEcrResponse
19267
+ */
19268
+ async describeVpcGrantRulesToEcrWithOptions(request: $_model.DescribeVpcGrantRulesToEcrRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVpcGrantRulesToEcrResponse> {
19269
+ request.validate();
19270
+ let query = { };
19271
+ if (!$dara.isNull(request.ecrInstanceId)) {
19272
+ query["EcrInstanceId"] = request.ecrInstanceId;
19273
+ }
19274
+
19275
+ if (!$dara.isNull(request.ecrOwnerId)) {
19276
+ query["EcrOwnerId"] = request.ecrOwnerId;
19277
+ }
19278
+
19279
+ if (!$dara.isNull(request.instanceId)) {
19280
+ query["InstanceId"] = request.instanceId;
19281
+ }
19282
+
19283
+ if (!$dara.isNull(request.instanceType)) {
19284
+ query["InstanceType"] = request.instanceType;
19285
+ }
19286
+
19287
+ if (!$dara.isNull(request.maxResults)) {
19288
+ query["MaxResults"] = request.maxResults;
19289
+ }
19290
+
19291
+ if (!$dara.isNull(request.nextToken)) {
19292
+ query["NextToken"] = request.nextToken;
19293
+ }
19294
+
19295
+ if (!$dara.isNull(request.ownerAccount)) {
19296
+ query["OwnerAccount"] = request.ownerAccount;
19297
+ }
19298
+
19299
+ if (!$dara.isNull(request.ownerId)) {
19300
+ query["OwnerId"] = request.ownerId;
19301
+ }
19302
+
19303
+ if (!$dara.isNull(request.regionId)) {
19304
+ query["RegionId"] = request.regionId;
19305
+ }
19306
+
19307
+ if (!$dara.isNull(request.resourceGroupId)) {
19308
+ query["ResourceGroupId"] = request.resourceGroupId;
19309
+ }
19310
+
19311
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
19312
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
19313
+ }
19314
+
19315
+ if (!$dara.isNull(request.resourceOwnerId)) {
19316
+ query["ResourceOwnerId"] = request.resourceOwnerId;
19317
+ }
19318
+
19319
+ if (!$dara.isNull(request.tags)) {
19320
+ query["Tags"] = request.tags;
19321
+ }
19322
+
19323
+ let req = new $OpenApiUtil.OpenApiRequest({
19324
+ query: OpenApiUtil.query(query),
19325
+ });
19326
+ let params = new $OpenApiUtil.Params({
19327
+ action: "DescribeVpcGrantRulesToEcr",
19328
+ version: "2016-04-28",
19329
+ protocol: "HTTPS",
19330
+ pathname: "/",
19331
+ method: "POST",
19332
+ authType: "AK",
19333
+ style: "RPC",
19334
+ reqBodyType: "formData",
19335
+ bodyType: "json",
19336
+ });
19337
+ return $dara.cast<$_model.DescribeVpcGrantRulesToEcrResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVpcGrantRulesToEcrResponse({}));
19338
+ }
19339
+
19340
+ /**
19341
+ * 查询VPC跨账号授权给ECR
19342
+ *
19343
+ * @param request - DescribeVpcGrantRulesToEcrRequest
19344
+ * @returns DescribeVpcGrantRulesToEcrResponse
19345
+ */
19346
+ async describeVpcGrantRulesToEcr(request: $_model.DescribeVpcGrantRulesToEcrRequest): Promise<$_model.DescribeVpcGrantRulesToEcrResponse> {
19347
+ let runtime = new $dara.RuntimeOptions({ });
19348
+ return await this.describeVpcGrantRulesToEcrWithOptions(request, runtime);
19349
+ }
19350
+
19238
19351
  /**
19239
19352
  * Queries virtual private clouds (VPCs).
19240
19353
  *
@@ -20444,7 +20557,6 @@ export default class Client extends OpenApi {
20444
20557
  * @param runtime - runtime options for this request RuntimeOptions
20445
20558
  * @returns DisableNatGatewayEcsMetricResponse
20446
20559
  */
20447
- // Deprecated
20448
20560
  async disableNatGatewayEcsMetricWithOptions(request: $_model.DisableNatGatewayEcsMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableNatGatewayEcsMetricResponse> {
20449
20561
  request.validate();
20450
20562
  let query = { };
@@ -20862,7 +20974,6 @@ export default class Client extends OpenApi {
20862
20974
  * @param runtime - runtime options for this request RuntimeOptions
20863
20975
  * @returns EnableNatGatewayEcsMetricResponse
20864
20976
  */
20865
- // Deprecated
20866
20977
  async enableNatGatewayEcsMetricWithOptions(request: $_model.EnableNatGatewayEcsMetricRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableNatGatewayEcsMetricResponse> {
20867
20978
  request.validate();
20868
20979
  let query = { };
@@ -25788,7 +25899,6 @@ export default class Client extends OpenApi {
25788
25899
  * @param runtime - runtime options for this request RuntimeOptions
25789
25900
  * @returns ModifyIPv6TranslatorAclAttributeResponse
25790
25901
  */
25791
- // Deprecated
25792
25902
  async modifyIPv6TranslatorAclAttributeWithOptions(request: $_model.ModifyIPv6TranslatorAclAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyIPv6TranslatorAclAttributeResponse> {
25793
25903
  request.validate();
25794
25904
  let query = { };
@@ -26082,7 +26192,6 @@ export default class Client extends OpenApi {
26082
26192
  * @param runtime - runtime options for this request RuntimeOptions
26083
26193
  * @returns ModifyIPv6TranslatorEntryResponse
26084
26194
  */
26085
- // Deprecated
26086
26195
  async modifyIPv6TranslatorEntryWithOptions(request: $_model.ModifyIPv6TranslatorEntryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyIPv6TranslatorEntryResponse> {
26087
26196
  request.validate();
26088
26197
  let query = { };
@@ -32763,7 +32872,6 @@ export default class Client extends OpenApi {
32763
32872
  * @param runtime - runtime options for this request RuntimeOptions
32764
32873
  * @returns UpdateNatGatewayNatTypeResponse
32765
32874
  */
32766
- // Deprecated
32767
32875
  async updateNatGatewayNatTypeWithOptions(request: $_model.UpdateNatGatewayNatTypeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateNatGatewayNatTypeResponse> {
32768
32876
  request.validate();
32769
32877
  let query = { };
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AssociateVpcCidrBlockRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The IPv6 CIDR block to be added.
8
+ * The IPv6 CIDR block that you want to add to the VPC.
9
9
  *
10
- * > You must and can specify only one of **SecondaryCidrBlock** and **Ipv6CidrBlock**.
10
+ * > You can specify only one of **SecondaryCidrBlock** and **Ipv6CidrBlock**.
11
11
  *
12
12
  * @example
13
13
  * 2408:XXXX:0:6a::/56
@@ -26,12 +26,22 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
26
26
  ipVersion?: string;
27
27
  /**
28
28
  * @remarks
29
- * The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
29
+ * The ID of the IPAM pool.
30
30
  *
31
31
  * @example
32
32
  * ipam-pool-sycmt3p2a9v63i****
33
33
  */
34
34
  ipamPoolId?: string;
35
+ /**
36
+ * @remarks
37
+ * Add an IPv6 CIDR block from the IPAM pool to the VPC by entering a mask.
38
+ *
39
+ * > To add an IPv6 CIDR block to a VPC, specify at least one of the IPv6CidrBlock and Ipv6CidrMask parameters.
40
+ *
41
+ * @example
42
+ * 56
43
+ */
44
+ ipv6CidrMask?: number;
35
45
  /**
36
46
  * @remarks
37
47
  * The type of the IPv6 CIDR block. Valid values:
@@ -55,8 +65,6 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
55
65
  *
56
66
  * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the region ID.
57
67
  *
58
- * This parameter is required.
59
- *
60
68
  * @example
61
69
  * ch-hangzhou
62
70
  */
@@ -83,10 +91,9 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
83
91
  secondaryCidrBlock?: string;
84
92
  /**
85
93
  * @remarks
86
- * Add secondary CIDR blocks to the VPC from the IPAM pool by entering a mask.
94
+ * Add an IPv4 CIDR block from the IPAM pool to the VPC by specifying a mask.
87
95
  *
88
- * >
89
- * > To add a secondary CIDR block to the VPC using the specified IPAM pool, you must specify at least one of the parameters, SecondaryCidrBlock or SecondaryCidrMask.
96
+ * > If you use an IPAM pool, you must specify at least one of SecondaryCidrBlock and SecondaryCidrMask.
90
97
  *
91
98
  * @example
92
99
  * 16
@@ -107,6 +114,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
107
114
  IPv6CidrBlock: 'IPv6CidrBlock',
108
115
  ipVersion: 'IpVersion',
109
116
  ipamPoolId: 'IpamPoolId',
117
+ ipv6CidrMask: 'Ipv6CidrMask',
110
118
  ipv6Isp: 'Ipv6Isp',
111
119
  ownerAccount: 'OwnerAccount',
112
120
  ownerId: 'OwnerId',
@@ -124,6 +132,7 @@ export class AssociateVpcCidrBlockRequest extends $dara.Model {
124
132
  IPv6CidrBlock: 'string',
125
133
  ipVersion: 'string',
126
134
  ipamPoolId: 'string',
135
+ ipv6CidrMask: 'number',
127
136
  ipv6Isp: 'string',
128
137
  ownerAccount: 'string',
129
138
  ownerId: 'number',
@@ -178,6 +178,7 @@ export class CreateNatGatewayRequest extends $dara.Model {
178
178
  * PayByLcu
179
179
  */
180
180
  internetChargeType?: string;
181
+ ipv4Prefix?: string;
181
182
  /**
182
183
  * @remarks
183
184
  * The name of the NAT gateway.
@@ -190,6 +191,7 @@ export class CreateNatGatewayRequest extends $dara.Model {
190
191
  * fortest
191
192
  */
192
193
  name?: string;
194
+ natIp?: string;
193
195
  /**
194
196
  * @remarks
195
197
  * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
@@ -302,7 +304,9 @@ export class CreateNatGatewayRequest extends $dara.Model {
302
304
  icmpReplyEnabled: 'IcmpReplyEnabled',
303
305
  instanceChargeType: 'InstanceChargeType',
304
306
  internetChargeType: 'InternetChargeType',
307
+ ipv4Prefix: 'Ipv4Prefix',
305
308
  name: 'Name',
309
+ natIp: 'NatIp',
306
310
  natType: 'NatType',
307
311
  networkType: 'NetworkType',
308
312
  ownerAccount: 'OwnerAccount',
@@ -331,7 +335,9 @@ export class CreateNatGatewayRequest extends $dara.Model {
331
335
  icmpReplyEnabled: 'boolean',
332
336
  instanceChargeType: 'string',
333
337
  internetChargeType: 'string',
338
+ ipv4Prefix: 'string',
334
339
  name: 'string',
340
+ natIp: 'string',
335
341
  natType: 'string',
336
342
  networkType: 'string',
337
343
  ownerAccount: 'string',
@@ -131,6 +131,7 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
131
131
  * PayByLcu
132
132
  */
133
133
  internetChargeType?: string;
134
+ ipv4Prefix?: string;
134
135
  /**
135
136
  * @remarks
136
137
  * The name of the NAT gateway.
@@ -143,6 +144,7 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
143
144
  * fortest
144
145
  */
145
146
  name?: string;
147
+ natIp?: string;
146
148
  /**
147
149
  * @remarks
148
150
  * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
@@ -255,7 +257,9 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
255
257
  icmpReplyEnabled: 'IcmpReplyEnabled',
256
258
  instanceChargeType: 'InstanceChargeType',
257
259
  internetChargeType: 'InternetChargeType',
260
+ ipv4Prefix: 'Ipv4Prefix',
258
261
  name: 'Name',
262
+ natIp: 'NatIp',
259
263
  natType: 'NatType',
260
264
  networkType: 'NetworkType',
261
265
  ownerAccount: 'OwnerAccount',
@@ -284,7 +288,9 @@ export class CreateNatGatewayShrinkRequest extends $dara.Model {
284
288
  icmpReplyEnabled: 'boolean',
285
289
  instanceChargeType: 'string',
286
290
  internetChargeType: 'string',
291
+ ipv4Prefix: 'string',
287
292
  name: 'string',
293
+ natIp: 'string',
288
294
  natType: 'string',
289
295
  networkType: 'string',
290
296
  ownerAccount: 'string',
@@ -26,6 +26,12 @@ export class CreateNatIpRequest extends $dara.Model {
26
26
  * false
27
27
  */
28
28
  dryRun?: boolean;
29
+ /**
30
+ * @example
31
+ * null
32
+ */
33
+ ipv4Prefix?: string;
34
+ ipv4PrefixCount?: number;
29
35
  /**
30
36
  * @remarks
31
37
  * The ID of the Virtual Private Cloud (VPC) NAT gateway for which you want to create the NAT IP address.
@@ -96,6 +102,8 @@ export class CreateNatIpRequest extends $dara.Model {
96
102
  return {
97
103
  clientToken: 'ClientToken',
98
104
  dryRun: 'DryRun',
105
+ ipv4Prefix: 'Ipv4Prefix',
106
+ ipv4PrefixCount: 'Ipv4PrefixCount',
99
107
  natGatewayId: 'NatGatewayId',
100
108
  natIp: 'NatIp',
101
109
  natIpCidr: 'NatIpCidr',
@@ -113,6 +121,8 @@ export class CreateNatIpRequest extends $dara.Model {
113
121
  return {
114
122
  clientToken: 'string',
115
123
  dryRun: 'boolean',
124
+ ipv4Prefix: 'string',
125
+ ipv4PrefixCount: 'number',
116
126
  natGatewayId: 'string',
117
127
  natIp: 'string',
118
128
  natIpCidr: 'string',
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateNatIpResponseBody extends $dara.Model {
6
+ ipv4Prefix?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The NAT IP address.
@@ -29,6 +30,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
29
30
  requestId?: string;
30
31
  static names(): { [key: string]: string } {
31
32
  return {
33
+ ipv4Prefix: 'Ipv4Prefix',
32
34
  natIp: 'NatIp',
33
35
  natIpId: 'NatIpId',
34
36
  requestId: 'RequestId',
@@ -37,6 +39,7 @@ export class CreateNatIpResponseBody extends $dara.Model {
37
39
 
38
40
  static types(): { [key: string]: any } {
39
41
  return {
42
+ ipv4Prefix: 'string',
40
43
  natIp: 'string',
41
44
  natIpId: 'string',
42
45
  requestId: 'string',
@@ -137,6 +137,22 @@ export class CreateVpcRequest extends $dara.Model {
137
137
  * 2408:XXXX:0:6a::/56
138
138
  */
139
139
  ipv6CidrBlock?: string;
140
+ /**
141
+ * @remarks
142
+ * Add an IPv6 CIDR block from the IPAM pool to the VPC by entering a mask.
143
+ *
144
+ * @example
145
+ * 56
146
+ */
147
+ ipv6CidrMask?: number;
148
+ /**
149
+ * @remarks
150
+ * The ID of the IP Address Manager (IPAM) pool of the IPv6 type.
151
+ *
152
+ * @example
153
+ * ipam-pool-bp1aq51kkfh477z03****
154
+ */
155
+ ipv6IpamPoolId?: string;
140
156
  /**
141
157
  * @remarks
142
158
  * The type of the IPv6 CIDR block of the VPC. Valid values:
@@ -214,6 +230,8 @@ export class CreateVpcRequest extends $dara.Model {
214
230
  ipv4CidrMask: 'Ipv4CidrMask',
215
231
  ipv4IpamPoolId: 'Ipv4IpamPoolId',
216
232
  ipv6CidrBlock: 'Ipv6CidrBlock',
233
+ ipv6CidrMask: 'Ipv6CidrMask',
234
+ ipv6IpamPoolId: 'Ipv6IpamPoolId',
217
235
  ipv6Isp: 'Ipv6Isp',
218
236
  ownerAccount: 'OwnerAccount',
219
237
  ownerId: 'OwnerId',
@@ -238,6 +256,8 @@ export class CreateVpcRequest extends $dara.Model {
238
256
  ipv4CidrMask: 'number',
239
257
  ipv4IpamPoolId: 'string',
240
258
  ipv6CidrBlock: 'string',
259
+ ipv6CidrMask: 'number',
260
+ ipv6IpamPoolId: 'string',
241
261
  ipv6Isp: 'string',
242
262
  ownerAccount: 'string',
243
263
  ownerId: 'number',
@@ -26,6 +26,15 @@ export class DeleteIpv4GatewayRequest extends $dara.Model {
26
26
  * false
27
27
  */
28
28
  dryRun?: boolean;
29
+ /**
30
+ * @remarks
31
+ * Select the public network mode of the VPC after deleting the IPv4 gateway. The values are:
32
+ * - **private**: Default value, after deleting the IPv4 gateway, the VPC will become a pure private VPC without public network access capability.
33
+ * - **public**: After deleting the IPv4 gateway, the VPC\\"s public network access is no longer centrally controlled by the IPv4 gateway, and instances with public IPs bound can access the public network by default.
34
+ *
35
+ * @example
36
+ * public
37
+ */
29
38
  internetMode?: string;
30
39
  /**
31
40
  * @remarks
@@ -26,12 +26,12 @@ export class DeleteNatIpRequest extends $dara.Model {
26
26
  * false
27
27
  */
28
28
  dryRun?: boolean;
29
+ ipv4Prefix?: string;
30
+ natGatewayId?: string;
29
31
  /**
30
32
  * @remarks
31
33
  * The ID of the NAT IP address that you want to delete.
32
34
  *
33
- * This parameter is required.
34
- *
35
35
  * @example
36
36
  * vpcnatip-gw8y7q3cpk3fggs87****
37
37
  */
@@ -56,6 +56,8 @@ export class DeleteNatIpRequest extends $dara.Model {
56
56
  return {
57
57
  clientToken: 'ClientToken',
58
58
  dryRun: 'DryRun',
59
+ ipv4Prefix: 'Ipv4Prefix',
60
+ natGatewayId: 'NatGatewayId',
59
61
  natIpId: 'NatIpId',
60
62
  ownerAccount: 'OwnerAccount',
61
63
  ownerId: 'OwnerId',
@@ -69,6 +71,8 @@ export class DeleteNatIpRequest extends $dara.Model {
69
71
  return {
70
72
  clientToken: 'string',
71
73
  dryRun: 'boolean',
74
+ ipv4Prefix: 'string',
75
+ natGatewayId: 'string',
72
76
  natIpId: 'string',
73
77
  ownerAccount: 'string',
74
78
  ownerId: 'number',
@@ -71,6 +71,16 @@ export class DeleteRouteEntriesRequestRouteEntries extends $dara.Model {
71
71
  }
72
72
 
73
73
  export class DeleteRouteEntriesRequest extends $dara.Model {
74
+ /**
75
+ * @remarks
76
+ * Specifies whether to perform a dry run, without performing the actual request. Valid values:
77
+ *
78
+ * * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
79
+ * * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
80
+ *
81
+ * @example
82
+ * false
83
+ */
74
84
  dryRun?: boolean;
75
85
  ownerAccount?: string;
76
86
  ownerId?: number;
@@ -51,6 +51,14 @@ export class DeleteRouteEntryRequest extends $dara.Model {
51
51
  * 47.100.XX.XX/16
52
52
  */
53
53
  destinationCidrBlock?: string;
54
+ /**
55
+ * @remarks
56
+ * Specifies whether to perform only a dry run, without performing the actual request. Valid values:
57
+ *
58
+ * **true**: sends a request without deleting the route entry. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
59
+ *
60
+ * **false** (default): performs a dry run and the actual request. If the request passes the check, a 2xx HTTP status code is returned and the route entry is deleted.
61
+ */
54
62
  dryRun?: boolean;
55
63
  /**
56
64
  * @remarks