alibabacloud-vpc20160428 6.6.8__py3-none-any.whl → 6.7.1__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.
@@ -1 +1 @@
1
- __version__ = '6.6.8'
1
+ __version__ = '6.7.1'
@@ -1897,6 +1897,8 @@ class Client(OpenApiClient):
1897
1897
  """
1898
1898
  UtilClient.validate_model(request)
1899
1899
  query = {}
1900
+ if not UtilClient.is_unset(request.address_type):
1901
+ query['AddressType'] = request.address_type
1900
1902
  if not UtilClient.is_unset(request.client_token):
1901
1903
  query['ClientToken'] = request.client_token
1902
1904
  if not UtilClient.is_unset(request.dry_run):
@@ -1958,6 +1960,8 @@ class Client(OpenApiClient):
1958
1960
  """
1959
1961
  UtilClient.validate_model(request)
1960
1962
  query = {}
1963
+ if not UtilClient.is_unset(request.address_type):
1964
+ query['AddressType'] = request.address_type
1961
1965
  if not UtilClient.is_unset(request.client_token):
1962
1966
  query['ClientToken'] = request.client_token
1963
1967
  if not UtilClient.is_unset(request.dry_run):
@@ -7383,6 +7387,8 @@ class Client(OpenApiClient):
7383
7387
  query['ClientToken'] = request.client_token
7384
7388
  if not UtilClient.is_unset(request.description):
7385
7389
  query['Description'] = request.description
7390
+ if not UtilClient.is_unset(request.dry_run):
7391
+ query['DryRun'] = request.dry_run
7386
7392
  if not UtilClient.is_unset(request.job_duration):
7387
7393
  query['JobDuration'] = request.job_duration
7388
7394
  if not UtilClient.is_unset(request.job_type):
@@ -7440,6 +7446,8 @@ class Client(OpenApiClient):
7440
7446
  query['ClientToken'] = request.client_token
7441
7447
  if not UtilClient.is_unset(request.description):
7442
7448
  query['Description'] = request.description
7449
+ if not UtilClient.is_unset(request.dry_run):
7450
+ query['DryRun'] = request.dry_run
7443
7451
  if not UtilClient.is_unset(request.job_duration):
7444
7452
  query['JobDuration'] = request.job_duration
7445
7453
  if not UtilClient.is_unset(request.job_type):
@@ -10645,6 +10653,8 @@ class Client(OpenApiClient):
10645
10653
  runtime: util_models.RuntimeOptions,
10646
10654
  ) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
10647
10655
  """
10656
+ @summary 创建端口初装费订单
10657
+
10648
10658
  @param request: CreatePhysicalConnectionSetupOrderRequest
10649
10659
  @param runtime: runtime options for this request RuntimeOptions
10650
10660
  @return: CreatePhysicalConnectionSetupOrderResponse
@@ -10700,6 +10710,8 @@ class Client(OpenApiClient):
10700
10710
  runtime: util_models.RuntimeOptions,
10701
10711
  ) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
10702
10712
  """
10713
+ @summary 创建端口初装费订单
10714
+
10703
10715
  @param request: CreatePhysicalConnectionSetupOrderRequest
10704
10716
  @param runtime: runtime options for this request RuntimeOptions
10705
10717
  @return: CreatePhysicalConnectionSetupOrderResponse
@@ -10754,6 +10766,8 @@ class Client(OpenApiClient):
10754
10766
  request: vpc_20160428_models.CreatePhysicalConnectionSetupOrderRequest,
10755
10767
  ) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
10756
10768
  """
10769
+ @summary 创建端口初装费订单
10770
+
10757
10771
  @param request: CreatePhysicalConnectionSetupOrderRequest
10758
10772
  @return: CreatePhysicalConnectionSetupOrderResponse
10759
10773
  """
@@ -10765,6 +10779,8 @@ class Client(OpenApiClient):
10765
10779
  request: vpc_20160428_models.CreatePhysicalConnectionSetupOrderRequest,
10766
10780
  ) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
10767
10781
  """
10782
+ @summary 创建端口初装费订单
10783
+
10768
10784
  @param request: CreatePhysicalConnectionSetupOrderRequest
10769
10785
  @return: CreatePhysicalConnectionSetupOrderResponse
10770
10786
  """
@@ -27079,6 +27095,8 @@ class Client(OpenApiClient):
27079
27095
  """
27080
27096
  UtilClient.validate_model(request)
27081
27097
  query = {}
27098
+ if not UtilClient.is_unset(request.address_type):
27099
+ query['AddressType'] = request.address_type
27082
27100
  if not UtilClient.is_unset(request.associated_instance_id):
27083
27101
  query['AssociatedInstanceId'] = request.associated_instance_id
27084
27102
  if not UtilClient.is_unset(request.associated_instance_type):
@@ -27154,6 +27172,8 @@ class Client(OpenApiClient):
27154
27172
  """
27155
27173
  UtilClient.validate_model(request)
27156
27174
  query = {}
27175
+ if not UtilClient.is_unset(request.address_type):
27176
+ query['AddressType'] = request.address_type
27157
27177
  if not UtilClient.is_unset(request.associated_instance_id):
27158
27178
  query['AssociatedInstanceId'] = request.associated_instance_id
27159
27179
  if not UtilClient.is_unset(request.associated_instance_type):
@@ -27247,6 +27267,8 @@ class Client(OpenApiClient):
27247
27267
  runtime: util_models.RuntimeOptions,
27248
27268
  ) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
27249
27269
  """
27270
+ @summary 查询创建的仅主动出规则。
27271
+
27250
27272
  @param request: DescribeIpv6EgressOnlyRulesRequest
27251
27273
  @param runtime: runtime options for this request RuntimeOptions
27252
27274
  @return: DescribeIpv6EgressOnlyRulesResponse
@@ -27304,6 +27326,8 @@ class Client(OpenApiClient):
27304
27326
  runtime: util_models.RuntimeOptions,
27305
27327
  ) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
27306
27328
  """
27329
+ @summary 查询创建的仅主动出规则。
27330
+
27307
27331
  @param request: DescribeIpv6EgressOnlyRulesRequest
27308
27332
  @param runtime: runtime options for this request RuntimeOptions
27309
27333
  @return: DescribeIpv6EgressOnlyRulesResponse
@@ -27360,6 +27384,8 @@ class Client(OpenApiClient):
27360
27384
  request: vpc_20160428_models.DescribeIpv6EgressOnlyRulesRequest,
27361
27385
  ) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
27362
27386
  """
27387
+ @summary 查询创建的仅主动出规则。
27388
+
27363
27389
  @param request: DescribeIpv6EgressOnlyRulesRequest
27364
27390
  @return: DescribeIpv6EgressOnlyRulesResponse
27365
27391
  """
@@ -27371,6 +27397,8 @@ class Client(OpenApiClient):
27371
27397
  request: vpc_20160428_models.DescribeIpv6EgressOnlyRulesRequest,
27372
27398
  ) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
27373
27399
  """
27400
+ @summary 查询创建的仅主动出规则。
27401
+
27374
27402
  @param request: DescribeIpv6EgressOnlyRulesRequest
27375
27403
  @return: DescribeIpv6EgressOnlyRulesResponse
27376
27404
  """
@@ -35557,6 +35585,126 @@ class Client(OpenApiClient):
35557
35585
  runtime = util_models.RuntimeOptions()
35558
35586
  return await self.get_physical_connection_service_status_with_options_async(request, runtime)
35559
35587
 
35588
+ def get_public_ip_address_pool_service_status_with_options(
35589
+ self,
35590
+ request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35591
+ runtime: util_models.RuntimeOptions,
35592
+ ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35593
+ """
35594
+ @summary Queries whether the IP address pool feature is enabled.
35595
+
35596
+ @param request: GetPublicIpAddressPoolServiceStatusRequest
35597
+ @param runtime: runtime options for this request RuntimeOptions
35598
+ @return: GetPublicIpAddressPoolServiceStatusResponse
35599
+ """
35600
+ UtilClient.validate_model(request)
35601
+ query = {}
35602
+ if not UtilClient.is_unset(request.client_token):
35603
+ query['ClientToken'] = request.client_token
35604
+ if not UtilClient.is_unset(request.owner_account):
35605
+ query['OwnerAccount'] = request.owner_account
35606
+ if not UtilClient.is_unset(request.owner_id):
35607
+ query['OwnerId'] = request.owner_id
35608
+ if not UtilClient.is_unset(request.region_id):
35609
+ query['RegionId'] = request.region_id
35610
+ if not UtilClient.is_unset(request.region_id):
35611
+ query['RegionId'] = request.region_id
35612
+ if not UtilClient.is_unset(request.resource_owner_account):
35613
+ query['ResourceOwnerAccount'] = request.resource_owner_account
35614
+ if not UtilClient.is_unset(request.resource_owner_id):
35615
+ query['ResourceOwnerId'] = request.resource_owner_id
35616
+ req = open_api_models.OpenApiRequest(
35617
+ query=OpenApiUtilClient.query(query)
35618
+ )
35619
+ params = open_api_models.Params(
35620
+ action='GetPublicIpAddressPoolServiceStatus',
35621
+ version='2016-04-28',
35622
+ protocol='HTTPS',
35623
+ pathname='/',
35624
+ method='POST',
35625
+ auth_type='AK',
35626
+ style='RPC',
35627
+ req_body_type='formData',
35628
+ body_type='json'
35629
+ )
35630
+ return TeaCore.from_map(
35631
+ vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse(),
35632
+ self.call_api(params, req, runtime)
35633
+ )
35634
+
35635
+ async def get_public_ip_address_pool_service_status_with_options_async(
35636
+ self,
35637
+ request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35638
+ runtime: util_models.RuntimeOptions,
35639
+ ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35640
+ """
35641
+ @summary Queries whether the IP address pool feature is enabled.
35642
+
35643
+ @param request: GetPublicIpAddressPoolServiceStatusRequest
35644
+ @param runtime: runtime options for this request RuntimeOptions
35645
+ @return: GetPublicIpAddressPoolServiceStatusResponse
35646
+ """
35647
+ UtilClient.validate_model(request)
35648
+ query = {}
35649
+ if not UtilClient.is_unset(request.client_token):
35650
+ query['ClientToken'] = request.client_token
35651
+ if not UtilClient.is_unset(request.owner_account):
35652
+ query['OwnerAccount'] = request.owner_account
35653
+ if not UtilClient.is_unset(request.owner_id):
35654
+ query['OwnerId'] = request.owner_id
35655
+ if not UtilClient.is_unset(request.region_id):
35656
+ query['RegionId'] = request.region_id
35657
+ if not UtilClient.is_unset(request.region_id):
35658
+ query['RegionId'] = request.region_id
35659
+ if not UtilClient.is_unset(request.resource_owner_account):
35660
+ query['ResourceOwnerAccount'] = request.resource_owner_account
35661
+ if not UtilClient.is_unset(request.resource_owner_id):
35662
+ query['ResourceOwnerId'] = request.resource_owner_id
35663
+ req = open_api_models.OpenApiRequest(
35664
+ query=OpenApiUtilClient.query(query)
35665
+ )
35666
+ params = open_api_models.Params(
35667
+ action='GetPublicIpAddressPoolServiceStatus',
35668
+ version='2016-04-28',
35669
+ protocol='HTTPS',
35670
+ pathname='/',
35671
+ method='POST',
35672
+ auth_type='AK',
35673
+ style='RPC',
35674
+ req_body_type='formData',
35675
+ body_type='json'
35676
+ )
35677
+ return TeaCore.from_map(
35678
+ vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse(),
35679
+ await self.call_api_async(params, req, runtime)
35680
+ )
35681
+
35682
+ def get_public_ip_address_pool_service_status(
35683
+ self,
35684
+ request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35685
+ ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35686
+ """
35687
+ @summary Queries whether the IP address pool feature is enabled.
35688
+
35689
+ @param request: GetPublicIpAddressPoolServiceStatusRequest
35690
+ @return: GetPublicIpAddressPoolServiceStatusResponse
35691
+ """
35692
+ runtime = util_models.RuntimeOptions()
35693
+ return self.get_public_ip_address_pool_service_status_with_options(request, runtime)
35694
+
35695
+ async def get_public_ip_address_pool_service_status_async(
35696
+ self,
35697
+ request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
35698
+ ) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
35699
+ """
35700
+ @summary Queries whether the IP address pool feature is enabled.
35701
+
35702
+ @param request: GetPublicIpAddressPoolServiceStatusRequest
35703
+ @return: GetPublicIpAddressPoolServiceStatusResponse
35704
+ """
35705
+ runtime = util_models.RuntimeOptions()
35706
+ return await self.get_public_ip_address_pool_service_status_with_options_async(request, runtime)
35707
+
35560
35708
  def get_traffic_mirror_service_status_with_options(
35561
35709
  self,
35562
35710
  request: vpc_20160428_models.GetTrafficMirrorServiceStatusRequest,
@@ -38369,7 +38517,7 @@ class Client(OpenApiClient):
38369
38517
  runtime: util_models.RuntimeOptions,
38370
38518
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38371
38519
  """
38372
- @summary Queries the information about the available IP address pools.
38520
+ @summary Queries available IP address pools.
38373
38521
 
38374
38522
  @param request: ListPublicIpAddressPoolsRequest
38375
38523
  @param runtime: runtime options for this request RuntimeOptions
@@ -38432,7 +38580,7 @@ class Client(OpenApiClient):
38432
38580
  runtime: util_models.RuntimeOptions,
38433
38581
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38434
38582
  """
38435
- @summary Queries the information about the available IP address pools.
38583
+ @summary Queries available IP address pools.
38436
38584
 
38437
38585
  @param request: ListPublicIpAddressPoolsRequest
38438
38586
  @param runtime: runtime options for this request RuntimeOptions
@@ -38494,7 +38642,7 @@ class Client(OpenApiClient):
38494
38642
  request: vpc_20160428_models.ListPublicIpAddressPoolsRequest,
38495
38643
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38496
38644
  """
38497
- @summary Queries the information about the available IP address pools.
38645
+ @summary Queries available IP address pools.
38498
38646
 
38499
38647
  @param request: ListPublicIpAddressPoolsRequest
38500
38648
  @return: ListPublicIpAddressPoolsResponse
@@ -38507,7 +38655,7 @@ class Client(OpenApiClient):
38507
38655
  request: vpc_20160428_models.ListPublicIpAddressPoolsRequest,
38508
38656
  ) -> vpc_20160428_models.ListPublicIpAddressPoolsResponse:
38509
38657
  """
38510
- @summary Queries the information about the available IP address pools.
38658
+ @summary Queries available IP address pools.
38511
38659
 
38512
38660
  @param request: ListPublicIpAddressPoolsRequest
38513
38661
  @return: ListPublicIpAddressPoolsResponse
@@ -44575,6 +44723,8 @@ class Client(OpenApiClient):
44575
44723
  query['ResourceOwnerAccount'] = request.resource_owner_account
44576
44724
  if not UtilClient.is_unset(request.resource_owner_id):
44577
44725
  query['ResourceOwnerId'] = request.resource_owner_id
44726
+ if not UtilClient.is_unset(request.route_propagation_enable):
44727
+ query['RoutePropagationEnable'] = request.route_propagation_enable
44578
44728
  if not UtilClient.is_unset(request.route_table_id):
44579
44729
  query['RouteTableId'] = request.route_table_id
44580
44730
  if not UtilClient.is_unset(request.route_table_name):
@@ -44626,6 +44776,8 @@ class Client(OpenApiClient):
44626
44776
  query['ResourceOwnerAccount'] = request.resource_owner_account
44627
44777
  if not UtilClient.is_unset(request.resource_owner_id):
44628
44778
  query['ResourceOwnerId'] = request.resource_owner_id
44779
+ if not UtilClient.is_unset(request.route_propagation_enable):
44780
+ query['RoutePropagationEnable'] = request.route_propagation_enable
44629
44781
  if not UtilClient.is_unset(request.route_table_id):
44630
44782
  query['RouteTableId'] = request.route_table_id
44631
44783
  if not UtilClient.is_unset(request.route_table_name):
@@ -48445,6 +48597,126 @@ class Client(OpenApiClient):
48445
48597
  runtime = util_models.RuntimeOptions()
48446
48598
  return await self.open_physical_connection_service_with_options_async(request, runtime)
48447
48599
 
48600
+ def open_public_ip_address_pool_service_with_options(
48601
+ self,
48602
+ request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
48603
+ runtime: util_models.RuntimeOptions,
48604
+ ) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
48605
+ """
48606
+ @summary 开通IP地址池功能。
48607
+
48608
+ @param request: OpenPublicIpAddressPoolServiceRequest
48609
+ @param runtime: runtime options for this request RuntimeOptions
48610
+ @return: OpenPublicIpAddressPoolServiceResponse
48611
+ """
48612
+ UtilClient.validate_model(request)
48613
+ query = {}
48614
+ if not UtilClient.is_unset(request.client_token):
48615
+ query['ClientToken'] = request.client_token
48616
+ if not UtilClient.is_unset(request.owner_account):
48617
+ query['OwnerAccount'] = request.owner_account
48618
+ if not UtilClient.is_unset(request.owner_id):
48619
+ query['OwnerId'] = request.owner_id
48620
+ if not UtilClient.is_unset(request.region_id):
48621
+ query['RegionId'] = request.region_id
48622
+ if not UtilClient.is_unset(request.region_id):
48623
+ query['RegionId'] = request.region_id
48624
+ if not UtilClient.is_unset(request.resource_owner_account):
48625
+ query['ResourceOwnerAccount'] = request.resource_owner_account
48626
+ if not UtilClient.is_unset(request.resource_owner_id):
48627
+ query['ResourceOwnerId'] = request.resource_owner_id
48628
+ req = open_api_models.OpenApiRequest(
48629
+ query=OpenApiUtilClient.query(query)
48630
+ )
48631
+ params = open_api_models.Params(
48632
+ action='OpenPublicIpAddressPoolService',
48633
+ version='2016-04-28',
48634
+ protocol='HTTPS',
48635
+ pathname='/',
48636
+ method='POST',
48637
+ auth_type='AK',
48638
+ style='RPC',
48639
+ req_body_type='formData',
48640
+ body_type='json'
48641
+ )
48642
+ return TeaCore.from_map(
48643
+ vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse(),
48644
+ self.call_api(params, req, runtime)
48645
+ )
48646
+
48647
+ async def open_public_ip_address_pool_service_with_options_async(
48648
+ self,
48649
+ request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
48650
+ runtime: util_models.RuntimeOptions,
48651
+ ) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
48652
+ """
48653
+ @summary 开通IP地址池功能。
48654
+
48655
+ @param request: OpenPublicIpAddressPoolServiceRequest
48656
+ @param runtime: runtime options for this request RuntimeOptions
48657
+ @return: OpenPublicIpAddressPoolServiceResponse
48658
+ """
48659
+ UtilClient.validate_model(request)
48660
+ query = {}
48661
+ if not UtilClient.is_unset(request.client_token):
48662
+ query['ClientToken'] = request.client_token
48663
+ if not UtilClient.is_unset(request.owner_account):
48664
+ query['OwnerAccount'] = request.owner_account
48665
+ if not UtilClient.is_unset(request.owner_id):
48666
+ query['OwnerId'] = request.owner_id
48667
+ if not UtilClient.is_unset(request.region_id):
48668
+ query['RegionId'] = request.region_id
48669
+ if not UtilClient.is_unset(request.region_id):
48670
+ query['RegionId'] = request.region_id
48671
+ if not UtilClient.is_unset(request.resource_owner_account):
48672
+ query['ResourceOwnerAccount'] = request.resource_owner_account
48673
+ if not UtilClient.is_unset(request.resource_owner_id):
48674
+ query['ResourceOwnerId'] = request.resource_owner_id
48675
+ req = open_api_models.OpenApiRequest(
48676
+ query=OpenApiUtilClient.query(query)
48677
+ )
48678
+ params = open_api_models.Params(
48679
+ action='OpenPublicIpAddressPoolService',
48680
+ version='2016-04-28',
48681
+ protocol='HTTPS',
48682
+ pathname='/',
48683
+ method='POST',
48684
+ auth_type='AK',
48685
+ style='RPC',
48686
+ req_body_type='formData',
48687
+ body_type='json'
48688
+ )
48689
+ return TeaCore.from_map(
48690
+ vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse(),
48691
+ await self.call_api_async(params, req, runtime)
48692
+ )
48693
+
48694
+ def open_public_ip_address_pool_service(
48695
+ self,
48696
+ request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
48697
+ ) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
48698
+ """
48699
+ @summary 开通IP地址池功能。
48700
+
48701
+ @param request: OpenPublicIpAddressPoolServiceRequest
48702
+ @return: OpenPublicIpAddressPoolServiceResponse
48703
+ """
48704
+ runtime = util_models.RuntimeOptions()
48705
+ return self.open_public_ip_address_pool_service_with_options(request, runtime)
48706
+
48707
+ async def open_public_ip_address_pool_service_async(
48708
+ self,
48709
+ request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
48710
+ ) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
48711
+ """
48712
+ @summary 开通IP地址池功能。
48713
+
48714
+ @param request: OpenPublicIpAddressPoolServiceRequest
48715
+ @return: OpenPublicIpAddressPoolServiceResponse
48716
+ """
48717
+ runtime = util_models.RuntimeOptions()
48718
+ return await self.open_public_ip_address_pool_service_with_options_async(request, runtime)
48719
+
48448
48720
  def open_traffic_mirror_service_with_options(
48449
48721
  self,
48450
48722
  request: vpc_20160428_models.OpenTrafficMirrorServiceRequest,
@@ -53037,6 +53309,8 @@ class Client(OpenApiClient):
53037
53309
  query['ClientToken'] = request.client_token
53038
53310
  if not UtilClient.is_unset(request.description):
53039
53311
  query['Description'] = request.description
53312
+ if not UtilClient.is_unset(request.dry_run):
53313
+ query['DryRun'] = request.dry_run
53040
53314
  if not UtilClient.is_unset(request.job_duration):
53041
53315
  query['JobDuration'] = request.job_duration
53042
53316
  if not UtilClient.is_unset(request.job_id):
@@ -53092,6 +53366,8 @@ class Client(OpenApiClient):
53092
53366
  query['ClientToken'] = request.client_token
53093
53367
  if not UtilClient.is_unset(request.description):
53094
53368
  query['Description'] = request.description
53369
+ if not UtilClient.is_unset(request.dry_run):
53370
+ query['DryRun'] = request.dry_run
53095
53371
  if not UtilClient.is_unset(request.job_duration):
53096
53372
  query['JobDuration'] = request.job_duration
53097
53373
  if not UtilClient.is_unset(request.job_id):
@@ -1173,7 +1173,7 @@ class AddPublicIpAddressPoolCidrBlockResponseBody(TeaModel):
1173
1173
  cidr_block: str = None,
1174
1174
  request_id: str = None,
1175
1175
  ):
1176
- # The CIDR blocks.
1176
+ # The CIDR block.
1177
1177
  self.cidr_block = cidr_block
1178
1178
  # The request ID.
1179
1179
  self.request_id = request_id
@@ -2359,6 +2359,7 @@ class AllocateIpv6AddressRequestTag(TeaModel):
2359
2359
  class AllocateIpv6AddressRequest(TeaModel):
2360
2360
  def __init__(
2361
2361
  self,
2362
+ address_type: str = None,
2362
2363
  client_token: str = None,
2363
2364
  dry_run: bool = None,
2364
2365
  ipv_6address: str = None,
@@ -2373,6 +2374,7 @@ class AllocateIpv6AddressRequest(TeaModel):
2373
2374
  tag: List[AllocateIpv6AddressRequestTag] = None,
2374
2375
  v_switch_id: str = None,
2375
2376
  ):
2377
+ self.address_type = address_type
2376
2378
  # The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
2377
2379
  #
2378
2380
  # > 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.
@@ -2417,6 +2419,8 @@ class AllocateIpv6AddressRequest(TeaModel):
2417
2419
  return _map
2418
2420
 
2419
2421
  result = dict()
2422
+ if self.address_type is not None:
2423
+ result['AddressType'] = self.address_type
2420
2424
  if self.client_token is not None:
2421
2425
  result['ClientToken'] = self.client_token
2422
2426
  if self.dry_run is not None:
@@ -2449,6 +2453,8 @@ class AllocateIpv6AddressRequest(TeaModel):
2449
2453
 
2450
2454
  def from_map(self, m: dict = None):
2451
2455
  m = m or dict()
2456
+ if m.get('AddressType') is not None:
2457
+ self.address_type = m.get('AddressType')
2452
2458
  if m.get('ClientToken') is not None:
2453
2459
  self.client_token = m.get('ClientToken')
2454
2460
  if m.get('DryRun') is not None:
@@ -9163,6 +9169,7 @@ class CreateFailoverTestJobRequest(TeaModel):
9163
9169
  self,
9164
9170
  client_token: str = None,
9165
9171
  description: str = None,
9172
+ dry_run: bool = None,
9166
9173
  job_duration: int = None,
9167
9174
  job_type: str = None,
9168
9175
  name: str = None,
@@ -9175,6 +9182,7 @@ class CreateFailoverTestJobRequest(TeaModel):
9175
9182
  ):
9176
9183
  self.client_token = client_token
9177
9184
  self.description = description
9185
+ self.dry_run = dry_run
9178
9186
  # This parameter is required.
9179
9187
  self.job_duration = job_duration
9180
9188
  # This parameter is required.
@@ -9202,6 +9210,8 @@ class CreateFailoverTestJobRequest(TeaModel):
9202
9210
  result['ClientToken'] = self.client_token
9203
9211
  if self.description is not None:
9204
9212
  result['Description'] = self.description
9213
+ if self.dry_run is not None:
9214
+ result['DryRun'] = self.dry_run
9205
9215
  if self.job_duration is not None:
9206
9216
  result['JobDuration'] = self.job_duration
9207
9217
  if self.job_type is not None:
@@ -9228,6 +9238,8 @@ class CreateFailoverTestJobRequest(TeaModel):
9228
9238
  self.client_token = m.get('ClientToken')
9229
9239
  if m.get('Description') is not None:
9230
9240
  self.description = m.get('Description')
9241
+ if m.get('DryRun') is not None:
9242
+ self.dry_run = m.get('DryRun')
9231
9243
  if m.get('JobDuration') is not None:
9232
9244
  self.job_duration = m.get('JobDuration')
9233
9245
  if m.get('JobType') is not None:
@@ -15087,45 +15099,49 @@ class CreateRouteEntriesRequestRouteEntries(TeaModel):
15087
15099
  next_hop_type: str = None,
15088
15100
  route_table_id: str = None,
15089
15101
  ):
15090
- # The description of the custom route entry. You can specify up to 50 descriptions.
15102
+ # The description of the custom route. You can specify at most 50 descriptions.
15091
15103
  #
15092
15104
  # The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
15093
15105
  self.description = description
15094
- # The destination CIDR block of the custom route entry. Both IPv4 and IPv6 CIDR blocks are supported. You can specify up to 50 destination CIDR blocks. Make sure that the destination CIDR block meets the following requirements:
15106
+ # The destination CIDR block of the custom route. IPv4 CIDR blocks, IPv6 CIDR blocks, and prefix lists are supported. You can enter up to 50 destination CIDR blocks. Make sure that the following requirements are met:
15095
15107
  #
15096
- # * The destination CIDR block is not 100.64.0.0/10 or a subset of 100.64.0.0/10.
15097
- # * The destination CIDR block of the custom route entry is different from the destination CIDR blocks of other route entries in the same route table.
15108
+ # * The destination CIDR block cannot point to 100.64.0.0/10 or belong to 100.64.0.0/10.
15109
+ # * The destination CIDR block of each route in the route table is unique.
15098
15110
  #
15099
15111
  # This parameter is required.
15100
15112
  self.dst_cidr_block = dst_cidr_block
15101
- # The IP version. You can specify up to 50 IP versions. Valid values:
15113
+ # The IP version. Valid values: You can specify at most 50 IP versions. Valid values:
15102
15114
  #
15103
15115
  # * **4**: IPv4
15104
15116
  # * **6**: IPv6
15105
15117
  self.ip_version = ip_version
15106
- # The name of the custom route entry that you want to add. You can specify up to 50 names.
15118
+ # The name of the custom route that you want to add. You can specify at most 50 names.
15107
15119
  #
15108
15120
  # The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
15109
15121
  self.name = name
15110
- # The next hop ID of the custom route entry. You can specify up to 50 next hop IDs.
15122
+ # The ID of the next hop for the custom route. You can specify at most 50 instance IDs.
15111
15123
  #
15112
15124
  # This parameter is required.
15113
15125
  self.next_hop = next_hop
15114
- # The type of next hop. You can specify up to 50 next hop types. Valid values:
15115
- #
15116
- # * **Instance** (default): an Elastic Compute Service (ECS) instance
15117
- # * **HaVip**: a high-availability virtual IP address (HAVIP).
15118
- # * **RouterInterface**: a router interface.
15119
- # * **NetworkInterface**: an elastic network interface (ENI).
15120
- # * **VpnGateway**: a VPN gateway.
15121
- # * **IPv6Gateway**: an IPv6 gateway.
15122
- # * **NatGateway**: a NAT gateway.
15123
- # * **Attachment**: a transit router.
15124
- # * **VpcPeer**: a VPC peering connection.
15126
+ # The type of next hop. You can specify at most 50 next hop types. Valid values:
15127
+ #
15128
+ # * **Instance**: Elastic Compute Service (ECS) instance. This is the default value.
15129
+ # * **HaVip**: high-availability virtual IP address (HAVIP).
15130
+ # * **RouterInterface**: router interface.
15131
+ # * **NetworkInterface**: elastic network interface (ENI).
15132
+ # * **VpnGateway**: VPN gateway.
15133
+ # * **IPv6Gateway**: IPv6 gateway.
15134
+ # * **NatGateway**: NAT gateway.
15135
+ # * **Attachment**: transit router.
15136
+ # * **VpcPeer**: VPC peering connection.
15137
+ # * **Ipv4Gateway**: IPv4 gateway.
15138
+ # * **GatewayEndpoint**: gateway endpoint.
15139
+ # * **CenBasic**: CEN does not support transfer routers.
15140
+ # * **Ecr**: Express Connect Router (ECR).
15125
15141
  #
15126
15142
  # This parameter is required.
15127
15143
  self.next_hop_type = next_hop_type
15128
- # The ID of the route table to which you want to add a custom route entry. You can specify up to 50 route table IDs.
15144
+ # The ID of the route table to which you want to add custom route s. You can specify at most 50 route table IDs.
15129
15145
  #
15130
15146
  # This parameter is required.
15131
15147
  self.route_table_id = route_table_id
@@ -15192,7 +15208,7 @@ class CreateRouteEntriesRequest(TeaModel):
15192
15208
  self.region_id = region_id
15193
15209
  self.resource_owner_account = resource_owner_account
15194
15210
  self.resource_owner_id = resource_owner_id
15195
- # The route entries.
15211
+ # The routes.
15196
15212
  #
15197
15213
  # This parameter is required.
15198
15214
  self.route_entries = route_entries
@@ -15490,6 +15506,9 @@ class CreateRouteEntryRequest(TeaModel):
15490
15506
  # * **NatGateway**: a NAT gateway.
15491
15507
  # * **Attachment**: a transit router.
15492
15508
  # * **VpcPeer**: a VPC peering connection.
15509
+ # * **Ipv4Gateway**: an IPv4 gateway.
15510
+ # * **GatewayEndpoint**: a gateway endpoint.
15511
+ # * **Ecr**: a Express Connect Router (ECR).
15493
15512
  self.next_hop_type = next_hop_type
15494
15513
  self.owner_account = owner_account
15495
15514
  self.owner_id = owner_id
@@ -22134,19 +22153,19 @@ class CreateVpnGatewayRequest(TeaModel):
22134
22153
  vpc_id: str = None,
22135
22154
  vpn_type: str = None,
22136
22155
  ):
22137
- # Specifies whether to enable automatic payment for the VPN gateway. Valid values:
22156
+ # Specifies whether to enable automatic payment. Valid values:
22138
22157
  #
22139
22158
  # * **true**\
22140
22159
  # * **false** (default)
22141
22160
  #
22142
- # > We recommend that you enable automatic payment. If you disable automatic payment, you must manually pay the bill for creating the VPN gateway.
22161
+ # > To create a VPN gateway, we recommend that you enable automatic payment. If you disable automatic payment, you must manually pay the bill to create the VPN gateway.
22143
22162
  self.auto_pay = auto_pay
22144
22163
  # The maximum bandwidth of the VPN gateway. Unit: Mbit/s.
22145
22164
  #
22146
22165
  # * If you want to create a public VPN gateway, valid values are **10**, **100**, **200**, **500**, and **1000**.
22147
22166
  # * If you want to create a private VPN gateway, valid values are **200** and **1000**.
22148
22167
  #
22149
- # > The maximum bandwidth supported by VPN gateways in some regions is 200 Mbit/s. For more information, see [VPN gateway limits](https://help.aliyun.com/document_detail/65290.html).
22168
+ # > The maximum bandwidth supported by VPN gateways in some regions is 500 Mbit/s. For more information, see [VPN gateway limits](https://help.aliyun.com/document_detail/65290.html).
22150
22169
  #
22151
22170
  # This parameter is required.
22152
22171
  self.bandwidth = bandwidth
@@ -22164,12 +22183,12 @@ class CreateVpnGatewayRequest(TeaModel):
22164
22183
  #
22165
22184
  # For more information about the regions and zones that support the IPsec-VPN connections in dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](https://help.aliyun.com/document_detail/2358946.html).
22166
22185
  self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
22167
- # Specifies whether to enable the IPsec-VPN feature. Valid values:
22186
+ # Specifies whether to enable IPsec-VPN for the VPN gateway. Valid values:
22168
22187
  #
22169
22188
  # * **true** (default)
22170
22189
  # * **false**\
22171
22190
  self.enable_ipsec = enable_ipsec
22172
- # Specifies whether to enable the SSL-VPN feature for the VPN gateway. Valid values:
22191
+ # Specifies whether to enable SSL-VPN. Valid values:
22173
22192
  #
22174
22193
  # * **true**\
22175
22194
  # * **false** (default)
@@ -30505,7 +30524,7 @@ class DeleteVpnAttachmentRequest(TeaModel):
30505
30524
  # > 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.
30506
30525
  self.client_token = client_token
30507
30526
  self.owner_account = owner_account
30508
- # The ID of the region where the IPsec-VPN connection is established.
30527
+ # The region ID of the IPsec-VPN connection.
30509
30528
  #
30510
30529
  # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
30511
30530
  #
@@ -42401,6 +42420,7 @@ class DescribeIpv6AddressesRequestTag(TeaModel):
42401
42420
  class DescribeIpv6AddressesRequest(TeaModel):
42402
42421
  def __init__(
42403
42422
  self,
42423
+ address_type: str = None,
42404
42424
  associated_instance_id: str = None,
42405
42425
  associated_instance_type: str = None,
42406
42426
  include_reservation_data: bool = None,
@@ -42422,6 +42442,7 @@ class DescribeIpv6AddressesRequest(TeaModel):
42422
42442
  v_switch_id: str = None,
42423
42443
  vpc_id: str = None,
42424
42444
  ):
42445
+ self.address_type = address_type
42425
42446
  # The ID of the instance that is assigned the IPv6 address.
42426
42447
  self.associated_instance_id = associated_instance_id
42427
42448
  # The type of instance associated with the IPv6 address. Valid values:
@@ -42489,6 +42510,8 @@ class DescribeIpv6AddressesRequest(TeaModel):
42489
42510
  return _map
42490
42511
 
42491
42512
  result = dict()
42513
+ if self.address_type is not None:
42514
+ result['AddressType'] = self.address_type
42492
42515
  if self.associated_instance_id is not None:
42493
42516
  result['AssociatedInstanceId'] = self.associated_instance_id
42494
42517
  if self.associated_instance_type is not None:
@@ -42535,6 +42558,8 @@ class DescribeIpv6AddressesRequest(TeaModel):
42535
42558
 
42536
42559
  def from_map(self, m: dict = None):
42537
42560
  m = m or dict()
42561
+ if m.get('AddressType') is not None:
42562
+ self.address_type = m.get('AddressType')
42538
42563
  if m.get('AssociatedInstanceId') is not None:
42539
42564
  self.associated_instance_id = m.get('AssociatedInstanceId')
42540
42565
  if m.get('AssociatedInstanceType') is not None:
@@ -42766,6 +42791,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags(TeaModel):
42766
42791
  class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
42767
42792
  def __init__(
42768
42793
  self,
42794
+ address_type: str = None,
42769
42795
  allocation_time: str = None,
42770
42796
  associated_instance_id: str = None,
42771
42797
  associated_instance_type: str = None,
@@ -42785,6 +42811,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
42785
42811
  v_switch_id: str = None,
42786
42812
  vpc_id: str = None,
42787
42813
  ):
42814
+ self.address_type = address_type
42788
42815
  # The time when the IPv6 address was created.
42789
42816
  self.allocation_time = allocation_time
42790
42817
  # The ID of the instance associated with the IPv6 address.
@@ -42848,6 +42875,8 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
42848
42875
  return _map
42849
42876
 
42850
42877
  result = dict()
42878
+ if self.address_type is not None:
42879
+ result['AddressType'] = self.address_type
42851
42880
  if self.allocation_time is not None:
42852
42881
  result['AllocationTime'] = self.allocation_time
42853
42882
  if self.associated_instance_id is not None:
@@ -42888,6 +42917,8 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
42888
42917
 
42889
42918
  def from_map(self, m: dict = None):
42890
42919
  m = m or dict()
42920
+ if m.get('AddressType') is not None:
42921
+ self.address_type = m.get('AddressType')
42891
42922
  if m.get('AllocationTime') is not None:
42892
42923
  self.allocation_time = m.get('AllocationTime')
42893
42924
  if m.get('AssociatedInstanceId') is not None:
@@ -54847,6 +54878,12 @@ class DescribeVSwitchesRequest(TeaModel):
54847
54878
  # * **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.
54848
54879
  # * **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.
54849
54880
  self.dry_run = dry_run
54881
+ # Specifies whether to query vSwitches with IPv6 enabled in the region. Valid values:
54882
+ #
54883
+ # * **true**\
54884
+ # * **false**\
54885
+ #
54886
+ # If you do not set this parameter, the system queries all vSwitches in the specified region by default.
54850
54887
  self.enable_ipv_6 = enable_ipv_6
54851
54888
  # Specifies whether to query the default vSwitches in the specified region. Valid values:
54852
54889
  #
@@ -54857,9 +54894,9 @@ class DescribeVSwitchesRequest(TeaModel):
54857
54894
  self.is_default = is_default
54858
54895
  self.owner_account = owner_account
54859
54896
  self.owner_id = owner_id
54860
- # The number of the page to return. Default value: **1**.
54897
+ # The page number. Default value: **1**.
54861
54898
  self.page_number = page_number
54862
- # The number of entries to return on each page. Maximum value: **50**. Default value: **10**.
54899
+ # The number of entries per page. Maximum value: **50**. Default value: **10**.
54863
54900
  self.page_size = page_size
54864
54901
  # The region ID of the vSwitch. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
54865
54902
  #
@@ -62543,9 +62580,9 @@ class DescribeVpnGatewayResponseBodyTagsTag(TeaModel):
62543
62580
  key: str = None,
62544
62581
  value: str = None,
62545
62582
  ):
62546
- # The key of tag N.
62583
+ # The tag key.
62547
62584
  self.key = key
62548
- # The value of tag N.
62585
+ # The tag value.
62549
62586
  self.value = value
62550
62587
 
62551
62588
  def validate(self):
@@ -62676,6 +62713,7 @@ class DescribeVpnGatewayResponseBody(TeaModel):
62676
62713
  #
62677
62714
  # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
62678
62715
  self.end_time = end_time
62716
+ # The ENIs created by the system for the VPN gateway.
62679
62717
  self.eni_instance_ids = eni_instance_ids
62680
62718
  # * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the address is the IP address of the VPN gateway and can be used to create an IPsec-VPN connection or an SSL-VPN connection.
62681
62719
  #
@@ -63365,9 +63403,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
63365
63403
  self.reservation_ipsec = reservation_ipsec
63366
63404
  # The maximum number of concurrent SSL-VPN connections of the pending order.
63367
63405
  self.reservation_max_connections = reservation_max_connections
63368
- # The type of the pending order. Valid values:
63406
+ # The type of the order that has not taken effect. Valid values:
63369
63407
  #
63370
- # * **RENEWCHANGE**: renewal with a specification change
63408
+ # * **RENEWCHANGE**: renewal with upgrade or downgrade
63371
63409
  # * **TEMP_UPGRADE**: temporary upgrade
63372
63410
  # * **RENEW**: renewal
63373
63411
  self.reservation_order_type = reservation_order_type
@@ -63380,8 +63418,8 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
63380
63418
  self.reservation_ssl = reservation_ssl
63381
63419
  # The status of the pending order.
63382
63420
  #
63383
- # * **1**: indicates that the order is an order for renewal or renewal with a specification change and the order has not taken effect.
63384
- # * **2**: indicates that the order is an order for temporary upgrade and the order has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, the values of **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specifications of the VPN gateway.
63421
+ # * **1**: indicates that the order for renewal or the order for renewal with a specification change has not taken effect.
63422
+ # * **2**: indicates that the order of the temporary upgrade has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, the values of **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specifications of the VPN gateway.
63385
63423
  self.status = status
63386
63424
 
63387
63425
  def validate(self):
@@ -63529,15 +63567,15 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63529
63567
  vpn_gateway_id: str = None,
63530
63568
  vpn_type: str = None,
63531
63569
  ):
63532
- # Indicates whether Border Gateway Protocol (BGP) routes are automatically advertised to the VPC. Valid values:
63570
+ # Indicates whether BGP routes are automatically advertised to the VPC.
63533
63571
  #
63534
63572
  # * **true**\
63535
63573
  # * **false**\
63536
63574
  self.auto_propagate = auto_propagate
63537
- # The payment status of the VPN gateway. Valid values:
63575
+ # The payment status of the VPN gateway.
63538
63576
  #
63539
- # * **Normal**: The VPN gateway runs as expected.
63540
- # * **FinancialLocked**: The VPN gateway is locked due to overdue payments.
63577
+ # * **Normal**\
63578
+ # * **FinancialLocked**\
63541
63579
  self.business_status = business_status
63542
63580
  # The billing method of the VPN gateway.
63543
63581
  #
@@ -63559,13 +63597,14 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63559
63597
  self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
63560
63598
  # The BGP status of the VPN gateway. Valid values:
63561
63599
  #
63562
- # * **true**: The feature is enabled.
63563
- # * **false**: The feature is disabled.
63600
+ # * **true**\
63601
+ # * **false**\
63564
63602
  self.enable_bgp = enable_bgp
63565
63603
  # The timestamp generated when the VPN gateway expires. Unit: milliseconds.
63566
63604
  #
63567
63605
  # This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
63568
63606
  self.end_time = end_time
63607
+ # The ENIs created by the system for the VPN gateway.
63569
63608
  self.eni_instance_ids = eni_instance_ids
63570
63609
  # * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the value of this parameter is the IP address of the VPN gateway, which can be used to create IPsec-VPN or SSL-VPN connections.
63571
63610
  #
@@ -63585,9 +63624,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63585
63624
  # * **public**\
63586
63625
  # * **private**\
63587
63626
  self.network_type = network_type
63588
- # The pending orders.
63627
+ # The information about pending orders.
63589
63628
  #
63590
- # > This parameter is returned only if **IncludeReservationData** is set to **true**.
63629
+ # > This parameter is returned only if **IncludeReservationData** is set to **true**.
63591
63630
  self.reservation_data = reservation_data
63592
63631
  # The ID of the resource group to which the VPN gateway belongs.
63593
63632
  #
@@ -63634,11 +63673,11 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63634
63673
  # * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
63635
63674
  #
63636
63675
  # * **true**\
63637
- # * **false**\
63676
+ # * **false**: does not query only SQL statements that need to be optimized.
63638
63677
  #
63639
63678
  # * **description**: the description of the VPN gateway. This parameter is only for internal use.
63640
63679
  #
63641
- # * **VpnVersion**: the version number of the VPN gateway.
63680
+ # * **VpnVersion**: the version of the VPN gateway.
63642
63681
  self.tag = tag
63643
63682
  # The tags that are added to the VPN gateway.
63644
63683
  self.tags = tags
@@ -63648,7 +63687,7 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
63648
63687
  self.vpc_id = vpc_id
63649
63688
  # The ID of the VPN gateway.
63650
63689
  self.vpn_gateway_id = vpn_gateway_id
63651
- # The type of the VPN gateway.
63690
+ # The type of VPN gateway.
63652
63691
  #
63653
63692
  # Only **Normal** may be returned, which indicates a standard VPN gateway.
63654
63693
  self.vpn_type = vpn_type
@@ -69139,6 +69178,152 @@ class GetPhysicalConnectionServiceStatusResponse(TeaModel):
69139
69178
  return self
69140
69179
 
69141
69180
 
69181
+ class GetPublicIpAddressPoolServiceStatusRequest(TeaModel):
69182
+ def __init__(
69183
+ self,
69184
+ client_token: str = None,
69185
+ owner_account: str = None,
69186
+ owner_id: int = None,
69187
+ region_id: str = None,
69188
+ resource_owner_account: str = None,
69189
+ resource_owner_id: int = None,
69190
+ ):
69191
+ # The client token that is used to ensure the idempotence of the request.
69192
+ #
69193
+ # 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.
69194
+ #
69195
+ # > 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.
69196
+ self.client_token = client_token
69197
+ self.owner_account = owner_account
69198
+ self.owner_id = owner_id
69199
+ # The region ID of the IP address pool.
69200
+ #
69201
+ # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
69202
+ #
69203
+ # This parameter is required.
69204
+ self.region_id = region_id
69205
+ self.resource_owner_account = resource_owner_account
69206
+ self.resource_owner_id = resource_owner_id
69207
+
69208
+ def validate(self):
69209
+ pass
69210
+
69211
+ def to_map(self):
69212
+ _map = super().to_map()
69213
+ if _map is not None:
69214
+ return _map
69215
+
69216
+ result = dict()
69217
+ if self.client_token is not None:
69218
+ result['ClientToken'] = self.client_token
69219
+ if self.owner_account is not None:
69220
+ result['OwnerAccount'] = self.owner_account
69221
+ if self.owner_id is not None:
69222
+ result['OwnerId'] = self.owner_id
69223
+ if self.region_id is not None:
69224
+ result['RegionId'] = self.region_id
69225
+ if self.resource_owner_account is not None:
69226
+ result['ResourceOwnerAccount'] = self.resource_owner_account
69227
+ if self.resource_owner_id is not None:
69228
+ result['ResourceOwnerId'] = self.resource_owner_id
69229
+ return result
69230
+
69231
+ def from_map(self, m: dict = None):
69232
+ m = m or dict()
69233
+ if m.get('ClientToken') is not None:
69234
+ self.client_token = m.get('ClientToken')
69235
+ if m.get('OwnerAccount') is not None:
69236
+ self.owner_account = m.get('OwnerAccount')
69237
+ if m.get('OwnerId') is not None:
69238
+ self.owner_id = m.get('OwnerId')
69239
+ if m.get('RegionId') is not None:
69240
+ self.region_id = m.get('RegionId')
69241
+ if m.get('ResourceOwnerAccount') is not None:
69242
+ self.resource_owner_account = m.get('ResourceOwnerAccount')
69243
+ if m.get('ResourceOwnerId') is not None:
69244
+ self.resource_owner_id = m.get('ResourceOwnerId')
69245
+ return self
69246
+
69247
+
69248
+ class GetPublicIpAddressPoolServiceStatusResponseBody(TeaModel):
69249
+ def __init__(
69250
+ self,
69251
+ enabled: bool = None,
69252
+ request_id: str = None,
69253
+ ):
69254
+ # Indicates whether the IP address pool feature is enabled. Valid values:
69255
+ #
69256
+ # * **true**\
69257
+ # * **false** You can call OpenPublicIpAddressPoolService to enable the IP address pool feature.
69258
+ self.enabled = enabled
69259
+ # The request ID.
69260
+ self.request_id = request_id
69261
+
69262
+ def validate(self):
69263
+ pass
69264
+
69265
+ def to_map(self):
69266
+ _map = super().to_map()
69267
+ if _map is not None:
69268
+ return _map
69269
+
69270
+ result = dict()
69271
+ if self.enabled is not None:
69272
+ result['Enabled'] = self.enabled
69273
+ if self.request_id is not None:
69274
+ result['RequestId'] = self.request_id
69275
+ return result
69276
+
69277
+ def from_map(self, m: dict = None):
69278
+ m = m or dict()
69279
+ if m.get('Enabled') is not None:
69280
+ self.enabled = m.get('Enabled')
69281
+ if m.get('RequestId') is not None:
69282
+ self.request_id = m.get('RequestId')
69283
+ return self
69284
+
69285
+
69286
+ class GetPublicIpAddressPoolServiceStatusResponse(TeaModel):
69287
+ def __init__(
69288
+ self,
69289
+ headers: Dict[str, str] = None,
69290
+ status_code: int = None,
69291
+ body: GetPublicIpAddressPoolServiceStatusResponseBody = None,
69292
+ ):
69293
+ self.headers = headers
69294
+ self.status_code = status_code
69295
+ self.body = body
69296
+
69297
+ def validate(self):
69298
+ if self.body:
69299
+ self.body.validate()
69300
+
69301
+ def to_map(self):
69302
+ _map = super().to_map()
69303
+ if _map is not None:
69304
+ return _map
69305
+
69306
+ result = dict()
69307
+ if self.headers is not None:
69308
+ result['headers'] = self.headers
69309
+ if self.status_code is not None:
69310
+ result['statusCode'] = self.status_code
69311
+ if self.body is not None:
69312
+ result['body'] = self.body.to_map()
69313
+ return result
69314
+
69315
+ def from_map(self, m: dict = None):
69316
+ m = m or dict()
69317
+ if m.get('headers') is not None:
69318
+ self.headers = m.get('headers')
69319
+ if m.get('statusCode') is not None:
69320
+ self.status_code = m.get('statusCode')
69321
+ if m.get('body') is not None:
69322
+ temp_model = GetPublicIpAddressPoolServiceStatusResponseBody()
69323
+ self.body = temp_model.from_map(m['body'])
69324
+ return self
69325
+
69326
+
69142
69327
  class GetTrafficMirrorServiceStatusRequest(TeaModel):
69143
69328
  def __init__(
69144
69329
  self,
@@ -75687,6 +75872,10 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList(TeaModel):
75687
75872
  # * **CloudBox** Only cloud box users can select this type.
75688
75873
  # * **Default** (default)
75689
75874
  self.biz_type = biz_type
75875
+ # The status of the IP address pool.
75876
+ #
75877
+ # * **Normal**\
75878
+ # * **FinancialLocked**\
75690
75879
  self.business_status = business_status
75691
75880
  # The time when the IP address pool was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format.
75692
75881
  self.creation_time = creation_time
@@ -79733,7 +79922,7 @@ class ModifyBgpGroupAttributeRequest(TeaModel):
79733
79922
  # Specifies whether to clear the secret key. Valid values:
79734
79923
  #
79735
79924
  # * **true**\
79736
- # * **false**\
79925
+ # * **false** (default)
79737
79926
  self.clear_auth_key = clear_auth_key
79738
79927
  # The client token that is used to ensure the idempotence of the request.
79739
79928
  #
@@ -79745,12 +79934,12 @@ class ModifyBgpGroupAttributeRequest(TeaModel):
79745
79934
  #
79746
79935
  # The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
79747
79936
  self.description = description
79748
- # Specifies whether to use a fake ASN. Valid values:
79937
+ # Specifies whether to use a fake AS number. Valid values:
79749
79938
  #
79750
79939
  # * **false** (default)
79751
79940
  # * **true**\
79752
79941
  #
79753
- # > A router that runs BGP typically belongs only to one AS. If you need to replace an existing ASN with a new ASN and you cannot immediately modify BGP configurations, you can use fake ASNs to ensure service continuity.
79942
+ # > A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
79754
79943
  self.is_fake_asn = is_fake_asn
79755
79944
  # The custom autonomous system number (ASN) of the BGP on the Alibaba Cloud side. Valid values:
79756
79945
  #
@@ -85638,6 +85827,7 @@ class ModifyRouteTableAttributesRequest(TeaModel):
85638
85827
  region_id: str = None,
85639
85828
  resource_owner_account: str = None,
85640
85829
  resource_owner_id: int = None,
85830
+ route_propagation_enable: bool = None,
85641
85831
  route_table_id: str = None,
85642
85832
  route_table_name: str = None,
85643
85833
  ):
@@ -85655,6 +85845,7 @@ class ModifyRouteTableAttributesRequest(TeaModel):
85655
85845
  self.region_id = region_id
85656
85846
  self.resource_owner_account = resource_owner_account
85657
85847
  self.resource_owner_id = resource_owner_id
85848
+ self.route_propagation_enable = route_propagation_enable
85658
85849
  # The ID of the route table.
85659
85850
  #
85660
85851
  # This parameter is required.
@@ -85685,6 +85876,8 @@ class ModifyRouteTableAttributesRequest(TeaModel):
85685
85876
  result['ResourceOwnerAccount'] = self.resource_owner_account
85686
85877
  if self.resource_owner_id is not None:
85687
85878
  result['ResourceOwnerId'] = self.resource_owner_id
85879
+ if self.route_propagation_enable is not None:
85880
+ result['RoutePropagationEnable'] = self.route_propagation_enable
85688
85881
  if self.route_table_id is not None:
85689
85882
  result['RouteTableId'] = self.route_table_id
85690
85883
  if self.route_table_name is not None:
@@ -85705,6 +85898,8 @@ class ModifyRouteTableAttributesRequest(TeaModel):
85705
85898
  self.resource_owner_account = m.get('ResourceOwnerAccount')
85706
85899
  if m.get('ResourceOwnerId') is not None:
85707
85900
  self.resource_owner_id = m.get('ResourceOwnerId')
85901
+ if m.get('RoutePropagationEnable') is not None:
85902
+ self.route_propagation_enable = m.get('RoutePropagationEnable')
85708
85903
  if m.get('RouteTableId') is not None:
85709
85904
  self.route_table_id = m.get('RouteTableId')
85710
85905
  if m.get('RouteTableName') is not None:
@@ -93143,6 +93338,144 @@ class OpenPhysicalConnectionServiceResponse(TeaModel):
93143
93338
  return self
93144
93339
 
93145
93340
 
93341
+ class OpenPublicIpAddressPoolServiceRequest(TeaModel):
93342
+ def __init__(
93343
+ self,
93344
+ client_token: str = None,
93345
+ owner_account: str = None,
93346
+ owner_id: int = None,
93347
+ region_id: str = None,
93348
+ resource_owner_account: str = None,
93349
+ resource_owner_id: int = None,
93350
+ ):
93351
+ self.client_token = client_token
93352
+ self.owner_account = owner_account
93353
+ self.owner_id = owner_id
93354
+ # This parameter is required.
93355
+ self.region_id = region_id
93356
+ self.resource_owner_account = resource_owner_account
93357
+ self.resource_owner_id = resource_owner_id
93358
+
93359
+ def validate(self):
93360
+ pass
93361
+
93362
+ def to_map(self):
93363
+ _map = super().to_map()
93364
+ if _map is not None:
93365
+ return _map
93366
+
93367
+ result = dict()
93368
+ if self.client_token is not None:
93369
+ result['ClientToken'] = self.client_token
93370
+ if self.owner_account is not None:
93371
+ result['OwnerAccount'] = self.owner_account
93372
+ if self.owner_id is not None:
93373
+ result['OwnerId'] = self.owner_id
93374
+ if self.region_id is not None:
93375
+ result['RegionId'] = self.region_id
93376
+ if self.resource_owner_account is not None:
93377
+ result['ResourceOwnerAccount'] = self.resource_owner_account
93378
+ if self.resource_owner_id is not None:
93379
+ result['ResourceOwnerId'] = self.resource_owner_id
93380
+ return result
93381
+
93382
+ def from_map(self, m: dict = None):
93383
+ m = m or dict()
93384
+ if m.get('ClientToken') is not None:
93385
+ self.client_token = m.get('ClientToken')
93386
+ if m.get('OwnerAccount') is not None:
93387
+ self.owner_account = m.get('OwnerAccount')
93388
+ if m.get('OwnerId') is not None:
93389
+ self.owner_id = m.get('OwnerId')
93390
+ if m.get('RegionId') is not None:
93391
+ self.region_id = m.get('RegionId')
93392
+ if m.get('ResourceOwnerAccount') is not None:
93393
+ self.resource_owner_account = m.get('ResourceOwnerAccount')
93394
+ if m.get('ResourceOwnerId') is not None:
93395
+ self.resource_owner_id = m.get('ResourceOwnerId')
93396
+ return self
93397
+
93398
+
93399
+ class OpenPublicIpAddressPoolServiceResponseBody(TeaModel):
93400
+ def __init__(
93401
+ self,
93402
+ code: str = None,
93403
+ message: str = None,
93404
+ request_id: str = None,
93405
+ ):
93406
+ self.code = code
93407
+ self.message = message
93408
+ self.request_id = request_id
93409
+
93410
+ def validate(self):
93411
+ pass
93412
+
93413
+ def to_map(self):
93414
+ _map = super().to_map()
93415
+ if _map is not None:
93416
+ return _map
93417
+
93418
+ result = dict()
93419
+ if self.code is not None:
93420
+ result['Code'] = self.code
93421
+ if self.message is not None:
93422
+ result['Message'] = self.message
93423
+ if self.request_id is not None:
93424
+ result['RequestId'] = self.request_id
93425
+ return result
93426
+
93427
+ def from_map(self, m: dict = None):
93428
+ m = m or dict()
93429
+ if m.get('Code') is not None:
93430
+ self.code = m.get('Code')
93431
+ if m.get('Message') is not None:
93432
+ self.message = m.get('Message')
93433
+ if m.get('RequestId') is not None:
93434
+ self.request_id = m.get('RequestId')
93435
+ return self
93436
+
93437
+
93438
+ class OpenPublicIpAddressPoolServiceResponse(TeaModel):
93439
+ def __init__(
93440
+ self,
93441
+ headers: Dict[str, str] = None,
93442
+ status_code: int = None,
93443
+ body: OpenPublicIpAddressPoolServiceResponseBody = None,
93444
+ ):
93445
+ self.headers = headers
93446
+ self.status_code = status_code
93447
+ self.body = body
93448
+
93449
+ def validate(self):
93450
+ if self.body:
93451
+ self.body.validate()
93452
+
93453
+ def to_map(self):
93454
+ _map = super().to_map()
93455
+ if _map is not None:
93456
+ return _map
93457
+
93458
+ result = dict()
93459
+ if self.headers is not None:
93460
+ result['headers'] = self.headers
93461
+ if self.status_code is not None:
93462
+ result['statusCode'] = self.status_code
93463
+ if self.body is not None:
93464
+ result['body'] = self.body.to_map()
93465
+ return result
93466
+
93467
+ def from_map(self, m: dict = None):
93468
+ m = m or dict()
93469
+ if m.get('headers') is not None:
93470
+ self.headers = m.get('headers')
93471
+ if m.get('statusCode') is not None:
93472
+ self.status_code = m.get('statusCode')
93473
+ if m.get('body') is not None:
93474
+ temp_model = OpenPublicIpAddressPoolServiceResponseBody()
93475
+ self.body = temp_model.from_map(m['body'])
93476
+ return self
93477
+
93478
+
93146
93479
  class OpenTrafficMirrorServiceRequest(TeaModel):
93147
93480
  def __init__(
93148
93481
  self,
@@ -98663,6 +98996,7 @@ class UpdateFailoverTestJobRequest(TeaModel):
98663
98996
  self,
98664
98997
  client_token: str = None,
98665
98998
  description: str = None,
98999
+ dry_run: bool = None,
98666
99000
  job_duration: int = None,
98667
99001
  job_id: str = None,
98668
99002
  name: str = None,
@@ -98674,6 +99008,7 @@ class UpdateFailoverTestJobRequest(TeaModel):
98674
99008
  ):
98675
99009
  self.client_token = client_token
98676
99010
  self.description = description
99011
+ self.dry_run = dry_run
98677
99012
  self.job_duration = job_duration
98678
99013
  # This parameter is required.
98679
99014
  self.job_id = job_id
@@ -98697,6 +99032,8 @@ class UpdateFailoverTestJobRequest(TeaModel):
98697
99032
  result['ClientToken'] = self.client_token
98698
99033
  if self.description is not None:
98699
99034
  result['Description'] = self.description
99035
+ if self.dry_run is not None:
99036
+ result['DryRun'] = self.dry_run
98700
99037
  if self.job_duration is not None:
98701
99038
  result['JobDuration'] = self.job_duration
98702
99039
  if self.job_id is not None:
@@ -98721,6 +99058,8 @@ class UpdateFailoverTestJobRequest(TeaModel):
98721
99058
  self.client_token = m.get('ClientToken')
98722
99059
  if m.get('Description') is not None:
98723
99060
  self.description = m.get('Description')
99061
+ if m.get('DryRun') is not None:
99062
+ self.dry_run = m.get('DryRun')
98724
99063
  if m.get('JobDuration') is not None:
98725
99064
  self.job_duration = m.get('JobDuration')
98726
99065
  if m.get('JobId') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.6.8
3
+ Version: 6.7.1
4
4
  Summary: Alibaba Cloud Virtual Private Cloud (20160428) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -21,7 +21,7 @@ Classifier: Topic :: Software Development
21
21
  Requires-Python: >=3.6
22
22
  Description-Content-Type: text/markdown
23
23
  Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.12
24
- Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.9
24
+ Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.10
25
25
  Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
26
26
  Requires-Dist: alibabacloud-endpoint-util <1.0.0,>=0.0.3
27
27
 
@@ -0,0 +1,8 @@
1
+ alibabacloud_vpc20160428/__init__.py,sha256=PZJaPNfUPfzLN5YkPXEz8qyK5oQ9KaanQQC-YTM1dVE,21
2
+ alibabacloud_vpc20160428/client.py,sha256=XLRHYRydSmYCjXWwpJFOEyXSALhiLcSByn4SSRrBviI,2787189
3
+ alibabacloud_vpc20160428/models.py,sha256=U9ouc5ALdM70j5RSRqZXnJk_yu7LiVXZeVKntreyAso,3951855
4
+ alibabacloud_vpc20160428-6.7.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.7.1.dist-info/METADATA,sha256=H3CNb61_dtPXuj-5Q_n4imqnpqxMfHICPFVR4DXUqDg,2302
6
+ alibabacloud_vpc20160428-6.7.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ alibabacloud_vpc20160428-6.7.1.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.7.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_vpc20160428/__init__.py,sha256=os30UpKzjKlKPj8QkbvLJmR9B6vr36vn5ZPP7R6JP5U,21
2
- alibabacloud_vpc20160428/client.py,sha256=5eiJhSikw72TmsOzJatElgdAUdumIU4w_8agzJ5F9FI,2775123
3
- alibabacloud_vpc20160428/models.py,sha256=ctdkX26aaUgFSlrUWc-g4Gtays615dUTnlo_8yj3HqY,3939924
4
- alibabacloud_vpc20160428-6.6.8.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_vpc20160428-6.6.8.dist-info/METADATA,sha256=jvCfFiiU54LfRI0F72buOHXoUMgy663X0mNGK-1Yt94,2301
6
- alibabacloud_vpc20160428-6.6.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- alibabacloud_vpc20160428-6.6.8.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
- alibabacloud_vpc20160428-6.6.8.dist-info/RECORD,,