alibabacloud-vpc20160428 6.11.1__py3-none-any.whl → 6.11.3__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.11.1'
1
+ __version__ = '6.11.3'
@@ -1528,6 +1528,8 @@ class Client(OpenApiClient):
1528
1528
  query['ResourceOwnerId'] = request.resource_owner_id
1529
1529
  if not UtilClient.is_unset(request.security_protection_types):
1530
1530
  query['SecurityProtectionTypes'] = request.security_protection_types
1531
+ if not UtilClient.is_unset(request.tag):
1532
+ query['Tag'] = request.tag
1531
1533
  if not UtilClient.is_unset(request.zone):
1532
1534
  query['Zone'] = request.zone
1533
1535
  req = open_api_models.OpenApiRequest(
@@ -1616,6 +1618,8 @@ class Client(OpenApiClient):
1616
1618
  query['ResourceOwnerId'] = request.resource_owner_id
1617
1619
  if not UtilClient.is_unset(request.security_protection_types):
1618
1620
  query['SecurityProtectionTypes'] = request.security_protection_types
1621
+ if not UtilClient.is_unset(request.tag):
1622
+ query['Tag'] = request.tag
1619
1623
  if not UtilClient.is_unset(request.zone):
1620
1624
  query['Zone'] = request.zone
1621
1625
  req = open_api_models.OpenApiRequest(
@@ -1727,6 +1731,8 @@ class Client(OpenApiClient):
1727
1731
  query['ResourceOwnerId'] = request.resource_owner_id
1728
1732
  if not UtilClient.is_unset(request.security_protection_types):
1729
1733
  query['SecurityProtectionTypes'] = request.security_protection_types
1734
+ if not UtilClient.is_unset(request.tag):
1735
+ query['Tag'] = request.tag
1730
1736
  req = open_api_models.OpenApiRequest(
1731
1737
  query=OpenApiUtilClient.query(query)
1732
1738
  )
@@ -1804,6 +1810,8 @@ class Client(OpenApiClient):
1804
1810
  query['ResourceOwnerId'] = request.resource_owner_id
1805
1811
  if not UtilClient.is_unset(request.security_protection_types):
1806
1812
  query['SecurityProtectionTypes'] = request.security_protection_types
1813
+ if not UtilClient.is_unset(request.tag):
1814
+ query['Tag'] = request.tag
1807
1815
  req = open_api_models.OpenApiRequest(
1808
1816
  query=OpenApiUtilClient.query(query)
1809
1817
  )
@@ -1861,6 +1869,8 @@ class Client(OpenApiClient):
1861
1869
  runtime: util_models.RuntimeOptions,
1862
1870
  ) -> vpc_20160428_models.AllocateEipSegmentAddressResponse:
1863
1871
  """
1872
+ @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
1873
+
1864
1874
  @summary Applies for contiguous elastic IP addresses (EIPs).
1865
1875
 
1866
1876
  @description *AllocateEipSegmentAddress** is an asynchronous operation. After a request is sent, the system returns the ID of a contiguous EIP group and runs the task in the background. You can call the [DescribeEipSegment](https://help.aliyun.com/document_detail/156063.html) operation to query the status of the task.
@@ -1870,6 +1880,7 @@ class Client(OpenApiClient):
1870
1880
  @param request: AllocateEipSegmentAddressRequest
1871
1881
  @param runtime: runtime options for this request RuntimeOptions
1872
1882
  @return: AllocateEipSegmentAddressResponse
1883
+ Deprecated
1873
1884
  """
1874
1885
  UtilClient.validate_model(request)
1875
1886
  query = {}
@@ -1930,6 +1941,8 @@ class Client(OpenApiClient):
1930
1941
  runtime: util_models.RuntimeOptions,
1931
1942
  ) -> vpc_20160428_models.AllocateEipSegmentAddressResponse:
1932
1943
  """
1944
+ @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
1945
+
1933
1946
  @summary Applies for contiguous elastic IP addresses (EIPs).
1934
1947
 
1935
1948
  @description *AllocateEipSegmentAddress** is an asynchronous operation. After a request is sent, the system returns the ID of a contiguous EIP group and runs the task in the background. You can call the [DescribeEipSegment](https://help.aliyun.com/document_detail/156063.html) operation to query the status of the task.
@@ -1939,6 +1952,7 @@ class Client(OpenApiClient):
1939
1952
  @param request: AllocateEipSegmentAddressRequest
1940
1953
  @param runtime: runtime options for this request RuntimeOptions
1941
1954
  @return: AllocateEipSegmentAddressResponse
1955
+ Deprecated
1942
1956
  """
1943
1957
  UtilClient.validate_model(request)
1944
1958
  query = {}
@@ -1998,6 +2012,8 @@ class Client(OpenApiClient):
1998
2012
  request: vpc_20160428_models.AllocateEipSegmentAddressRequest,
1999
2013
  ) -> vpc_20160428_models.AllocateEipSegmentAddressResponse:
2000
2014
  """
2015
+ @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
2016
+
2001
2017
  @summary Applies for contiguous elastic IP addresses (EIPs).
2002
2018
 
2003
2019
  @description *AllocateEipSegmentAddress** is an asynchronous operation. After a request is sent, the system returns the ID of a contiguous EIP group and runs the task in the background. You can call the [DescribeEipSegment](https://help.aliyun.com/document_detail/156063.html) operation to query the status of the task.
@@ -2006,6 +2022,7 @@ class Client(OpenApiClient):
2006
2022
 
2007
2023
  @param request: AllocateEipSegmentAddressRequest
2008
2024
  @return: AllocateEipSegmentAddressResponse
2025
+ Deprecated
2009
2026
  """
2010
2027
  runtime = util_models.RuntimeOptions()
2011
2028
  return self.allocate_eip_segment_address_with_options(request, runtime)
@@ -2015,6 +2032,8 @@ class Client(OpenApiClient):
2015
2032
  request: vpc_20160428_models.AllocateEipSegmentAddressRequest,
2016
2033
  ) -> vpc_20160428_models.AllocateEipSegmentAddressResponse:
2017
2034
  """
2035
+ @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
2036
+
2018
2037
  @summary Applies for contiguous elastic IP addresses (EIPs).
2019
2038
 
2020
2039
  @description *AllocateEipSegmentAddress** is an asynchronous operation. After a request is sent, the system returns the ID of a contiguous EIP group and runs the task in the background. You can call the [DescribeEipSegment](https://help.aliyun.com/document_detail/156063.html) operation to query the status of the task.
@@ -2023,6 +2042,7 @@ class Client(OpenApiClient):
2023
2042
 
2024
2043
  @param request: AllocateEipSegmentAddressRequest
2025
2044
  @return: AllocateEipSegmentAddressResponse
2045
+ Deprecated
2026
2046
  """
2027
2047
  runtime = util_models.RuntimeOptions()
2028
2048
  return await self.allocate_eip_segment_address_with_options_async(request, runtime)
@@ -6505,6 +6525,8 @@ class Client(OpenApiClient):
6505
6525
  query['ResourceOwnerId'] = request.resource_owner_id
6506
6526
  if not UtilClient.is_unset(request.security_protection_types):
6507
6527
  query['SecurityProtectionTypes'] = request.security_protection_types
6528
+ if not UtilClient.is_unset(request.tag):
6529
+ query['Tag'] = request.tag
6508
6530
  if not UtilClient.is_unset(request.zone):
6509
6531
  query['Zone'] = request.zone
6510
6532
  req = open_api_models.OpenApiRequest(
@@ -6574,6 +6596,8 @@ class Client(OpenApiClient):
6574
6596
  query['ResourceOwnerId'] = request.resource_owner_id
6575
6597
  if not UtilClient.is_unset(request.security_protection_types):
6576
6598
  query['SecurityProtectionTypes'] = request.security_protection_types
6599
+ if not UtilClient.is_unset(request.tag):
6600
+ query['Tag'] = request.tag
6577
6601
  if not UtilClient.is_unset(request.zone):
6578
6602
  query['Zone'] = request.zone
6579
6603
  req = open_api_models.OpenApiRequest(
@@ -1409,6 +1409,39 @@ class AddSourcesToTrafficMirrorSessionResponse(TeaModel):
1409
1409
  return self
1410
1410
 
1411
1411
 
1412
+ class AllocateEipAddressRequestTag(TeaModel):
1413
+ def __init__(
1414
+ self,
1415
+ key: str = None,
1416
+ value: str = None,
1417
+ ):
1418
+ self.key = key
1419
+ self.value = value
1420
+
1421
+ def validate(self):
1422
+ pass
1423
+
1424
+ def to_map(self):
1425
+ _map = super().to_map()
1426
+ if _map is not None:
1427
+ return _map
1428
+
1429
+ result = dict()
1430
+ if self.key is not None:
1431
+ result['Key'] = self.key
1432
+ if self.value is not None:
1433
+ result['Value'] = self.value
1434
+ return result
1435
+
1436
+ def from_map(self, m: dict = None):
1437
+ m = m or dict()
1438
+ if m.get('Key') is not None:
1439
+ self.key = m.get('Key')
1440
+ if m.get('Value') is not None:
1441
+ self.value = m.get('Value')
1442
+ return self
1443
+
1444
+
1412
1445
  class AllocateEipAddressRequest(TeaModel):
1413
1446
  def __init__(
1414
1447
  self,
@@ -1434,6 +1467,7 @@ class AllocateEipAddressRequest(TeaModel):
1434
1467
  resource_owner_account: str = None,
1435
1468
  resource_owner_id: int = None,
1436
1469
  security_protection_types: List[str] = None,
1470
+ tag: List[AllocateEipAddressRequestTag] = None,
1437
1471
  zone: str = None,
1438
1472
  ):
1439
1473
  # The promotion code. This parameter is not required.
@@ -1555,6 +1589,7 @@ class AllocateEipAddressRequest(TeaModel):
1555
1589
  #
1556
1590
  # You can specify up to 10 editions of Anti-DDoS.
1557
1591
  self.security_protection_types = security_protection_types
1592
+ self.tag = tag
1558
1593
  # The zone of the EIP.
1559
1594
  #
1560
1595
  # When the service type of the IP address pool specified by **PublicIpAddressPoolId** is CloudBox, the default value is the zone of the IP address pool.
@@ -1563,7 +1598,10 @@ class AllocateEipAddressRequest(TeaModel):
1563
1598
  self.zone = zone
1564
1599
 
1565
1600
  def validate(self):
1566
- pass
1601
+ if self.tag:
1602
+ for k in self.tag:
1603
+ if k:
1604
+ k.validate()
1567
1605
 
1568
1606
  def to_map(self):
1569
1607
  _map = super().to_map()
@@ -1615,6 +1653,10 @@ class AllocateEipAddressRequest(TeaModel):
1615
1653
  result['ResourceOwnerId'] = self.resource_owner_id
1616
1654
  if self.security_protection_types is not None:
1617
1655
  result['SecurityProtectionTypes'] = self.security_protection_types
1656
+ result['Tag'] = []
1657
+ if self.tag is not None:
1658
+ for k in self.tag:
1659
+ result['Tag'].append(k.to_map() if k else None)
1618
1660
  if self.zone is not None:
1619
1661
  result['Zone'] = self.zone
1620
1662
  return result
@@ -1665,6 +1707,11 @@ class AllocateEipAddressRequest(TeaModel):
1665
1707
  self.resource_owner_id = m.get('ResourceOwnerId')
1666
1708
  if m.get('SecurityProtectionTypes') is not None:
1667
1709
  self.security_protection_types = m.get('SecurityProtectionTypes')
1710
+ self.tag = []
1711
+ if m.get('Tag') is not None:
1712
+ for k in m.get('Tag'):
1713
+ temp_model = AllocateEipAddressRequestTag()
1714
+ self.tag.append(temp_model.from_map(k))
1668
1715
  if m.get('Zone') is not None:
1669
1716
  self.zone = m.get('Zone')
1670
1717
  return self
@@ -1767,6 +1814,39 @@ class AllocateEipAddressResponse(TeaModel):
1767
1814
  return self
1768
1815
 
1769
1816
 
1817
+ class AllocateEipAddressProRequestTag(TeaModel):
1818
+ def __init__(
1819
+ self,
1820
+ key: str = None,
1821
+ value: str = None,
1822
+ ):
1823
+ self.key = key
1824
+ self.value = value
1825
+
1826
+ def validate(self):
1827
+ pass
1828
+
1829
+ def to_map(self):
1830
+ _map = super().to_map()
1831
+ if _map is not None:
1832
+ return _map
1833
+
1834
+ result = dict()
1835
+ if self.key is not None:
1836
+ result['Key'] = self.key
1837
+ if self.value is not None:
1838
+ result['Value'] = self.value
1839
+ return result
1840
+
1841
+ def from_map(self, m: dict = None):
1842
+ m = m or dict()
1843
+ if m.get('Key') is not None:
1844
+ self.key = m.get('Key')
1845
+ if m.get('Value') is not None:
1846
+ self.value = m.get('Value')
1847
+ return self
1848
+
1849
+
1770
1850
  class AllocateEipAddressProRequest(TeaModel):
1771
1851
  def __init__(
1772
1852
  self,
@@ -1789,6 +1869,7 @@ class AllocateEipAddressProRequest(TeaModel):
1789
1869
  resource_owner_account: str = None,
1790
1870
  resource_owner_id: int = None,
1791
1871
  security_protection_types: List[str] = None,
1872
+ tag: List[AllocateEipAddressProRequestTag] = None,
1792
1873
  ):
1793
1874
  # Specifies whether to enable automatic payment. Default value: true. Valid values:
1794
1875
  #
@@ -1898,9 +1979,13 @@ class AllocateEipAddressProRequest(TeaModel):
1898
1979
  #
1899
1980
  # You can configure Anti-DDoS editions for up to 10 EIPs.
1900
1981
  self.security_protection_types = security_protection_types
1982
+ self.tag = tag
1901
1983
 
1902
1984
  def validate(self):
1903
- pass
1985
+ if self.tag:
1986
+ for k in self.tag:
1987
+ if k:
1988
+ k.validate()
1904
1989
 
1905
1990
  def to_map(self):
1906
1991
  _map = super().to_map()
@@ -1946,6 +2031,10 @@ class AllocateEipAddressProRequest(TeaModel):
1946
2031
  result['ResourceOwnerId'] = self.resource_owner_id
1947
2032
  if self.security_protection_types is not None:
1948
2033
  result['SecurityProtectionTypes'] = self.security_protection_types
2034
+ result['Tag'] = []
2035
+ if self.tag is not None:
2036
+ for k in self.tag:
2037
+ result['Tag'].append(k.to_map() if k else None)
1949
2038
  return result
1950
2039
 
1951
2040
  def from_map(self, m: dict = None):
@@ -1988,6 +2077,11 @@ class AllocateEipAddressProRequest(TeaModel):
1988
2077
  self.resource_owner_id = m.get('ResourceOwnerId')
1989
2078
  if m.get('SecurityProtectionTypes') is not None:
1990
2079
  self.security_protection_types = m.get('SecurityProtectionTypes')
2080
+ self.tag = []
2081
+ if m.get('Tag') is not None:
2082
+ for k in m.get('Tag'):
2083
+ temp_model = AllocateEipAddressProRequestTag()
2084
+ self.tag.append(temp_model.from_map(k))
1991
2085
  return self
1992
2086
 
1993
2087
 
@@ -7110,9 +7204,9 @@ class CreateBgpPeerRequest(TeaModel):
7110
7204
  ):
7111
7205
  # The BFD hop count. Valid values: **1** to **255**.
7112
7206
  #
7113
- # This parameter is required only if you enable BFD.
7207
+ # This parameter is required only if you enable BFD. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
7114
7208
  #
7115
- # The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
7209
+ # > If you use BFD in a multi-cloud environment or a fiber-optic direct connection network without any bridge device, you need to change the default BFD hop count from **255** to **1**.
7116
7210
  self.bfd_multi_hop = bfd_multi_hop
7117
7211
  # The ID of the BGP group.
7118
7212
  #
@@ -7283,6 +7377,39 @@ class CreateBgpPeerResponse(TeaModel):
7283
7377
  return self
7284
7378
 
7285
7379
 
7380
+ class CreateCommonBandwidthPackageRequestTag(TeaModel):
7381
+ def __init__(
7382
+ self,
7383
+ key: str = None,
7384
+ value: str = None,
7385
+ ):
7386
+ self.key = key
7387
+ self.value = value
7388
+
7389
+ def validate(self):
7390
+ pass
7391
+
7392
+ def to_map(self):
7393
+ _map = super().to_map()
7394
+ if _map is not None:
7395
+ return _map
7396
+
7397
+ result = dict()
7398
+ if self.key is not None:
7399
+ result['Key'] = self.key
7400
+ if self.value is not None:
7401
+ result['Value'] = self.value
7402
+ return result
7403
+
7404
+ def from_map(self, m: dict = None):
7405
+ m = m or dict()
7406
+ if m.get('Key') is not None:
7407
+ self.key = m.get('Key')
7408
+ if m.get('Value') is not None:
7409
+ self.value = m.get('Value')
7410
+ return self
7411
+
7412
+
7286
7413
  class CreateCommonBandwidthPackageRequest(TeaModel):
7287
7414
  def __init__(
7288
7415
  self,
@@ -7300,6 +7427,7 @@ class CreateCommonBandwidthPackageRequest(TeaModel):
7300
7427
  resource_owner_account: str = None,
7301
7428
  resource_owner_id: int = None,
7302
7429
  security_protection_types: List[str] = None,
7430
+ tag: List[CreateCommonBandwidthPackageRequestTag] = None,
7303
7431
  zone: str = None,
7304
7432
  ):
7305
7433
  # The maximum bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.
@@ -7357,11 +7485,15 @@ class CreateCommonBandwidthPackageRequest(TeaModel):
7357
7485
  self.resource_owner_account = resource_owner_account
7358
7486
  self.resource_owner_id = resource_owner_id
7359
7487
  self.security_protection_types = security_protection_types
7488
+ self.tag = tag
7360
7489
  # The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
7361
7490
  self.zone = zone
7362
7491
 
7363
7492
  def validate(self):
7364
- pass
7493
+ if self.tag:
7494
+ for k in self.tag:
7495
+ if k:
7496
+ k.validate()
7365
7497
 
7366
7498
  def to_map(self):
7367
7499
  _map = super().to_map()
@@ -7397,6 +7529,10 @@ class CreateCommonBandwidthPackageRequest(TeaModel):
7397
7529
  result['ResourceOwnerId'] = self.resource_owner_id
7398
7530
  if self.security_protection_types is not None:
7399
7531
  result['SecurityProtectionTypes'] = self.security_protection_types
7532
+ result['Tag'] = []
7533
+ if self.tag is not None:
7534
+ for k in self.tag:
7535
+ result['Tag'].append(k.to_map() if k else None)
7400
7536
  if self.zone is not None:
7401
7537
  result['Zone'] = self.zone
7402
7538
  return result
@@ -7431,6 +7567,11 @@ class CreateCommonBandwidthPackageRequest(TeaModel):
7431
7567
  self.resource_owner_id = m.get('ResourceOwnerId')
7432
7568
  if m.get('SecurityProtectionTypes') is not None:
7433
7569
  self.security_protection_types = m.get('SecurityProtectionTypes')
7570
+ self.tag = []
7571
+ if m.get('Tag') is not None:
7572
+ for k in m.get('Tag'):
7573
+ temp_model = CreateCommonBandwidthPackageRequestTag()
7574
+ self.tag.append(temp_model.from_map(k))
7434
7575
  if m.get('Zone') is not None:
7435
7576
  self.zone = m.get('Zone')
7436
7577
  return self
@@ -28842,6 +28983,8 @@ class DeleteRouteEntriesRequest(TeaModel):
28842
28983
  # The region ID of the route table.
28843
28984
  #
28844
28985
  # You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
28986
+ #
28987
+ # This parameter is required.
28845
28988
  self.region_id = region_id
28846
28989
  self.resource_owner_account = resource_owner_account
28847
28990
  self.resource_owner_id = resource_owner_id
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.11.1
3
+ Version: 6.11.3
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=ZT5szFOff5TEbea1DoyWW7ljI8bfomqkts0qxejhByw,22
2
+ alibabacloud_vpc20160428/client.py,sha256=anPZf7TS6kiyW0nkh4m8pCv7wATbOgrXl6ssVbrLSbM,3108239
3
+ alibabacloud_vpc20160428/models.py,sha256=iMliWw1YjRB63ZBvsixzOFq7ii_qIJZhGPgDzD7ptDo,4170391
4
+ alibabacloud_vpc20160428-6.11.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.11.3.dist-info/METADATA,sha256=iVhDdnlO1QgxUuJ-WK-P6Xp2FWJiVRwgVcLA997fJPc,2331
6
+ alibabacloud_vpc20160428-6.11.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_vpc20160428-6.11.3.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.11.3.dist-info/RECORD,,
@@ -1,8 +0,0 @@
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,,