alibabacloud-vpc20160428 6.14.1__py3-none-any.whl → 7.0.0__py3-none-any.whl

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 (49) hide show
  1. alibabacloud_vpc20160428/__init__.py +1 -1
  2. alibabacloud_vpc20160428/client.py +16 -258
  3. alibabacloud_vpc20160428/models/__init__.py +0 -18
  4. alibabacloud_vpc20160428/models/_create_forward_entry_request.py +7 -6
  5. alibabacloud_vpc20160428/models/_create_full_nat_entry_request.py +8 -2
  6. alibabacloud_vpc20160428/models/_create_nat_gateway_request.py +2 -0
  7. alibabacloud_vpc20160428/models/_create_nat_gateway_shrink_request.py +2 -0
  8. alibabacloud_vpc20160428/models/_create_nat_ip_request.py +2 -0
  9. alibabacloud_vpc20160428/models/_create_nat_ip_response_body.py +5 -0
  10. alibabacloud_vpc20160428/models/_create_snat_entry_request.py +5 -0
  11. alibabacloud_vpc20160428/models/_create_vpn_attachment_request.py +8 -0
  12. alibabacloud_vpc20160428/models/_delete_nat_ip_request.py +2 -0
  13. alibabacloud_vpc20160428/models/_describe_nat_gateway_associate_network_interfaces_response_body.py +1 -0
  14. alibabacloud_vpc20160428/models/_describe_nat_gateways_request.py +2 -2
  15. alibabacloud_vpc20160428/models/_describe_nat_gateways_response_body.py +11 -0
  16. alibabacloud_vpc20160428/models/_describe_physical_connection_loaresponse_body.py +8 -0
  17. alibabacloud_vpc20160428/models/_describe_snat_table_entries_request.py +1 -0
  18. alibabacloud_vpc20160428/models/_describe_snat_table_entries_response_body.py +4 -0
  19. alibabacloud_vpc20160428/models/_describe_virtual_border_routers_for_physical_connection_response_body.py +8 -0
  20. alibabacloud_vpc20160428/models/_describe_vpn_attachments_response_body.py +8 -0
  21. alibabacloud_vpc20160428/models/_describe_vpn_connection_response_body.py +8 -0
  22. alibabacloud_vpc20160428/models/_describe_vpn_connections_response_body.py +8 -0
  23. alibabacloud_vpc20160428/models/_describe_vpn_gateway_available_zones_request.py +8 -0
  24. alibabacloud_vpc20160428/models/_describe_vpn_gateway_response_body.py +8 -0
  25. alibabacloud_vpc20160428/models/_describe_vpn_gateways_request.py +8 -0
  26. alibabacloud_vpc20160428/models/_describe_vpn_gateways_response_body.py +8 -0
  27. alibabacloud_vpc20160428/models/_get_nat_gateway_attribute_response_body.py +16 -0
  28. alibabacloud_vpc20160428/models/_list_full_nat_entries_response_body.py +16 -0
  29. alibabacloud_vpc20160428/models/_list_nat_ips_request.py +2 -0
  30. alibabacloud_vpc20160428/models/_list_nat_ips_response_body.py +1 -0
  31. alibabacloud_vpc20160428/models/_modify_forward_entry_request.py +5 -0
  32. alibabacloud_vpc20160428/models/_modify_full_nat_entry_attribute_request.py +8 -0
  33. alibabacloud_vpc20160428/models/_modify_nat_gateway_attribute_request.py +11 -7
  34. alibabacloud_vpc20160428/models/_modify_nat_gateway_attribute_shrink_request.py +9 -7
  35. alibabacloud_vpc20160428/models/_modify_snat_entry_request.py +8 -0
  36. {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/METADATA +2 -2
  37. {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/RECORD +40 -49
  38. alibabacloud_vpc20160428/models/_convert_bandwidth_package_request.py +0 -80
  39. alibabacloud_vpc20160428/models/_convert_bandwidth_package_response.py +0 -54
  40. alibabacloud_vpc20160428/models/_convert_bandwidth_package_response_body.py +0 -43
  41. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_request.py +0 -60
  42. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response.py +0 -54
  43. alibabacloud_vpc20160428/models/_disable_nat_gateway_ecs_metric_response_body.py +0 -34
  44. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_request.py +0 -60
  45. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response.py +0 -54
  46. alibabacloud_vpc20160428/models/_enable_nat_gateway_ecs_metric_response_body.py +0 -34
  47. {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/LICENSE +0 -0
  48. {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/WHEEL +0 -0
  49. {alibabacloud_vpc20160428-6.14.1.dist-info → alibabacloud_vpc20160428-7.0.0.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- __version__ = '6.14.1'
1
+ __version__ = '7.0.0'
@@ -3895,100 +3895,6 @@ class Client(OpenApiClient):
3895
3895
  runtime = RuntimeOptions()
3896
3896
  return await self.connect_router_interface_with_options_async(request, runtime)
3897
3897
 
3898
- def convert_bandwidth_package_with_options(
3899
- self,
3900
- request: main_models.ConvertBandwidthPackageRequest,
3901
- runtime: RuntimeOptions,
3902
- ) -> main_models.ConvertBandwidthPackageResponse:
3903
- request.validate()
3904
- query = {}
3905
- if not DaraCore.is_null(request.bandwidth_package_id):
3906
- query['BandwidthPackageId'] = request.bandwidth_package_id
3907
- if not DaraCore.is_null(request.client_token):
3908
- query['ClientToken'] = request.client_token
3909
- if not DaraCore.is_null(request.owner_id):
3910
- query['OwnerId'] = request.owner_id
3911
- if not DaraCore.is_null(request.region_id):
3912
- query['RegionId'] = request.region_id
3913
- if not DaraCore.is_null(request.region_id):
3914
- query['RegionId'] = request.region_id
3915
- if not DaraCore.is_null(request.resource_owner_account):
3916
- query['ResourceOwnerAccount'] = request.resource_owner_account
3917
- if not DaraCore.is_null(request.resource_owner_id):
3918
- query['ResourceOwnerId'] = request.resource_owner_id
3919
- req = open_api_util_models.OpenApiRequest(
3920
- query = Utils.query(query)
3921
- )
3922
- params = open_api_util_models.Params(
3923
- action = 'ConvertBandwidthPackage',
3924
- version = '2016-04-28',
3925
- protocol = 'HTTPS',
3926
- pathname = '/',
3927
- method = 'POST',
3928
- auth_type = 'AK',
3929
- style = 'RPC',
3930
- req_body_type = 'formData',
3931
- body_type = 'json'
3932
- )
3933
- return DaraCore.from_map(
3934
- main_models.ConvertBandwidthPackageResponse(),
3935
- self.call_api(params, req, runtime)
3936
- )
3937
-
3938
- async def convert_bandwidth_package_with_options_async(
3939
- self,
3940
- request: main_models.ConvertBandwidthPackageRequest,
3941
- runtime: RuntimeOptions,
3942
- ) -> main_models.ConvertBandwidthPackageResponse:
3943
- request.validate()
3944
- query = {}
3945
- if not DaraCore.is_null(request.bandwidth_package_id):
3946
- query['BandwidthPackageId'] = request.bandwidth_package_id
3947
- if not DaraCore.is_null(request.client_token):
3948
- query['ClientToken'] = request.client_token
3949
- if not DaraCore.is_null(request.owner_id):
3950
- query['OwnerId'] = request.owner_id
3951
- if not DaraCore.is_null(request.region_id):
3952
- query['RegionId'] = request.region_id
3953
- if not DaraCore.is_null(request.region_id):
3954
- query['RegionId'] = request.region_id
3955
- if not DaraCore.is_null(request.resource_owner_account):
3956
- query['ResourceOwnerAccount'] = request.resource_owner_account
3957
- if not DaraCore.is_null(request.resource_owner_id):
3958
- query['ResourceOwnerId'] = request.resource_owner_id
3959
- req = open_api_util_models.OpenApiRequest(
3960
- query = Utils.query(query)
3961
- )
3962
- params = open_api_util_models.Params(
3963
- action = 'ConvertBandwidthPackage',
3964
- version = '2016-04-28',
3965
- protocol = 'HTTPS',
3966
- pathname = '/',
3967
- method = 'POST',
3968
- auth_type = 'AK',
3969
- style = 'RPC',
3970
- req_body_type = 'formData',
3971
- body_type = 'json'
3972
- )
3973
- return DaraCore.from_map(
3974
- main_models.ConvertBandwidthPackageResponse(),
3975
- await self.call_api_async(params, req, runtime)
3976
- )
3977
-
3978
- def convert_bandwidth_package(
3979
- self,
3980
- request: main_models.ConvertBandwidthPackageRequest,
3981
- ) -> main_models.ConvertBandwidthPackageResponse:
3982
- runtime = RuntimeOptions()
3983
- return self.convert_bandwidth_package_with_options(request, runtime)
3984
-
3985
- async def convert_bandwidth_package_async(
3986
- self,
3987
- request: main_models.ConvertBandwidthPackageRequest,
3988
- ) -> main_models.ConvertBandwidthPackageResponse:
3989
- runtime = RuntimeOptions()
3990
- return await self.convert_bandwidth_package_with_options_async(request, runtime)
3991
-
3992
3898
  def copy_network_acl_entries_with_options(
3993
3899
  self,
3994
3900
  request: main_models.CopyNetworkAclEntriesRequest,
@@ -5782,6 +5688,8 @@ class Client(OpenApiClient):
5782
5688
  ) -> main_models.CreateFullNatEntryResponse:
5783
5689
  request.validate()
5784
5690
  query = {}
5691
+ if not DaraCore.is_null(request.access_domain):
5692
+ query['AccessDomain'] = request.access_domain
5785
5693
  if not DaraCore.is_null(request.access_ip):
5786
5694
  query['AccessIp'] = request.access_ip
5787
5695
  if not DaraCore.is_null(request.access_port):
@@ -5840,6 +5748,8 @@ class Client(OpenApiClient):
5840
5748
  ) -> main_models.CreateFullNatEntryResponse:
5841
5749
  request.validate()
5842
5750
  query = {}
5751
+ if not DaraCore.is_null(request.access_domain):
5752
+ query['AccessDomain'] = request.access_domain
5843
5753
  if not DaraCore.is_null(request.access_ip):
5844
5754
  query['AccessIp'] = request.access_ip
5845
5755
  if not DaraCore.is_null(request.access_port):
@@ -10716,6 +10626,8 @@ class Client(OpenApiClient):
10716
10626
  query['ResourceOwnerId'] = request.resource_owner_id
10717
10627
  if not DaraCore.is_null(request.tags):
10718
10628
  query['Tags'] = request.tags
10629
+ if not DaraCore.is_null(request.tunnel_bandwidth):
10630
+ query['TunnelBandwidth'] = request.tunnel_bandwidth
10719
10631
  body = {}
10720
10632
  body_flat = {}
10721
10633
  if not DaraCore.is_null(request.tunnel_options_specification):
@@ -10794,6 +10706,8 @@ class Client(OpenApiClient):
10794
10706
  query['ResourceOwnerId'] = request.resource_owner_id
10795
10707
  if not DaraCore.is_null(request.tags):
10796
10708
  query['Tags'] = request.tags
10709
+ if not DaraCore.is_null(request.tunnel_bandwidth):
10710
+ query['TunnelBandwidth'] = request.tunnel_bandwidth
10797
10711
  body = {}
10798
10712
  body_flat = {}
10799
10713
  if not DaraCore.is_null(request.tunnel_options_specification):
@@ -24870,6 +24784,8 @@ class Client(OpenApiClient):
24870
24784
  query = {}
24871
24785
  if not DaraCore.is_null(request.business_status):
24872
24786
  query['BusinessStatus'] = request.business_status
24787
+ if not DaraCore.is_null(request.gateway_type):
24788
+ query['GatewayType'] = request.gateway_type
24873
24789
  if not DaraCore.is_null(request.include_reservation_data):
24874
24790
  query['IncludeReservationData'] = request.include_reservation_data
24875
24791
  if not DaraCore.is_null(request.owner_account):
@@ -24924,6 +24840,8 @@ class Client(OpenApiClient):
24924
24840
  query = {}
24925
24841
  if not DaraCore.is_null(request.business_status):
24926
24842
  query['BusinessStatus'] = request.business_status
24843
+ if not DaraCore.is_null(request.gateway_type):
24844
+ query['GatewayType'] = request.gateway_type
24927
24845
  if not DaraCore.is_null(request.include_reservation_data):
24928
24846
  query['IncludeReservationData'] = request.include_reservation_data
24929
24847
  if not DaraCore.is_null(request.owner_account):
@@ -25677,88 +25595,6 @@ class Client(OpenApiClient):
25677
25595
  runtime = RuntimeOptions()
25678
25596
  return await self.diagnose_vpn_gateway_with_options_async(request, runtime)
25679
25597
 
25680
- def disable_nat_gateway_ecs_metric_with_options(
25681
- self,
25682
- request: main_models.DisableNatGatewayEcsMetricRequest,
25683
- runtime: RuntimeOptions,
25684
- ) -> main_models.DisableNatGatewayEcsMetricResponse:
25685
- request.validate()
25686
- query = {}
25687
- if not DaraCore.is_null(request.dry_run):
25688
- query['DryRun'] = request.dry_run
25689
- if not DaraCore.is_null(request.nat_gateway_id):
25690
- query['NatGatewayId'] = request.nat_gateway_id
25691
- if not DaraCore.is_null(request.region_id):
25692
- query['RegionId'] = request.region_id
25693
- if not DaraCore.is_null(request.region_id):
25694
- query['RegionId'] = request.region_id
25695
- req = open_api_util_models.OpenApiRequest(
25696
- query = Utils.query(query)
25697
- )
25698
- params = open_api_util_models.Params(
25699
- action = 'DisableNatGatewayEcsMetric',
25700
- version = '2016-04-28',
25701
- protocol = 'HTTPS',
25702
- pathname = '/',
25703
- method = 'POST',
25704
- auth_type = 'AK',
25705
- style = 'RPC',
25706
- req_body_type = 'formData',
25707
- body_type = 'json'
25708
- )
25709
- return DaraCore.from_map(
25710
- main_models.DisableNatGatewayEcsMetricResponse(),
25711
- self.call_api(params, req, runtime)
25712
- )
25713
-
25714
- async def disable_nat_gateway_ecs_metric_with_options_async(
25715
- self,
25716
- request: main_models.DisableNatGatewayEcsMetricRequest,
25717
- runtime: RuntimeOptions,
25718
- ) -> main_models.DisableNatGatewayEcsMetricResponse:
25719
- request.validate()
25720
- query = {}
25721
- if not DaraCore.is_null(request.dry_run):
25722
- query['DryRun'] = request.dry_run
25723
- if not DaraCore.is_null(request.nat_gateway_id):
25724
- query['NatGatewayId'] = request.nat_gateway_id
25725
- if not DaraCore.is_null(request.region_id):
25726
- query['RegionId'] = request.region_id
25727
- if not DaraCore.is_null(request.region_id):
25728
- query['RegionId'] = request.region_id
25729
- req = open_api_util_models.OpenApiRequest(
25730
- query = Utils.query(query)
25731
- )
25732
- params = open_api_util_models.Params(
25733
- action = 'DisableNatGatewayEcsMetric',
25734
- version = '2016-04-28',
25735
- protocol = 'HTTPS',
25736
- pathname = '/',
25737
- method = 'POST',
25738
- auth_type = 'AK',
25739
- style = 'RPC',
25740
- req_body_type = 'formData',
25741
- body_type = 'json'
25742
- )
25743
- return DaraCore.from_map(
25744
- main_models.DisableNatGatewayEcsMetricResponse(),
25745
- await self.call_api_async(params, req, runtime)
25746
- )
25747
-
25748
- def disable_nat_gateway_ecs_metric(
25749
- self,
25750
- request: main_models.DisableNatGatewayEcsMetricRequest,
25751
- ) -> main_models.DisableNatGatewayEcsMetricResponse:
25752
- runtime = RuntimeOptions()
25753
- return self.disable_nat_gateway_ecs_metric_with_options(request, runtime)
25754
-
25755
- async def disable_nat_gateway_ecs_metric_async(
25756
- self,
25757
- request: main_models.DisableNatGatewayEcsMetricRequest,
25758
- ) -> main_models.DisableNatGatewayEcsMetricResponse:
25759
- runtime = RuntimeOptions()
25760
- return await self.disable_nat_gateway_ecs_metric_with_options_async(request, runtime)
25761
-
25762
25598
  def disable_vpc_classic_link_with_options(
25763
25599
  self,
25764
25600
  request: main_models.DisableVpcClassicLinkRequest,
@@ -26245,88 +26081,6 @@ class Client(OpenApiClient):
26245
26081
  runtime = RuntimeOptions()
26246
26082
  return await self.download_vpn_connection_config_with_options_async(request, runtime)
26247
26083
 
26248
- def enable_nat_gateway_ecs_metric_with_options(
26249
- self,
26250
- request: main_models.EnableNatGatewayEcsMetricRequest,
26251
- runtime: RuntimeOptions,
26252
- ) -> main_models.EnableNatGatewayEcsMetricResponse:
26253
- request.validate()
26254
- query = {}
26255
- if not DaraCore.is_null(request.dry_run):
26256
- query['DryRun'] = request.dry_run
26257
- if not DaraCore.is_null(request.nat_gateway_id):
26258
- query['NatGatewayId'] = request.nat_gateway_id
26259
- if not DaraCore.is_null(request.region_id):
26260
- query['RegionId'] = request.region_id
26261
- if not DaraCore.is_null(request.region_id):
26262
- query['RegionId'] = request.region_id
26263
- req = open_api_util_models.OpenApiRequest(
26264
- query = Utils.query(query)
26265
- )
26266
- params = open_api_util_models.Params(
26267
- action = 'EnableNatGatewayEcsMetric',
26268
- version = '2016-04-28',
26269
- protocol = 'HTTPS',
26270
- pathname = '/',
26271
- method = 'POST',
26272
- auth_type = 'AK',
26273
- style = 'RPC',
26274
- req_body_type = 'formData',
26275
- body_type = 'json'
26276
- )
26277
- return DaraCore.from_map(
26278
- main_models.EnableNatGatewayEcsMetricResponse(),
26279
- self.call_api(params, req, runtime)
26280
- )
26281
-
26282
- async def enable_nat_gateway_ecs_metric_with_options_async(
26283
- self,
26284
- request: main_models.EnableNatGatewayEcsMetricRequest,
26285
- runtime: RuntimeOptions,
26286
- ) -> main_models.EnableNatGatewayEcsMetricResponse:
26287
- request.validate()
26288
- query = {}
26289
- if not DaraCore.is_null(request.dry_run):
26290
- query['DryRun'] = request.dry_run
26291
- if not DaraCore.is_null(request.nat_gateway_id):
26292
- query['NatGatewayId'] = request.nat_gateway_id
26293
- if not DaraCore.is_null(request.region_id):
26294
- query['RegionId'] = request.region_id
26295
- if not DaraCore.is_null(request.region_id):
26296
- query['RegionId'] = request.region_id
26297
- req = open_api_util_models.OpenApiRequest(
26298
- query = Utils.query(query)
26299
- )
26300
- params = open_api_util_models.Params(
26301
- action = 'EnableNatGatewayEcsMetric',
26302
- version = '2016-04-28',
26303
- protocol = 'HTTPS',
26304
- pathname = '/',
26305
- method = 'POST',
26306
- auth_type = 'AK',
26307
- style = 'RPC',
26308
- req_body_type = 'formData',
26309
- body_type = 'json'
26310
- )
26311
- return DaraCore.from_map(
26312
- main_models.EnableNatGatewayEcsMetricResponse(),
26313
- await self.call_api_async(params, req, runtime)
26314
- )
26315
-
26316
- def enable_nat_gateway_ecs_metric(
26317
- self,
26318
- request: main_models.EnableNatGatewayEcsMetricRequest,
26319
- ) -> main_models.EnableNatGatewayEcsMetricResponse:
26320
- runtime = RuntimeOptions()
26321
- return self.enable_nat_gateway_ecs_metric_with_options(request, runtime)
26322
-
26323
- async def enable_nat_gateway_ecs_metric_async(
26324
- self,
26325
- request: main_models.EnableNatGatewayEcsMetricRequest,
26326
- ) -> main_models.EnableNatGatewayEcsMetricResponse:
26327
- runtime = RuntimeOptions()
26328
- return await self.enable_nat_gateway_ecs_metric_with_options_async(request, runtime)
26329
-
26330
26084
  def enable_physical_connection_with_options(
26331
26085
  self,
26332
26086
  request: main_models.EnablePhysicalConnectionRequest,
@@ -32620,6 +32374,8 @@ class Client(OpenApiClient):
32620
32374
  ) -> main_models.ModifyFullNatEntryAttributeResponse:
32621
32375
  request.validate()
32622
32376
  query = {}
32377
+ if not DaraCore.is_null(request.access_domain):
32378
+ query['AccessDomain'] = request.access_domain
32623
32379
  if not DaraCore.is_null(request.access_ip):
32624
32380
  query['AccessIp'] = request.access_ip
32625
32381
  if not DaraCore.is_null(request.access_port):
@@ -32680,6 +32436,8 @@ class Client(OpenApiClient):
32680
32436
  ) -> main_models.ModifyFullNatEntryAttributeResponse:
32681
32437
  request.validate()
32682
32438
  query = {}
32439
+ if not DaraCore.is_null(request.access_domain):
32440
+ query['AccessDomain'] = request.access_domain
32683
32441
  if not DaraCore.is_null(request.access_ip):
32684
32442
  query['AccessIp'] = request.access_ip
32685
32443
  if not DaraCore.is_null(request.access_port):
@@ -110,9 +110,6 @@ from ._confirm_physical_connection_response import ConfirmPhysicalConnectionResp
110
110
  from ._connect_router_interface_request import ConnectRouterInterfaceRequest
111
111
  from ._connect_router_interface_response_body import ConnectRouterInterfaceResponseBody
112
112
  from ._connect_router_interface_response import ConnectRouterInterfaceResponse
113
- from ._convert_bandwidth_package_request import ConvertBandwidthPackageRequest
114
- from ._convert_bandwidth_package_response_body import ConvertBandwidthPackageResponseBody
115
- from ._convert_bandwidth_package_response import ConvertBandwidthPackageResponse
116
113
  from ._copy_network_acl_entries_request import CopyNetworkAclEntriesRequest
117
114
  from ._copy_network_acl_entries_response_body import CopyNetworkAclEntriesResponseBody
118
115
  from ._copy_network_acl_entries_response import CopyNetworkAclEntriesResponse
@@ -708,9 +705,6 @@ from ._diagnose_vpn_connections_response import DiagnoseVpnConnectionsResponse
708
705
  from ._diagnose_vpn_gateway_request import DiagnoseVpnGatewayRequest
709
706
  from ._diagnose_vpn_gateway_response_body import DiagnoseVpnGatewayResponseBody
710
707
  from ._diagnose_vpn_gateway_response import DiagnoseVpnGatewayResponse
711
- from ._disable_nat_gateway_ecs_metric_request import DisableNatGatewayEcsMetricRequest
712
- from ._disable_nat_gateway_ecs_metric_response_body import DisableNatGatewayEcsMetricResponseBody
713
- from ._disable_nat_gateway_ecs_metric_response import DisableNatGatewayEcsMetricResponse
714
708
  from ._disable_vpc_classic_link_request import DisableVpcClassicLinkRequest
715
709
  from ._disable_vpc_classic_link_response_body import DisableVpcClassicLinkResponseBody
716
710
  from ._disable_vpc_classic_link_response import DisableVpcClassicLinkResponse
@@ -726,9 +720,6 @@ from ._dissociate_vpn_gateway_with_certificate_response import DissociateVpnGate
726
720
  from ._download_vpn_connection_config_request import DownloadVpnConnectionConfigRequest
727
721
  from ._download_vpn_connection_config_response_body import DownloadVpnConnectionConfigResponseBody
728
722
  from ._download_vpn_connection_config_response import DownloadVpnConnectionConfigResponse
729
- from ._enable_nat_gateway_ecs_metric_request import EnableNatGatewayEcsMetricRequest
730
- from ._enable_nat_gateway_ecs_metric_response_body import EnableNatGatewayEcsMetricResponseBody
731
- from ._enable_nat_gateway_ecs_metric_response import EnableNatGatewayEcsMetricResponse
732
723
  from ._enable_physical_connection_request import EnablePhysicalConnectionRequest
733
724
  from ._enable_physical_connection_response_body import EnablePhysicalConnectionResponseBody
734
725
  from ._enable_physical_connection_response import EnablePhysicalConnectionResponse
@@ -1831,9 +1822,6 @@ __all__ = [
1831
1822
  ConnectRouterInterfaceRequest,
1832
1823
  ConnectRouterInterfaceResponseBody,
1833
1824
  ConnectRouterInterfaceResponse,
1834
- ConvertBandwidthPackageRequest,
1835
- ConvertBandwidthPackageResponseBody,
1836
- ConvertBandwidthPackageResponse,
1837
1825
  CopyNetworkAclEntriesRequest,
1838
1826
  CopyNetworkAclEntriesResponseBody,
1839
1827
  CopyNetworkAclEntriesResponse,
@@ -2429,9 +2417,6 @@ __all__ = [
2429
2417
  DiagnoseVpnGatewayRequest,
2430
2418
  DiagnoseVpnGatewayResponseBody,
2431
2419
  DiagnoseVpnGatewayResponse,
2432
- DisableNatGatewayEcsMetricRequest,
2433
- DisableNatGatewayEcsMetricResponseBody,
2434
- DisableNatGatewayEcsMetricResponse,
2435
2420
  DisableVpcClassicLinkRequest,
2436
2421
  DisableVpcClassicLinkResponseBody,
2437
2422
  DisableVpcClassicLinkResponse,
@@ -2447,9 +2432,6 @@ __all__ = [
2447
2432
  DownloadVpnConnectionConfigRequest,
2448
2433
  DownloadVpnConnectionConfigResponseBody,
2449
2434
  DownloadVpnConnectionConfigResponse,
2450
- EnableNatGatewayEcsMetricRequest,
2451
- EnableNatGatewayEcsMetricResponseBody,
2452
- EnableNatGatewayEcsMetricResponse,
2453
2435
  EnablePhysicalConnectionRequest,
2454
2436
  EnablePhysicalConnectionResponseBody,
2455
2437
  EnablePhysicalConnectionResponse,
@@ -29,6 +29,9 @@ class CreateForwardEntryRequest(DaraModel):
29
29
  #
30
30
  # > 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.
31
31
  self.client_token = client_token
32
+ # Indicates whether to perform a dry run of the request. Values:
33
+ # - **true**: Sends a check request without creating a DNAT entry. The checks include whether the AccessKey is valid, the RAM user\\"s authorization status, and if all required parameters are filled out. If any check fails, the corresponding error is returned. If all checks pass, an error code `DryRunOperation` is returned.
34
+ # - **false** (default): Sends a normal request. After passing the checks, it returns a 2xx HTTP status code and creates a DNAT entry.
32
35
  self.dry_run = dry_run
33
36
  # * The EIP that can be accessed over the Internet when you configure a DNAT entry for an Internet NAT gateway.
34
37
  # * The NAT IP address that can be accessed by external networks when you configure a DNAT entry for a VPC NAT gateway.
@@ -77,12 +80,10 @@ class CreateForwardEntryRequest(DaraModel):
77
80
  self.ip_protocol = ip_protocol
78
81
  self.owner_account = owner_account
79
82
  self.owner_id = owner_id
80
- # Specifies whether to remove limits on the port range. Valid values:
81
- #
82
- # * **true**
83
- # * **false** (default)
84
- #
85
- # > If a DNAT entry and an SNAT entry have the same public IP address, ou must specify a port that is larger that 1024, and set **PortBreak** to **true**.
83
+ # Whether to enable port breakthrough, with values:
84
+ # - **true**: Enable port breakthrough.
85
+ # - **false** (default): Do not enable port breakthrough.
86
+ # >When both DNAT and SNAT entries use the same public IP address, if you need to configure a port number greater than 1024, you must set **PortBreak** to **true**.
86
87
  self.port_break = port_break
87
88
  # The region ID of the NAT gateway.
88
89
  #
@@ -7,6 +7,7 @@ from darabonba.model import DaraModel
7
7
  class CreateFullNatEntryRequest(DaraModel):
8
8
  def __init__(
9
9
  self,
10
+ access_domain: str = None,
10
11
  access_ip: str = None,
11
12
  access_port: str = None,
12
13
  client_token: str = None,
@@ -24,9 +25,8 @@ class CreateFullNatEntryRequest(DaraModel):
24
25
  resource_owner_account: str = None,
25
26
  resource_owner_id: int = None,
26
27
  ):
28
+ self.access_domain = access_domain
27
29
  # The backend IP address to be modified in FULLNAT address translation.
28
- #
29
- # This parameter is required.
30
30
  self.access_ip = access_ip
31
31
  # The backend port to be modified in the mapping of FULLNAT port. Valid values: **1** to **65535**.
32
32
  #
@@ -89,6 +89,9 @@ class CreateFullNatEntryRequest(DaraModel):
89
89
  _map = super().to_map()
90
90
  if _map is not None:
91
91
  result = _map
92
+ if self.access_domain is not None:
93
+ result['AccessDomain'] = self.access_domain
94
+
92
95
  if self.access_ip is not None:
93
96
  result['AccessIp'] = self.access_ip
94
97
 
@@ -141,6 +144,9 @@ class CreateFullNatEntryRequest(DaraModel):
141
144
 
142
145
  def from_map(self, m: dict = None):
143
146
  m = m or dict()
147
+ if m.get('AccessDomain') is not None:
148
+ self.access_domain = m.get('AccessDomain')
149
+
144
150
  if m.get('AccessIp') is not None:
145
151
  self.access_ip = m.get('AccessIp')
146
152
 
@@ -74,6 +74,7 @@ class CreateNatGatewayRequest(DaraModel):
74
74
  self.instance_charge_type = instance_charge_type
75
75
  # The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
76
76
  self.internet_charge_type = internet_charge_type
77
+ # Create an IP prefix address segment for batch creation of NAT IPs. Please use the reserved and unallocated network segments in the VSwitch where the NAT is located.
77
78
  self.ipv_4prefix = ipv_4prefix
78
79
  # The name of the NAT gateway.
79
80
  #
@@ -81,6 +82,7 @@ class CreateNatGatewayRequest(DaraModel):
81
82
  #
82
83
  # If this parameter is not set, the system assigns a default name to the NAT gateway.
83
84
  self.name = name
85
+ # The private IP address occupied by the NAT gateway. Please use an unassigned IP from the subnet where the NAT is located. If left empty, an IP address will be randomly assigned.
84
86
  self.nat_ip = nat_ip
85
87
  # The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
86
88
  self.nat_type = nat_type
@@ -74,6 +74,7 @@ class CreateNatGatewayShrinkRequest(DaraModel):
74
74
  self.instance_charge_type = instance_charge_type
75
75
  # The metering method of the NAT gateway. Set the value to **PayByLcu**, which specifies the pay-by-CU metering method.
76
76
  self.internet_charge_type = internet_charge_type
77
+ # Create an IP prefix address segment for batch creation of NAT IPs. Please use the reserved and unallocated network segments in the VSwitch where the NAT is located.
77
78
  self.ipv_4prefix = ipv_4prefix
78
79
  # The name of the NAT gateway.
79
80
  #
@@ -81,6 +82,7 @@ class CreateNatGatewayShrinkRequest(DaraModel):
81
82
  #
82
83
  # If this parameter is not set, the system assigns a default name to the NAT gateway.
83
84
  self.name = name
85
+ # The private IP address occupied by the NAT gateway. Please use an unassigned IP from the subnet where the NAT is located. If left empty, an IP address will be randomly assigned.
84
86
  self.nat_ip = nat_ip
85
87
  # The type of NAT gateway. Set the value to **Enhanced**, which specifies enhanced NAT gateway.
86
88
  self.nat_type = nat_type
@@ -33,7 +33,9 @@ class CreateNatIpRequest(DaraModel):
33
33
  # * **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.
34
34
  # * **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.
35
35
  self.dry_run = dry_run
36
+ # The created IP prefix address segment must be within the reserved network segment of the switch where the NAT is located, and the reserved network segment cannot be occupied. The IP prefix mask must be /28.
36
37
  self.ipv_4prefix = ipv_4prefix
38
+ # The number of automatically assigned IP prefixes. These are randomly allocated from the unassigned reserved segments of the switch where the NAT is located. Value range: 1 to 10.
37
39
  self.ipv_4prefix_count = ipv_4prefix_count
38
40
  # The ID of the Virtual Private Cloud (VPC) NAT gateway for which you want to create the NAT IP address.
39
41
  #
@@ -16,11 +16,13 @@ class CreateNatIpResponseBody(DaraModel):
16
16
  nat_ips: List[main_models.CreateNatIpResponseBodyNatIps] = None,
17
17
  request_id: str = None,
18
18
  ):
19
+ # The IPv4Prefix returned by the previous API is obsolete.
19
20
  self.ipv_4prefix = ipv_4prefix
20
21
  # The NAT IP address.
21
22
  self.nat_ip = nat_ip
22
23
  # The ID of the NAT IP address.
23
24
  self.nat_ip_id = nat_ip_id
25
+ # The NatIp parameter that is returned after you create a NatIp. If you use IPv4Prefix to create a NatIp, the information about all NatIp is returned. We recommend that you use this parameter to obtain the information about a NatIp when you create a NatIp.
24
26
  self.nat_ips = nat_ips
25
27
  # The request ID.
26
28
  self.request_id = request_id
@@ -84,8 +86,11 @@ class CreateNatIpResponseBodyNatIps(DaraModel):
84
86
  nat_ip: str = None,
85
87
  nat_ip_id: str = None,
86
88
  ):
89
+ # The Ipv4Prefix of the created NatIpList list is returned when Ipv4Preix is created.
87
90
  self.ipv_4prefix = ipv_4prefix
91
+ # Returns the NatIp address of the created NatIpList list when Ipv4Preix is created.
88
92
  self.nat_ip = nat_ip
93
+ # Returns the NatIpId of the created NatIpList list when Ipv4Preix is created.
89
94
  self.nat_ip_id = nat_ip_id
90
95
 
91
96
  def validate(self):
@@ -30,6 +30,9 @@ class CreateSnatEntryRequest(DaraModel):
30
30
  #
31
31
  # **Description** 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.
32
32
  self.client_token = client_token
33
+ # Indicates whether to only precheck this request. Values:
34
+ # - **true**: Sends a precheck request and does not create an SNAT entry. The precheck includes verifying if the AccessKey is valid, checking the RAM user\\"s authorization, and ensuring that all required parameters are filled out. If the precheck fails, the corresponding error is returned. If the precheck passes, the error code `DryRunOperation` is returned.
35
+ # - **false** (default): Sends a normal request. After passing the precheck, it returns a 2xx HTTP status code and creates an SNAT entry.
33
36
  self.dry_run = dry_run
34
37
  # Specifies whether to enable EIP affinity. Valid values:
35
38
  #
@@ -40,6 +43,8 @@ class CreateSnatEntryRequest(DaraModel):
40
43
  #
41
44
  # **Description** After you enable EIP affinity, if multiple EIPs are associated with an SNAT entry, each client uses one EIP to access the Internet. If EIP affinity is disabled, each client uses a random EIP to access the Internet.
42
45
  self.eip_affinity = eip_affinity
46
+ # Elastic Network Interface ID.
47
+ # > The IPv4 address set of the elastic network interface will be used as the SNAT address.
43
48
  self.network_interface_id = network_interface_id
44
49
  self.owner_account = owner_account
45
50
  self.owner_id = owner_id
@@ -33,6 +33,7 @@ class CreateVpnAttachmentRequest(DaraModel):
33
33
  resource_owner_account: str = None,
34
34
  resource_owner_id: int = None,
35
35
  tags: List[main_models.CreateVpnAttachmentRequestTags] = None,
36
+ tunnel_bandwidth: str = None,
36
37
  tunnel_options_specification: List[main_models.CreateVpnAttachmentRequestTunnelOptionsSpecification] = None,
37
38
  ):
38
39
  # Specifies whether to automatically configure routes. Valid values:
@@ -203,6 +204,7 @@ class CreateVpnAttachmentRequest(DaraModel):
203
204
  #
204
205
  # Each tag key corresponds to one tag value. You can specify up to 20 tag values in each call.
205
206
  self.tags = tags
207
+ self.tunnel_bandwidth = tunnel_bandwidth
206
208
  # The tunnel configurations.
207
209
  #
208
210
  # * You can specify parameters in the **TunnelOptionsSpecification** array when you create an IPsec-VPN connection in dual tunnel mode.
@@ -295,6 +297,9 @@ class CreateVpnAttachmentRequest(DaraModel):
295
297
  for k1 in self.tags:
296
298
  result['Tags'].append(k1.to_map() if k1 else None)
297
299
 
300
+ if self.tunnel_bandwidth is not None:
301
+ result['TunnelBandwidth'] = self.tunnel_bandwidth
302
+
298
303
  result['TunnelOptionsSpecification'] = []
299
304
  if self.tunnel_options_specification is not None:
300
305
  for k1 in self.tunnel_options_specification:
@@ -376,6 +381,9 @@ class CreateVpnAttachmentRequest(DaraModel):
376
381
  temp_model = main_models.CreateVpnAttachmentRequestTags()
377
382
  self.tags.append(temp_model.from_map(k1))
378
383
 
384
+ if m.get('TunnelBandwidth') is not None:
385
+ self.tunnel_bandwidth = m.get('TunnelBandwidth')
386
+
379
387
  self.tunnel_options_specification = []
380
388
  if m.get('TunnelOptionsSpecification') is not None:
381
389
  for k1 in m.get('TunnelOptionsSpecification'):
@@ -29,7 +29,9 @@ class DeleteNatIpRequest(DaraModel):
29
29
  # * **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.
30
30
  # * **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.
31
31
  self.dry_run = dry_run
32
+ # The IP prefix address to be deleted.
32
33
  self.ipv_4prefix = ipv_4prefix
34
+ # The ID of the NAT gateway instance to which the IP prefix to be deleted belongs. Required when deleting an IP prefix.
33
35
  self.nat_gateway_id = nat_gateway_id
34
36
  # The ID of the NAT IP address that you want to delete.
35
37
  self.nat_ip_id = nat_ip_id
@@ -150,6 +150,7 @@ class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkIn
150
150
  self.resource_owner_id = resource_owner_id
151
151
  # The type of the service resource.
152
152
  self.resource_type = resource_type
153
+ # VPC ID of the service resource
153
154
  self.resource_vpc_id = resource_vpc_id
154
155
  # The ID of the tunnel index.
155
156
  self.tunnel_index = tunnel_index
@@ -54,9 +54,9 @@ class DescribeNatGatewaysRequest(DaraModel):
54
54
  self.network_type = network_type
55
55
  self.owner_account = owner_account
56
56
  self.owner_id = owner_id
57
- # The number of the page to return. Default value: **1**.
57
+ # The page number. Default value: **1**.
58
58
  self.page_number = page_number
59
- # The number of entries to return on each page. Maximum value: **50**. Default value: **10**.
59
+ # The number of entries per page. Maximum value: **50**. Default value: **10**.
60
60
  self.page_size = page_size
61
61
  # The region ID of the NAT gateways that you want to query.
62
62
  #