alibabacloud-vpc20160428 6.6.4__py3-none-any.whl → 6.6.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- __version__ = '6.6.4'
1
+ __version__ = '6.6.5'
@@ -30789,6 +30789,8 @@ class Client(OpenApiClient):
30789
30789
  query = {}
30790
30790
  if not UtilClient.is_unset(request.dry_run):
30791
30791
  query['DryRun'] = request.dry_run
30792
+ if not UtilClient.is_unset(request.enable_ipv_6):
30793
+ query['EnableIpv6'] = request.enable_ipv_6
30792
30794
  if not UtilClient.is_unset(request.is_default):
30793
30795
  query['IsDefault'] = request.is_default
30794
30796
  if not UtilClient.is_unset(request.owner_account):
@@ -30856,6 +30858,8 @@ class Client(OpenApiClient):
30856
30858
  query = {}
30857
30859
  if not UtilClient.is_unset(request.dry_run):
30858
30860
  query['DryRun'] = request.dry_run
30861
+ if not UtilClient.is_unset(request.enable_ipv_6):
30862
+ query['EnableIpv6'] = request.enable_ipv_6
30859
30863
  if not UtilClient.is_unset(request.is_default):
30860
30864
  query['IsDefault'] = request.is_default
30861
30865
  if not UtilClient.is_unset(request.owner_account):
@@ -31587,6 +31591,8 @@ class Client(OpenApiClient):
31587
31591
  query['DhcpOptionsSetId'] = request.dhcp_options_set_id
31588
31592
  if not UtilClient.is_unset(request.dry_run):
31589
31593
  query['DryRun'] = request.dry_run
31594
+ if not UtilClient.is_unset(request.enable_ipv_6):
31595
+ query['EnableIpv6'] = request.enable_ipv_6
31590
31596
  if not UtilClient.is_unset(request.is_default):
31591
31597
  query['IsDefault'] = request.is_default
31592
31598
  if not UtilClient.is_unset(request.owner_account):
@@ -31650,6 +31656,8 @@ class Client(OpenApiClient):
31650
31656
  query['DhcpOptionsSetId'] = request.dhcp_options_set_id
31651
31657
  if not UtilClient.is_unset(request.dry_run):
31652
31658
  query['DryRun'] = request.dry_run
31659
+ if not UtilClient.is_unset(request.enable_ipv_6):
31660
+ query['EnableIpv6'] = request.enable_ipv_6
31653
31661
  if not UtilClient.is_unset(request.is_default):
31654
31662
  query['IsDefault'] = request.is_default
31655
31663
  if not UtilClient.is_unset(request.owner_account):
@@ -21030,7 +21030,7 @@ class CreateVpnAttachmentRequest(TeaModel):
21030
21030
  # * **IkeConfig.Psk**: The pre-shared key that is used for authentication between the VPN gateway and the data center.
21031
21031
  #
21032
21032
  # * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
21033
- # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/448847.html) operation to query the pre-shared key that is generated by the system.
21033
+ # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
21034
21034
  #
21035
21035
  # > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the data center. Otherwise, a connection cannot be established between the data center and the VPN gateway.
21036
21036
  #
@@ -21078,9 +21078,9 @@ class CreateVpnAttachmentRequest(TeaModel):
21078
21078
  # * **private**\
21079
21079
  self.network_type = network_type
21080
21080
  self.owner_account = owner_account
21081
- # The ID of the region where the IPsec-VPN connection is established.
21081
+ # The region ID of the IPsec-VPN connection.
21082
21082
  #
21083
- # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent list of regions.
21083
+ # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
21084
21084
  #
21085
21085
  # This parameter is required.
21086
21086
  self.region_id = region_id
@@ -21470,7 +21470,7 @@ class CreateVpnConnectionRequestTunnelOptionsSpecificationTunnelIkeConfig(TeaMod
21470
21470
  # The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
21471
21471
  #
21472
21472
  # * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
21473
- # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/448847.html) operation to query the pre-shared key that is generated by the system.
21473
+ # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
21474
21474
  #
21475
21475
  # > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
21476
21476
  self.psk = psk
@@ -21721,22 +21721,26 @@ class CreateVpnConnectionRequest(TeaModel):
21721
21721
  # * **true** (default)
21722
21722
  # * **false**\
21723
21723
  self.auto_config_route = auto_config_route
21724
- # This parameter is available if you create an IPsec-VPN connection in single-tunnel mode.
21724
+ # This parameter is supported when you create an IPsec-VPN connection in single-tunnel mode.
21725
21725
  #
21726
- # The Border Gateway Protocol (BGP) configurations:
21726
+ # BGP configuration:
21727
21727
  #
21728
- # * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false**. Default value: false.
21728
+ # * **BgpConfig.EnableBgp**: specifies whether to enable BGP. Valid values: **true** and **false** (default).
21729
21729
  #
21730
- # * **BgpConfig.LocalAsn**: the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
21730
+ # * **BgpConfig.LocalAsn:** the autonomous system number (ASN) on the Alibaba Cloud side. Valid values: **1** to **4294967295**. Default value: **45104**.
21731
21731
  #
21732
- # * **BgpConfig.TunnelCidr**: the CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16. The subnet mask of the CIDR block must be 30 bits in length.
21732
+ # You can enter a value in two segments separated by a period (.). Each segment is 16 bits in length. Enter the number in each segment in decimal format.
21733
21733
  #
21734
- # > The CIDR block of an IPsec tunnel associated with a VPN gateway must be unique.
21734
+ # For example, if you enter 123.456, the ASN is 8061384. The ASN is calculated by using the following formula: 123 × 65536 + 456 = 8061384.
21735
21735
  #
21736
- # * **LocalBgpIp**: the BGP address on the Alibaba Cloud side. This IP address must fall within the CIDR block range of the IPsec tunnel.
21736
+ # * **BgpConfig.TunnelCidr**: The CIDR block of the IPsec tunnel. The CIDR block must belong to 169.254.0.0/16 and the subnet mask is 30 bits in length.
21737
21737
  #
21738
- # >* Before you configure BGP, we recommend that you learn about how BGP works and its limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
21739
- # >* We recommend that you use a private ASN to establish a connection with Alibaba Cloud over BGP. For information about the range of private ASNs, see the relevant documentation.
21738
+ # >The CIDR block of the IPsec tunnel for each IPsec-VPN connection on a VPN gateway must be unique.
21739
+ #
21740
+ # * **LocalBgpIp**: the BGP address on the Alibaba Cloud side. It must be an IP address that falls within the CIDR block of the IPsec tunnel.
21741
+ #
21742
+ # > * Before you add BGP configurations, we recommend that you learn about how BGP works and the limits. For more information, see [VPN Gateway supports BGP dynamic routing](https://help.aliyun.com/document_detail/170235.html).
21743
+ # > * We recommend that you use private ASN to establish BGP connections to Alibaba Cloud. Refer to the relevant documentation for the private ASN range.
21740
21744
  self.bgp_config = bgp_config
21741
21745
  # The client token that is used to ensure the idempotence of the request.
21742
21746
  #
@@ -21748,10 +21752,10 @@ class CreateVpnConnectionRequest(TeaModel):
21748
21752
  #
21749
21753
  # The ID of the customer gateway.
21750
21754
  self.customer_gateway_id = customer_gateway_id
21751
- # Specify whether to immediately start IPsec negotiations after the configuration takes effect. Valid values:
21755
+ # Specifies whether to immediately start IPsec negotiations. Valid values:
21752
21756
  #
21753
- # * **true**: immediately starts IPsec negotiations after the configuration is complete.
21754
- # * **false** (default): starts IPsec negotiations when inbound traffic is received.
21757
+ # * **true**: immediately starts IPsec negotiations.
21758
+ # * **false** (default): starts IPsec negotiations when inbound traffic is detected.
21755
21759
  self.effect_immediately = effect_immediately
21756
21760
  # This parameter is available if you create an IPsec-VPN connection in single-tunnel mode.
21757
21761
  #
@@ -21789,7 +21793,7 @@ class CreateVpnConnectionRequest(TeaModel):
21789
21793
  #
21790
21794
  # * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
21791
21795
  #
21792
- # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/448847.html) operation to query the pre-shared key that is generated by the system.
21796
+ # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
21793
21797
  #
21794
21798
  # >The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises database. Otherwise, the on-premises database and the VPN gateway cannot establish a connection.
21795
21799
  #
@@ -54820,6 +54824,7 @@ class DescribeVSwitchesRequest(TeaModel):
54820
54824
  def __init__(
54821
54825
  self,
54822
54826
  dry_run: bool = None,
54827
+ enable_ipv_6: bool = None,
54823
54828
  is_default: bool = None,
54824
54829
  owner_account: str = None,
54825
54830
  owner_id: int = None,
@@ -54842,6 +54847,7 @@ class DescribeVSwitchesRequest(TeaModel):
54842
54847
  # * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
54843
54848
  # * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
54844
54849
  self.dry_run = dry_run
54850
+ self.enable_ipv_6 = enable_ipv_6
54845
54851
  # Specifies whether to query the default vSwitches in the specified region. Valid values:
54846
54852
  #
54847
54853
  # * **true**\
@@ -54896,6 +54902,8 @@ class DescribeVSwitchesRequest(TeaModel):
54896
54902
  result = dict()
54897
54903
  if self.dry_run is not None:
54898
54904
  result['DryRun'] = self.dry_run
54905
+ if self.enable_ipv_6 is not None:
54906
+ result['EnableIpv6'] = self.enable_ipv_6
54899
54907
  if self.is_default is not None:
54900
54908
  result['IsDefault'] = self.is_default
54901
54909
  if self.owner_account is not None:
@@ -54936,6 +54944,8 @@ class DescribeVSwitchesRequest(TeaModel):
54936
54944
  m = m or dict()
54937
54945
  if m.get('DryRun') is not None:
54938
54946
  self.dry_run = m.get('DryRun')
54947
+ if m.get('EnableIpv6') is not None:
54948
+ self.enable_ipv_6 = m.get('EnableIpv6')
54939
54949
  if m.get('IsDefault') is not None:
54940
54950
  self.is_default = m.get('IsDefault')
54941
54951
  if m.get('OwnerAccount') is not None:
@@ -58294,6 +58304,7 @@ class DescribeVpcsRequest(TeaModel):
58294
58304
  self,
58295
58305
  dhcp_options_set_id: str = None,
58296
58306
  dry_run: bool = None,
58307
+ enable_ipv_6: bool = None,
58297
58308
  is_default: bool = None,
58298
58309
  owner_account: str = None,
58299
58310
  owner_id: int = None,
@@ -58315,6 +58326,7 @@ class DescribeVpcsRequest(TeaModel):
58315
58326
  # * **true**: performs only a dry run. The system prechecks whether your AccessKey pair is valid, whether the RAM user is authorized, and whether the required parameters are specified. 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.
58316
58327
  # * **false** (default): sends the request. If the request passes the check, a 2xx HTTP status code is returned and VPCs are queried.
58317
58328
  self.dry_run = dry_run
58329
+ self.enable_ipv_6 = enable_ipv_6
58318
58330
  # Specifies whether to query the default VPC in the specified region. Valid values:
58319
58331
  #
58320
58332
  # * **true** (default)
@@ -58363,6 +58375,8 @@ class DescribeVpcsRequest(TeaModel):
58363
58375
  result['DhcpOptionsSetId'] = self.dhcp_options_set_id
58364
58376
  if self.dry_run is not None:
58365
58377
  result['DryRun'] = self.dry_run
58378
+ if self.enable_ipv_6 is not None:
58379
+ result['EnableIpv6'] = self.enable_ipv_6
58366
58380
  if self.is_default is not None:
58367
58381
  result['IsDefault'] = self.is_default
58368
58382
  if self.owner_account is not None:
@@ -58399,6 +58413,8 @@ class DescribeVpcsRequest(TeaModel):
58399
58413
  self.dhcp_options_set_id = m.get('DhcpOptionsSetId')
58400
58414
  if m.get('DryRun') is not None:
58401
58415
  self.dry_run = m.get('DryRun')
58416
+ if m.get('EnableIpv6') is not None:
58417
+ self.enable_ipv_6 = m.get('EnableIpv6')
58402
58418
  if m.get('IsDefault') is not None:
58403
58419
  self.is_default = m.get('IsDefault')
58404
58420
  if m.get('OwnerAccount') is not None:
@@ -89942,7 +89958,7 @@ class ModifyVpnConnectionAttributeRequestTunnelOptionsSpecificationTunnelIkeConf
89942
89958
  # The pre-shared key, which is used for identity authentication between the tunnel and the tunnel peer.
89943
89959
  #
89944
89960
  # * The key must be 1 to 100 characters in length and can contain digits, letters, and the following characters: ``~!\\`@#$%^&*()_-+={}[]|;:\\",.<>/?``
89945
- # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/448847.html) operation to query the pre-shared key that is generated by the system.
89961
+ # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
89946
89962
  #
89947
89963
  # > The tunnel and the tunnel peer must use the same pre-shared key. Otherwise, the tunnel cannot be established.
89948
89964
  self.psk = psk
@@ -90254,7 +90270,7 @@ class ModifyVpnConnectionAttributeRequest(TeaModel):
90254
90270
  # * **IkeConfig.Psk**: the pre-shared key that is used for authentication between the VPN gateway and the data center.
90255
90271
  #
90256
90272
  # * It must be 1 to 100 characters in length, and can contain letters, digits, and the following characters: ``~!`@#$%^&*()_-+={}[]|;:\\",.<>/?``
90257
- # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/448847.html) operation to query the pre-shared key that is generated by the system.
90273
+ # * If you do not specify a pre-shared key, the system generates a random 16-character string as the pre-shared key. You can call the [DescribeVpnConnection](https://help.aliyun.com/document_detail/2526951.html) operation to query the pre-shared key that is generated by the system.
90258
90274
  #
90259
90275
  # > The pre-shared key of the IPsec-VPN connection must be the same as the authentication key of the on-premises database. Otherwise, the on-premises database and the VPN gateway cannot establish a connection.
90260
90276
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.6.4
3
+ Version: 6.6.5
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
@@ -20,8 +20,8 @@ Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Topic :: Software Development
21
21
  Requires-Python: >=3.6
22
22
  Description-Content-Type: text/markdown
23
- Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.11
24
- Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.8
23
+ Requires-Dist: alibabacloud-tea-util <1.0.0,>=0.3.12
24
+ Requires-Dist: alibabacloud-tea-openapi <1.0.0,>=0.3.9
25
25
  Requires-Dist: alibabacloud-openapi-util <1.0.0,>=0.2.1
26
26
  Requires-Dist: alibabacloud-endpoint-util <1.0.0,>=0.0.3
27
27
 
@@ -0,0 +1,8 @@
1
+ alibabacloud_vpc20160428/__init__.py,sha256=Yh6k5OXLkFsxObl5jdfVn2lLYipJMEX8akDAfYIsIUw,21
2
+ alibabacloud_vpc20160428/client.py,sha256=6hxnuJ2Oa9srrR5grtICJSDMTf-JRa6_b24ZpdL4rbw,2766593
3
+ alibabacloud_vpc20160428/models.py,sha256=EtUhGhDfXNYc2Ucb7S2ixJBWa4hWz2T0Nzrg0_LRSEM,3938062
4
+ alibabacloud_vpc20160428-6.6.5.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.6.5.dist-info/METADATA,sha256=lXCL0DqxW1M3v0u_4txis-LG20cqLYc4sLPp1QK0mxg,2301
6
+ alibabacloud_vpc20160428-6.6.5.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
+ alibabacloud_vpc20160428-6.6.5.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.6.5.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- alibabacloud_vpc20160428/__init__.py,sha256=_ZZgHweuqf3AzIjw5EoKaOoDkUOfrgdn17lMnlSILq4,21
2
- alibabacloud_vpc20160428/client.py,sha256=TEtp9EJI85oOssTvv5Sx_omwToi6PPJkQy6Kixqapy8,2766141
3
- alibabacloud_vpc20160428/models.py,sha256=hUh5aNhWcVeuRkhn1On2Owfs0Xok5rwkZA2LM8DLiDU,3937339
4
- alibabacloud_vpc20160428-6.6.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- alibabacloud_vpc20160428-6.6.4.dist-info/METADATA,sha256=YhJ0CNga6aHuwNQwIe3uUlJ6L31ljiMLnCJ90wOVWZI,2301
6
- alibabacloud_vpc20160428-6.6.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- alibabacloud_vpc20160428-6.6.4.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
- alibabacloud_vpc20160428-6.6.4.dist-info/RECORD,,