@alicloud/vpc20160428 6.4.2 → 6.4.4

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.4.2",
3
+ "version": "6.4.4",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -21646,6 +21646,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
21646
21646
  disasterRecoveryVSwitchId?: string;
21647
21647
  enableBgp?: boolean;
21648
21648
  endTime?: number;
21649
+ eniInstanceIds?: DescribeVpnGatewayResponseBodyEniInstanceIds;
21649
21650
  internetIp?: string;
21650
21651
  ipsecVpn?: string;
21651
21652
  name?: string;
@@ -21675,6 +21676,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
21675
21676
  disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
21676
21677
  enableBgp: 'EnableBgp',
21677
21678
  endTime: 'EndTime',
21679
+ eniInstanceIds: 'EniInstanceIds',
21678
21680
  internetIp: 'InternetIp',
21679
21681
  ipsecVpn: 'IpsecVpn',
21680
21682
  name: 'Name',
@@ -21707,6 +21709,7 @@ export class DescribeVpnGatewayResponseBody extends $tea.Model {
21707
21709
  disasterRecoveryVSwitchId: 'string',
21708
21710
  enableBgp: 'boolean',
21709
21711
  endTime: 'number',
21712
+ eniInstanceIds: DescribeVpnGatewayResponseBodyEniInstanceIds,
21710
21713
  internetIp: 'string',
21711
21714
  ipsecVpn: 'string',
21712
21715
  name: 'string',
@@ -23752,10 +23755,12 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
23752
23755
  deletionProtectionInfo?: GetNatGatewayAttributeResponseBodyDeletionProtectionInfo;
23753
23756
  description?: string;
23754
23757
  ecsMetricEnabled?: boolean;
23758
+ enableSessionLog?: boolean;
23755
23759
  expiredTime?: string;
23756
23760
  forwardTable?: GetNatGatewayAttributeResponseBodyForwardTable;
23757
23761
  fullNatTable?: GetNatGatewayAttributeResponseBodyFullNatTable;
23758
23762
  ipList?: GetNatGatewayAttributeResponseBodyIpList[];
23763
+ logDelivery?: GetNatGatewayAttributeResponseBodyLogDelivery;
23759
23764
  name?: string;
23760
23765
  natGatewayId?: string;
23761
23766
  natType?: string;
@@ -23777,10 +23782,12 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
23777
23782
  deletionProtectionInfo: 'DeletionProtectionInfo',
23778
23783
  description: 'Description',
23779
23784
  ecsMetricEnabled: 'EcsMetricEnabled',
23785
+ enableSessionLog: 'EnableSessionLog',
23780
23786
  expiredTime: 'ExpiredTime',
23781
23787
  forwardTable: 'ForwardTable',
23782
23788
  fullNatTable: 'FullNatTable',
23783
23789
  ipList: 'IpList',
23790
+ logDelivery: 'LogDelivery',
23784
23791
  name: 'Name',
23785
23792
  natGatewayId: 'NatGatewayId',
23786
23793
  natType: 'NatType',
@@ -23805,10 +23812,12 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
23805
23812
  deletionProtectionInfo: GetNatGatewayAttributeResponseBodyDeletionProtectionInfo,
23806
23813
  description: 'string',
23807
23814
  ecsMetricEnabled: 'boolean',
23815
+ enableSessionLog: 'boolean',
23808
23816
  expiredTime: 'string',
23809
23817
  forwardTable: GetNatGatewayAttributeResponseBodyForwardTable,
23810
23818
  fullNatTable: GetNatGatewayAttributeResponseBodyFullNatTable,
23811
23819
  ipList: { 'type': 'array', 'itemType': GetNatGatewayAttributeResponseBodyIpList },
23820
+ logDelivery: GetNatGatewayAttributeResponseBodyLogDelivery,
23812
23821
  name: 'string',
23813
23822
  natGatewayId: 'string',
23814
23823
  natType: 'string',
@@ -29477,7 +29486,9 @@ export class ModifyIpv6InternetBandwidthResponse extends $tea.Model {
29477
29486
  export class ModifyNatGatewayAttributeRequest extends $tea.Model {
29478
29487
  description?: string;
29479
29488
  eipBindMode?: string;
29489
+ enableSessionLog?: boolean;
29480
29490
  icmpReplyEnabled?: boolean;
29491
+ logDelivery?: ModifyNatGatewayAttributeRequestLogDelivery;
29481
29492
  name?: string;
29482
29493
  natGatewayId?: string;
29483
29494
  ownerAccount?: string;
@@ -29489,7 +29500,9 @@ export class ModifyNatGatewayAttributeRequest extends $tea.Model {
29489
29500
  return {
29490
29501
  description: 'Description',
29491
29502
  eipBindMode: 'EipBindMode',
29503
+ enableSessionLog: 'EnableSessionLog',
29492
29504
  icmpReplyEnabled: 'IcmpReplyEnabled',
29505
+ logDelivery: 'LogDelivery',
29493
29506
  name: 'Name',
29494
29507
  natGatewayId: 'NatGatewayId',
29495
29508
  ownerAccount: 'OwnerAccount',
@@ -29504,7 +29517,61 @@ export class ModifyNatGatewayAttributeRequest extends $tea.Model {
29504
29517
  return {
29505
29518
  description: 'string',
29506
29519
  eipBindMode: 'string',
29520
+ enableSessionLog: 'boolean',
29507
29521
  icmpReplyEnabled: 'boolean',
29522
+ logDelivery: ModifyNatGatewayAttributeRequestLogDelivery,
29523
+ name: 'string',
29524
+ natGatewayId: 'string',
29525
+ ownerAccount: 'string',
29526
+ ownerId: 'number',
29527
+ regionId: 'string',
29528
+ resourceOwnerAccount: 'string',
29529
+ resourceOwnerId: 'number',
29530
+ };
29531
+ }
29532
+
29533
+ constructor(map?: { [key: string]: any }) {
29534
+ super(map);
29535
+ }
29536
+ }
29537
+
29538
+ export class ModifyNatGatewayAttributeShrinkRequest extends $tea.Model {
29539
+ description?: string;
29540
+ eipBindMode?: string;
29541
+ enableSessionLog?: boolean;
29542
+ icmpReplyEnabled?: boolean;
29543
+ logDeliveryShrink?: string;
29544
+ name?: string;
29545
+ natGatewayId?: string;
29546
+ ownerAccount?: string;
29547
+ ownerId?: number;
29548
+ regionId?: string;
29549
+ resourceOwnerAccount?: string;
29550
+ resourceOwnerId?: number;
29551
+ static names(): { [key: string]: string } {
29552
+ return {
29553
+ description: 'Description',
29554
+ eipBindMode: 'EipBindMode',
29555
+ enableSessionLog: 'EnableSessionLog',
29556
+ icmpReplyEnabled: 'IcmpReplyEnabled',
29557
+ logDeliveryShrink: 'LogDelivery',
29558
+ name: 'Name',
29559
+ natGatewayId: 'NatGatewayId',
29560
+ ownerAccount: 'OwnerAccount',
29561
+ ownerId: 'OwnerId',
29562
+ regionId: 'RegionId',
29563
+ resourceOwnerAccount: 'ResourceOwnerAccount',
29564
+ resourceOwnerId: 'ResourceOwnerId',
29565
+ };
29566
+ }
29567
+
29568
+ static types(): { [key: string]: any } {
29569
+ return {
29570
+ description: 'string',
29571
+ eipBindMode: 'string',
29572
+ enableSessionLog: 'boolean',
29573
+ icmpReplyEnabled: 'boolean',
29574
+ logDeliveryShrink: 'string',
29508
29575
  name: 'string',
29509
29576
  natGatewayId: 'string',
29510
29577
  ownerAccount: 'string',
@@ -30400,6 +30467,7 @@ export class ModifyRouterInterfaceSpecResponse extends $tea.Model {
30400
30467
 
30401
30468
  export class ModifySnatEntryRequest extends $tea.Model {
30402
30469
  clientToken?: string;
30470
+ eipAffinity?: number;
30403
30471
  ownerAccount?: string;
30404
30472
  ownerId?: number;
30405
30473
  regionId?: string;
@@ -30412,6 +30480,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
30412
30480
  static names(): { [key: string]: string } {
30413
30481
  return {
30414
30482
  clientToken: 'ClientToken',
30483
+ eipAffinity: 'EipAffinity',
30415
30484
  ownerAccount: 'OwnerAccount',
30416
30485
  ownerId: 'OwnerId',
30417
30486
  regionId: 'RegionId',
@@ -30427,6 +30496,7 @@ export class ModifySnatEntryRequest extends $tea.Model {
30427
30496
  static types(): { [key: string]: any } {
30428
30497
  return {
30429
30498
  clientToken: 'string',
30499
+ eipAffinity: 'number',
30430
30500
  ownerAccount: 'string',
30431
30501
  ownerId: 'number',
30432
30502
  regionId: 'string',
@@ -41743,6 +41813,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
41743
41813
  description?: string;
41744
41814
  ecsMetricEnabled?: boolean;
41745
41815
  eipBindMode?: string;
41816
+ enableSessionLog?: string;
41746
41817
  expiredTime?: string;
41747
41818
  forwardTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds;
41748
41819
  fullNatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds;
@@ -41774,6 +41845,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
41774
41845
  description: 'Description',
41775
41846
  ecsMetricEnabled: 'EcsMetricEnabled',
41776
41847
  eipBindMode: 'EipBindMode',
41848
+ enableSessionLog: 'EnableSessionLog',
41777
41849
  expiredTime: 'ExpiredTime',
41778
41850
  forwardTableIds: 'ForwardTableIds',
41779
41851
  fullNatTableIds: 'FullNatTableIds',
@@ -41808,6 +41880,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
41808
41880
  description: 'string',
41809
41881
  ecsMetricEnabled: 'boolean',
41810
41882
  eipBindMode: 'string',
41883
+ enableSessionLog: 'string',
41811
41884
  expiredTime: 'string',
41812
41885
  forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
41813
41886
  fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
@@ -43658,6 +43731,7 @@ export class DescribeServerRelatedGlobalAccelerationInstancesResponseBodyGlobalA
43658
43731
  }
43659
43732
 
43660
43733
  export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry extends $tea.Model {
43734
+ eipAffinity?: string;
43661
43735
  natGatewayId?: string;
43662
43736
  snatEntryId?: string;
43663
43737
  snatEntryName?: string;
@@ -43668,6 +43742,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
43668
43742
  status?: string;
43669
43743
  static names(): { [key: string]: string } {
43670
43744
  return {
43745
+ eipAffinity: 'EipAffinity',
43671
43746
  natGatewayId: 'NatGatewayId',
43672
43747
  snatEntryId: 'SnatEntryId',
43673
43748
  snatEntryName: 'SnatEntryName',
@@ -43681,6 +43756,7 @@ export class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry
43681
43756
 
43682
43757
  static types(): { [key: string]: any } {
43683
43758
  return {
43759
+ eipAffinity: 'string',
43684
43760
  natGatewayId: 'string',
43685
43761
  snatEntryId: 'string',
43686
43762
  snatEntryName: 'string',
@@ -46444,6 +46520,25 @@ export class DescribeVpnCrossAccountAuthorizationsResponseBodyCrossAccountAuthor
46444
46520
  }
46445
46521
  }
46446
46522
 
46523
+ export class DescribeVpnGatewayResponseBodyEniInstanceIds extends $tea.Model {
46524
+ eniInstanceId?: string[];
46525
+ static names(): { [key: string]: string } {
46526
+ return {
46527
+ eniInstanceId: 'EniInstanceId',
46528
+ };
46529
+ }
46530
+
46531
+ static types(): { [key: string]: any } {
46532
+ return {
46533
+ eniInstanceId: { 'type': 'array', 'itemType': 'string' },
46534
+ };
46535
+ }
46536
+
46537
+ constructor(map?: { [key: string]: any }) {
46538
+ super(map);
46539
+ }
46540
+ }
46541
+
46447
46542
  export class DescribeVpnGatewayResponseBodyReservationData extends $tea.Model {
46448
46543
  reservationEndTime?: string;
46449
46544
  reservationIpsec?: string;
@@ -46566,6 +46661,25 @@ export class DescribeVpnGatewaysRequestTag extends $tea.Model {
46566
46661
  }
46567
46662
  }
46568
46663
 
46664
+ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds extends $tea.Model {
46665
+ eniInstanceId?: string[];
46666
+ static names(): { [key: string]: string } {
46667
+ return {
46668
+ eniInstanceId: 'EniInstanceId',
46669
+ };
46670
+ }
46671
+
46672
+ static types(): { [key: string]: any } {
46673
+ return {
46674
+ eniInstanceId: { 'type': 'array', 'itemType': 'string' },
46675
+ };
46676
+ }
46677
+
46678
+ constructor(map?: { [key: string]: any }) {
46679
+ super(map);
46680
+ }
46681
+ }
46682
+
46569
46683
  export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData extends $tea.Model {
46570
46684
  reservationEndTime?: string;
46571
46685
  reservationIpsec?: string;
@@ -46654,6 +46768,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
46654
46768
  disasterRecoveryVSwitchId?: string;
46655
46769
  enableBgp?: boolean;
46656
46770
  endTime?: number;
46771
+ eniInstanceIds?: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds;
46657
46772
  internetIp?: string;
46658
46773
  ipsecVpn?: string;
46659
46774
  name?: string;
@@ -46682,6 +46797,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
46682
46797
  disasterRecoveryVSwitchId: 'DisasterRecoveryVSwitchId',
46683
46798
  enableBgp: 'EnableBgp',
46684
46799
  endTime: 'EndTime',
46800
+ eniInstanceIds: 'EniInstanceIds',
46685
46801
  internetIp: 'InternetIp',
46686
46802
  ipsecVpn: 'IpsecVpn',
46687
46803
  name: 'Name',
@@ -46713,6 +46829,7 @@ export class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway extends $tea.M
46713
46829
  disasterRecoveryVSwitchId: 'string',
46714
46830
  enableBgp: 'boolean',
46715
46831
  endTime: 'number',
46832
+ eniInstanceIds: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds,
46716
46833
  internetIp: 'string',
46717
46834
  ipsecVpn: 'string',
46718
46835
  name: 'string',
@@ -47432,6 +47549,34 @@ export class GetNatGatewayAttributeResponseBodyIpList extends $tea.Model {
47432
47549
  }
47433
47550
  }
47434
47551
 
47552
+ export class GetNatGatewayAttributeResponseBodyLogDelivery extends $tea.Model {
47553
+ deliverLogsErrorMessage?: string;
47554
+ deliveryStatus?: string;
47555
+ logDeliveryType?: string;
47556
+ logDestination?: string;
47557
+ static names(): { [key: string]: string } {
47558
+ return {
47559
+ deliverLogsErrorMessage: 'DeliverLogsErrorMessage',
47560
+ deliveryStatus: 'DeliveryStatus',
47561
+ logDeliveryType: 'LogDeliveryType',
47562
+ logDestination: 'LogDestination',
47563
+ };
47564
+ }
47565
+
47566
+ static types(): { [key: string]: any } {
47567
+ return {
47568
+ deliverLogsErrorMessage: 'string',
47569
+ deliveryStatus: 'string',
47570
+ logDeliveryType: 'string',
47571
+ logDestination: 'string',
47572
+ };
47573
+ }
47574
+
47575
+ constructor(map?: { [key: string]: any }) {
47576
+ super(map);
47577
+ }
47578
+ }
47579
+
47435
47580
  export class GetNatGatewayAttributeResponseBodyPrivateInfo extends $tea.Model {
47436
47581
  eniInstanceId?: string;
47437
47582
  izNo?: string;
@@ -49437,6 +49582,28 @@ export class ModifyExpressConnectTrafficQosRequestRemoveInstanceList extends $te
49437
49582
  }
49438
49583
  }
49439
49584
 
49585
+ export class ModifyNatGatewayAttributeRequestLogDelivery extends $tea.Model {
49586
+ logDeliveryType?: string;
49587
+ logDestination?: string;
49588
+ static names(): { [key: string]: string } {
49589
+ return {
49590
+ logDeliveryType: 'LogDeliveryType',
49591
+ logDestination: 'LogDestination',
49592
+ };
49593
+ }
49594
+
49595
+ static types(): { [key: string]: any } {
49596
+ return {
49597
+ logDeliveryType: 'string',
49598
+ logDestination: 'string',
49599
+ };
49600
+ }
49601
+
49602
+ constructor(map?: { [key: string]: any }) {
49603
+ super(map);
49604
+ }
49605
+ }
49606
+
49440
49607
  export class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig extends $tea.Model {
49441
49608
  localAsn?: number;
49442
49609
  localBgpIp?: string;
@@ -73474,12 +73641,18 @@ export default class Client extends OpenApi {
73474
73641
  * ## [](#)Description
73475
73642
  * You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both NAT gateway types.
73476
73643
  *
73477
- * @param request ModifyNatGatewayAttributeRequest
73644
+ * @param tmpReq ModifyNatGatewayAttributeRequest
73478
73645
  * @param runtime runtime options for this request RuntimeOptions
73479
73646
  * @return ModifyNatGatewayAttributeResponse
73480
73647
  */
73481
- async modifyNatGatewayAttributeWithOptions(request: ModifyNatGatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatGatewayAttributeResponse> {
73482
- Util.validateModel(request);
73648
+ async modifyNatGatewayAttributeWithOptions(tmpReq: ModifyNatGatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatGatewayAttributeResponse> {
73649
+ Util.validateModel(tmpReq);
73650
+ let request = new ModifyNatGatewayAttributeShrinkRequest({ });
73651
+ OpenApiUtil.convert(tmpReq, request);
73652
+ if (!Util.isUnset(tmpReq.logDelivery)) {
73653
+ request.logDeliveryShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.logDelivery, "LogDelivery", "json");
73654
+ }
73655
+
73483
73656
  let query = { };
73484
73657
  if (!Util.isUnset(request.description)) {
73485
73658
  query["Description"] = request.description;
@@ -73489,10 +73662,18 @@ export default class Client extends OpenApi {
73489
73662
  query["EipBindMode"] = request.eipBindMode;
73490
73663
  }
73491
73664
 
73665
+ if (!Util.isUnset(request.enableSessionLog)) {
73666
+ query["EnableSessionLog"] = request.enableSessionLog;
73667
+ }
73668
+
73492
73669
  if (!Util.isUnset(request.icmpReplyEnabled)) {
73493
73670
  query["IcmpReplyEnabled"] = request.icmpReplyEnabled;
73494
73671
  }
73495
73672
 
73673
+ if (!Util.isUnset(request.logDeliveryShrink)) {
73674
+ query["LogDelivery"] = request.logDeliveryShrink;
73675
+ }
73676
+
73496
73677
  if (!Util.isUnset(request.name)) {
73497
73678
  query["Name"] = request.name;
73498
73679
  }
@@ -74306,6 +74487,10 @@ export default class Client extends OpenApi {
74306
74487
  query["ClientToken"] = request.clientToken;
74307
74488
  }
74308
74489
 
74490
+ if (!Util.isUnset(request.eipAffinity)) {
74491
+ query["EipAffinity"] = request.eipAffinity;
74492
+ }
74493
+
74309
74494
  if (!Util.isUnset(request.ownerAccount)) {
74310
74495
  query["OwnerAccount"] = request.ownerAccount;
74311
74496
  }