alibabacloud-vpc20160428 6.11.2__tar.gz → 6.11.4__tar.gz
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.
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/ChangeLog.md +9 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.11.4/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428/client.py +32 -4
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428/models.py +172 -8
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/setup.py +1 -1
- alibabacloud_vpc20160428-6.11.2/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/README.md +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428.egg-info/requires.txt +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.11.2 → alibabacloud_vpc20160428-6.11.4}/setup.cfg +0 -0
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
2025-03-26 Version: 6.11.3
|
|
2
|
+
- Update API AllocateEipAddress: add request parameters Tag.
|
|
3
|
+
- Update API AllocateEipAddressPro: add request parameters Tag.
|
|
4
|
+
- Update API CreateCommonBandwidthPackage: add request parameters Tag.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
2025-02-27 Version: 6.11.2
|
|
8
|
+
- Generated python 2016-04-28 for Vpc.
|
|
9
|
+
|
|
1
10
|
2025-02-26 Version: 6.11.1
|
|
2
11
|
- Update API DescribeFlowLogs: update response param.
|
|
3
12
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.11.4'
|
|
@@ -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(
|
|
@@ -23110,6 +23134,8 @@ class Client(OpenApiClient):
|
|
|
23110
23134
|
"""
|
|
23111
23135
|
UtilClient.validate_model(request)
|
|
23112
23136
|
query = {}
|
|
23137
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
23138
|
+
query['DryRun'] = request.dry_run
|
|
23113
23139
|
if not UtilClient.is_unset(request.owner_account):
|
|
23114
23140
|
query['OwnerAccount'] = request.owner_account
|
|
23115
23141
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -23170,6 +23196,8 @@ class Client(OpenApiClient):
|
|
|
23170
23196
|
"""
|
|
23171
23197
|
UtilClient.validate_model(request)
|
|
23172
23198
|
query = {}
|
|
23199
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
23200
|
+
query['DryRun'] = request.dry_run
|
|
23173
23201
|
if not UtilClient.is_unset(request.owner_account):
|
|
23174
23202
|
query['OwnerAccount'] = request.owner_account
|
|
23175
23203
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -61051,7 +61079,7 @@ class Client(OpenApiClient):
|
|
|
61051
61079
|
runtime: util_models.RuntimeOptions,
|
|
61052
61080
|
) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
|
|
61053
61081
|
"""
|
|
61054
|
-
@summary
|
|
61082
|
+
@summary Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
61055
61083
|
|
|
61056
61084
|
@param request: WithdrawVpcPublishedRouteEntriesRequest
|
|
61057
61085
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -61110,7 +61138,7 @@ class Client(OpenApiClient):
|
|
|
61110
61138
|
runtime: util_models.RuntimeOptions,
|
|
61111
61139
|
) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
|
|
61112
61140
|
"""
|
|
61113
|
-
@summary
|
|
61141
|
+
@summary Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
61114
61142
|
|
|
61115
61143
|
@param request: WithdrawVpcPublishedRouteEntriesRequest
|
|
61116
61144
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -61168,7 +61196,7 @@ class Client(OpenApiClient):
|
|
|
61168
61196
|
request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
|
|
61169
61197
|
) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
|
|
61170
61198
|
"""
|
|
61171
|
-
@summary
|
|
61199
|
+
@summary Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
61172
61200
|
|
|
61173
61201
|
@param request: WithdrawVpcPublishedRouteEntriesRequest
|
|
61174
61202
|
@return: WithdrawVpcPublishedRouteEntriesResponse
|
|
@@ -61181,7 +61209,7 @@ class Client(OpenApiClient):
|
|
|
61181
61209
|
request: vpc_20160428_models.WithdrawVpcPublishedRouteEntriesRequest,
|
|
61182
61210
|
) -> vpc_20160428_models.WithdrawVpcPublishedRouteEntriesResponse:
|
|
61183
61211
|
"""
|
|
61184
|
-
@summary
|
|
61212
|
+
@summary Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
61185
61213
|
|
|
61186
61214
|
@param request: WithdrawVpcPublishedRouteEntriesRequest
|
|
61187
61215
|
@return: WithdrawVpcPublishedRouteEntriesResponse
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
#
|
|
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
|
-
|
|
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
|
|
@@ -30448,6 +30591,7 @@ class DeleteTrafficMirrorSessionResponse(TeaModel):
|
|
|
30448
30591
|
class DeleteVSwitchRequest(TeaModel):
|
|
30449
30592
|
def __init__(
|
|
30450
30593
|
self,
|
|
30594
|
+
dry_run: bool = None,
|
|
30451
30595
|
owner_account: str = None,
|
|
30452
30596
|
owner_id: int = None,
|
|
30453
30597
|
region_id: str = None,
|
|
@@ -30455,6 +30599,7 @@ class DeleteVSwitchRequest(TeaModel):
|
|
|
30455
30599
|
resource_owner_id: int = None,
|
|
30456
30600
|
v_switch_id: str = None,
|
|
30457
30601
|
):
|
|
30602
|
+
self.dry_run = dry_run
|
|
30458
30603
|
self.owner_account = owner_account
|
|
30459
30604
|
self.owner_id = owner_id
|
|
30460
30605
|
# The region ID of the vSwitch.
|
|
@@ -30477,6 +30622,8 @@ class DeleteVSwitchRequest(TeaModel):
|
|
|
30477
30622
|
return _map
|
|
30478
30623
|
|
|
30479
30624
|
result = dict()
|
|
30625
|
+
if self.dry_run is not None:
|
|
30626
|
+
result['DryRun'] = self.dry_run
|
|
30480
30627
|
if self.owner_account is not None:
|
|
30481
30628
|
result['OwnerAccount'] = self.owner_account
|
|
30482
30629
|
if self.owner_id is not None:
|
|
@@ -30493,6 +30640,8 @@ class DeleteVSwitchRequest(TeaModel):
|
|
|
30493
30640
|
|
|
30494
30641
|
def from_map(self, m: dict = None):
|
|
30495
30642
|
m = m or dict()
|
|
30643
|
+
if m.get('DryRun') is not None:
|
|
30644
|
+
self.dry_run = m.get('DryRun')
|
|
30496
30645
|
if m.get('OwnerAccount') is not None:
|
|
30497
30646
|
self.owner_account = m.get('OwnerAccount')
|
|
30498
30647
|
if m.get('OwnerId') is not None:
|
|
@@ -33708,9 +33857,9 @@ class DescribeBgpNetworksRequest(TeaModel):
|
|
|
33708
33857
|
):
|
|
33709
33858
|
self.owner_account = owner_account
|
|
33710
33859
|
self.owner_id = owner_id
|
|
33711
|
-
# The page
|
|
33860
|
+
# The number of the returned page. Default value: **1**.
|
|
33712
33861
|
self.page_number = page_number
|
|
33713
|
-
# The number of entries per page.
|
|
33862
|
+
# The number of entries per page. The maximum value is **50**. Default value: **10**.
|
|
33714
33863
|
self.page_size = page_size
|
|
33715
33864
|
# The region ID of the BGP group.
|
|
33716
33865
|
#
|
|
@@ -33864,7 +34013,7 @@ class DescribeBgpNetworksResponseBody(TeaModel):
|
|
|
33864
34013
|
request_id: str = None,
|
|
33865
34014
|
total_count: int = None,
|
|
33866
34015
|
):
|
|
33867
|
-
#
|
|
34016
|
+
# BGP networks.
|
|
33868
34017
|
self.bgp_networks = bgp_networks
|
|
33869
34018
|
# The page number.
|
|
33870
34019
|
self.page_number = page_number
|
|
@@ -106248,8 +106397,12 @@ class WithdrawVpcPublishedRouteEntriesRequestRouteEntries(TeaModel):
|
|
|
106248
106397
|
destination_cidr_block: str = None,
|
|
106249
106398
|
route_table_id: str = None,
|
|
106250
106399
|
):
|
|
106400
|
+
# The destination CIDR block
|
|
106401
|
+
#
|
|
106251
106402
|
# This parameter is required.
|
|
106252
106403
|
self.destination_cidr_block = destination_cidr_block
|
|
106404
|
+
# The ID of the route table.
|
|
106405
|
+
#
|
|
106253
106406
|
# This parameter is required.
|
|
106254
106407
|
self.route_table_id = route_table_id
|
|
106255
106408
|
|
|
@@ -106290,15 +106443,25 @@ class WithdrawVpcPublishedRouteEntriesRequest(TeaModel):
|
|
|
106290
106443
|
target_instance_id: str = None,
|
|
106291
106444
|
target_type: str = None,
|
|
106292
106445
|
):
|
|
106446
|
+
# Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
106447
|
+
#
|
|
106448
|
+
# * **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.
|
|
106449
|
+
# * **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.
|
|
106293
106450
|
self.dry_run = dry_run
|
|
106294
106451
|
self.owner_account = owner_account
|
|
106295
106452
|
self.owner_id = owner_id
|
|
106453
|
+
# The ID of the region. Call the DescribeRegions operation to access it.
|
|
106296
106454
|
self.region_id = region_id
|
|
106297
106455
|
self.resource_owner_account = resource_owner_account
|
|
106298
106456
|
self.resource_owner_id = resource_owner_id
|
|
106457
|
+
# The route entries to be withdrawn. Maximum value: 50.
|
|
106299
106458
|
self.route_entries = route_entries
|
|
106459
|
+
# Target instance ID.
|
|
106460
|
+
#
|
|
106300
106461
|
# This parameter is required.
|
|
106301
106462
|
self.target_instance_id = target_instance_id
|
|
106463
|
+
# The type of target instance.
|
|
106464
|
+
#
|
|
106302
106465
|
# This parameter is required.
|
|
106303
106466
|
self.target_type = target_type
|
|
106304
106467
|
|
|
@@ -106367,6 +106530,7 @@ class WithdrawVpcPublishedRouteEntriesResponseBody(TeaModel):
|
|
|
106367
106530
|
self,
|
|
106368
106531
|
request_id: str = None,
|
|
106369
106532
|
):
|
|
106533
|
+
# The request ID.
|
|
106370
106534
|
self.request_id = request_id
|
|
106371
106535
|
|
|
106372
106536
|
def validate(self):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '6.11.2'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|