@alicloud/vpc20160428 6.6.2 → 6.6.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/src/client.ts CHANGED
@@ -6546,9 +6546,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6546
6546
  *
6547
6547
  * You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
6548
6548
  *
6549
- * >
6550
- *
6551
- * 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.
6549
+ * > 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.
6552
6550
  *
6553
6551
  * @example
6554
6552
  * 02fb3da4-130e-11e9-8e44-001****
@@ -6558,7 +6556,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6558
6556
  * @remarks
6559
6557
  * The description of the Internet Shared Bandwidth instance.
6560
6558
  *
6561
- * The description must be 2 to 256 characters in length and start with a letter. The description cannot start with `http://` or `https://`.
6559
+ * The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
6562
6560
  *
6563
6561
  * @example
6564
6562
  * abc
@@ -6568,7 +6566,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6568
6566
  * @remarks
6569
6567
  * The line type. Valid values:
6570
6568
  *
6571
- * * **BGP** All regions support BGP (Multi-ISP).
6569
+ * * **BGP** (default) All regions support BGP (Multi-ISP).
6572
6570
  * * **BGP_PRO** BGP (Multi-ISP) Pro lines are available in the China (Hong Kong), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.
6573
6571
  *
6574
6572
  * If you are allowed to use single-ISP bandwidth, you can also use one of the following values:
@@ -6595,7 +6593,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6595
6593
  * @remarks
6596
6594
  * The name of the Internet Shared Bandwidth instance.
6597
6595
  *
6598
- * The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
6596
+ * The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
6599
6597
  *
6600
6598
  * @example
6601
6599
  * test123
@@ -6607,9 +6605,7 @@ export class CreateCommonBandwidthPackageRequest extends $tea.Model {
6607
6605
  * @remarks
6608
6606
  * The percentage of the minimum bandwidth commitment. Set the parameter to **20**.
6609
6607
  *
6610
- * >
6611
- *
6612
- * This parameter is available only on the Alibaba Cloud China site.
6608
+ * > This parameter is available only on the Alibaba Cloud China site.
6613
6609
  *
6614
6610
  * @example
6615
6611
  * 20
@@ -8672,6 +8668,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8672
8668
  * myFlowlog
8673
8669
  */
8674
8670
  flowLogName?: string;
8671
+ ipVersion?: string;
8675
8672
  /**
8676
8673
  * @remarks
8677
8674
  * The name of the Logstore that stores the captured traffic data.
@@ -8778,6 +8775,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8778
8775
  aggregationInterval: 'AggregationInterval',
8779
8776
  description: 'Description',
8780
8777
  flowLogName: 'FlowLogName',
8778
+ ipVersion: 'IpVersion',
8781
8779
  logStoreName: 'LogStoreName',
8782
8780
  ownerAccount: 'OwnerAccount',
8783
8781
  ownerId: 'OwnerId',
@@ -8799,6 +8797,7 @@ export class CreateFlowLogRequest extends $tea.Model {
8799
8797
  aggregationInterval: 'number',
8800
8798
  description: 'string',
8801
8799
  flowLogName: 'string',
8800
+ ipVersion: 'string',
8802
8801
  logStoreName: 'string',
8803
8802
  ownerAccount: 'string',
8804
8803
  ownerId: 'number',
@@ -11320,6 +11319,7 @@ export class CreateIpv6GatewayResponse extends $tea.Model {
11320
11319
  }
11321
11320
 
11322
11321
  export class CreateNatGatewayRequest extends $tea.Model {
11322
+ accessMode?: CreateNatGatewayRequestAccessMode;
11323
11323
  /**
11324
11324
  * @remarks
11325
11325
  * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
@@ -11446,6 +11446,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11446
11446
  * Invalid parameter.
11447
11447
  */
11448
11448
  pricingCycle?: string;
11449
+ privateLinkEnabled?: boolean;
11449
11450
  /**
11450
11451
  * @remarks
11451
11452
  * The region ID of the NAT gateway.
@@ -11512,6 +11513,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11512
11513
  vpcId?: string;
11513
11514
  static names(): { [key: string]: string } {
11514
11515
  return {
11516
+ accessMode: 'AccessMode',
11515
11517
  autoPay: 'AutoPay',
11516
11518
  clientToken: 'ClientToken',
11517
11519
  description: 'Description',
@@ -11526,6 +11528,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11526
11528
  ownerAccount: 'OwnerAccount',
11527
11529
  ownerId: 'OwnerId',
11528
11530
  pricingCycle: 'PricingCycle',
11531
+ privateLinkEnabled: 'PrivateLinkEnabled',
11529
11532
  regionId: 'RegionId',
11530
11533
  resourceOwnerAccount: 'ResourceOwnerAccount',
11531
11534
  resourceOwnerId: 'ResourceOwnerId',
@@ -11539,6 +11542,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11539
11542
 
11540
11543
  static types(): { [key: string]: any } {
11541
11544
  return {
11545
+ accessMode: CreateNatGatewayRequestAccessMode,
11542
11546
  autoPay: 'boolean',
11543
11547
  clientToken: 'string',
11544
11548
  description: 'string',
@@ -11553,6 +11557,7 @@ export class CreateNatGatewayRequest extends $tea.Model {
11553
11557
  ownerAccount: 'string',
11554
11558
  ownerId: 'number',
11555
11559
  pricingCycle: 'string',
11560
+ privateLinkEnabled: 'boolean',
11556
11561
  regionId: 'string',
11557
11562
  resourceOwnerAccount: 'string',
11558
11563
  resourceOwnerId: 'number',
@@ -11569,6 +11574,262 @@ export class CreateNatGatewayRequest extends $tea.Model {
11569
11574
  }
11570
11575
  }
11571
11576
 
11577
+ export class CreateNatGatewayShrinkRequest extends $tea.Model {
11578
+ accessModeShrink?: string;
11579
+ /**
11580
+ * @remarks
11581
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11582
+ *
11583
+ * @example
11584
+ * Invalid parameter.
11585
+ */
11586
+ autoPay?: boolean;
11587
+ /**
11588
+ * @remarks
11589
+ * The client token that is used to ensure the idempotence of the request.
11590
+ *
11591
+ * You can use the client to generate the token, but you must make sure that the token is unique among different requests.
11592
+ *
11593
+ * > 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.
11594
+ *
11595
+ * @example
11596
+ * 5A2CFF0E-5718-45B5-9D4D-70B3FF3898
11597
+ */
11598
+ clientToken?: string;
11599
+ /**
11600
+ * @remarks
11601
+ * The description of the NAT gateway.
11602
+ *
11603
+ * You can leave this parameter empty or enter a description. If you enter a description, the description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
11604
+ *
11605
+ * @example
11606
+ * testnat
11607
+ */
11608
+ description?: string;
11609
+ /**
11610
+ * @remarks
11611
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11612
+ *
11613
+ * @example
11614
+ * Invalid parameter.
11615
+ */
11616
+ duration?: string;
11617
+ /**
11618
+ * @remarks
11619
+ * The mode in which the EIP is associated with the NAT gateway. Valid values:
11620
+ *
11621
+ * * **MULTI_BINDED** (default): Multi-EIP-to-ENI mode.
11622
+ *
11623
+ * * **NAT**: NAT mode. IPv4 gateways are supported in this mode.
11624
+ *
11625
+ * **
11626
+ *
11627
+ * **Note** If a NAT gateway is associated with an EIP in NAT mode, the EIP occupies one private IP address in the vSwitch. Make sure that the vSwitch has sufficient private IP addresses. Otherwise, the NAT gateway fails to be associated with the EIP. In NAT mode, a maximum number of 50 EIPs can be associated with each NAT gateway.
11628
+ *
11629
+ * @example
11630
+ * MULTI_BINDED
11631
+ */
11632
+ eipBindMode?: string;
11633
+ /**
11634
+ * @remarks
11635
+ * Specifies whether to enable ICMP retrieval. Valid values:
11636
+ *
11637
+ * * **true** (default)
11638
+ * * **false**
11639
+ *
11640
+ * @example
11641
+ * false
11642
+ */
11643
+ icmpReplyEnabled?: boolean;
11644
+ /**
11645
+ * @remarks
11646
+ * The billing method of the NAT gateway.
11647
+ *
11648
+ * Set the value to **PostPaid** (pay-as-you-go), which is the default value.
11649
+ *
11650
+ * For more information, see [Internet NAT gateway billing](https://help.aliyun.com/document_detail/48126.html) and [VPC NAT gateway billing](https://help.aliyun.com/document_detail/270913.html).
11651
+ *
11652
+ * @example
11653
+ * PostPaid
11654
+ */
11655
+ instanceChargeType?: string;
11656
+ /**
11657
+ * @remarks
11658
+ * The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
11659
+ *
11660
+ * @example
11661
+ * PayByLcu
11662
+ */
11663
+ internetChargeType?: string;
11664
+ /**
11665
+ * @remarks
11666
+ * The name of the NAT gateway.
11667
+ *
11668
+ * The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
11669
+ *
11670
+ * If this parameter is not set, the system assigns a default name to the NAT gateway.
11671
+ *
11672
+ * @example
11673
+ * fortest
11674
+ */
11675
+ name?: string;
11676
+ /**
11677
+ * @remarks
11678
+ * The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
11679
+ *
11680
+ * @example
11681
+ * Enhanced
11682
+ */
11683
+ natType?: string;
11684
+ /**
11685
+ * @remarks
11686
+ * The network type of the NAT gateway. Valid values:
11687
+ *
11688
+ * * **internet**: Internet
11689
+ * * **intranet**: VPC
11690
+ *
11691
+ * @example
11692
+ * internet
11693
+ */
11694
+ networkType?: string;
11695
+ ownerAccount?: string;
11696
+ ownerId?: number;
11697
+ /**
11698
+ * @remarks
11699
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11700
+ *
11701
+ * @example
11702
+ * Invalid parameter.
11703
+ */
11704
+ pricingCycle?: string;
11705
+ privateLinkEnabled?: boolean;
11706
+ /**
11707
+ * @remarks
11708
+ * The region ID of the NAT gateway.
11709
+ *
11710
+ * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to obtain the region ID.
11711
+ *
11712
+ * This parameter is required.
11713
+ *
11714
+ * @example
11715
+ * cn-hangzhou
11716
+ */
11717
+ regionId?: string;
11718
+ resourceOwnerAccount?: string;
11719
+ resourceOwnerId?: number;
11720
+ /**
11721
+ * @remarks
11722
+ * Specifies whether to enable the firewall feature. Valid values:
11723
+ *
11724
+ * * **false** (default)>Notice: This parameter is deprecated.
11725
+ *
11726
+ * @example
11727
+ * false
11728
+ *
11729
+ * @deprecated
11730
+ */
11731
+ securityProtectionEnabled?: boolean;
11732
+ /**
11733
+ * @remarks
11734
+ * Subscription Internet NAT gateways are no longer available for purchase. Ignore this parameter.
11735
+ *
11736
+ * @example
11737
+ * Invalid parameter.
11738
+ */
11739
+ spec?: string;
11740
+ /**
11741
+ * @remarks
11742
+ * The tags.
11743
+ */
11744
+ tag?: CreateNatGatewayShrinkRequestTag[];
11745
+ /**
11746
+ * @remarks
11747
+ * The ID of the vSwitch to which the NAT gateway is attached.
11748
+ *
11749
+ * When you create a NAT gateway, you must specify a vSwitch for the NAT gateway. Then, the system assigns an idle private IP address from the vSwitch to the NAT gateway.
11750
+ *
11751
+ * * To attach the NAT gateway to an existing vSwitch, make sure that the zone to which the vSwitch belongs supports NAT gateways. In addition, the vSwitch must have idle IP addresses.
11752
+ * * If no vSwitch exists in the VPC, create a vSwitch in a zone that supports NAT gateways. Then, specify the vSwitch for the NAT gateway.
11753
+ *
11754
+ * > You can call the [ListEnhanhcedNatGatewayAvailableZones](https://help.aliyun.com/document_detail/182292.html) operation to query zones that support NAT gateways. You can call the [DescribeVSwitches](https://help.aliyun.com/document_detail/35748.html) operation to query idle IP addresses in a vSwitch.
11755
+ *
11756
+ * @example
11757
+ * vsw-bp1e3se98n9fq8hle****
11758
+ */
11759
+ vSwitchId?: string;
11760
+ /**
11761
+ * @remarks
11762
+ * The ID of the VPC where you want to create the NAT gateway.
11763
+ *
11764
+ * This parameter is required.
11765
+ *
11766
+ * @example
11767
+ * vpc-bp1di7uewzmtvfuq8****
11768
+ */
11769
+ vpcId?: string;
11770
+ static names(): { [key: string]: string } {
11771
+ return {
11772
+ accessModeShrink: 'AccessMode',
11773
+ autoPay: 'AutoPay',
11774
+ clientToken: 'ClientToken',
11775
+ description: 'Description',
11776
+ duration: 'Duration',
11777
+ eipBindMode: 'EipBindMode',
11778
+ icmpReplyEnabled: 'IcmpReplyEnabled',
11779
+ instanceChargeType: 'InstanceChargeType',
11780
+ internetChargeType: 'InternetChargeType',
11781
+ name: 'Name',
11782
+ natType: 'NatType',
11783
+ networkType: 'NetworkType',
11784
+ ownerAccount: 'OwnerAccount',
11785
+ ownerId: 'OwnerId',
11786
+ pricingCycle: 'PricingCycle',
11787
+ privateLinkEnabled: 'PrivateLinkEnabled',
11788
+ regionId: 'RegionId',
11789
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11790
+ resourceOwnerId: 'ResourceOwnerId',
11791
+ securityProtectionEnabled: 'SecurityProtectionEnabled',
11792
+ spec: 'Spec',
11793
+ tag: 'Tag',
11794
+ vSwitchId: 'VSwitchId',
11795
+ vpcId: 'VpcId',
11796
+ };
11797
+ }
11798
+
11799
+ static types(): { [key: string]: any } {
11800
+ return {
11801
+ accessModeShrink: 'string',
11802
+ autoPay: 'boolean',
11803
+ clientToken: 'string',
11804
+ description: 'string',
11805
+ duration: 'string',
11806
+ eipBindMode: 'string',
11807
+ icmpReplyEnabled: 'boolean',
11808
+ instanceChargeType: 'string',
11809
+ internetChargeType: 'string',
11810
+ name: 'string',
11811
+ natType: 'string',
11812
+ networkType: 'string',
11813
+ ownerAccount: 'string',
11814
+ ownerId: 'number',
11815
+ pricingCycle: 'string',
11816
+ privateLinkEnabled: 'boolean',
11817
+ regionId: 'string',
11818
+ resourceOwnerAccount: 'string',
11819
+ resourceOwnerId: 'number',
11820
+ securityProtectionEnabled: 'boolean',
11821
+ spec: 'string',
11822
+ tag: { 'type': 'array', 'itemType': CreateNatGatewayShrinkRequestTag },
11823
+ vSwitchId: 'string',
11824
+ vpcId: 'string',
11825
+ };
11826
+ }
11827
+
11828
+ constructor(map?: { [key: string]: any }) {
11829
+ super(map);
11830
+ }
11831
+ }
11832
+
11572
11833
  export class CreateNatGatewayResponseBody extends $tea.Model {
11573
11834
  /**
11574
11835
  * @remarks
@@ -44609,6 +44870,7 @@ export class GetNatGatewayAttributeRequest extends $tea.Model {
44609
44870
  }
44610
44871
 
44611
44872
  export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44873
+ accessMode?: GetNatGatewayAttributeResponseBodyAccessMode;
44612
44874
  /**
44613
44875
  * @remarks
44614
44876
  * The billing information.
@@ -44797,6 +45059,7 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44797
45059
  vpcId?: string;
44798
45060
  static names(): { [key: string]: string } {
44799
45061
  return {
45062
+ accessMode: 'AccessMode',
44800
45063
  billingConfig: 'BillingConfig',
44801
45064
  businessStatus: 'BusinessStatus',
44802
45065
  creationTime: 'CreationTime',
@@ -44827,6 +45090,7 @@ export class GetNatGatewayAttributeResponseBody extends $tea.Model {
44827
45090
 
44828
45091
  static types(): { [key: string]: any } {
44829
45092
  return {
45093
+ accessMode: GetNatGatewayAttributeResponseBodyAccessMode,
44830
45094
  billingConfig: GetNatGatewayAttributeResponseBodyBillingConfig,
44831
45095
  businessStatus: 'string',
44832
45096
  creationTime: 'string',
@@ -52346,7 +52610,7 @@ export class ModifyExpressCloudConnectionAttributeRequest extends $tea.Model {
52346
52610
  * The peer IP address when the SAG device is connected to the cloud.
52347
52611
  *
52348
52612
  * @example
52349
- * 172.16.\*\*.**
52613
+ * ``172.16.**.**``
52350
52614
  */
52351
52615
  ceIp?: string;
52352
52616
  /**
@@ -52382,7 +52646,7 @@ export class ModifyExpressCloudConnectionAttributeRequest extends $tea.Model {
52382
52646
  * The on-premises IP address when the SAG device is connected to the cloud.
52383
52647
  *
52384
52648
  * @example
52385
- * 10.10.\*\*.**
52649
+ * ``10.10.**.**``
52386
52650
  */
52387
52651
  peIp?: string;
52388
52652
  /**
@@ -53259,6 +53523,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53259
53523
  * myFlowlog
53260
53524
  */
53261
53525
  flowLogName?: string;
53526
+ ipVersion?: string;
53262
53527
  ownerAccount?: string;
53263
53528
  ownerId?: number;
53264
53529
  /**
@@ -53281,6 +53546,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53281
53546
  description: 'Description',
53282
53547
  flowLogId: 'FlowLogId',
53283
53548
  flowLogName: 'FlowLogName',
53549
+ ipVersion: 'IpVersion',
53284
53550
  ownerAccount: 'OwnerAccount',
53285
53551
  ownerId: 'OwnerId',
53286
53552
  regionId: 'RegionId',
@@ -53295,6 +53561,7 @@ export class ModifyFlowLogAttributeRequest extends $tea.Model {
53295
53561
  description: 'string',
53296
53562
  flowLogId: 'string',
53297
53563
  flowLogName: 'string',
53564
+ ipVersion: 'string',
53298
53565
  ownerAccount: 'string',
53299
53566
  ownerId: 'number',
53300
53567
  regionId: 'string',
@@ -56518,6 +56785,13 @@ export class ModifyRouteEntryRequest extends $tea.Model {
56518
56785
  * EntryDescription
56519
56786
  */
56520
56787
  description?: string;
56788
+ /**
56789
+ * @remarks
56790
+ * The destination CIDR block of the route entry. Only IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported.
56791
+ *
56792
+ * @example
56793
+ * 192.168.0.0/24
56794
+ */
56521
56795
  destinationCidrBlock?: string;
56522
56796
  /**
56523
56797
  * @remarks
@@ -56569,6 +56843,13 @@ export class ModifyRouteEntryRequest extends $tea.Model {
56569
56843
  * EntryName
56570
56844
  */
56571
56845
  routeEntryName?: string;
56846
+ /**
56847
+ * @remarks
56848
+ * The ID of the route table to which the route entry belongs.
56849
+ *
56850
+ * @example
56851
+ * vtb-bp1nk7zk65du3pni8z9td
56852
+ */
56572
56853
  routeTableId?: string;
56573
56854
  static names(): { [key: string]: string } {
56574
56855
  return {
@@ -70360,6 +70641,28 @@ export class CreateIpv6GatewayRequestTag extends $tea.Model {
70360
70641
  }
70361
70642
  }
70362
70643
 
70644
+ export class CreateNatGatewayRequestAccessMode extends $tea.Model {
70645
+ modeValue?: string;
70646
+ tunnelType?: string;
70647
+ static names(): { [key: string]: string } {
70648
+ return {
70649
+ modeValue: 'ModeValue',
70650
+ tunnelType: 'TunnelType',
70651
+ };
70652
+ }
70653
+
70654
+ static types(): { [key: string]: any } {
70655
+ return {
70656
+ modeValue: 'string',
70657
+ tunnelType: 'string',
70658
+ };
70659
+ }
70660
+
70661
+ constructor(map?: { [key: string]: any }) {
70662
+ super(map);
70663
+ }
70664
+ }
70665
+
70363
70666
  export class CreateNatGatewayRequestTag extends $tea.Model {
70364
70667
  /**
70365
70668
  * @remarks
@@ -70396,6 +70699,42 @@ export class CreateNatGatewayRequestTag extends $tea.Model {
70396
70699
  }
70397
70700
  }
70398
70701
 
70702
+ export class CreateNatGatewayShrinkRequestTag extends $tea.Model {
70703
+ /**
70704
+ * @remarks
70705
+ * The tag key. The format of Tag.N.Key when you call the operation. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
70706
+ *
70707
+ * @example
70708
+ * TestKey
70709
+ */
70710
+ key?: string;
70711
+ /**
70712
+ * @remarks
70713
+ * The tag value. The format of Tag.N.Value when you call the operation. Valid values of N: 1 to 20. The tag value cannot be an empty string. The tag value can be up to 128 characters in length, and cannot start with acs: or aliyun. It cannot contain http:// or https://.
70714
+ *
70715
+ * @example
70716
+ * TestValue
70717
+ */
70718
+ value?: string;
70719
+ static names(): { [key: string]: string } {
70720
+ return {
70721
+ key: 'Key',
70722
+ value: 'Value',
70723
+ };
70724
+ }
70725
+
70726
+ static types(): { [key: string]: any } {
70727
+ return {
70728
+ key: 'string',
70729
+ value: 'string',
70730
+ };
70731
+ }
70732
+
70733
+ constructor(map?: { [key: string]: any }) {
70734
+ super(map);
70735
+ }
70736
+ }
70737
+
70399
70738
  export class CreateNatGatewayResponseBodyForwardTableIds extends $tea.Model {
70400
70739
  forwardTableId?: string[];
70401
70740
  static names(): { [key: string]: string } {
@@ -76605,6 +76944,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76605
76944
  * myFlowlog
76606
76945
  */
76607
76946
  flowLogName?: string;
76947
+ ipVersion?: string;
76608
76948
  /**
76609
76949
  * @remarks
76610
76950
  * The Logstore that stores the captured traffic data.
@@ -76719,6 +77059,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76719
77059
  flowLogDeliverStatus: 'FlowLogDeliverStatus',
76720
77060
  flowLogId: 'FlowLogId',
76721
77061
  flowLogName: 'FlowLogName',
77062
+ ipVersion: 'IpVersion',
76722
77063
  logStoreName: 'LogStoreName',
76723
77064
  projectName: 'ProjectName',
76724
77065
  regionId: 'RegionId',
@@ -76743,6 +77084,7 @@ export class DescribeFlowLogsResponseBodyFlowLogsFlowLog extends $tea.Model {
76743
77084
  flowLogDeliverStatus: 'string',
76744
77085
  flowLogId: 'string',
76745
77086
  flowLogName: 'string',
77087
+ ipVersion: 'string',
76746
77088
  logStoreName: 'string',
76747
77089
  projectName: 'string',
76748
77090
  regionId: 'string',
@@ -79145,7 +79487,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesRequestTag extends $tea
79145
79487
  export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set extends $tea.Model {
79146
79488
  /**
79147
79489
  * @example
79148
- * 172.17.\*\*.**
79490
+ * ``172.17.**.**``
79149
79491
  */
79150
79492
  IPv4Address?: string;
79151
79493
  /**
@@ -79213,6 +79555,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79213
79555
  * PrivateLink
79214
79556
  */
79215
79557
  resourceType?: string;
79558
+ tunnelIndex?: string;
79216
79559
  static names(): { [key: string]: string } {
79217
79560
  return {
79218
79561
  IPv4Sets: 'IPv4Sets',
@@ -79220,6 +79563,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79220
79563
  resourceId: 'ResourceId',
79221
79564
  resourceOwnerId: 'ResourceOwnerId',
79222
79565
  resourceType: 'ResourceType',
79566
+ tunnelIndex: 'TunnelIndex',
79223
79567
  };
79224
79568
  }
79225
79569
 
@@ -79230,6 +79574,7 @@ export class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNe
79230
79574
  resourceId: 'string',
79231
79575
  resourceOwnerId: 'string',
79232
79576
  resourceType: 'string',
79577
+ tunnelIndex: 'string',
79233
79578
  };
79234
79579
  }
79235
79580
 
@@ -79297,6 +79642,28 @@ export class DescribeNatGatewaysRequestTag extends $tea.Model {
79297
79642
  }
79298
79643
  }
79299
79644
 
79645
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode extends $tea.Model {
79646
+ modeValue?: string;
79647
+ tunnelType?: string;
79648
+ static names(): { [key: string]: string } {
79649
+ return {
79650
+ modeValue: 'ModeValue',
79651
+ tunnelType: 'TunnelType',
79652
+ };
79653
+ }
79654
+
79655
+ static types(): { [key: string]: any } {
79656
+ return {
79657
+ modeValue: 'string',
79658
+ tunnelType: 'string',
79659
+ };
79660
+ }
79661
+
79662
+ constructor(map?: { [key: string]: any }) {
79663
+ super(map);
79664
+ }
79665
+ }
79666
+
79300
79667
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
79301
79668
  forwardTableId?: string[];
79302
79669
  static names(): { [key: string]: string } {
@@ -79602,6 +79969,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $t
79602
79969
  }
79603
79970
 
79604
79971
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
79972
+ accessMode?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode;
79605
79973
  /**
79606
79974
  * @remarks
79607
79975
  * Indicates whether automatic payment is enabled. Valid values:
@@ -79864,6 +80232,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
79864
80232
  vpcId?: string;
79865
80233
  static names(): { [key: string]: string } {
79866
80234
  return {
80235
+ accessMode: 'AccessMode',
79867
80236
  autoPay: 'AutoPay',
79868
80237
  businessStatus: 'BusinessStatus',
79869
80238
  creationTime: 'CreationTime',
@@ -79899,6 +80268,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
79899
80268
 
79900
80269
  static types(): { [key: string]: any } {
79901
80270
  return {
80271
+ accessMode: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayAccessMode,
79902
80272
  autoPay: 'boolean',
79903
80273
  businessStatus: 'string',
79904
80274
  creationTime: 'string',
@@ -91703,6 +92073,28 @@ export class GetIpv4GatewayAttributeResponseBodyTags extends $tea.Model {
91703
92073
  }
91704
92074
  }
91705
92075
 
92076
+ export class GetNatGatewayAttributeResponseBodyAccessMode extends $tea.Model {
92077
+ modeValue?: string;
92078
+ tunnelType?: string;
92079
+ static names(): { [key: string]: string } {
92080
+ return {
92081
+ modeValue: 'ModeValue',
92082
+ tunnelType: 'TunnelType',
92083
+ };
92084
+ }
92085
+
92086
+ static types(): { [key: string]: any } {
92087
+ return {
92088
+ modeValue: 'string',
92089
+ tunnelType: 'string',
92090
+ };
92091
+ }
92092
+
92093
+ constructor(map?: { [key: string]: any }) {
92094
+ super(map);
92095
+ }
92096
+ }
92097
+
91706
92098
  export class GetNatGatewayAttributeResponseBodyBillingConfig extends $tea.Model {
91707
92099
  /**
91708
92100
  * @remarks
@@ -96588,6 +96980,7 @@ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTar
96588
96980
  * Published
96589
96981
  */
96590
96982
  publishStatus?: string;
96983
+ publishTargetInstanceId?: string;
96591
96984
  /**
96592
96985
  * @example
96593
96986
  * ECR
@@ -96596,6 +96989,7 @@ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTar
96596
96989
  static names(): { [key: string]: string } {
96597
96990
  return {
96598
96991
  publishStatus: 'PublishStatus',
96992
+ publishTargetInstanceId: 'PublishTargetInstanceId',
96599
96993
  publishTargetType: 'PublishTargetType',
96600
96994
  };
96601
96995
  }
@@ -96603,6 +96997,7 @@ export class ListVpcPublishedRouteEntriesResponseBodyRouteEntriesRoutePublishTar
96603
96997
  static types(): { [key: string]: any } {
96604
96998
  return {
96605
96999
  publishStatus: 'string',
97000
+ publishTargetInstanceId: 'string',
96606
97001
  publishTargetType: 'string',
96607
97002
  };
96608
97003
  }
@@ -103907,6 +104302,10 @@ export default class Client extends OpenApi {
103907
104302
  query["FlowLogName"] = request.flowLogName;
103908
104303
  }
103909
104304
 
104305
+ if (!Util.isUnset(request.ipVersion)) {
104306
+ query["IpVersion"] = request.ipVersion;
104307
+ }
104308
+
103910
104309
  if (!Util.isUnset(request.logStoreName)) {
103911
104310
  query["LogStoreName"] = request.logStoreName;
103912
104311
  }
@@ -105208,13 +105607,23 @@ export default class Client extends OpenApi {
105208
105607
  * It takes 1 to 3 minutes to create a NAT gateway.
105209
105608
  * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
105210
105609
  *
105211
- * @param request - CreateNatGatewayRequest
105610
+ * @param tmpReq - CreateNatGatewayRequest
105212
105611
  * @param runtime - runtime options for this request RuntimeOptions
105213
105612
  * @returns CreateNatGatewayResponse
105214
105613
  */
105215
- async createNatGatewayWithOptions(request: CreateNatGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatGatewayResponse> {
105216
- Util.validateModel(request);
105614
+ async createNatGatewayWithOptions(tmpReq: CreateNatGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatGatewayResponse> {
105615
+ Util.validateModel(tmpReq);
105616
+ let request = new CreateNatGatewayShrinkRequest({ });
105617
+ OpenApiUtil.convert(tmpReq, request);
105618
+ if (!Util.isUnset(tmpReq.accessMode)) {
105619
+ request.accessModeShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accessMode, "AccessMode", "json");
105620
+ }
105621
+
105217
105622
  let query = { };
105623
+ if (!Util.isUnset(request.accessModeShrink)) {
105624
+ query["AccessMode"] = request.accessModeShrink;
105625
+ }
105626
+
105218
105627
  if (!Util.isUnset(request.autoPay)) {
105219
105628
  query["AutoPay"] = request.autoPay;
105220
105629
  }
@@ -105271,6 +105680,10 @@ export default class Client extends OpenApi {
105271
105680
  query["PricingCycle"] = request.pricingCycle;
105272
105681
  }
105273
105682
 
105683
+ if (!Util.isUnset(request.privateLinkEnabled)) {
105684
+ query["PrivateLinkEnabled"] = request.privateLinkEnabled;
105685
+ }
105686
+
105274
105687
  if (!Util.isUnset(request.regionId)) {
105275
105688
  query["RegionId"] = request.regionId;
105276
105689
  }
@@ -119652,10 +120065,13 @@ export default class Client extends OpenApi {
119652
120065
  /**
119653
120066
  * Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
119654
120067
  *
120068
+ * @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
120069
+ *
119655
120070
  * @param request - DisableNatGatewayEcsMetricRequest
119656
120071
  * @param runtime - runtime options for this request RuntimeOptions
119657
120072
  * @returns DisableNatGatewayEcsMetricResponse
119658
120073
  */
120074
+ // Deprecated
119659
120075
  async disableNatGatewayEcsMetricWithOptions(request: DisableNatGatewayEcsMetricRequest, runtime: $Util.RuntimeOptions): Promise<DisableNatGatewayEcsMetricResponse> {
119660
120076
  Util.validateModel(request);
119661
120077
  let query = { };
@@ -119695,9 +120111,12 @@ export default class Client extends OpenApi {
119695
120111
  /**
119696
120112
  * Disables traffic monitoring for an Elastic Compute Service (ECS) instance.
119697
120113
  *
120114
+ * @deprecated OpenAPI DisableNatGatewayEcsMetric is deprecated
120115
+ *
119698
120116
  * @param request - DisableNatGatewayEcsMetricRequest
119699
120117
  * @returns DisableNatGatewayEcsMetricResponse
119700
120118
  */
120119
+ // Deprecated
119701
120120
  async disableNatGatewayEcsMetric(request: DisableNatGatewayEcsMetricRequest): Promise<DisableNatGatewayEcsMetricResponse> {
119702
120121
  let runtime = new $Util.RuntimeOptions({ });
119703
120122
  return await this.disableNatGatewayEcsMetricWithOptions(request, runtime);
@@ -120064,10 +120483,13 @@ export default class Client extends OpenApi {
120064
120483
  /**
120065
120484
  * Enables Elastic Compute Service (ECS) traffic monitoring.
120066
120485
  *
120486
+ * @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
120487
+ *
120067
120488
  * @param request - EnableNatGatewayEcsMetricRequest
120068
120489
  * @param runtime - runtime options for this request RuntimeOptions
120069
120490
  * @returns EnableNatGatewayEcsMetricResponse
120070
120491
  */
120492
+ // Deprecated
120071
120493
  async enableNatGatewayEcsMetricWithOptions(request: EnableNatGatewayEcsMetricRequest, runtime: $Util.RuntimeOptions): Promise<EnableNatGatewayEcsMetricResponse> {
120072
120494
  Util.validateModel(request);
120073
120495
  let query = { };
@@ -120107,9 +120529,12 @@ export default class Client extends OpenApi {
120107
120529
  /**
120108
120530
  * Enables Elastic Compute Service (ECS) traffic monitoring.
120109
120531
  *
120532
+ * @deprecated OpenAPI EnableNatGatewayEcsMetric is deprecated
120533
+ *
120110
120534
  * @param request - EnableNatGatewayEcsMetricRequest
120111
120535
  * @returns EnableNatGatewayEcsMetricResponse
120112
120536
  */
120537
+ // Deprecated
120113
120538
  async enableNatGatewayEcsMetric(request: EnableNatGatewayEcsMetricRequest): Promise<EnableNatGatewayEcsMetricResponse> {
120114
120539
  let runtime = new $Util.RuntimeOptions({ });
120115
120540
  return await this.enableNatGatewayEcsMetricWithOptions(request, runtime);
@@ -124383,6 +124808,10 @@ export default class Client extends OpenApi {
124383
124808
  query["FlowLogName"] = request.flowLogName;
124384
124809
  }
124385
124810
 
124811
+ if (!Util.isUnset(request.ipVersion)) {
124812
+ query["IpVersion"] = request.ipVersion;
124813
+ }
124814
+
124386
124815
  if (!Util.isUnset(request.ownerAccount)) {
124387
124816
  query["OwnerAccount"] = request.ownerAccount;
124388
124817
  }
@@ -126118,7 +126547,7 @@ export default class Client extends OpenApi {
126118
126547
  }
126119
126548
 
126120
126549
  /**
126121
- * 修改路由条目属性
126550
+ * Modifies the name and description of a custom route entry.
126122
126551
  *
126123
126552
  * @remarks
126124
126553
  * You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
@@ -126196,7 +126625,7 @@ export default class Client extends OpenApi {
126196
126625
  }
126197
126626
 
126198
126627
  /**
126199
- * 修改路由条目属性
126628
+ * Modifies the name and description of a custom route entry.
126200
126629
  *
126201
126630
  * @remarks
126202
126631
  * You cannot repeatedly call the **ModifyRouteEntry** operation to modify the name and description of a custom route within the specified period of time.
@@ -131774,10 +132203,13 @@ export default class Client extends OpenApi {
131774
132203
  * * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
131775
132204
  * * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
131776
132205
  *
132206
+ * @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
132207
+ *
131777
132208
  * @param request - UpdateNatGatewayNatTypeRequest
131778
132209
  * @param runtime - runtime options for this request RuntimeOptions
131779
132210
  * @returns UpdateNatGatewayNatTypeResponse
131780
132211
  */
132212
+ // Deprecated
131781
132213
  async updateNatGatewayNatTypeWithOptions(request: UpdateNatGatewayNatTypeRequest, runtime: $Util.RuntimeOptions): Promise<UpdateNatGatewayNatTypeResponse> {
131782
132214
  Util.validateModel(request);
131783
132215
  let query = { };
@@ -131856,9 +132288,12 @@ export default class Client extends OpenApi {
131856
132288
  * * It takes about five minutes to upgrade a standard NAT gateway to an enhanced NAT gateway. During the upgrade, transient connection errors may occur once or twice. The service can be recovered by reconnection. You can determine whether to enable automatic reconnection or use manual reconnection based on your business requirements.
131857
132289
  * * You can only upgrade standard NAT gateways to enhanced NAT gateways. You are not allowed to downgrade enhanced NAT gateways to standard NAT gateways.
131858
132290
  *
132291
+ * @deprecated OpenAPI UpdateNatGatewayNatType is deprecated
132292
+ *
131859
132293
  * @param request - UpdateNatGatewayNatTypeRequest
131860
132294
  * @returns UpdateNatGatewayNatTypeResponse
131861
132295
  */
132296
+ // Deprecated
131862
132297
  async updateNatGatewayNatType(request: UpdateNatGatewayNatTypeRequest): Promise<UpdateNatGatewayNatTypeResponse> {
131863
132298
  let runtime = new $Util.RuntimeOptions({ });
131864
132299
  return await this.updateNatGatewayNatTypeWithOptions(request, runtime);