@alicloud/vpc20160428 6.5.1 → 6.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "6.5.1",
3
+ "version": "6.5.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1259,6 +1259,7 @@ export class AllocateIpv6AddressResponse extends $tea.Model {
1259
1259
  export class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
1260
1260
  bandwidth?: number;
1261
1261
  clientToken?: string;
1262
+ dryRun?: boolean;
1262
1263
  internetChargeType?: string;
1263
1264
  ipv6AddressId?: string;
1264
1265
  ipv6GatewayId?: string;
@@ -1271,6 +1272,7 @@ export class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
1271
1272
  return {
1272
1273
  bandwidth: 'Bandwidth',
1273
1274
  clientToken: 'ClientToken',
1275
+ dryRun: 'DryRun',
1274
1276
  internetChargeType: 'InternetChargeType',
1275
1277
  ipv6AddressId: 'Ipv6AddressId',
1276
1278
  ipv6GatewayId: 'Ipv6GatewayId',
@@ -1286,6 +1288,7 @@ export class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
1286
1288
  return {
1287
1289
  bandwidth: 'number',
1288
1290
  clientToken: 'string',
1291
+ dryRun: 'boolean',
1289
1292
  internetChargeType: 'string',
1290
1293
  ipv6AddressId: 'string',
1291
1294
  ipv6GatewayId: 'string',
@@ -11583,6 +11586,8 @@ export class DeleteIpv6EgressOnlyRuleResponse extends $tea.Model {
11583
11586
  }
11584
11587
 
11585
11588
  export class DeleteIpv6GatewayRequest extends $tea.Model {
11589
+ clientToken?: string;
11590
+ dryRun?: boolean;
11586
11591
  ipv6GatewayId?: string;
11587
11592
  ownerAccount?: string;
11588
11593
  ownerId?: number;
@@ -11591,6 +11596,8 @@ export class DeleteIpv6GatewayRequest extends $tea.Model {
11591
11596
  resourceOwnerId?: number;
11592
11597
  static names(): { [key: string]: string } {
11593
11598
  return {
11599
+ clientToken: 'ClientToken',
11600
+ dryRun: 'DryRun',
11594
11601
  ipv6GatewayId: 'Ipv6GatewayId',
11595
11602
  ownerAccount: 'OwnerAccount',
11596
11603
  ownerId: 'OwnerId',
@@ -11602,6 +11609,8 @@ export class DeleteIpv6GatewayRequest extends $tea.Model {
11602
11609
 
11603
11610
  static types(): { [key: string]: any } {
11604
11611
  return {
11612
+ clientToken: 'string',
11613
+ dryRun: 'boolean',
11605
11614
  ipv6GatewayId: 'string',
11606
11615
  ownerAccount: 'string',
11607
11616
  ownerId: 'number',
@@ -11661,6 +11670,8 @@ export class DeleteIpv6GatewayResponse extends $tea.Model {
11661
11670
  }
11662
11671
 
11663
11672
  export class DeleteIpv6InternetBandwidthRequest extends $tea.Model {
11673
+ clientToken?: string;
11674
+ dryRun?: boolean;
11664
11675
  ipv6AddressId?: string;
11665
11676
  ipv6InternetBandwidthId?: string;
11666
11677
  ownerAccount?: string;
@@ -11670,6 +11681,8 @@ export class DeleteIpv6InternetBandwidthRequest extends $tea.Model {
11670
11681
  resourceOwnerId?: number;
11671
11682
  static names(): { [key: string]: string } {
11672
11683
  return {
11684
+ clientToken: 'ClientToken',
11685
+ dryRun: 'DryRun',
11673
11686
  ipv6AddressId: 'Ipv6AddressId',
11674
11687
  ipv6InternetBandwidthId: 'Ipv6InternetBandwidthId',
11675
11688
  ownerAccount: 'OwnerAccount',
@@ -11682,6 +11695,8 @@ export class DeleteIpv6InternetBandwidthRequest extends $tea.Model {
11682
11695
 
11683
11696
  static types(): { [key: string]: any } {
11684
11697
  return {
11698
+ clientToken: 'string',
11699
+ dryRun: 'boolean',
11685
11700
  ipv6AddressId: 'string',
11686
11701
  ipv6InternetBandwidthId: 'string',
11687
11702
  ownerAccount: 'string',
@@ -13245,6 +13260,8 @@ export class DeleteVSwitchResponse extends $tea.Model {
13245
13260
  }
13246
13261
 
13247
13262
  export class DeleteVSwitchCidrReservationRequest extends $tea.Model {
13263
+ clientToken?: string;
13264
+ dryRun?: boolean;
13248
13265
  ownerAccount?: string;
13249
13266
  ownerId?: number;
13250
13267
  regionId?: string;
@@ -13253,6 +13270,8 @@ export class DeleteVSwitchCidrReservationRequest extends $tea.Model {
13253
13270
  vSwitchCidrReservationId?: string;
13254
13271
  static names(): { [key: string]: string } {
13255
13272
  return {
13273
+ clientToken: 'ClientToken',
13274
+ dryRun: 'DryRun',
13256
13275
  ownerAccount: 'OwnerAccount',
13257
13276
  ownerId: 'OwnerId',
13258
13277
  regionId: 'RegionId',
@@ -13264,6 +13283,8 @@ export class DeleteVSwitchCidrReservationRequest extends $tea.Model {
13264
13283
 
13265
13284
  static types(): { [key: string]: any } {
13266
13285
  return {
13286
+ clientToken: 'string',
13287
+ dryRun: 'boolean',
13267
13288
  ownerAccount: 'string',
13268
13289
  ownerId: 'number',
13269
13290
  regionId: 'string',
@@ -13575,6 +13596,7 @@ export class DeleteVirtualBorderRouterResponse extends $tea.Model {
13575
13596
  }
13576
13597
 
13577
13598
  export class DeleteVpcRequest extends $tea.Model {
13599
+ clientToken?: string;
13578
13600
  dryRun?: boolean;
13579
13601
  forceDelete?: boolean;
13580
13602
  ownerAccount?: string;
@@ -13585,6 +13607,7 @@ export class DeleteVpcRequest extends $tea.Model {
13585
13607
  vpcId?: string;
13586
13608
  static names(): { [key: string]: string } {
13587
13609
  return {
13610
+ clientToken: 'ClientToken',
13588
13611
  dryRun: 'DryRun',
13589
13612
  forceDelete: 'ForceDelete',
13590
13613
  ownerAccount: 'OwnerAccount',
@@ -13598,6 +13621,7 @@ export class DeleteVpcRequest extends $tea.Model {
13598
13621
 
13599
13622
  static types(): { [key: string]: any } {
13600
13623
  return {
13624
+ clientToken: 'string',
13601
13625
  dryRun: 'boolean',
13602
13626
  forceDelete: 'boolean',
13603
13627
  ownerAccount: 'string',
@@ -18234,6 +18258,7 @@ export class DescribePhysicalConnectionsResponse extends $tea.Model {
18234
18258
  }
18235
18259
 
18236
18260
  export class DescribePublicIpAddressRequest extends $tea.Model {
18261
+ ipVersion?: string;
18237
18262
  ownerAccount?: string;
18238
18263
  ownerId?: number;
18239
18264
  pageNumber?: number;
@@ -18243,6 +18268,7 @@ export class DescribePublicIpAddressRequest extends $tea.Model {
18243
18268
  resourceOwnerId?: number;
18244
18269
  static names(): { [key: string]: string } {
18245
18270
  return {
18271
+ ipVersion: 'IpVersion',
18246
18272
  ownerAccount: 'OwnerAccount',
18247
18273
  ownerId: 'OwnerId',
18248
18274
  pageNumber: 'PageNumber',
@@ -18255,6 +18281,7 @@ export class DescribePublicIpAddressRequest extends $tea.Model {
18255
18281
 
18256
18282
  static types(): { [key: string]: any } {
18257
18283
  return {
18284
+ ipVersion: 'string',
18258
18285
  ownerAccount: 'string',
18259
18286
  ownerId: 'number',
18260
18287
  pageNumber: 'number',
@@ -29331,7 +29358,9 @@ export class ModifyIPv6TranslatorEntryResponse extends $tea.Model {
29331
29358
  }
29332
29359
 
29333
29360
  export class ModifyIpv6AddressAttributeRequest extends $tea.Model {
29361
+ clientToken?: string;
29334
29362
  description?: string;
29363
+ dryRun?: boolean;
29335
29364
  ipv6AddressId?: string;
29336
29365
  name?: string;
29337
29366
  ownerAccount?: string;
@@ -29341,7 +29370,9 @@ export class ModifyIpv6AddressAttributeRequest extends $tea.Model {
29341
29370
  resourceOwnerId?: number;
29342
29371
  static names(): { [key: string]: string } {
29343
29372
  return {
29373
+ clientToken: 'ClientToken',
29344
29374
  description: 'Description',
29375
+ dryRun: 'DryRun',
29345
29376
  ipv6AddressId: 'Ipv6AddressId',
29346
29377
  name: 'Name',
29347
29378
  ownerAccount: 'OwnerAccount',
@@ -29354,7 +29385,9 @@ export class ModifyIpv6AddressAttributeRequest extends $tea.Model {
29354
29385
 
29355
29386
  static types(): { [key: string]: any } {
29356
29387
  return {
29388
+ clientToken: 'string',
29357
29389
  description: 'string',
29390
+ dryRun: 'boolean',
29358
29391
  ipv6AddressId: 'string',
29359
29392
  name: 'string',
29360
29393
  ownerAccount: 'string',
@@ -29415,7 +29448,9 @@ export class ModifyIpv6AddressAttributeResponse extends $tea.Model {
29415
29448
  }
29416
29449
 
29417
29450
  export class ModifyIpv6GatewayAttributeRequest extends $tea.Model {
29451
+ clientToken?: string;
29418
29452
  description?: string;
29453
+ dryRun?: boolean;
29419
29454
  ipv6GatewayId?: string;
29420
29455
  name?: string;
29421
29456
  ownerAccount?: string;
@@ -29425,7 +29460,9 @@ export class ModifyIpv6GatewayAttributeRequest extends $tea.Model {
29425
29460
  resourceOwnerId?: number;
29426
29461
  static names(): { [key: string]: string } {
29427
29462
  return {
29463
+ clientToken: 'ClientToken',
29428
29464
  description: 'Description',
29465
+ dryRun: 'DryRun',
29429
29466
  ipv6GatewayId: 'Ipv6GatewayId',
29430
29467
  name: 'Name',
29431
29468
  ownerAccount: 'OwnerAccount',
@@ -29438,7 +29475,9 @@ export class ModifyIpv6GatewayAttributeRequest extends $tea.Model {
29438
29475
 
29439
29476
  static types(): { [key: string]: any } {
29440
29477
  return {
29478
+ clientToken: 'string',
29441
29479
  description: 'string',
29480
+ dryRun: 'boolean',
29442
29481
  ipv6GatewayId: 'string',
29443
29482
  name: 'string',
29444
29483
  ownerAccount: 'string',
@@ -29501,6 +29540,7 @@ export class ModifyIpv6GatewayAttributeResponse extends $tea.Model {
29501
29540
  export class ModifyIpv6InternetBandwidthRequest extends $tea.Model {
29502
29541
  bandwidth?: number;
29503
29542
  clientToken?: string;
29543
+ dryRun?: boolean;
29504
29544
  ipv6AddressId?: string;
29505
29545
  ipv6InternetBandwidthId?: string;
29506
29546
  ownerAccount?: string;
@@ -29512,6 +29552,7 @@ export class ModifyIpv6InternetBandwidthRequest extends $tea.Model {
29512
29552
  return {
29513
29553
  bandwidth: 'Bandwidth',
29514
29554
  clientToken: 'ClientToken',
29555
+ dryRun: 'DryRun',
29515
29556
  ipv6AddressId: 'Ipv6AddressId',
29516
29557
  ipv6InternetBandwidthId: 'Ipv6InternetBandwidthId',
29517
29558
  ownerAccount: 'OwnerAccount',
@@ -29526,6 +29567,7 @@ export class ModifyIpv6InternetBandwidthRequest extends $tea.Model {
29526
29567
  return {
29527
29568
  bandwidth: 'number',
29528
29569
  clientToken: 'string',
29570
+ dryRun: 'boolean',
29529
29571
  ipv6AddressId: 'string',
29530
29572
  ipv6InternetBandwidthId: 'string',
29531
29573
  ownerAccount: 'string',
@@ -31225,6 +31267,8 @@ export class ModifyVSwitchAttributeResponse extends $tea.Model {
31225
31267
  }
31226
31268
 
31227
31269
  export class ModifyVSwitchCidrReservationAttributeRequest extends $tea.Model {
31270
+ clientToken?: string;
31271
+ dryRun?: boolean;
31228
31272
  ownerAccount?: string;
31229
31273
  ownerId?: number;
31230
31274
  regionId?: string;
@@ -31235,6 +31279,8 @@ export class ModifyVSwitchCidrReservationAttributeRequest extends $tea.Model {
31235
31279
  vSwitchCidrReservationName?: string;
31236
31280
  static names(): { [key: string]: string } {
31237
31281
  return {
31282
+ clientToken: 'ClientToken',
31283
+ dryRun: 'DryRun',
31238
31284
  ownerAccount: 'OwnerAccount',
31239
31285
  ownerId: 'OwnerId',
31240
31286
  regionId: 'RegionId',
@@ -31248,6 +31294,8 @@ export class ModifyVSwitchCidrReservationAttributeRequest extends $tea.Model {
31248
31294
 
31249
31295
  static types(): { [key: string]: any } {
31250
31296
  return {
31297
+ clientToken: 'string',
31298
+ dryRun: 'boolean',
31251
31299
  ownerAccount: 'string',
31252
31300
  ownerId: 'number',
31253
31301
  regionId: 'string',
@@ -52108,6 +52156,14 @@ export default class Client extends OpenApi {
52108
52156
  query["ClientToken"] = request.clientToken;
52109
52157
  }
52110
52158
 
52159
+ if (!Util.isUnset(request.clientToken)) {
52160
+ query["ClientToken"] = request.clientToken;
52161
+ }
52162
+
52163
+ if (!Util.isUnset(request.dryRun)) {
52164
+ query["DryRun"] = request.dryRun;
52165
+ }
52166
+
52111
52167
  if (!Util.isUnset(request.internetChargeType)) {
52112
52168
  query["InternetChargeType"] = request.internetChargeType;
52113
52169
  }
@@ -61903,6 +61959,14 @@ export default class Client extends OpenApi {
61903
61959
  async deleteIpv6GatewayWithOptions(request: DeleteIpv6GatewayRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpv6GatewayResponse> {
61904
61960
  Util.validateModel(request);
61905
61961
  let query = { };
61962
+ if (!Util.isUnset(request.clientToken)) {
61963
+ query["ClientToken"] = request.clientToken;
61964
+ }
61965
+
61966
+ if (!Util.isUnset(request.dryRun)) {
61967
+ query["DryRun"] = request.dryRun;
61968
+ }
61969
+
61906
61970
  if (!Util.isUnset(request.ipv6GatewayId)) {
61907
61971
  query["Ipv6GatewayId"] = request.ipv6GatewayId;
61908
61972
  }
@@ -61977,6 +62041,14 @@ export default class Client extends OpenApi {
61977
62041
  async deleteIpv6InternetBandwidthWithOptions(request: DeleteIpv6InternetBandwidthRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpv6InternetBandwidthResponse> {
61978
62042
  Util.validateModel(request);
61979
62043
  let query = { };
62044
+ if (!Util.isUnset(request.clientToken)) {
62045
+ query["ClientToken"] = request.clientToken;
62046
+ }
62047
+
62048
+ if (!Util.isUnset(request.dryRun)) {
62049
+ query["DryRun"] = request.dryRun;
62050
+ }
62051
+
61980
62052
  if (!Util.isUnset(request.ipv6AddressId)) {
61981
62053
  query["Ipv6AddressId"] = request.ipv6AddressId;
61982
62054
  }
@@ -63513,6 +63585,14 @@ export default class Client extends OpenApi {
63513
63585
  async deleteVSwitchCidrReservationWithOptions(request: DeleteVSwitchCidrReservationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVSwitchCidrReservationResponse> {
63514
63586
  Util.validateModel(request);
63515
63587
  let query = { };
63588
+ if (!Util.isUnset(request.clientToken)) {
63589
+ query["ClientToken"] = request.clientToken;
63590
+ }
63591
+
63592
+ if (!Util.isUnset(request.dryRun)) {
63593
+ query["DryRun"] = request.dryRun;
63594
+ }
63595
+
63516
63596
  if (!Util.isUnset(request.ownerAccount)) {
63517
63597
  query["OwnerAccount"] = request.ownerAccount;
63518
63598
  }
@@ -63819,6 +63899,10 @@ export default class Client extends OpenApi {
63819
63899
  async deleteVpcWithOptions(request: DeleteVpcRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVpcResponse> {
63820
63900
  Util.validateModel(request);
63821
63901
  let query = { };
63902
+ if (!Util.isUnset(request.clientToken)) {
63903
+ query["ClientToken"] = request.clientToken;
63904
+ }
63905
+
63822
63906
  if (!Util.isUnset(request.dryRun)) {
63823
63907
  query["DryRun"] = request.dryRun;
63824
63908
  }
@@ -67649,6 +67733,10 @@ export default class Client extends OpenApi {
67649
67733
  async describePublicIpAddressWithOptions(request: DescribePublicIpAddressRequest, runtime: $Util.RuntimeOptions): Promise<DescribePublicIpAddressResponse> {
67650
67734
  Util.validateModel(request);
67651
67735
  let query = { };
67736
+ if (!Util.isUnset(request.ipVersion)) {
67737
+ query["IpVersion"] = request.ipVersion;
67738
+ }
67739
+
67652
67740
  if (!Util.isUnset(request.ownerAccount)) {
67653
67741
  query["OwnerAccount"] = request.ownerAccount;
67654
67742
  }
@@ -76264,10 +76352,18 @@ export default class Client extends OpenApi {
76264
76352
  async modifyIpv6AddressAttributeWithOptions(request: ModifyIpv6AddressAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpv6AddressAttributeResponse> {
76265
76353
  Util.validateModel(request);
76266
76354
  let query = { };
76355
+ if (!Util.isUnset(request.clientToken)) {
76356
+ query["ClientToken"] = request.clientToken;
76357
+ }
76358
+
76267
76359
  if (!Util.isUnset(request.description)) {
76268
76360
  query["Description"] = request.description;
76269
76361
  }
76270
76362
 
76363
+ if (!Util.isUnset(request.dryRun)) {
76364
+ query["DryRun"] = request.dryRun;
76365
+ }
76366
+
76271
76367
  if (!Util.isUnset(request.ipv6AddressId)) {
76272
76368
  query["Ipv6AddressId"] = request.ipv6AddressId;
76273
76369
  }
@@ -76338,10 +76434,18 @@ export default class Client extends OpenApi {
76338
76434
  async modifyIpv6GatewayAttributeWithOptions(request: ModifyIpv6GatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpv6GatewayAttributeResponse> {
76339
76435
  Util.validateModel(request);
76340
76436
  let query = { };
76437
+ if (!Util.isUnset(request.clientToken)) {
76438
+ query["ClientToken"] = request.clientToken;
76439
+ }
76440
+
76341
76441
  if (!Util.isUnset(request.description)) {
76342
76442
  query["Description"] = request.description;
76343
76443
  }
76344
76444
 
76445
+ if (!Util.isUnset(request.dryRun)) {
76446
+ query["DryRun"] = request.dryRun;
76447
+ }
76448
+
76345
76449
  if (!Util.isUnset(request.ipv6GatewayId)) {
76346
76450
  query["Ipv6GatewayId"] = request.ipv6GatewayId;
76347
76451
  }
@@ -76422,6 +76526,14 @@ export default class Client extends OpenApi {
76422
76526
  query["ClientToken"] = request.clientToken;
76423
76527
  }
76424
76528
 
76529
+ if (!Util.isUnset(request.clientToken)) {
76530
+ query["ClientToken"] = request.clientToken;
76531
+ }
76532
+
76533
+ if (!Util.isUnset(request.dryRun)) {
76534
+ query["DryRun"] = request.dryRun;
76535
+ }
76536
+
76425
76537
  if (!Util.isUnset(request.ipv6AddressId)) {
76426
76538
  query["Ipv6AddressId"] = request.ipv6AddressId;
76427
76539
  }
@@ -77927,6 +78039,14 @@ export default class Client extends OpenApi {
77927
78039
  async modifyVSwitchCidrReservationAttributeWithOptions(request: ModifyVSwitchCidrReservationAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVSwitchCidrReservationAttributeResponse> {
77928
78040
  Util.validateModel(request);
77929
78041
  let query = { };
78042
+ if (!Util.isUnset(request.clientToken)) {
78043
+ query["ClientToken"] = request.clientToken;
78044
+ }
78045
+
78046
+ if (!Util.isUnset(request.dryRun)) {
78047
+ query["DryRun"] = request.dryRun;
78048
+ }
78049
+
77930
78050
  if (!Util.isUnset(request.ownerAccount)) {
77931
78051
  query["OwnerAccount"] = request.ownerAccount;
77932
78052
  }