alibabacloud-vpc20160428 6.7.4__py3-none-any.whl → 6.9.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.
@@ -1 +1 @@
1
- __version__ = '6.7.4'
1
+ __version__ = '6.9.0'
@@ -7381,7 +7381,16 @@ class Client(OpenApiClient):
7381
7381
  runtime: util_models.RuntimeOptions,
7382
7382
  ) -> vpc_20160428_models.CreateFailoverTestJobResponse:
7383
7383
  """
7384
- @summary 创建故障演练任务
7384
+ @summary Creates a failover test.
7385
+
7386
+ @description You cannot create a failover test in the following scenarios:
7387
+ You have created a failover test in the region and its type is StartNow.
7388
+ The Express Connect circuit or hosted connection has pending orders or overdue payments.
7389
+ A failover test is already performed on the Express Connect circuit or hosted connection.
7390
+ More than one hosted connection is created over the Express Connect circuit.
7391
+ More than one cross-account VBR is created on the Express Connect circuit.
7392
+ No VBR is associated with the hosted connection.
7393
+ The VLAN ID of the hosted connection is set to 0.
7385
7394
 
7386
7395
  @param request: CreateFailoverTestJobRequest
7387
7396
  @param runtime: runtime options for this request RuntimeOptions
@@ -7440,7 +7449,16 @@ class Client(OpenApiClient):
7440
7449
  runtime: util_models.RuntimeOptions,
7441
7450
  ) -> vpc_20160428_models.CreateFailoverTestJobResponse:
7442
7451
  """
7443
- @summary 创建故障演练任务
7452
+ @summary Creates a failover test.
7453
+
7454
+ @description You cannot create a failover test in the following scenarios:
7455
+ You have created a failover test in the region and its type is StartNow.
7456
+ The Express Connect circuit or hosted connection has pending orders or overdue payments.
7457
+ A failover test is already performed on the Express Connect circuit or hosted connection.
7458
+ More than one hosted connection is created over the Express Connect circuit.
7459
+ More than one cross-account VBR is created on the Express Connect circuit.
7460
+ No VBR is associated with the hosted connection.
7461
+ The VLAN ID of the hosted connection is set to 0.
7444
7462
 
7445
7463
  @param request: CreateFailoverTestJobRequest
7446
7464
  @param runtime: runtime options for this request RuntimeOptions
@@ -7498,7 +7516,16 @@ class Client(OpenApiClient):
7498
7516
  request: vpc_20160428_models.CreateFailoverTestJobRequest,
7499
7517
  ) -> vpc_20160428_models.CreateFailoverTestJobResponse:
7500
7518
  """
7501
- @summary 创建故障演练任务
7519
+ @summary Creates a failover test.
7520
+
7521
+ @description You cannot create a failover test in the following scenarios:
7522
+ You have created a failover test in the region and its type is StartNow.
7523
+ The Express Connect circuit or hosted connection has pending orders or overdue payments.
7524
+ A failover test is already performed on the Express Connect circuit or hosted connection.
7525
+ More than one hosted connection is created over the Express Connect circuit.
7526
+ More than one cross-account VBR is created on the Express Connect circuit.
7527
+ No VBR is associated with the hosted connection.
7528
+ The VLAN ID of the hosted connection is set to 0.
7502
7529
 
7503
7530
  @param request: CreateFailoverTestJobRequest
7504
7531
  @return: CreateFailoverTestJobResponse
@@ -7511,7 +7538,16 @@ class Client(OpenApiClient):
7511
7538
  request: vpc_20160428_models.CreateFailoverTestJobRequest,
7512
7539
  ) -> vpc_20160428_models.CreateFailoverTestJobResponse:
7513
7540
  """
7514
- @summary 创建故障演练任务
7541
+ @summary Creates a failover test.
7542
+
7543
+ @description You cannot create a failover test in the following scenarios:
7544
+ You have created a failover test in the region and its type is StartNow.
7545
+ The Express Connect circuit or hosted connection has pending orders or overdue payments.
7546
+ A failover test is already performed on the Express Connect circuit or hosted connection.
7547
+ More than one hosted connection is created over the Express Connect circuit.
7548
+ More than one cross-account VBR is created on the Express Connect circuit.
7549
+ No VBR is associated with the hosted connection.
7550
+ The VLAN ID of the hosted connection is set to 0.
7515
7551
 
7516
7552
  @param request: CreateFailoverTestJobRequest
7517
7553
  @return: CreateFailoverTestJobResponse
@@ -10517,7 +10553,7 @@ class Client(OpenApiClient):
10517
10553
  runtime: util_models.RuntimeOptions,
10518
10554
  ) -> vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderResponse:
10519
10555
  """
10520
- @summary Creates an order for resource usage fees.
10556
+ @summary Creates an order for resource occupation of an Express Connect circuit.
10521
10557
 
10522
10558
  @description > You can call this operation only when the Express Connect circuit is in the *Complete** state.
10523
10559
 
@@ -10574,7 +10610,7 @@ class Client(OpenApiClient):
10574
10610
  runtime: util_models.RuntimeOptions,
10575
10611
  ) -> vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderResponse:
10576
10612
  """
10577
- @summary Creates an order for resource usage fees.
10613
+ @summary Creates an order for resource occupation of an Express Connect circuit.
10578
10614
 
10579
10615
  @description > You can call this operation only when the Express Connect circuit is in the *Complete** state.
10580
10616
 
@@ -10630,7 +10666,7 @@ class Client(OpenApiClient):
10630
10666
  request: vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderRequest,
10631
10667
  ) -> vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderResponse:
10632
10668
  """
10633
- @summary Creates an order for resource usage fees.
10669
+ @summary Creates an order for resource occupation of an Express Connect circuit.
10634
10670
 
10635
10671
  @description > You can call this operation only when the Express Connect circuit is in the *Complete** state.
10636
10672
 
@@ -10645,7 +10681,7 @@ class Client(OpenApiClient):
10645
10681
  request: vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderRequest,
10646
10682
  ) -> vpc_20160428_models.CreatePhysicalConnectionOccupancyOrderResponse:
10647
10683
  """
10648
- @summary Creates an order for resource usage fees.
10684
+ @summary Creates an order for resource occupation of an Express Connect circuit.
10649
10685
 
10650
10686
  @description > You can call this operation only when the Express Connect circuit is in the *Complete** state.
10651
10687
 
@@ -27717,6 +27753,150 @@ class Client(OpenApiClient):
27717
27753
  runtime = util_models.RuntimeOptions()
27718
27754
  return await self.describe_ipv_6gateways_with_options_async(request, runtime)
27719
27755
 
27756
+ def describe_nat_gateway_associate_network_interfaces_with_options(
27757
+ self,
27758
+ request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
27759
+ runtime: util_models.RuntimeOptions,
27760
+ ) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
27761
+ """
27762
+ @summary 查询NAT已绑定ENI信息
27763
+
27764
+ @param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
27765
+ @param runtime: runtime options for this request RuntimeOptions
27766
+ @return: DescribeNatGatewayAssociateNetworkInterfacesResponse
27767
+ """
27768
+ UtilClient.validate_model(request)
27769
+ query = {}
27770
+ if not UtilClient.is_unset(request.client_token):
27771
+ query['ClientToken'] = request.client_token
27772
+ if not UtilClient.is_unset(request.filter):
27773
+ query['Filter'] = request.filter
27774
+ if not UtilClient.is_unset(request.max_results):
27775
+ query['MaxResults'] = request.max_results
27776
+ if not UtilClient.is_unset(request.nat_gateway_id):
27777
+ query['NatGatewayId'] = request.nat_gateway_id
27778
+ if not UtilClient.is_unset(request.next_token):
27779
+ query['NextToken'] = request.next_token
27780
+ if not UtilClient.is_unset(request.owner_account):
27781
+ query['OwnerAccount'] = request.owner_account
27782
+ if not UtilClient.is_unset(request.owner_id):
27783
+ query['OwnerId'] = request.owner_id
27784
+ if not UtilClient.is_unset(request.region_id):
27785
+ query['RegionId'] = request.region_id
27786
+ if not UtilClient.is_unset(request.region_id):
27787
+ query['RegionId'] = request.region_id
27788
+ if not UtilClient.is_unset(request.resource_group_id):
27789
+ query['ResourceGroupId'] = request.resource_group_id
27790
+ if not UtilClient.is_unset(request.resource_owner_account):
27791
+ query['ResourceOwnerAccount'] = request.resource_owner_account
27792
+ if not UtilClient.is_unset(request.resource_owner_id):
27793
+ query['ResourceOwnerId'] = request.resource_owner_id
27794
+ if not UtilClient.is_unset(request.tag):
27795
+ query['Tag'] = request.tag
27796
+ req = open_api_models.OpenApiRequest(
27797
+ query=OpenApiUtilClient.query(query)
27798
+ )
27799
+ params = open_api_models.Params(
27800
+ action='DescribeNatGatewayAssociateNetworkInterfaces',
27801
+ version='2016-04-28',
27802
+ protocol='HTTPS',
27803
+ pathname='/',
27804
+ method='POST',
27805
+ auth_type='AK',
27806
+ style='RPC',
27807
+ req_body_type='formData',
27808
+ body_type='json'
27809
+ )
27810
+ return TeaCore.from_map(
27811
+ vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse(),
27812
+ self.call_api(params, req, runtime)
27813
+ )
27814
+
27815
+ async def describe_nat_gateway_associate_network_interfaces_with_options_async(
27816
+ self,
27817
+ request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
27818
+ runtime: util_models.RuntimeOptions,
27819
+ ) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
27820
+ """
27821
+ @summary 查询NAT已绑定ENI信息
27822
+
27823
+ @param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
27824
+ @param runtime: runtime options for this request RuntimeOptions
27825
+ @return: DescribeNatGatewayAssociateNetworkInterfacesResponse
27826
+ """
27827
+ UtilClient.validate_model(request)
27828
+ query = {}
27829
+ if not UtilClient.is_unset(request.client_token):
27830
+ query['ClientToken'] = request.client_token
27831
+ if not UtilClient.is_unset(request.filter):
27832
+ query['Filter'] = request.filter
27833
+ if not UtilClient.is_unset(request.max_results):
27834
+ query['MaxResults'] = request.max_results
27835
+ if not UtilClient.is_unset(request.nat_gateway_id):
27836
+ query['NatGatewayId'] = request.nat_gateway_id
27837
+ if not UtilClient.is_unset(request.next_token):
27838
+ query['NextToken'] = request.next_token
27839
+ if not UtilClient.is_unset(request.owner_account):
27840
+ query['OwnerAccount'] = request.owner_account
27841
+ if not UtilClient.is_unset(request.owner_id):
27842
+ query['OwnerId'] = request.owner_id
27843
+ if not UtilClient.is_unset(request.region_id):
27844
+ query['RegionId'] = request.region_id
27845
+ if not UtilClient.is_unset(request.region_id):
27846
+ query['RegionId'] = request.region_id
27847
+ if not UtilClient.is_unset(request.resource_group_id):
27848
+ query['ResourceGroupId'] = request.resource_group_id
27849
+ if not UtilClient.is_unset(request.resource_owner_account):
27850
+ query['ResourceOwnerAccount'] = request.resource_owner_account
27851
+ if not UtilClient.is_unset(request.resource_owner_id):
27852
+ query['ResourceOwnerId'] = request.resource_owner_id
27853
+ if not UtilClient.is_unset(request.tag):
27854
+ query['Tag'] = request.tag
27855
+ req = open_api_models.OpenApiRequest(
27856
+ query=OpenApiUtilClient.query(query)
27857
+ )
27858
+ params = open_api_models.Params(
27859
+ action='DescribeNatGatewayAssociateNetworkInterfaces',
27860
+ version='2016-04-28',
27861
+ protocol='HTTPS',
27862
+ pathname='/',
27863
+ method='POST',
27864
+ auth_type='AK',
27865
+ style='RPC',
27866
+ req_body_type='formData',
27867
+ body_type='json'
27868
+ )
27869
+ return TeaCore.from_map(
27870
+ vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse(),
27871
+ await self.call_api_async(params, req, runtime)
27872
+ )
27873
+
27874
+ def describe_nat_gateway_associate_network_interfaces(
27875
+ self,
27876
+ request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
27877
+ ) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
27878
+ """
27879
+ @summary 查询NAT已绑定ENI信息
27880
+
27881
+ @param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
27882
+ @return: DescribeNatGatewayAssociateNetworkInterfacesResponse
27883
+ """
27884
+ runtime = util_models.RuntimeOptions()
27885
+ return self.describe_nat_gateway_associate_network_interfaces_with_options(request, runtime)
27886
+
27887
+ async def describe_nat_gateway_associate_network_interfaces_async(
27888
+ self,
27889
+ request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
27890
+ ) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
27891
+ """
27892
+ @summary 查询NAT已绑定ENI信息
27893
+
27894
+ @param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
27895
+ @return: DescribeNatGatewayAssociateNetworkInterfacesResponse
27896
+ """
27897
+ runtime = util_models.RuntimeOptions()
27898
+ return await self.describe_nat_gateway_associate_network_interfaces_with_options_async(request, runtime)
27899
+
27720
27900
  def describe_nat_gateways_with_options(
27721
27901
  self,
27722
27902
  request: vpc_20160428_models.DescribeNatGatewaysRequest,
@@ -39871,6 +40051,146 @@ class Client(OpenApiClient):
39871
40051
  runtime = util_models.RuntimeOptions()
39872
40052
  return await self.list_vpc_gateway_endpoints_with_options_async(request, runtime)
39873
40053
 
40054
+ def list_vpc_published_route_entries_with_options(
40055
+ self,
40056
+ request: vpc_20160428_models.ListVpcPublishedRouteEntriesRequest,
40057
+ runtime: util_models.RuntimeOptions,
40058
+ ) -> vpc_20160428_models.ListVpcPublishedRouteEntriesResponse:
40059
+ """
40060
+ @summary 查询路由发布情况
40061
+
40062
+ @param request: ListVpcPublishedRouteEntriesRequest
40063
+ @param runtime: runtime options for this request RuntimeOptions
40064
+ @return: ListVpcPublishedRouteEntriesResponse
40065
+ """
40066
+ UtilClient.validate_model(request)
40067
+ query = {}
40068
+ if not UtilClient.is_unset(request.destination_cidr_block):
40069
+ query['DestinationCidrBlock'] = request.destination_cidr_block
40070
+ if not UtilClient.is_unset(request.max_results):
40071
+ query['MaxResults'] = request.max_results
40072
+ if not UtilClient.is_unset(request.next_token):
40073
+ query['NextToken'] = request.next_token
40074
+ if not UtilClient.is_unset(request.owner_account):
40075
+ query['OwnerAccount'] = request.owner_account
40076
+ if not UtilClient.is_unset(request.owner_id):
40077
+ query['OwnerId'] = request.owner_id
40078
+ if not UtilClient.is_unset(request.region_id):
40079
+ query['RegionId'] = request.region_id
40080
+ if not UtilClient.is_unset(request.region_id):
40081
+ query['RegionId'] = request.region_id
40082
+ if not UtilClient.is_unset(request.resource_owner_account):
40083
+ query['ResourceOwnerAccount'] = request.resource_owner_account
40084
+ if not UtilClient.is_unset(request.resource_owner_id):
40085
+ query['ResourceOwnerId'] = request.resource_owner_id
40086
+ if not UtilClient.is_unset(request.route_table_id):
40087
+ query['RouteTableId'] = request.route_table_id
40088
+ if not UtilClient.is_unset(request.target_instance_id):
40089
+ query['TargetInstanceId'] = request.target_instance_id
40090
+ if not UtilClient.is_unset(request.target_type):
40091
+ query['TargetType'] = request.target_type
40092
+ req = open_api_models.OpenApiRequest(
40093
+ query=OpenApiUtilClient.query(query)
40094
+ )
40095
+ params = open_api_models.Params(
40096
+ action='ListVpcPublishedRouteEntries',
40097
+ version='2016-04-28',
40098
+ protocol='HTTPS',
40099
+ pathname='/',
40100
+ method='POST',
40101
+ auth_type='AK',
40102
+ style='RPC',
40103
+ req_body_type='formData',
40104
+ body_type='json'
40105
+ )
40106
+ return TeaCore.from_map(
40107
+ vpc_20160428_models.ListVpcPublishedRouteEntriesResponse(),
40108
+ self.call_api(params, req, runtime)
40109
+ )
40110
+
40111
+ async def list_vpc_published_route_entries_with_options_async(
40112
+ self,
40113
+ request: vpc_20160428_models.ListVpcPublishedRouteEntriesRequest,
40114
+ runtime: util_models.RuntimeOptions,
40115
+ ) -> vpc_20160428_models.ListVpcPublishedRouteEntriesResponse:
40116
+ """
40117
+ @summary 查询路由发布情况
40118
+
40119
+ @param request: ListVpcPublishedRouteEntriesRequest
40120
+ @param runtime: runtime options for this request RuntimeOptions
40121
+ @return: ListVpcPublishedRouteEntriesResponse
40122
+ """
40123
+ UtilClient.validate_model(request)
40124
+ query = {}
40125
+ if not UtilClient.is_unset(request.destination_cidr_block):
40126
+ query['DestinationCidrBlock'] = request.destination_cidr_block
40127
+ if not UtilClient.is_unset(request.max_results):
40128
+ query['MaxResults'] = request.max_results
40129
+ if not UtilClient.is_unset(request.next_token):
40130
+ query['NextToken'] = request.next_token
40131
+ if not UtilClient.is_unset(request.owner_account):
40132
+ query['OwnerAccount'] = request.owner_account
40133
+ if not UtilClient.is_unset(request.owner_id):
40134
+ query['OwnerId'] = request.owner_id
40135
+ if not UtilClient.is_unset(request.region_id):
40136
+ query['RegionId'] = request.region_id
40137
+ if not UtilClient.is_unset(request.region_id):
40138
+ query['RegionId'] = request.region_id
40139
+ if not UtilClient.is_unset(request.resource_owner_account):
40140
+ query['ResourceOwnerAccount'] = request.resource_owner_account
40141
+ if not UtilClient.is_unset(request.resource_owner_id):
40142
+ query['ResourceOwnerId'] = request.resource_owner_id
40143
+ if not UtilClient.is_unset(request.route_table_id):
40144
+ query['RouteTableId'] = request.route_table_id
40145
+ if not UtilClient.is_unset(request.target_instance_id):
40146
+ query['TargetInstanceId'] = request.target_instance_id
40147
+ if not UtilClient.is_unset(request.target_type):
40148
+ query['TargetType'] = request.target_type
40149
+ req = open_api_models.OpenApiRequest(
40150
+ query=OpenApiUtilClient.query(query)
40151
+ )
40152
+ params = open_api_models.Params(
40153
+ action='ListVpcPublishedRouteEntries',
40154
+ version='2016-04-28',
40155
+ protocol='HTTPS',
40156
+ pathname='/',
40157
+ method='POST',
40158
+ auth_type='AK',
40159
+ style='RPC',
40160
+ req_body_type='formData',
40161
+ body_type='json'
40162
+ )
40163
+ return TeaCore.from_map(
40164
+ vpc_20160428_models.ListVpcPublishedRouteEntriesResponse(),
40165
+ await self.call_api_async(params, req, runtime)
40166
+ )
40167
+
40168
+ def list_vpc_published_route_entries(
40169
+ self,
40170
+ request: vpc_20160428_models.ListVpcPublishedRouteEntriesRequest,
40171
+ ) -> vpc_20160428_models.ListVpcPublishedRouteEntriesResponse:
40172
+ """
40173
+ @summary 查询路由发布情况
40174
+
40175
+ @param request: ListVpcPublishedRouteEntriesRequest
40176
+ @return: ListVpcPublishedRouteEntriesResponse
40177
+ """
40178
+ runtime = util_models.RuntimeOptions()
40179
+ return self.list_vpc_published_route_entries_with_options(request, runtime)
40180
+
40181
+ async def list_vpc_published_route_entries_async(
40182
+ self,
40183
+ request: vpc_20160428_models.ListVpcPublishedRouteEntriesRequest,
40184
+ ) -> vpc_20160428_models.ListVpcPublishedRouteEntriesResponse:
40185
+ """
40186
+ @summary 查询路由发布情况
40187
+
40188
+ @param request: ListVpcPublishedRouteEntriesRequest
40189
+ @return: ListVpcPublishedRouteEntriesResponse
40190
+ """
40191
+ runtime = util_models.RuntimeOptions()
40192
+ return await self.list_vpc_published_route_entries_with_options_async(request, runtime)
40193
+
39874
40194
  def list_vpn_certificate_associations_with_options(
39875
40195
  self,
39876
40196
  request: vpc_20160428_models.ListVpnCertificateAssociationsRequest,
@@ -48941,6 +49261,138 @@ class Client(OpenApiClient):
48941
49261
  runtime = util_models.RuntimeOptions()
48942
49262
  return await self.open_traffic_mirror_service_with_options_async(request, runtime)
48943
49263
 
49264
+ def publish_vpc_route_entries_with_options(
49265
+ self,
49266
+ request: vpc_20160428_models.PublishVpcRouteEntriesRequest,
49267
+ runtime: util_models.RuntimeOptions,
49268
+ ) -> vpc_20160428_models.PublishVpcRouteEntriesResponse:
49269
+ """
49270
+ @summary 发布VPC路由
49271
+
49272
+ @param request: PublishVpcRouteEntriesRequest
49273
+ @param runtime: runtime options for this request RuntimeOptions
49274
+ @return: PublishVpcRouteEntriesResponse
49275
+ """
49276
+ UtilClient.validate_model(request)
49277
+ query = {}
49278
+ if not UtilClient.is_unset(request.dry_run):
49279
+ query['DryRun'] = request.dry_run
49280
+ if not UtilClient.is_unset(request.owner_account):
49281
+ query['OwnerAccount'] = request.owner_account
49282
+ if not UtilClient.is_unset(request.owner_id):
49283
+ query['OwnerId'] = request.owner_id
49284
+ if not UtilClient.is_unset(request.region_id):
49285
+ query['RegionId'] = request.region_id
49286
+ if not UtilClient.is_unset(request.region_id):
49287
+ query['RegionId'] = request.region_id
49288
+ if not UtilClient.is_unset(request.resource_owner_account):
49289
+ query['ResourceOwnerAccount'] = request.resource_owner_account
49290
+ if not UtilClient.is_unset(request.resource_owner_id):
49291
+ query['ResourceOwnerId'] = request.resource_owner_id
49292
+ if not UtilClient.is_unset(request.route_entries):
49293
+ query['RouteEntries'] = request.route_entries
49294
+ if not UtilClient.is_unset(request.target_instance_id):
49295
+ query['TargetInstanceId'] = request.target_instance_id
49296
+ if not UtilClient.is_unset(request.target_type):
49297
+ query['TargetType'] = request.target_type
49298
+ req = open_api_models.OpenApiRequest(
49299
+ query=OpenApiUtilClient.query(query)
49300
+ )
49301
+ params = open_api_models.Params(
49302
+ action='PublishVpcRouteEntries',
49303
+ version='2016-04-28',
49304
+ protocol='HTTPS',
49305
+ pathname='/',
49306
+ method='POST',
49307
+ auth_type='AK',
49308
+ style='RPC',
49309
+ req_body_type='formData',
49310
+ body_type='json'
49311
+ )
49312
+ return TeaCore.from_map(
49313
+ vpc_20160428_models.PublishVpcRouteEntriesResponse(),
49314
+ self.call_api(params, req, runtime)
49315
+ )
49316
+
49317
+ async def publish_vpc_route_entries_with_options_async(
49318
+ self,
49319
+ request: vpc_20160428_models.PublishVpcRouteEntriesRequest,
49320
+ runtime: util_models.RuntimeOptions,
49321
+ ) -> vpc_20160428_models.PublishVpcRouteEntriesResponse:
49322
+ """
49323
+ @summary 发布VPC路由
49324
+
49325
+ @param request: PublishVpcRouteEntriesRequest
49326
+ @param runtime: runtime options for this request RuntimeOptions
49327
+ @return: PublishVpcRouteEntriesResponse
49328
+ """
49329
+ UtilClient.validate_model(request)
49330
+ query = {}
49331
+ if not UtilClient.is_unset(request.dry_run):
49332
+ query['DryRun'] = request.dry_run
49333
+ if not UtilClient.is_unset(request.owner_account):
49334
+ query['OwnerAccount'] = request.owner_account
49335
+ if not UtilClient.is_unset(request.owner_id):
49336
+ query['OwnerId'] = request.owner_id
49337
+ if not UtilClient.is_unset(request.region_id):
49338
+ query['RegionId'] = request.region_id
49339
+ if not UtilClient.is_unset(request.region_id):
49340
+ query['RegionId'] = request.region_id
49341
+ if not UtilClient.is_unset(request.resource_owner_account):
49342
+ query['ResourceOwnerAccount'] = request.resource_owner_account
49343
+ if not UtilClient.is_unset(request.resource_owner_id):
49344
+ query['ResourceOwnerId'] = request.resource_owner_id
49345
+ if not UtilClient.is_unset(request.route_entries):
49346
+ query['RouteEntries'] = request.route_entries
49347
+ if not UtilClient.is_unset(request.target_instance_id):
49348
+ query['TargetInstanceId'] = request.target_instance_id
49349
+ if not UtilClient.is_unset(request.target_type):
49350
+ query['TargetType'] = request.target_type
49351
+ req = open_api_models.OpenApiRequest(
49352
+ query=OpenApiUtilClient.query(query)
49353
+ )
49354
+ params = open_api_models.Params(
49355
+ action='PublishVpcRouteEntries',
49356
+ version='2016-04-28',
49357
+ protocol='HTTPS',
49358
+ pathname='/',
49359
+ method='POST',
49360
+ auth_type='AK',
49361
+ style='RPC',
49362
+ req_body_type='formData',
49363
+ body_type='json'
49364
+ )
49365
+ return TeaCore.from_map(
49366
+ vpc_20160428_models.PublishVpcRouteEntriesResponse(),
49367
+ await self.call_api_async(params, req, runtime)
49368
+ )
49369
+
49370
+ def publish_vpc_route_entries(
49371
+ self,
49372
+ request: vpc_20160428_models.PublishVpcRouteEntriesRequest,
49373
+ ) -> vpc_20160428_models.PublishVpcRouteEntriesResponse:
49374
+ """
49375
+ @summary 发布VPC路由
49376
+
49377
+ @param request: PublishVpcRouteEntriesRequest
49378
+ @return: PublishVpcRouteEntriesResponse
49379
+ """
49380
+ runtime = util_models.RuntimeOptions()
49381
+ return self.publish_vpc_route_entries_with_options(request, runtime)
49382
+
49383
+ async def publish_vpc_route_entries_async(
49384
+ self,
49385
+ request: vpc_20160428_models.PublishVpcRouteEntriesRequest,
49386
+ ) -> vpc_20160428_models.PublishVpcRouteEntriesResponse:
49387
+ """
49388
+ @summary 发布VPC路由
49389
+
49390
+ @param request: PublishVpcRouteEntriesRequest
49391
+ @return: PublishVpcRouteEntriesResponse
49392
+ """
49393
+ runtime = util_models.RuntimeOptions()
49394
+ return await self.publish_vpc_route_entries_with_options_async(request, runtime)
49395
+
48944
49396
  def publish_vpn_route_entry_with_options(
48945
49397
  self,
48946
49398
  request: vpc_20160428_models.PublishVpnRouteEntryRequest,
@@ -55492,3 +55944,135 @@ class Client(OpenApiClient):
55492
55944
  """
55493
55945
  runtime = util_models.RuntimeOptions()
55494
55946
  return await self.vpc_describe_vpc_nat_gateway_network_interface_quota_with_options_async(request, runtime)
55947
+
55948
+ def withdraw_vpc_published_route_entries_with_options(
55949
+ self,
55950
+ request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
55951
+ runtime: util_models.RuntimeOptions,
55952
+ ) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
55953
+ """
55954
+ @summary 撤回VPC已发布路由
55955
+
55956
+ @param request: WithdrawVpcPublishedRouteEntriesRequest
55957
+ @param runtime: runtime options for this request RuntimeOptions
55958
+ @return: WithdrawVpcPublishedRouteEntriesResponse
55959
+ """
55960
+ UtilClient.validate_model(request)
55961
+ query = {}
55962
+ if not UtilClient.is_unset(request.dry_run):
55963
+ query['DryRun'] = request.dry_run
55964
+ if not UtilClient.is_unset(request.owner_account):
55965
+ query['OwnerAccount'] = request.owner_account
55966
+ if not UtilClient.is_unset(request.owner_id):
55967
+ query['OwnerId'] = request.owner_id
55968
+ if not UtilClient.is_unset(request.region_id):
55969
+ query['RegionId'] = request.region_id
55970
+ if not UtilClient.is_unset(request.region_id):
55971
+ query['RegionId'] = request.region_id
55972
+ if not UtilClient.is_unset(request.resource_owner_account):
55973
+ query['ResourceOwnerAccount'] = request.resource_owner_account
55974
+ if not UtilClient.is_unset(request.resource_owner_id):
55975
+ query['ResourceOwnerId'] = request.resource_owner_id
55976
+ if not UtilClient.is_unset(request.route_entries):
55977
+ query['RouteEntries'] = request.route_entries
55978
+ if not UtilClient.is_unset(request.target_instance_id):
55979
+ query['TargetInstanceId'] = request.target_instance_id
55980
+ if not UtilClient.is_unset(request.target_type):
55981
+ query['TargetType'] = request.target_type
55982
+ req = open_api_models.OpenApiRequest(
55983
+ query=OpenApiUtilClient.query(query)
55984
+ )
55985
+ params = open_api_models.Params(
55986
+ action='WithdrawVpcPublishedRouteEntries',
55987
+ version='2016-04-28',
55988
+ protocol='HTTPS',
55989
+ pathname='/',
55990
+ method='POST',
55991
+ auth_type='AK',
55992
+ style='RPC',
55993
+ req_body_type='formData',
55994
+ body_type='json'
55995
+ )
55996
+ return TeaCore.from_map(
55997
+ vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse(),
55998
+ self.call_api(params, req, runtime)
55999
+ )
56000
+
56001
+ async def withdraw_vpc_published_route_entries_with_options_async(
56002
+ self,
56003
+ request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
56004
+ runtime: util_models.RuntimeOptions,
56005
+ ) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
56006
+ """
56007
+ @summary 撤回VPC已发布路由
56008
+
56009
+ @param request: WithdrawVpcPublishedRouteEntriesRequest
56010
+ @param runtime: runtime options for this request RuntimeOptions
56011
+ @return: WithdrawVpcPublishedRouteEntriesResponse
56012
+ """
56013
+ UtilClient.validate_model(request)
56014
+ query = {}
56015
+ if not UtilClient.is_unset(request.dry_run):
56016
+ query['DryRun'] = request.dry_run
56017
+ if not UtilClient.is_unset(request.owner_account):
56018
+ query['OwnerAccount'] = request.owner_account
56019
+ if not UtilClient.is_unset(request.owner_id):
56020
+ query['OwnerId'] = request.owner_id
56021
+ if not UtilClient.is_unset(request.region_id):
56022
+ query['RegionId'] = request.region_id
56023
+ if not UtilClient.is_unset(request.region_id):
56024
+ query['RegionId'] = request.region_id
56025
+ if not UtilClient.is_unset(request.resource_owner_account):
56026
+ query['ResourceOwnerAccount'] = request.resource_owner_account
56027
+ if not UtilClient.is_unset(request.resource_owner_id):
56028
+ query['ResourceOwnerId'] = request.resource_owner_id
56029
+ if not UtilClient.is_unset(request.route_entries):
56030
+ query['RouteEntries'] = request.route_entries
56031
+ if not UtilClient.is_unset(request.target_instance_id):
56032
+ query['TargetInstanceId'] = request.target_instance_id
56033
+ if not UtilClient.is_unset(request.target_type):
56034
+ query['TargetType'] = request.target_type
56035
+ req = open_api_models.OpenApiRequest(
56036
+ query=OpenApiUtilClient.query(query)
56037
+ )
56038
+ params = open_api_models.Params(
56039
+ action='WithdrawVpcPublishedRouteEntries',
56040
+ version='2016-04-28',
56041
+ protocol='HTTPS',
56042
+ pathname='/',
56043
+ method='POST',
56044
+ auth_type='AK',
56045
+ style='RPC',
56046
+ req_body_type='formData',
56047
+ body_type='json'
56048
+ )
56049
+ return TeaCore.from_map(
56050
+ vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse(),
56051
+ await self.call_api_async(params, req, runtime)
56052
+ )
56053
+
56054
+ def withdraw_vpc_published_route_entries(
56055
+ self,
56056
+ request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
56057
+ ) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
56058
+ """
56059
+ @summary 撤回VPC已发布路由
56060
+
56061
+ @param request: WithdrawVpcPublishedRouteEntriesRequest
56062
+ @return: WithdrawVpcPublishedRouteEntriesResponse
56063
+ """
56064
+ runtime = util_models.RuntimeOptions()
56065
+ return self.withdraw_vpc_published_route_entries_with_options(request, runtime)
56066
+
56067
+ async def withdraw_vpc_published_route_entries_async(
56068
+ self,
56069
+ request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
56070
+ ) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
56071
+ """
56072
+ @summary 撤回VPC已发布路由
56073
+
56074
+ @param request: WithdrawVpcPublishedRouteEntriesRequest
56075
+ @return: WithdrawVpcPublishedRouteEntriesResponse
56076
+ """
56077
+ runtime = util_models.RuntimeOptions()
56078
+ return await self.withdraw_vpc_published_route_entries_with_options_async(request, runtime)