alibabacloud-vpc20160428 6.10.3__py3-none-any.whl → 6.11.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.10.3'
1
+ __version__ = '6.11.1'
@@ -12961,7 +12961,9 @@ class Client(OpenApiClient):
12961
12961
  runtime: util_models.RuntimeOptions,
12962
12962
  ) -> vpc_20160428_models.CreateSslVpnClientCertResponse:
12963
12963
  """
12964
- @summary 创建SSL-VPN客户端证书
12964
+ @summary Creates an SSL client certificate.
12965
+
12966
+ @description Before you create an SSL client certificate, make sure that an SSL server is created on the VPN gateway. For more information, see [CreateSslVpnServer](https://help.aliyun.com/document_detail/2794075.html).
12965
12967
 
12966
12968
  @param request: CreateSslVpnClientCertRequest
12967
12969
  @param runtime: runtime options for this request RuntimeOptions
@@ -13016,7 +13018,9 @@ class Client(OpenApiClient):
13016
13018
  runtime: util_models.RuntimeOptions,
13017
13019
  ) -> vpc_20160428_models.CreateSslVpnClientCertResponse:
13018
13020
  """
13019
- @summary 创建SSL-VPN客户端证书
13021
+ @summary Creates an SSL client certificate.
13022
+
13023
+ @description Before you create an SSL client certificate, make sure that an SSL server is created on the VPN gateway. For more information, see [CreateSslVpnServer](https://help.aliyun.com/document_detail/2794075.html).
13020
13024
 
13021
13025
  @param request: CreateSslVpnClientCertRequest
13022
13026
  @param runtime: runtime options for this request RuntimeOptions
@@ -13070,7 +13074,9 @@ class Client(OpenApiClient):
13070
13074
  request: vpc_20160428_models.CreateSslVpnClientCertRequest,
13071
13075
  ) -> vpc_20160428_models.CreateSslVpnClientCertResponse:
13072
13076
  """
13073
- @summary 创建SSL-VPN客户端证书
13077
+ @summary Creates an SSL client certificate.
13078
+
13079
+ @description Before you create an SSL client certificate, make sure that an SSL server is created on the VPN gateway. For more information, see [CreateSslVpnServer](https://help.aliyun.com/document_detail/2794075.html).
13074
13080
 
13075
13081
  @param request: CreateSslVpnClientCertRequest
13076
13082
  @return: CreateSslVpnClientCertResponse
@@ -13083,7 +13089,9 @@ class Client(OpenApiClient):
13083
13089
  request: vpc_20160428_models.CreateSslVpnClientCertRequest,
13084
13090
  ) -> vpc_20160428_models.CreateSslVpnClientCertResponse:
13085
13091
  """
13086
- @summary 创建SSL-VPN客户端证书
13092
+ @summary Creates an SSL client certificate.
13093
+
13094
+ @description Before you create an SSL client certificate, make sure that an SSL server is created on the VPN gateway. For more information, see [CreateSslVpnServer](https://help.aliyun.com/document_detail/2794075.html).
13087
13095
 
13088
13096
  @param request: CreateSslVpnClientCertRequest
13089
13097
  @return: CreateSslVpnClientCertResponse
@@ -22295,10 +22303,14 @@ class Client(OpenApiClient):
22295
22303
  """
22296
22304
  @summary Deletes an SSL client certificate.
22297
22305
 
22298
- @description **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
22306
+ @description If you delete an SSL client certificate, all SSL-VPN client connections to the SSL server are disconnected. You need to reinitiate connections from SSL clients.
22307
+ For example, SSL client certificate 1 and SSL client certificate 2 are created on an SSL server. After you delete certificate 1, all client connections associated with certificate 1 and certificate 2 are disconnected from the SSL server.
22308
+ If clients associated with certificate 1 require SSL-VPN connections, you need to install other certificates on the clients and reinitiate connections from the clients.
22309
+ If clients associated with certificate 2 require SSL-VPN connections, you can directly reinitiate connections from the clients.
22310
+ **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
22299
22311
  If the VPN gateway is in the **updating** state, the SSL client certificate is being deleted.
22300
22312
  If the VPN gateway is in the **active** state, the SSL client certificate is deleted.
22301
- You cannot repeatedly call **DeleteSslVpnClientCert** to delete an SSL client certificate from the same VPN gateway within the specified period of time.
22313
+ You cannot call **DeleteSslVpnClientCert** within the specified period of time.
22302
22314
 
22303
22315
  @param request: DeleteSslVpnClientCertRequest
22304
22316
  @param runtime: runtime options for this request RuntimeOptions
@@ -22353,10 +22365,14 @@ class Client(OpenApiClient):
22353
22365
  """
22354
22366
  @summary Deletes an SSL client certificate.
22355
22367
 
22356
- @description **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
22368
+ @description If you delete an SSL client certificate, all SSL-VPN client connections to the SSL server are disconnected. You need to reinitiate connections from SSL clients.
22369
+ For example, SSL client certificate 1 and SSL client certificate 2 are created on an SSL server. After you delete certificate 1, all client connections associated with certificate 1 and certificate 2 are disconnected from the SSL server.
22370
+ If clients associated with certificate 1 require SSL-VPN connections, you need to install other certificates on the clients and reinitiate connections from the clients.
22371
+ If clients associated with certificate 2 require SSL-VPN connections, you can directly reinitiate connections from the clients.
22372
+ **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
22357
22373
  If the VPN gateway is in the **updating** state, the SSL client certificate is being deleted.
22358
22374
  If the VPN gateway is in the **active** state, the SSL client certificate is deleted.
22359
- You cannot repeatedly call **DeleteSslVpnClientCert** to delete an SSL client certificate from the same VPN gateway within the specified period of time.
22375
+ You cannot call **DeleteSslVpnClientCert** within the specified period of time.
22360
22376
 
22361
22377
  @param request: DeleteSslVpnClientCertRequest
22362
22378
  @param runtime: runtime options for this request RuntimeOptions
@@ -22410,10 +22426,14 @@ class Client(OpenApiClient):
22410
22426
  """
22411
22427
  @summary Deletes an SSL client certificate.
22412
22428
 
22413
- @description **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
22429
+ @description If you delete an SSL client certificate, all SSL-VPN client connections to the SSL server are disconnected. You need to reinitiate connections from SSL clients.
22430
+ For example, SSL client certificate 1 and SSL client certificate 2 are created on an SSL server. After you delete certificate 1, all client connections associated with certificate 1 and certificate 2 are disconnected from the SSL server.
22431
+ If clients associated with certificate 1 require SSL-VPN connections, you need to install other certificates on the clients and reinitiate connections from the clients.
22432
+ If clients associated with certificate 2 require SSL-VPN connections, you can directly reinitiate connections from the clients.
22433
+ **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
22414
22434
  If the VPN gateway is in the **updating** state, the SSL client certificate is being deleted.
22415
22435
  If the VPN gateway is in the **active** state, the SSL client certificate is deleted.
22416
- You cannot repeatedly call **DeleteSslVpnClientCert** to delete an SSL client certificate from the same VPN gateway within the specified period of time.
22436
+ You cannot call **DeleteSslVpnClientCert** within the specified period of time.
22417
22437
 
22418
22438
  @param request: DeleteSslVpnClientCertRequest
22419
22439
  @return: DeleteSslVpnClientCertResponse
@@ -22428,10 +22448,14 @@ class Client(OpenApiClient):
22428
22448
  """
22429
22449
  @summary Deletes an SSL client certificate.
22430
22450
 
22431
- @description **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/73720.html) to query the status of the task.
22451
+ @description If you delete an SSL client certificate, all SSL-VPN client connections to the SSL server are disconnected. You need to reinitiate connections from SSL clients.
22452
+ For example, SSL client certificate 1 and SSL client certificate 2 are created on an SSL server. After you delete certificate 1, all client connections associated with certificate 1 and certificate 2 are disconnected from the SSL server.
22453
+ If clients associated with certificate 1 require SSL-VPN connections, you need to install other certificates on the clients and reinitiate connections from the clients.
22454
+ If clients associated with certificate 2 require SSL-VPN connections, you can directly reinitiate connections from the clients.
22455
+ **DeleteSslVpnClientCert** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
22432
22456
  If the VPN gateway is in the **updating** state, the SSL client certificate is being deleted.
22433
22457
  If the VPN gateway is in the **active** state, the SSL client certificate is deleted.
22434
- You cannot repeatedly call **DeleteSslVpnClientCert** to delete an SSL client certificate from the same VPN gateway within the specified period of time.
22458
+ You cannot call **DeleteSslVpnClientCert** within the specified period of time.
22435
22459
 
22436
22460
  @param request: DeleteSslVpnClientCertRequest
22437
22461
  @return: DeleteSslVpnClientCertResponse
@@ -35525,7 +35549,7 @@ class Client(OpenApiClient):
35525
35549
  runtime: util_models.RuntimeOptions,
35526
35550
  ) -> vpc_20160428_models.DescribeVpnGatewayAvailableZonesResponse:
35527
35551
  """
35528
- @summary 基于地域查询可以创建双隧道VPN与IPSec连接(CEN)的可用区
35552
+ @summary Queries zones that support IPsec-VPN connections in a region.
35529
35553
 
35530
35554
  @param request: DescribeVpnGatewayAvailableZonesRequest
35531
35555
  @param runtime: runtime options for this request RuntimeOptions
@@ -35564,7 +35588,7 @@ class Client(OpenApiClient):
35564
35588
  runtime: util_models.RuntimeOptions,
35565
35589
  ) -> vpc_20160428_models.DescribeVpnGatewayAvailableZonesResponse:
35566
35590
  """
35567
- @summary 基于地域查询可以创建双隧道VPN与IPSec连接(CEN)的可用区
35591
+ @summary Queries zones that support IPsec-VPN connections in a region.
35568
35592
 
35569
35593
  @param request: DescribeVpnGatewayAvailableZonesRequest
35570
35594
  @param runtime: runtime options for this request RuntimeOptions
@@ -35602,7 +35626,7 @@ class Client(OpenApiClient):
35602
35626
  request: vpc_20160428_models.DescribeVpnGatewayAvailableZonesRequest,
35603
35627
  ) -> vpc_20160428_models.DescribeVpnGatewayAvailableZonesResponse:
35604
35628
  """
35605
- @summary 基于地域查询可以创建双隧道VPN与IPSec连接(CEN)的可用区
35629
+ @summary Queries zones that support IPsec-VPN connections in a region.
35606
35630
 
35607
35631
  @param request: DescribeVpnGatewayAvailableZonesRequest
35608
35632
  @return: DescribeVpnGatewayAvailableZonesResponse
@@ -35615,7 +35639,7 @@ class Client(OpenApiClient):
35615
35639
  request: vpc_20160428_models.DescribeVpnGatewayAvailableZonesRequest,
35616
35640
  ) -> vpc_20160428_models.DescribeVpnGatewayAvailableZonesResponse:
35617
35641
  """
35618
- @summary 基于地域查询可以创建双隧道VPN与IPSec连接(CEN)的可用区
35642
+ @summary Queries zones that support IPsec-VPN connections in a region.
35619
35643
 
35620
35644
  @param request: DescribeVpnGatewayAvailableZonesRequest
35621
35645
  @return: DescribeVpnGatewayAvailableZonesResponse
@@ -44877,6 +44901,142 @@ class Client(OpenApiClient):
44877
44901
  runtime = util_models.RuntimeOptions()
44878
44902
  return await self.modify_eip_address_attribute_with_options_async(request, runtime)
44879
44903
 
44904
+ def modify_eip_forward_mode_with_options(
44905
+ self,
44906
+ request: vpc_20160428_models.ModifyEipForwardModeRequest,
44907
+ runtime: util_models.RuntimeOptions,
44908
+ ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
44909
+ """
44910
+ @summary Modifies the EIP forwarding mode.
44911
+
44912
+ @param request: ModifyEipForwardModeRequest
44913
+ @param runtime: runtime options for this request RuntimeOptions
44914
+ @return: ModifyEipForwardModeResponse
44915
+ """
44916
+ UtilClient.validate_model(request)
44917
+ query = {}
44918
+ if not UtilClient.is_unset(request.client_token):
44919
+ query['ClientToken'] = request.client_token
44920
+ if not UtilClient.is_unset(request.instance_id):
44921
+ query['InstanceId'] = request.instance_id
44922
+ if not UtilClient.is_unset(request.mode):
44923
+ query['Mode'] = request.mode
44924
+ if not UtilClient.is_unset(request.owner_id):
44925
+ query['OwnerId'] = request.owner_id
44926
+ if not UtilClient.is_unset(request.region_id):
44927
+ query['RegionId'] = request.region_id
44928
+ if not UtilClient.is_unset(request.region_id):
44929
+ query['RegionId'] = request.region_id
44930
+ if not UtilClient.is_unset(request.resource_owner_account):
44931
+ query['ResourceOwnerAccount'] = request.resource_owner_account
44932
+ if not UtilClient.is_unset(request.resource_owner_id):
44933
+ query['ResourceOwnerId'] = request.resource_owner_id
44934
+ req = open_api_models.OpenApiRequest(
44935
+ query=OpenApiUtilClient.query(query)
44936
+ )
44937
+ params = open_api_models.Params(
44938
+ action='ModifyEipForwardMode',
44939
+ version='2016-04-28',
44940
+ protocol='HTTPS',
44941
+ pathname='/',
44942
+ method='POST',
44943
+ auth_type='AK',
44944
+ style='RPC',
44945
+ req_body_type='formData',
44946
+ body_type='json'
44947
+ )
44948
+ if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
44949
+ return TeaCore.from_map(
44950
+ vpc_20160428_models.ModifyEipForwardModeResponse(),
44951
+ self.call_api(params, req, runtime)
44952
+ )
44953
+ else:
44954
+ return TeaCore.from_map(
44955
+ vpc_20160428_models.ModifyEipForwardModeResponse(),
44956
+ self.execute(params, req, runtime)
44957
+ )
44958
+
44959
+ async def modify_eip_forward_mode_with_options_async(
44960
+ self,
44961
+ request: vpc_20160428_models.ModifyEipForwardModeRequest,
44962
+ runtime: util_models.RuntimeOptions,
44963
+ ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
44964
+ """
44965
+ @summary Modifies the EIP forwarding mode.
44966
+
44967
+ @param request: ModifyEipForwardModeRequest
44968
+ @param runtime: runtime options for this request RuntimeOptions
44969
+ @return: ModifyEipForwardModeResponse
44970
+ """
44971
+ UtilClient.validate_model(request)
44972
+ query = {}
44973
+ if not UtilClient.is_unset(request.client_token):
44974
+ query['ClientToken'] = request.client_token
44975
+ if not UtilClient.is_unset(request.instance_id):
44976
+ query['InstanceId'] = request.instance_id
44977
+ if not UtilClient.is_unset(request.mode):
44978
+ query['Mode'] = request.mode
44979
+ if not UtilClient.is_unset(request.owner_id):
44980
+ query['OwnerId'] = request.owner_id
44981
+ if not UtilClient.is_unset(request.region_id):
44982
+ query['RegionId'] = request.region_id
44983
+ if not UtilClient.is_unset(request.region_id):
44984
+ query['RegionId'] = request.region_id
44985
+ if not UtilClient.is_unset(request.resource_owner_account):
44986
+ query['ResourceOwnerAccount'] = request.resource_owner_account
44987
+ if not UtilClient.is_unset(request.resource_owner_id):
44988
+ query['ResourceOwnerId'] = request.resource_owner_id
44989
+ req = open_api_models.OpenApiRequest(
44990
+ query=OpenApiUtilClient.query(query)
44991
+ )
44992
+ params = open_api_models.Params(
44993
+ action='ModifyEipForwardMode',
44994
+ version='2016-04-28',
44995
+ protocol='HTTPS',
44996
+ pathname='/',
44997
+ method='POST',
44998
+ auth_type='AK',
44999
+ style='RPC',
45000
+ req_body_type='formData',
45001
+ body_type='json'
45002
+ )
45003
+ if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
45004
+ return TeaCore.from_map(
45005
+ vpc_20160428_models.ModifyEipForwardModeResponse(),
45006
+ await self.call_api_async(params, req, runtime)
45007
+ )
45008
+ else:
45009
+ return TeaCore.from_map(
45010
+ vpc_20160428_models.ModifyEipForwardModeResponse(),
45011
+ await self.execute_async(params, req, runtime)
45012
+ )
45013
+
45014
+ def modify_eip_forward_mode(
45015
+ self,
45016
+ request: vpc_20160428_models.ModifyEipForwardModeRequest,
45017
+ ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
45018
+ """
45019
+ @summary Modifies the EIP forwarding mode.
45020
+
45021
+ @param request: ModifyEipForwardModeRequest
45022
+ @return: ModifyEipForwardModeResponse
45023
+ """
45024
+ runtime = util_models.RuntimeOptions()
45025
+ return self.modify_eip_forward_mode_with_options(request, runtime)
45026
+
45027
+ async def modify_eip_forward_mode_async(
45028
+ self,
45029
+ request: vpc_20160428_models.ModifyEipForwardModeRequest,
45030
+ ) -> vpc_20160428_models.ModifyEipForwardModeResponse:
45031
+ """
45032
+ @summary Modifies the EIP forwarding mode.
45033
+
45034
+ @param request: ModifyEipForwardModeRequest
45035
+ @return: ModifyEipForwardModeResponse
45036
+ """
45037
+ runtime = util_models.RuntimeOptions()
45038
+ return await self.modify_eip_forward_mode_with_options_async(request, runtime)
45039
+
44880
45040
  def modify_express_cloud_connection_attribute_with_options(
44881
45041
  self,
44882
45042
  request: vpc_20160428_models.ModifyExpressCloudConnectionAttributeRequest,
@@ -47655,7 +47815,7 @@ class Client(OpenApiClient):
47655
47815
  runtime: util_models.RuntimeOptions,
47656
47816
  ) -> vpc_20160428_models.ModifyIpv6InternetBandwidthResponse:
47657
47817
  """
47658
- @summary Modifies the Internet bandwidth value of an IPv6 address.
47818
+ @summary Modifies the Internet bandwidth of an IPv6 address.
47659
47819
 
47660
47820
  @description You cannot repeatedly call the *ModifyIpv6InternetBandwidth** operation to modify the Internet bandwidth value of an IPv6 CIDR block within the specified period of time.
47661
47821
 
@@ -47720,7 +47880,7 @@ class Client(OpenApiClient):
47720
47880
  runtime: util_models.RuntimeOptions,
47721
47881
  ) -> vpc_20160428_models.ModifyIpv6InternetBandwidthResponse:
47722
47882
  """
47723
- @summary Modifies the Internet bandwidth value of an IPv6 address.
47883
+ @summary Modifies the Internet bandwidth of an IPv6 address.
47724
47884
 
47725
47885
  @description You cannot repeatedly call the *ModifyIpv6InternetBandwidth** operation to modify the Internet bandwidth value of an IPv6 CIDR block within the specified period of time.
47726
47886
 
@@ -47784,7 +47944,7 @@ class Client(OpenApiClient):
47784
47944
  request: vpc_20160428_models.ModifyIpv6InternetBandwidthRequest,
47785
47945
  ) -> vpc_20160428_models.ModifyIpv6InternetBandwidthResponse:
47786
47946
  """
47787
- @summary Modifies the Internet bandwidth value of an IPv6 address.
47947
+ @summary Modifies the Internet bandwidth of an IPv6 address.
47788
47948
 
47789
47949
  @description You cannot repeatedly call the *ModifyIpv6InternetBandwidth** operation to modify the Internet bandwidth value of an IPv6 CIDR block within the specified period of time.
47790
47950
 
@@ -47799,7 +47959,7 @@ class Client(OpenApiClient):
47799
47959
  request: vpc_20160428_models.ModifyIpv6InternetBandwidthRequest,
47800
47960
  ) -> vpc_20160428_models.ModifyIpv6InternetBandwidthResponse:
47801
47961
  """
47802
- @summary Modifies the Internet bandwidth value of an IPv6 address.
47962
+ @summary Modifies the Internet bandwidth of an IPv6 address.
47803
47963
 
47804
47964
  @description You cannot repeatedly call the *ModifyIpv6InternetBandwidth** operation to modify the Internet bandwidth value of an IPv6 CIDR block within the specified period of time.
47805
47965
 
@@ -56939,7 +57099,7 @@ class Client(OpenApiClient):
56939
57099
  runtime: util_models.RuntimeOptions,
56940
57100
  ) -> vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolResponse:
56941
57101
  """
56942
- @summary 连续EIP组转换为公网IP地址池
57102
+ @summary Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
56943
57103
 
56944
57104
  @param request: TransformEipSegmentToPublicIpAddressPoolRequest
56945
57105
  @param runtime: runtime options for this request RuntimeOptions
@@ -56990,7 +57150,7 @@ class Client(OpenApiClient):
56990
57150
  runtime: util_models.RuntimeOptions,
56991
57151
  ) -> vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolResponse:
56992
57152
  """
56993
- @summary 连续EIP组转换为公网IP地址池
57153
+ @summary Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
56994
57154
 
56995
57155
  @param request: TransformEipSegmentToPublicIpAddressPoolRequest
56996
57156
  @param runtime: runtime options for this request RuntimeOptions
@@ -57040,7 +57200,7 @@ class Client(OpenApiClient):
57040
57200
  request: vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolRequest,
57041
57201
  ) -> vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolResponse:
57042
57202
  """
57043
- @summary 连续EIP组转换为公网IP地址池
57203
+ @summary Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
57044
57204
 
57045
57205
  @param request: TransformEipSegmentToPublicIpAddressPoolRequest
57046
57206
  @return: TransformEipSegmentToPublicIpAddressPoolResponse
@@ -57053,7 +57213,7 @@ class Client(OpenApiClient):
57053
57213
  request: vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolRequest,
57054
57214
  ) -> vpc_20160428_models.TransformEipSegmentToPublicIpAddressPoolResponse:
57055
57215
  """
57056
- @summary 连续EIP组转换为公网IP地址池
57216
+ @summary Migrate contiguous EIP groups to IP address pool by calling TransformEipSegmentToPublicIpAddressPool.
57057
57217
 
57058
57218
  @param request: TransformEipSegmentToPublicIpAddressPoolRequest
57059
57219
  @return: TransformEipSegmentToPublicIpAddressPoolResponse
@@ -2609,6 +2609,10 @@ class AllocateIpv6InternetBandwidthRequest(TeaModel):
2609
2609
  #
2610
2610
  # > 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.
2611
2611
  self.client_token = client_token
2612
+ # Specifies whether to perform only a dry run, without performing the actual request. Valid values:
2613
+ #
2614
+ # * **true**: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized RAM users, and missing parameter values. 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.
2615
+ # * **false**: sends the API request. After the request passes the check, a 2XX HTTP status code is returned and the route table is associated. This is the default value.
2612
2616
  self.dry_run = dry_run
2613
2617
  # The metering method of the Internet bandwidth for the IPv6 address. Valid values:
2614
2618
  #
@@ -9665,8 +9669,6 @@ class CreateFlowLogRequest(TeaModel):
9665
9669
  # * The name can contain only lowercase letters, digits, hyphens (-), and underscores (_).
9666
9670
  # * The name must start and end with a lowercase letter or a digit.
9667
9671
  # * The name must be 3 to 63 characters in length.
9668
- #
9669
- # This parameter is required.
9670
9672
  self.log_store_name = log_store_name
9671
9673
  self.owner_account = owner_account
9672
9674
  self.owner_id = owner_id
@@ -9675,8 +9677,6 @@ class CreateFlowLogRequest(TeaModel):
9675
9677
  # * The name can contain only lowercase letters, digits, and hyphens (-).
9676
9678
  # * The name must start and end with a lowercase letter or a digit.
9677
9679
  # * The name must be 3 to 63 characters in length.
9678
- #
9679
- # This parameter is required.
9680
9680
  self.project_name = project_name
9681
9681
  # The ID of the region where you want to create the flow log. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
9682
9682
  #
@@ -15551,7 +15551,7 @@ class CreatePublicIpAddressPoolRequest(TeaModel):
15551
15551
  self.client_token = client_token
15552
15552
  # The description of the IP address pool.
15553
15553
  #
15554
- # This parameter is optional. The description must be 2 to 256 characters in length, and cannot start with http:// or https://.
15554
+ # The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
15555
15555
  self.description = description
15556
15556
  # Specifies whether to precheck only this request. Valid values:
15557
15557
  #
@@ -15578,7 +15578,7 @@ class CreatePublicIpAddressPoolRequest(TeaModel):
15578
15578
  self.isp = isp
15579
15579
  # The name of the IP address pool.
15580
15580
  #
15581
- # This parameter is optional. The name must be 1 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter but cannot start with `http://` or `https://`.
15581
+ # The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
15582
15582
  self.name = name
15583
15583
  self.owner_account = owner_account
15584
15584
  self.owner_id = owner_id
@@ -15691,6 +15691,7 @@ class CreatePublicIpAddressPoolResponseBody(TeaModel):
15691
15691
  request_id: str = None,
15692
15692
  resource_group_id: str = None,
15693
15693
  ):
15694
+ # The ID of the IP address pool.
15694
15695
  self.public_ip_address_pool_id = public_ip_address_pool_id
15695
15696
  # The ID of the IP address pool.
15696
15697
  self.pulbic_ip_address_pool_id = pulbic_ip_address_pool_id
@@ -16192,7 +16193,7 @@ class CreateRouteEntryRequest(TeaModel):
16192
16193
  # * **VpcPeer**: a VPC peering connection.
16193
16194
  # * **Ipv4Gateway**: an IPv4 gateway.
16194
16195
  # * **GatewayEndpoint**: a gateway endpoint.
16195
- # * **Ecr**: a Express Connect Router (ECR).
16196
+ # * **Ecr**: an Express Connect Router (ECR).
16196
16197
  self.next_hop_type = next_hop_type
16197
16198
  self.owner_account = owner_account
16198
16199
  self.owner_id = owner_id
@@ -36322,6 +36323,12 @@ class DescribeEipAddressesRequest(TeaModel):
36322
36323
  self.security_protection_enabled = security_protection_enabled
36323
36324
  # The ID of the contiguous EIP group.
36324
36325
  self.segment_instance_id = segment_instance_id
36326
+ # Indicates whether the instance is managed. Valid values:
36327
+ #
36328
+ # * **true**: yes
36329
+ # * **false**: no.
36330
+ #
36331
+ # If you do not specify this parameter, all instances are queried.
36325
36332
  self.service_managed = service_managed
36326
36333
  # The state of the EIP. Valid values:
36327
36334
  #
@@ -36810,11 +36817,13 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddress(TeaModel):
36810
36817
  #
36811
36818
  # This value is returned only when you query contiguous EIPs.
36812
36819
  self.segment_instance_id = segment_instance_id
36820
+ # The ID of the service provider to which the managed instance belongs.
36821
+ # > This is only valid when the ServiceManaged parameter is set to True.
36813
36822
  self.service_id = service_id
36814
- # Indicates whether the resource is created by the service account. Valid values:
36823
+ # Indicates whether the instance is managed. Valid values:
36815
36824
  #
36816
- # * **0**\
36817
- # * **1**\
36825
+ # * **1**: yes
36826
+ # * **0**: no
36818
36827
  self.service_managed = service_managed
36819
36828
  # The status of the EIP. Valid values:
36820
36829
  #
@@ -37073,7 +37082,7 @@ class DescribeEipAddressesResponseBody(TeaModel):
37073
37082
  request_id: str = None,
37074
37083
  total_count: int = None,
37075
37084
  ):
37076
- # The details about the EIPs.
37085
+ # Details of the EIPs.
37077
37086
  self.eip_addresses = eip_addresses
37078
37087
  # The page number.
37079
37088
  self.page_number = page_number
@@ -50056,6 +50065,10 @@ class DescribePublicIpAddressRequest(TeaModel):
50056
50065
  resource_owner_account: str = None,
50057
50066
  resource_owner_id: int = None,
50058
50067
  ):
50068
+ # The IP version. Valid values:
50069
+ #
50070
+ # * **IPv4** (default)
50071
+ # * **IPv6**\
50059
50072
  self.ip_version = ip_version
50060
50073
  self.owner_account = owner_account
50061
50074
  self.owner_id = owner_id
@@ -51060,9 +51073,13 @@ class DescribeRouteTableListRequestTag(TeaModel):
51060
51073
  key: str = None,
51061
51074
  value: str = None,
51062
51075
  ):
51063
- # The detailed information about the route tables.
51076
+ # The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
51077
+ #
51078
+ # The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
51064
51079
  self.key = key
51065
- # The ID of the VPC to which the route table belongs.
51080
+ # The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
51081
+ #
51082
+ # The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
51066
51083
  self.value = value
51067
51084
 
51068
51085
  def validate(self):
@@ -51110,40 +51127,41 @@ class DescribeRouteTableListRequest(TeaModel):
51110
51127
  ):
51111
51128
  self.owner_account = owner_account
51112
51129
  self.owner_id = owner_id
51113
- # The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
51114
- #
51115
- # The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
51130
+ # The number of the returned page. Default value: **1**.
51116
51131
  self.page_number = page_number
51117
- # The type of the route table.
51118
- #
51119
- # * **System**\
51120
- # * **Custom**\
51132
+ # The number of entries per page. Maximum value: **50**. Default value: **10**.
51121
51133
  self.page_size = page_size
51122
- # The number of entries per page.
51134
+ # The region ID of the VPC to which the route table belongs.
51135
+ #
51136
+ # You can call [DescribeRegions](https://www.alibabacloud.com/help/vpc/developer-reference/api-vpc-2016-04-28-describeregions) to query the most recent region list.
51123
51137
  #
51124
51138
  # This parameter is required.
51125
51139
  self.region_id = region_id
51126
- # The details of the route table.
51140
+ # The ID of the resource group to which the route table belongs.
51127
51141
  self.resource_group_id = resource_group_id
51128
51142
  self.resource_owner_account = resource_owner_account
51129
51143
  self.resource_owner_id = resource_owner_id
51130
- # The tags.
51144
+ # The ID of the route table.
51131
51145
  self.route_table_id = route_table_id
51132
- # The key of tag N to add to the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.
51133
- #
51134
- # The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
51146
+ # The name of the route table.
51135
51147
  self.route_table_name = route_table_name
51136
- # The time when the route table was created.
51137
- self.route_table_type = route_table_type
51138
- # The region ID of the VPC to which the route table belongs.
51148
+ # The type of the route table.
51139
51149
  #
51140
- # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
51150
+ # * **System**\
51151
+ # * **Custom**\
51152
+ self.route_table_type = route_table_type
51153
+ # The ID of vRouter to which the route table belongs.
51141
51154
  self.router_id = router_id
51142
- # The ID of the resource group to which the route table to be queried belongs.
51155
+ # The type of the router to which the route table belongs. Valid value:
51156
+ #
51157
+ # * **VRouter** (default): a vRouter
51158
+ # * **VBR**: a VBR
51143
51159
  self.router_type = router_type
51144
- # The page number.
51145
- self.tag = tag
51146
51160
  # The tags of the resource.
51161
+ self.tag = tag
51162
+ # The ID of the VPC to which the route table belongs.
51163
+ #
51164
+ # When this parameter is set, the value of **RouterType** is automatically assigned to **VRouter**.
51147
51165
  self.vpc_id = vpc_id
51148
51166
 
51149
51167
  def validate(self):
@@ -51263,13 +51281,9 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeTagsTa
51263
51281
  key: str = None,
51264
51282
  value: str = None,
51265
51283
  ):
51266
- # The key of tag N to add to the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.
51267
- #
51268
- # The tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http:// or https://.
51284
+ # The key of the tag that is added to the route table.
51269
51285
  self.key = key
51270
- # The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
51271
- #
51272
- # The tag value can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.
51286
+ # The value of the tag that is added to the route table.
51273
51287
  self.value = value
51274
51288
 
51275
51289
  def validate(self):
@@ -51378,44 +51392,55 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListType(TeaMo
51378
51392
  v_switch_ids: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeVSwitchIds = None,
51379
51393
  vpc_id: str = None,
51380
51394
  ):
51381
- # The tags.
51382
- self.associate_type = associate_type
51383
- # The type of the router to which the route table belongs. Valid values:
51395
+ # The type of the cloud resource with which the route table is associated. Valid values:
51384
51396
  #
51385
- # * **VRouter**\
51386
- # * **VBR**\
51397
+ # * **VSwitch**: vSwitch
51398
+ # * **Gateway**: IPv4 gateway
51399
+ self.associate_type = associate_type
51400
+ # The time when the route table was created.
51387
51401
  self.creation_time = creation_time
51388
- # The information about the vSwitches.
51402
+ # The information about the route table.
51389
51403
  self.description = description
51390
51404
  # The detailed information about the IPv4 gateway.
51391
51405
  self.gateway_ids = gateway_ids
51392
- # The value of tag N added to the resource.
51406
+ # The ID of the Alibaba Cloud account to which the route table belongs.
51393
51407
  self.owner_id = owner_id
51394
- # The detailed information about the IPv4 gateway.
51408
+ # The ID of the resource group to which the route table belongs.
51395
51409
  self.resource_group_id = resource_group_id
51396
51410
  # Whether to receive the propagation routes. Valid Values:
51397
51411
  #
51398
- # * **True**: The propagation route is received.
51412
+ # * **true**: received.
51399
51413
  #
51400
- # * **False**: The propagation route is not received.
51414
+ # * **false**: not received.
51401
51415
  self.route_propagation_enable = route_propagation_enable
51402
- # The key of tag N added to the resource.
51416
+ # The ID of the route table.
51403
51417
  self.route_table_id = route_table_id
51404
51418
  # The name of the route table.
51405
51419
  self.route_table_name = route_table_name
51406
- # The ID of the vSwitch.
51420
+ # The type of the route table. Valid values:
51421
+ #
51422
+ # * **Custom**\
51423
+ # * **System**\
51407
51424
  self.route_table_type = route_table_type
51408
- # The tag added to the route table.
51425
+ # The ID of the vRouter to which the route table belongs.
51409
51426
  self.router_id = router_id
51410
- # The detailed information about the IPv4 gateway.
51427
+ # The type of the vRouter to which the route table belongs. Valid values:
51428
+ #
51429
+ # - **VRouter**: a vRouter.
51430
+ #
51431
+ # - **VBR**: a VBR.
51411
51432
  self.router_type = router_type
51412
- # The name of the route table.
51433
+ # The status of the route table. Valid values:
51434
+ #
51435
+ # * **Pending**\
51436
+ # * **Available**\
51437
+ # * **Deleting**\
51413
51438
  self.status = status
51414
51439
  # The tags.
51415
51440
  self.tags = tags
51416
51441
  # The vSwitch IDs.
51417
51442
  self.v_switch_ids = v_switch_ids
51418
- # The ID of the resource group to which the route table belongs.
51443
+ # The ID of the VPC to which the route table belongs.
51419
51444
  self.vpc_id = vpc_id
51420
51445
 
51421
51446
  def validate(self):
@@ -51550,18 +51575,15 @@ class DescribeRouteTableListResponseBody(TeaModel):
51550
51575
  router_table_list: DescribeRouteTableListResponseBodyRouterTableList = None,
51551
51576
  total_count: int = None,
51552
51577
  ):
51553
- # The ID of the route table.
51578
+ # The page number.
51554
51579
  self.page_number = page_number
51555
- # The type of the cloud resource with which the route table is associated. Valid values:
51556
- #
51557
- # * **VSwitch**: vSwitch
51558
- # * **Gateway**: IPv4 gateway
51580
+ # The number of entries per page.
51559
51581
  self.page_size = page_size
51560
- # The ID of the vRouter to which the route table belongs.
51582
+ # The request ID.
51561
51583
  self.request_id = request_id
51562
- # The description of the route table.
51584
+ # The detailed information about the route tables.
51563
51585
  self.router_table_list = router_table_list
51564
- # The ID of the Alibaba Cloud account to which the route table belongs.
51586
+ # The total number of entries returned.
51565
51587
  self.total_count = total_count
51566
51588
 
51567
51589
  def validate(self):
@@ -65364,13 +65386,35 @@ class DescribeVpnGatewayAvailableZonesRequest(TeaModel):
65364
65386
  resource_owner_id: int = None,
65365
65387
  spec: str = None,
65366
65388
  ):
65389
+ # The language in which the returned results are displayed. Valid values:
65390
+ #
65391
+ # * **zh-CN**: Chinese
65392
+ # * **en-US** (default): English
65367
65393
  self.accept_language = accept_language
65368
65394
  self.owner_account = owner_account
65369
65395
  self.owner_id = owner_id
65396
+ # The region ID.
65397
+ #
65370
65398
  # This parameter is required.
65371
65399
  self.region_id = region_id
65372
65400
  self.resource_owner_account = resource_owner_account
65373
65401
  self.resource_owner_id = resource_owner_id
65402
+ # The bandwidth specification.
65403
+ #
65404
+ # * If an IPsec-VPN connection can be associated with the VPN gateway, this parameter specifies the bandwidth specification of the VPN gateway.
65405
+ # * In scenarios where an IPsec-VPN connection can be associated with a transit router. This parameter specifies the bandwidth specification supported by an IPsec-VPN connection.
65406
+ #
65407
+ # Different bandwidth specifications may affect returned zone information. Valid values:
65408
+ #
65409
+ # * **5M**\
65410
+ # * **10M**\
65411
+ # * **20M**\
65412
+ # * **50M**\
65413
+ # * **100M**\
65414
+ # * **200M**\
65415
+ # * **500M**\
65416
+ # * **1000M**\
65417
+ #
65374
65418
  # This parameter is required.
65375
65419
  self.spec = spec
65376
65420
 
@@ -65424,7 +65468,9 @@ class DescribeVpnGatewayAvailableZonesResponseBodyAvailableZoneIdList(TeaModel):
65424
65468
  zone_id: str = None,
65425
65469
  zone_name: str = None,
65426
65470
  ):
65471
+ # The zone ID.
65427
65472
  self.zone_id = zone_id
65473
+ # The zone name.
65428
65474
  self.zone_name = zone_name
65429
65475
 
65430
65476
  def validate(self):
@@ -65458,8 +65504,11 @@ class DescribeVpnGatewayAvailableZonesResponseBody(TeaModel):
65458
65504
  region_id: str = None,
65459
65505
  request_id: str = None,
65460
65506
  ):
65507
+ # The zones.
65461
65508
  self.available_zone_id_list = available_zone_id_list
65509
+ # The region ID.
65462
65510
  self.region_id = region_id
65511
+ # The request ID.
65463
65512
  self.request_id = request_id
65464
65513
 
65465
65514
  def validate(self):
@@ -66737,8 +66786,17 @@ class DescribeVpnRouteEntriesResponseBodyVpnRouteCountsVpnRouteCount(TeaModel):
66737
66786
  route_entry_type: str = None,
66738
66787
  source: str = None,
66739
66788
  ):
66789
+ # The number of route entries.
66740
66790
  self.route_count = route_count
66791
+ # The route type. Valid values:
66792
+ #
66793
+ # * **custom** (default): destination-based route.
66794
+ # * **bgp** : BGP route entry.
66741
66795
  self.route_entry_type = route_entry_type
66796
+ # The source of the BGP route. Valid values:
66797
+ #
66798
+ # * **CLOUD**: advertised from a cloud service associated with the VPN gateway.
66799
+ # * **VPN_BGP**: indicates that the current route is learned by using BGP of the VPN gateway. For example, the BGP is used to learn the route of the on-premises data center.
66742
66800
  self.source = source
66743
66801
 
66744
66802
  def validate(self):
@@ -66839,7 +66897,10 @@ class DescribeVpnRouteEntriesResponseBodyVpnRouteEntriesVpnRouteEntry(TeaModel):
66839
66897
  # * **Custom**: custom
66840
66898
  # * **System**: system
66841
66899
  self.route_entry_type = route_entry_type
66842
- # The source CIDR block of the route entry.
66900
+ # The source of the BGP route. Valid values:
66901
+ #
66902
+ # * **CLOUD**: advertised from a cloud service associated with the VPN gateway.
66903
+ # * **VPN_BGP**: indicates that the current route is learned by using BGP of the VPN gateway. For example, the BGP is used to learn the route of the on-premises data center.
66843
66904
  self.source = source
66844
66905
  # The status of the route entry. Valid values:
66845
66906
  #
@@ -66967,8 +67028,11 @@ class DescribeVpnRouteEntriesResponseBody(TeaModel):
66967
67028
  self.request_id = request_id
66968
67029
  # The total number of entries returned.
66969
67030
  self.total_count = total_count
67031
+ # The information about route entries of the VPN gateway in dual-tunnel mode.
67032
+ #
67033
+ # > This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
66970
67034
  self.vpn_route_counts = vpn_route_counts
66971
- # The list of route entries.
67035
+ # The route entry list.
66972
67036
  self.vpn_route_entries = vpn_route_entries
66973
67037
 
66974
67038
  def validate(self):
@@ -68729,9 +68793,9 @@ class DissociateVpnGatewayWithCertificateRequest(TeaModel):
68729
68793
  region_id: str = None,
68730
68794
  vpn_gateway_id: str = None,
68731
68795
  ):
68732
- # The certificate ID.
68796
+ # The ID of the certificate.
68733
68797
  #
68734
- # > The certificate ID refers to the ID generated after the SSL certificate is associated with the VPN gateway. It is not the ID of the SSL certificate. You can call the [ListVpnCertificateAssociations](https://help.aliyun.com/document_detail/2521961.html) operation to query certificate IDs.
68798
+ # > The certificate ID refers to the ID generated after the SSL certificate is associated with the VPN gateway. It is not the ID of the SSL certificate.
68735
68799
  #
68736
68800
  # This parameter is required.
68737
68801
  self.certificate_id = certificate_id
@@ -75884,7 +75948,7 @@ class ListIpsecServersRequest(TeaModel):
75884
75948
  self.ipsec_server_id = ipsec_server_id
75885
75949
  # The name of the IPsec server.
75886
75950
  #
75887
- # The name must be 1 to 100 characters in length and cannot start with `http://` or `https://`.
75951
+ # The name must be 1 to 100 characters in length.
75888
75952
  self.ipsec_server_name = ipsec_server_name
75889
75953
  # The number of entries to return on each page. Valid values: **1** to **20**. Default value: **10**.
75890
75954
  self.max_results = max_results
@@ -75901,9 +75965,7 @@ class ListIpsecServersRequest(TeaModel):
75901
75965
  self.region_id = region_id
75902
75966
  # The ID of the resource group to which the IPsec server belongs.
75903
75967
  #
75904
- # The IPsec server has the same resource group as its associated VPN gateway instance.
75905
- #
75906
- # You can call the [DescribeVpnGateway](https://help.aliyun.com/document_detail/2526915.html) operation to query the ID of the resource group to which the VPN gateway instance belongs.
75968
+ # The IPsec server and its associated VPN gateway belong to the same resource group. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the ID of the resource group to which the VPN gateway belongs.
75907
75969
  self.resource_group_id = resource_group_id
75908
75970
  # The ID of the VPN gateway.
75909
75971
  self.vpn_gateway_id = vpn_gateway_id
@@ -83872,6 +83934,158 @@ class ModifyEipAddressAttributeResponse(TeaModel):
83872
83934
  return self
83873
83935
 
83874
83936
 
83937
+ class ModifyEipForwardModeRequest(TeaModel):
83938
+ def __init__(
83939
+ self,
83940
+ client_token: str = None,
83941
+ instance_id: str = None,
83942
+ mode: str = None,
83943
+ owner_id: int = None,
83944
+ region_id: str = None,
83945
+ resource_owner_account: str = None,
83946
+ resource_owner_id: int = None,
83947
+ ):
83948
+ # The client token that is used to ensure the idempotence of the request.
83949
+ #
83950
+ # 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.
83951
+ #
83952
+ # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **RequestId** may be different for each request.
83953
+ self.client_token = client_token
83954
+ # The ID of the EIP whose attributes you want to modify.
83955
+ #
83956
+ # This parameter is required.
83957
+ self.instance_id = instance_id
83958
+ # The association mode. Valid values:
83959
+ #
83960
+ # * **NAT** (default): the standard NAT mode.
83961
+ # * **MULTI_BINDED**: the multi-EIP-to-ENI mode.
83962
+ # * **BINDED**: the cut-through mode.
83963
+ #
83964
+ # > This parameter is required only if **InstanceType** is set to **NetworkInterface**.
83965
+ #
83966
+ # This parameter is required.
83967
+ self.mode = mode
83968
+ self.owner_id = owner_id
83969
+ # The ID of the region to which the EIP belongs. You can call the DescribeRegions operation to query the most recent region list.
83970
+ #
83971
+ # This parameter is required.
83972
+ self.region_id = region_id
83973
+ self.resource_owner_account = resource_owner_account
83974
+ self.resource_owner_id = resource_owner_id
83975
+
83976
+ def validate(self):
83977
+ pass
83978
+
83979
+ def to_map(self):
83980
+ _map = super().to_map()
83981
+ if _map is not None:
83982
+ return _map
83983
+
83984
+ result = dict()
83985
+ if self.client_token is not None:
83986
+ result['ClientToken'] = self.client_token
83987
+ if self.instance_id is not None:
83988
+ result['InstanceId'] = self.instance_id
83989
+ if self.mode is not None:
83990
+ result['Mode'] = self.mode
83991
+ if self.owner_id is not None:
83992
+ result['OwnerId'] = self.owner_id
83993
+ if self.region_id is not None:
83994
+ result['RegionId'] = self.region_id
83995
+ if self.resource_owner_account is not None:
83996
+ result['ResourceOwnerAccount'] = self.resource_owner_account
83997
+ if self.resource_owner_id is not None:
83998
+ result['ResourceOwnerId'] = self.resource_owner_id
83999
+ return result
84000
+
84001
+ def from_map(self, m: dict = None):
84002
+ m = m or dict()
84003
+ if m.get('ClientToken') is not None:
84004
+ self.client_token = m.get('ClientToken')
84005
+ if m.get('InstanceId') is not None:
84006
+ self.instance_id = m.get('InstanceId')
84007
+ if m.get('Mode') is not None:
84008
+ self.mode = m.get('Mode')
84009
+ if m.get('OwnerId') is not None:
84010
+ self.owner_id = m.get('OwnerId')
84011
+ if m.get('RegionId') is not None:
84012
+ self.region_id = m.get('RegionId')
84013
+ if m.get('ResourceOwnerAccount') is not None:
84014
+ self.resource_owner_account = m.get('ResourceOwnerAccount')
84015
+ if m.get('ResourceOwnerId') is not None:
84016
+ self.resource_owner_id = m.get('ResourceOwnerId')
84017
+ return self
84018
+
84019
+
84020
+ class ModifyEipForwardModeResponseBody(TeaModel):
84021
+ def __init__(
84022
+ self,
84023
+ request_id: str = None,
84024
+ ):
84025
+ # The request ID.
84026
+ self.request_id = request_id
84027
+
84028
+ def validate(self):
84029
+ pass
84030
+
84031
+ def to_map(self):
84032
+ _map = super().to_map()
84033
+ if _map is not None:
84034
+ return _map
84035
+
84036
+ result = dict()
84037
+ if self.request_id is not None:
84038
+ result['RequestId'] = self.request_id
84039
+ return result
84040
+
84041
+ def from_map(self, m: dict = None):
84042
+ m = m or dict()
84043
+ if m.get('RequestId') is not None:
84044
+ self.request_id = m.get('RequestId')
84045
+ return self
84046
+
84047
+
84048
+ class ModifyEipForwardModeResponse(TeaModel):
84049
+ def __init__(
84050
+ self,
84051
+ headers: Dict[str, str] = None,
84052
+ status_code: int = None,
84053
+ body: ModifyEipForwardModeResponseBody = None,
84054
+ ):
84055
+ self.headers = headers
84056
+ self.status_code = status_code
84057
+ self.body = body
84058
+
84059
+ def validate(self):
84060
+ if self.body:
84061
+ self.body.validate()
84062
+
84063
+ def to_map(self):
84064
+ _map = super().to_map()
84065
+ if _map is not None:
84066
+ return _map
84067
+
84068
+ result = dict()
84069
+ if self.headers is not None:
84070
+ result['headers'] = self.headers
84071
+ if self.status_code is not None:
84072
+ result['statusCode'] = self.status_code
84073
+ if self.body is not None:
84074
+ result['body'] = self.body.to_map()
84075
+ return result
84076
+
84077
+ def from_map(self, m: dict = None):
84078
+ m = m or dict()
84079
+ if m.get('headers') is not None:
84080
+ self.headers = m.get('headers')
84081
+ if m.get('statusCode') is not None:
84082
+ self.status_code = m.get('statusCode')
84083
+ if m.get('body') is not None:
84084
+ temp_model = ModifyEipForwardModeResponseBody()
84085
+ self.body = temp_model.from_map(m['body'])
84086
+ return self
84087
+
84088
+
83875
84089
  class ModifyExpressCloudConnectionAttributeRequest(TeaModel):
83876
84090
  def __init__(
83877
84091
  self,
@@ -87189,6 +87403,10 @@ class ModifyIpv6InternetBandwidthRequest(TeaModel):
87189
87403
  #
87190
87404
  # > 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.
87191
87405
  self.client_token = client_token
87406
+ # Specifies whether to perform a dry run, without sending the actual request. Valid values:
87407
+ #
87408
+ # * **true**: pre-checks the request but does not create the IPv4 gateway. 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 code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
87409
+ # * **false** (default): sends the API request. After the request passes the check, an HTTP 2xx status code is returned and the IPv4 gateway is created.
87192
87410
  self.dry_run = dry_run
87193
87411
  # The ID of the IPv6 address.
87194
87412
  #
@@ -90149,11 +90367,13 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelBgpConfig(TeaM
90149
90367
  ):
90150
90368
  # The local autonomous system number (ASN). Valid values: **1** to **4294967295**.
90151
90369
  self.local_asn = local_asn
90152
- # The BGP IP address of the tunnel. The IP address must fall into the **CIDR block** of the tunnel.
90370
+ # The BGP IP address of the tunnel. The address needs to be an IP address within the **TunnelCidr**.
90153
90371
  self.local_bgp_ip = local_bgp_ip
90154
90372
  # The CIDR block of the tunnel.
90155
90373
  #
90156
- # The CIDR block must fall within the 169.254.0.0/16 range. The subnet mask of the CIDR block must be 30 bits in length.
90374
+ # The CIDR block must fall within 169.254.0.0/16 and the mask of the CIDR block must be 30 bits in length. The CIDR block cannot be 169.254.0.0/30, 169.254.1.0/30, 169.254.2.0/30, 169.254.3.0/30, 169.254.4.0/30, 169.254.5.0/30, 169.254.6.0/30, or 169.254.169.252/30.
90375
+ #
90376
+ # > The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
90157
90377
  self.tunnel_cidr = tunnel_cidr
90158
90378
 
90159
90379
  def validate(self):
@@ -90199,15 +90419,30 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig(TeaM
90199
90419
  ):
90200
90420
  # The authentication algorithm that is used in IKE Phase 1 negotiations.
90201
90421
  #
90202
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90203
- # * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm3**.
90422
+ #
90423
+ # <props="china">
90424
+ #
90425
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90426
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, the valid value is **sm3**.
90427
+ #
90428
+ #
90429
+ # <props="intl">
90430
+ #
90431
+ # Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90204
90432
  self.ike_auth_alg = ike_auth_alg
90205
90433
  # The encryption algorithm that is used in IKE Phase 1 negotiations.
90206
90434
  #
90207
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90208
- # * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
90435
+ # <props="china">
90436
+ #
90437
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **aes**, **aes192**, **aes256**, **des**, and **3des**.
90438
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, set the value to **sm4**.
90439
+ #
90440
+ #
90441
+ # <props="intl">
90442
+ #
90443
+ # Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90209
90444
  self.ike_enc_alg = ike_enc_alg
90210
- # The SA lifetime as a result of Phase 1 negotiations. Unit: seconds. Valid values: **0 to 86400**.
90445
+ # The SA lifetime as a result of Phase 1 negotiations. Unit: seconds Valid values: **0 to 86400**.
90211
90446
  self.ike_lifetime = ike_lifetime
90212
90447
  # The negotiation mode of IKE. Valid values:
90213
90448
  #
@@ -90218,16 +90453,16 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig(TeaM
90218
90453
  self.ike_pfs = ike_pfs
90219
90454
  # The version of the IKE protocol. Valid values: **ikev1** and **ikev2**.
90220
90455
  self.ike_version = ike_version
90221
- # The tunnel identifier. The identifier can be up to 100 characters in length, and supports FQDNs and IP addresses. The default value is the IP address of the tunnel.
90456
+ # The tunnel identifier. The identifier can be up to 100 characters in length and cannot contain spaces. It supports fully qualified domain names (FQDNs) and IP addresses. The default value is the IP address of the tunnel.
90222
90457
  self.local_id = local_id
90223
90458
  # The pre-shared key that is used to verify identities between the tunnel and peer.
90224
90459
  #
90225
- # * The key must be 1 to 100 characters in length and can contain digits, letters, and the following special characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
90226
- # * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) operation to query the pre-shared key that is automatically generated by the system.
90460
+ # * The key must be 1 to 100 characters in length, and can contain digits, and letters. It cannot contain spaces. ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
90461
+ # * If you do not specify a pre-shared key, the system randomly generates a 16-bit string as the key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/120374.html) operation to query the pre-shared key that is automatically generated by the system.
90227
90462
  #
90228
- # > The pre-shared key that is configured for the tunnel and the tunnel peer must be the same. Otherwise, the system cannot establish the tunnel.
90463
+ # > The pre-shared key that is configured for the tunnel and the tunnel peer must be the same. Otherwise, the system cannot establish the tunnel.
90229
90464
  self.psk = psk
90230
- # The peer identifier. The identifier can be up to 100 characters in length, and supports FQDNs and IP addresses. The default identifier is the IP address of the customer gateway associated with the tunnel.
90465
+ # The peer identifier. The identifier can be up to 100 characters in length, and cannot contain spaces. It supports FQDNs and IP addresses. The default identifier is the IP address of the customer gateway associated with the tunnel.
90231
90466
  self.remote_id = remote_id
90232
90467
 
90233
90468
  def validate(self):
@@ -90292,15 +90527,31 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig(Te
90292
90527
  ):
90293
90528
  # The authentication algorithm that is used in IPsec Phase 2 negotiations.
90294
90529
  #
90295
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90296
- # * Valid values when the IPsec connection is attached to a VPN gateway that uses an SM certificate: **sm3**.
90530
+ # <props="china">
90531
+ #
90532
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90533
+ # * If the IPsec-VPN gateway is associated with an SSL-VPN gateway, set the value to **sm3**.
90534
+ #
90535
+ #
90536
+ #
90537
+ # <props="intl">
90538
+ #
90539
+ # Valid values: **md5**, **sha1**, **sha256**, **sha384**, and **sha512**.
90297
90540
  self.ipsec_auth_alg = ipsec_auth_alg
90298
90541
  # The encryption algorithm that is used in IPsec Phase 2 negotiations.
90299
90542
  #
90300
- # * Valid values when the IPsec connection is attached to a standard VPN gateway: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90543
+ # <props="china">
90544
+ #
90545
+ # * If an IPsec-VPN gateway is associated with a standard VPN gateway, the valid values are **aes**, **aes192**, **aes256**, **des**, and **3des**.
90301
90546
  # * If the IPsec connection is attached to a VPN gateway that uses an SM certificate, set the value to **sm4**.
90547
+ #
90548
+ #
90549
+ #
90550
+ # <props="intl">
90551
+ #
90552
+ # Valid values: **aes**, **aes192**, **aes256**, **des**, and **3des**.
90302
90553
  self.ipsec_enc_alg = ipsec_enc_alg
90303
- # The SA lifetime as a result of Phase 2 negotiations. Unit: seconds. Valid values: **0 to 86400**.
90554
+ # The SA lifetime as a result of Phase 2 negotiations. Unit: seconds Valid values: **0 to 86400**.
90304
90555
  self.ipsec_lifetime = ipsec_lifetime
90305
90556
  # The Diffie-Hellman key exchange algorithm that is used in Phase 2 negotiations. Valid values: **disabled**, **group1**, **group2**, **group5**, and **group14**.
90306
90557
  self.ipsec_pfs = ipsec_pfs
@@ -90348,10 +90599,11 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecification(TeaModel):
90348
90599
  tunnel_ike_config: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIkeConfig = None,
90349
90600
  tunnel_ipsec_config: ModifyTunnelAttributeRequestTunnelOptionsSpecificationTunnelIpsecConfig = None,
90350
90601
  ):
90602
+ # The ID of the customer gateway associated with the tunnel.
90351
90603
  self.customer_gateway_id = customer_gateway_id
90352
- # Specifies whether to enable dead peer detection (DPD). Valid values: Valid values:
90604
+ # Specifies whether to enable dead peer detection (DPD). Valid values:
90353
90605
  #
90354
- # * **true** The IPsec initiator sends DPD packets to verify the existence and availability of the IPsec peer. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
90606
+ # * **true** The IPsec initiator sends DPD packets to check the IPsec peer is alive. If no response is received from the peer within a specified period of time, the IPsec peer is considered disconnected. Then, the ISAKMP SA, IPsec SA, and IPsec tunnel are deleted.
90355
90607
  # * **false**: DPD is disabled. The IPsec initiator does not send DPD packets.
90356
90608
  self.enable_dpd = enable_dpd
90357
90609
  # Specifies whether to enable NAT traversal. Valid values:
@@ -90363,7 +90615,7 @@ class ModifyTunnelAttributeRequestTunnelOptionsSpecification(TeaModel):
90363
90615
  self.remote_ca_certificate = remote_ca_certificate
90364
90616
  # The Border Gateway Protocol (BGP) configurations of the tunnel.
90365
90617
  #
90366
- # If the BGP feature is not enabled for the tunnel, you must call the [ModifyVpnConnectionAttribute](https://help.aliyun.com/document_detail/120381.html) operation to enable the BGP feature for the tunnel and configure BGP.
90618
+ # If the BGP feature is not enabled for the tunnel, you must call the [ModifyVpnConnectionAttribute](https://help.aliyun.com/document_detail/120381.html) operation to enable the feature and configure BGP.
90367
90619
  self.tunnel_bgp_config = tunnel_bgp_config
90368
90620
  # The configurations of IKE Phase 1.
90369
90621
  self.tunnel_ike_config = tunnel_ike_config
@@ -95516,14 +95768,17 @@ class ModifyVpnGatewayAttributeResponseBody(TeaModel):
95516
95768
  #
95517
95769
  # If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the system assigns two IP addresses to the VPN gateway to create two encrypted tunnels.
95518
95770
  self.internet_ip = internet_ip
95519
- # The IP address of the VPN gateway.
95771
+ # The private IP address of the vSwitch that is used by the system when the VPN gateway is deployed.
95520
95772
  #
95521
- # This parameter is returned only if the VPN gateway supports IPsec-VPN connections in single-tunnel mode.
95773
+ # The parameter is returned only for VPN gateways that support single-tunnel IPsec-VPN connections. The IPsec-VPN feature must be enabled.
95522
95774
  self.intranet_ip = intranet_ip
95523
95775
  # The name of the VPN gateway.
95524
95776
  self.name = name
95525
95777
  # The request ID.
95526
95778
  self.request_id = request_id
95779
+ # The ID of the resource group to which the VPN gateway belongs.
95780
+ #
95781
+ # You can call the [ListResourceGroups](https://help.aliyun.com/document_detail/158855.html) operation to query resource groups.
95527
95782
  self.resource_group_id = resource_group_id
95528
95783
  # The maximum bandwidth of the VPN gateway. Unit: Mbit/s.
95529
95784
  self.spec = spec
@@ -101273,13 +101528,29 @@ class TransformEipSegmentToPublicIpAddressPoolRequest(TeaModel):
101273
101528
  region_id: str = None,
101274
101529
  resource_group_id: str = None,
101275
101530
  ):
101531
+ # The client token that is used to ensure the idempotence of the request.
101532
+ #
101533
+ # You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.
101534
+ #
101535
+ # > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** is different for each request.
101276
101536
  self.client_token = client_token
101537
+ # The description of the IP address pool.
101538
+ #
101539
+ # The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.
101277
101540
  self.description = description
101541
+ # The ID of the contiguous EIP group to be migrated.
101542
+ #
101278
101543
  # This parameter is required.
101279
101544
  self.instance_id = instance_id
101545
+ # The name of the IP address pool.
101546
+ #
101547
+ # The name must be 0 to 128 characters in length and cannot start with `http://` or `https://`.
101280
101548
  self.name = name
101549
+ # The ID of the region to which the contiguous EIP group belongs. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
101550
+ #
101281
101551
  # This parameter is required.
101282
101552
  self.region_id = region_id
101553
+ # The ID of the resource group to which the address pool belongs.
101283
101554
  self.resource_group_id = resource_group_id
101284
101555
 
101285
101556
  def validate(self):
@@ -101329,8 +101600,11 @@ class TransformEipSegmentToPublicIpAddressPoolResponseBody(TeaModel):
101329
101600
  request_id: str = None,
101330
101601
  resource_group_id: str = None,
101331
101602
  ):
101603
+ # The ID of the IP address pool.
101332
101604
  self.public_ip_address_pool_id = public_ip_address_pool_id
101605
+ # The request ID.
101333
101606
  self.request_id = request_id
101607
+ # The ID of the resource group to which the IP address pool belongs.
101334
101608
  self.resource_group_id = resource_group_id
101335
101609
 
101336
101610
  def validate(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.10.3
3
+ Version: 6.11.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
@@ -0,0 +1,8 @@
1
+ alibabacloud_vpc20160428/__init__.py,sha256=1U1B63WF5uC-S1-fjxNg-Ule22Inb5kzrf3CbUXB5IA,22
2
+ alibabacloud_vpc20160428/client.py,sha256=k113FOuDpdd12DS3QvfKOF6vVX7VbzarEJ1CCcldPNw,3107327
3
+ alibabacloud_vpc20160428/models.py,sha256=9OqLlTCj3AIBSn9HW4AK03qsfcS-7GAOeNWFqIqCTjE,4166210
4
+ alibabacloud_vpc20160428-6.11.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.11.1.dist-info/METADATA,sha256=FVedi7CMgUDlegR7cQ8kX9hSypUdP24D2tb2_gryUcs,2331
6
+ alibabacloud_vpc20160428-6.11.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_vpc20160428-6.11.1.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.11.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_vpc20160428/__init__.py,sha256=lxiTKSuhGfs8LWN43sr-DDxYg8cr7gAN4EARSvf6bi0,22
2
- alibabacloud_vpc20160428/client.py,sha256=LRpuqHV8GID0uI-nBE25sB2Q1GOHZM0vOpHYRMeL3Wk,3097781
3
- alibabacloud_vpc20160428/models.py,sha256=7FnbIpKlZapim_HRw3J9qZAEXz1F789__XyqxoOjYE4,4154843
4
- alibabacloud_vpc20160428-6.10.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_vpc20160428-6.10.3.dist-info/METADATA,sha256=1stk1KLfsG0RPErKpyH01k9OSB25iTmZL_JKswHxGKA,2331
6
- alibabacloud_vpc20160428-6.10.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
- alibabacloud_vpc20160428-6.10.3.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
- alibabacloud_vpc20160428-6.10.3.dist-info/RECORD,,