alibabacloud-vpc20160428 6.2.2__tar.gz → 6.3.0__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.2.2 → alibabacloud_vpc20160428-6.3.0}/ChangeLog.md +3 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.3.0/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428/client.py +232 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428/models.py +593 -86
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/setup.py +1 -1
- alibabacloud_vpc20160428-6.2.2/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/README.md +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428.egg-info/requires.txt +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.3.0'
|
{alibabacloud_vpc20160428-6.2.2 → alibabacloud_vpc20160428-6.3.0}/alibabacloud_vpc20160428/client.py
RENAMED
|
@@ -1741,6 +1741,128 @@ class Client(OpenApiClient):
|
|
|
1741
1741
|
runtime = util_models.RuntimeOptions()
|
|
1742
1742
|
return await self.allocate_eip_segment_address_with_options_async(request, runtime)
|
|
1743
1743
|
|
|
1744
|
+
def allocate_ipv_6address_with_options(
|
|
1745
|
+
self,
|
|
1746
|
+
request: vpc_20160428_models.AllocateIpv6AddressRequest,
|
|
1747
|
+
runtime: util_models.RuntimeOptions,
|
|
1748
|
+
) -> vpc_20160428_models.AllocateIpv6AddressResponse:
|
|
1749
|
+
UtilClient.validate_model(request)
|
|
1750
|
+
query = {}
|
|
1751
|
+
if not UtilClient.is_unset(request.client_token):
|
|
1752
|
+
query['ClientToken'] = request.client_token
|
|
1753
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
1754
|
+
query['DryRun'] = request.dry_run
|
|
1755
|
+
if not UtilClient.is_unset(request.ipv_6address):
|
|
1756
|
+
query['Ipv6Address'] = request.ipv_6address
|
|
1757
|
+
if not UtilClient.is_unset(request.ipv_6address_description):
|
|
1758
|
+
query['Ipv6AddressDescription'] = request.ipv_6address_description
|
|
1759
|
+
if not UtilClient.is_unset(request.ipv_6address_name):
|
|
1760
|
+
query['Ipv6AddressName'] = request.ipv_6address_name
|
|
1761
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
1762
|
+
query['OwnerAccount'] = request.owner_account
|
|
1763
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
1764
|
+
query['OwnerId'] = request.owner_id
|
|
1765
|
+
if not UtilClient.is_unset(request.region_id):
|
|
1766
|
+
query['RegionId'] = request.region_id
|
|
1767
|
+
if not UtilClient.is_unset(request.region_id):
|
|
1768
|
+
query['RegionId'] = request.region_id
|
|
1769
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
1770
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
1771
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
1772
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
1773
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
1774
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
1775
|
+
if not UtilClient.is_unset(request.tag):
|
|
1776
|
+
query['Tag'] = request.tag
|
|
1777
|
+
if not UtilClient.is_unset(request.v_switch_id):
|
|
1778
|
+
query['VSwitchId'] = request.v_switch_id
|
|
1779
|
+
req = open_api_models.OpenApiRequest(
|
|
1780
|
+
query=OpenApiUtilClient.query(query)
|
|
1781
|
+
)
|
|
1782
|
+
params = open_api_models.Params(
|
|
1783
|
+
action='AllocateIpv6Address',
|
|
1784
|
+
version='2016-04-28',
|
|
1785
|
+
protocol='HTTPS',
|
|
1786
|
+
pathname='/',
|
|
1787
|
+
method='POST',
|
|
1788
|
+
auth_type='AK',
|
|
1789
|
+
style='RPC',
|
|
1790
|
+
req_body_type='formData',
|
|
1791
|
+
body_type='json'
|
|
1792
|
+
)
|
|
1793
|
+
return TeaCore.from_map(
|
|
1794
|
+
vpc_20160428_models.AllocateIpv6AddressResponse(),
|
|
1795
|
+
self.call_api(params, req, runtime)
|
|
1796
|
+
)
|
|
1797
|
+
|
|
1798
|
+
async def allocate_ipv_6address_with_options_async(
|
|
1799
|
+
self,
|
|
1800
|
+
request: vpc_20160428_models.AllocateIpv6AddressRequest,
|
|
1801
|
+
runtime: util_models.RuntimeOptions,
|
|
1802
|
+
) -> vpc_20160428_models.AllocateIpv6AddressResponse:
|
|
1803
|
+
UtilClient.validate_model(request)
|
|
1804
|
+
query = {}
|
|
1805
|
+
if not UtilClient.is_unset(request.client_token):
|
|
1806
|
+
query['ClientToken'] = request.client_token
|
|
1807
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
1808
|
+
query['DryRun'] = request.dry_run
|
|
1809
|
+
if not UtilClient.is_unset(request.ipv_6address):
|
|
1810
|
+
query['Ipv6Address'] = request.ipv_6address
|
|
1811
|
+
if not UtilClient.is_unset(request.ipv_6address_description):
|
|
1812
|
+
query['Ipv6AddressDescription'] = request.ipv_6address_description
|
|
1813
|
+
if not UtilClient.is_unset(request.ipv_6address_name):
|
|
1814
|
+
query['Ipv6AddressName'] = request.ipv_6address_name
|
|
1815
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
1816
|
+
query['OwnerAccount'] = request.owner_account
|
|
1817
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
1818
|
+
query['OwnerId'] = request.owner_id
|
|
1819
|
+
if not UtilClient.is_unset(request.region_id):
|
|
1820
|
+
query['RegionId'] = request.region_id
|
|
1821
|
+
if not UtilClient.is_unset(request.region_id):
|
|
1822
|
+
query['RegionId'] = request.region_id
|
|
1823
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
1824
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
1825
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
1826
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
1827
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
1828
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
1829
|
+
if not UtilClient.is_unset(request.tag):
|
|
1830
|
+
query['Tag'] = request.tag
|
|
1831
|
+
if not UtilClient.is_unset(request.v_switch_id):
|
|
1832
|
+
query['VSwitchId'] = request.v_switch_id
|
|
1833
|
+
req = open_api_models.OpenApiRequest(
|
|
1834
|
+
query=OpenApiUtilClient.query(query)
|
|
1835
|
+
)
|
|
1836
|
+
params = open_api_models.Params(
|
|
1837
|
+
action='AllocateIpv6Address',
|
|
1838
|
+
version='2016-04-28',
|
|
1839
|
+
protocol='HTTPS',
|
|
1840
|
+
pathname='/',
|
|
1841
|
+
method='POST',
|
|
1842
|
+
auth_type='AK',
|
|
1843
|
+
style='RPC',
|
|
1844
|
+
req_body_type='formData',
|
|
1845
|
+
body_type='json'
|
|
1846
|
+
)
|
|
1847
|
+
return TeaCore.from_map(
|
|
1848
|
+
vpc_20160428_models.AllocateIpv6AddressResponse(),
|
|
1849
|
+
await self.call_api_async(params, req, runtime)
|
|
1850
|
+
)
|
|
1851
|
+
|
|
1852
|
+
def allocate_ipv_6address(
|
|
1853
|
+
self,
|
|
1854
|
+
request: vpc_20160428_models.AllocateIpv6AddressRequest,
|
|
1855
|
+
) -> vpc_20160428_models.AllocateIpv6AddressResponse:
|
|
1856
|
+
runtime = util_models.RuntimeOptions()
|
|
1857
|
+
return self.allocate_ipv_6address_with_options(request, runtime)
|
|
1858
|
+
|
|
1859
|
+
async def allocate_ipv_6address_async(
|
|
1860
|
+
self,
|
|
1861
|
+
request: vpc_20160428_models.AllocateIpv6AddressRequest,
|
|
1862
|
+
) -> vpc_20160428_models.AllocateIpv6AddressResponse:
|
|
1863
|
+
runtime = util_models.RuntimeOptions()
|
|
1864
|
+
return await self.allocate_ipv_6address_with_options_async(request, runtime)
|
|
1865
|
+
|
|
1744
1866
|
def allocate_ipv_6internet_bandwidth_with_options(
|
|
1745
1867
|
self,
|
|
1746
1868
|
request: vpc_20160428_models.AllocateIpv6InternetBandwidthRequest,
|
|
@@ -9371,6 +9493,8 @@ class Client(OpenApiClient):
|
|
|
9371
9493
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9372
9494
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
9373
9495
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9496
|
+
if not UtilClient.is_unset(request.security_protection_types):
|
|
9497
|
+
query['SecurityProtectionTypes'] = request.security_protection_types
|
|
9374
9498
|
if not UtilClient.is_unset(request.tag):
|
|
9375
9499
|
query['Tag'] = request.tag
|
|
9376
9500
|
if not UtilClient.is_unset(request.zones):
|
|
@@ -9432,6 +9556,8 @@ class Client(OpenApiClient):
|
|
|
9432
9556
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9433
9557
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
9434
9558
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9559
|
+
if not UtilClient.is_unset(request.security_protection_types):
|
|
9560
|
+
query['SecurityProtectionTypes'] = request.security_protection_types
|
|
9435
9561
|
if not UtilClient.is_unset(request.tag):
|
|
9436
9562
|
query['Tag'] = request.tag
|
|
9437
9563
|
if not UtilClient.is_unset(request.zones):
|
|
@@ -32734,6 +32860,8 @@ class Client(OpenApiClient):
|
|
|
32734
32860
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32735
32861
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32736
32862
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32863
|
+
if not UtilClient.is_unset(request.security_protection_enabled):
|
|
32864
|
+
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
32737
32865
|
if not UtilClient.is_unset(request.status):
|
|
32738
32866
|
query['Status'] = request.status
|
|
32739
32867
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -32788,6 +32916,8 @@ class Client(OpenApiClient):
|
|
|
32788
32916
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32789
32917
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32790
32918
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32919
|
+
if not UtilClient.is_unset(request.security_protection_enabled):
|
|
32920
|
+
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
32791
32921
|
if not UtilClient.is_unset(request.status):
|
|
32792
32922
|
query['Status'] = request.status
|
|
32793
32923
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -42069,6 +42199,108 @@ class Client(OpenApiClient):
|
|
|
42069
42199
|
runtime = util_models.RuntimeOptions()
|
|
42070
42200
|
return await self.release_eip_segment_address_with_options_async(request, runtime)
|
|
42071
42201
|
|
|
42202
|
+
def release_ipv_6address_with_options(
|
|
42203
|
+
self,
|
|
42204
|
+
request: vpc_20160428_models.ReleaseIpv6AddressRequest,
|
|
42205
|
+
runtime: util_models.RuntimeOptions,
|
|
42206
|
+
) -> vpc_20160428_models.ReleaseIpv6AddressResponse:
|
|
42207
|
+
UtilClient.validate_model(request)
|
|
42208
|
+
query = {}
|
|
42209
|
+
if not UtilClient.is_unset(request.client_token):
|
|
42210
|
+
query['ClientToken'] = request.client_token
|
|
42211
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
42212
|
+
query['DryRun'] = request.dry_run
|
|
42213
|
+
if not UtilClient.is_unset(request.ipv_6address_id):
|
|
42214
|
+
query['Ipv6AddressId'] = request.ipv_6address_id
|
|
42215
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
42216
|
+
query['OwnerAccount'] = request.owner_account
|
|
42217
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
42218
|
+
query['OwnerId'] = request.owner_id
|
|
42219
|
+
if not UtilClient.is_unset(request.region_id):
|
|
42220
|
+
query['RegionId'] = request.region_id
|
|
42221
|
+
if not UtilClient.is_unset(request.region_id):
|
|
42222
|
+
query['RegionId'] = request.region_id
|
|
42223
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
42224
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42225
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42226
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42227
|
+
req = open_api_models.OpenApiRequest(
|
|
42228
|
+
query=OpenApiUtilClient.query(query)
|
|
42229
|
+
)
|
|
42230
|
+
params = open_api_models.Params(
|
|
42231
|
+
action='ReleaseIpv6Address',
|
|
42232
|
+
version='2016-04-28',
|
|
42233
|
+
protocol='HTTPS',
|
|
42234
|
+
pathname='/',
|
|
42235
|
+
method='POST',
|
|
42236
|
+
auth_type='AK',
|
|
42237
|
+
style='RPC',
|
|
42238
|
+
req_body_type='formData',
|
|
42239
|
+
body_type='json'
|
|
42240
|
+
)
|
|
42241
|
+
return TeaCore.from_map(
|
|
42242
|
+
vpc_20160428_models.ReleaseIpv6AddressResponse(),
|
|
42243
|
+
self.call_api(params, req, runtime)
|
|
42244
|
+
)
|
|
42245
|
+
|
|
42246
|
+
async def release_ipv_6address_with_options_async(
|
|
42247
|
+
self,
|
|
42248
|
+
request: vpc_20160428_models.ReleaseIpv6AddressRequest,
|
|
42249
|
+
runtime: util_models.RuntimeOptions,
|
|
42250
|
+
) -> vpc_20160428_models.ReleaseIpv6AddressResponse:
|
|
42251
|
+
UtilClient.validate_model(request)
|
|
42252
|
+
query = {}
|
|
42253
|
+
if not UtilClient.is_unset(request.client_token):
|
|
42254
|
+
query['ClientToken'] = request.client_token
|
|
42255
|
+
if not UtilClient.is_unset(request.dry_run):
|
|
42256
|
+
query['DryRun'] = request.dry_run
|
|
42257
|
+
if not UtilClient.is_unset(request.ipv_6address_id):
|
|
42258
|
+
query['Ipv6AddressId'] = request.ipv_6address_id
|
|
42259
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
42260
|
+
query['OwnerAccount'] = request.owner_account
|
|
42261
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
42262
|
+
query['OwnerId'] = request.owner_id
|
|
42263
|
+
if not UtilClient.is_unset(request.region_id):
|
|
42264
|
+
query['RegionId'] = request.region_id
|
|
42265
|
+
if not UtilClient.is_unset(request.region_id):
|
|
42266
|
+
query['RegionId'] = request.region_id
|
|
42267
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
42268
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42269
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42270
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42271
|
+
req = open_api_models.OpenApiRequest(
|
|
42272
|
+
query=OpenApiUtilClient.query(query)
|
|
42273
|
+
)
|
|
42274
|
+
params = open_api_models.Params(
|
|
42275
|
+
action='ReleaseIpv6Address',
|
|
42276
|
+
version='2016-04-28',
|
|
42277
|
+
protocol='HTTPS',
|
|
42278
|
+
pathname='/',
|
|
42279
|
+
method='POST',
|
|
42280
|
+
auth_type='AK',
|
|
42281
|
+
style='RPC',
|
|
42282
|
+
req_body_type='formData',
|
|
42283
|
+
body_type='json'
|
|
42284
|
+
)
|
|
42285
|
+
return TeaCore.from_map(
|
|
42286
|
+
vpc_20160428_models.ReleaseIpv6AddressResponse(),
|
|
42287
|
+
await self.call_api_async(params, req, runtime)
|
|
42288
|
+
)
|
|
42289
|
+
|
|
42290
|
+
def release_ipv_6address(
|
|
42291
|
+
self,
|
|
42292
|
+
request: vpc_20160428_models.ReleaseIpv6AddressRequest,
|
|
42293
|
+
) -> vpc_20160428_models.ReleaseIpv6AddressResponse:
|
|
42294
|
+
runtime = util_models.RuntimeOptions()
|
|
42295
|
+
return self.release_ipv_6address_with_options(request, runtime)
|
|
42296
|
+
|
|
42297
|
+
async def release_ipv_6address_async(
|
|
42298
|
+
self,
|
|
42299
|
+
request: vpc_20160428_models.ReleaseIpv6AddressRequest,
|
|
42300
|
+
) -> vpc_20160428_models.ReleaseIpv6AddressResponse:
|
|
42301
|
+
runtime = util_models.RuntimeOptions()
|
|
42302
|
+
return await self.release_ipv_6address_with_options_async(request, runtime)
|
|
42303
|
+
|
|
42072
42304
|
def remove_common_bandwidth_package_ip_with_options(
|
|
42073
42305
|
self,
|
|
42074
42306
|
request: vpc_20160428_models.RemoveCommonBandwidthPackageIpRequest,
|