alibabacloud-vpc20160428 6.2.1__py3-none-any.whl → 6.3.0__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.
- alibabacloud_vpc20160428/__init__.py +1 -1
- alibabacloud_vpc20160428/client.py +300 -52
- alibabacloud_vpc20160428/models.py +695 -93
- {alibabacloud_vpc20160428-6.2.1.dist-info → alibabacloud_vpc20160428-6.3.0.dist-info}/METADATA +1 -1
- alibabacloud_vpc20160428-6.3.0.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.2.1.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.2.1.dist-info → alibabacloud_vpc20160428-6.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.2.1.dist-info → alibabacloud_vpc20160428-6.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.2.1.dist-info → alibabacloud_vpc20160428-6.3.0.dist-info}/top_level.txt +0 -0
|
@@ -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,
|
|
@@ -4871,10 +4993,11 @@ class Client(OpenApiClient):
|
|
|
4871
4993
|
runtime: util_models.RuntimeOptions,
|
|
4872
4994
|
) -> vpc_20160428_models.CopyNetworkAclEntriesResponse:
|
|
4873
4995
|
"""
|
|
4874
|
-
|
|
4996
|
+
## [](#)Description
|
|
4997
|
+
* **CopyNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
4875
4998
|
* If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
4876
4999
|
* If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
4877
|
-
* You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
5000
|
+
* You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
4878
5001
|
|
|
4879
5002
|
@param request: CopyNetworkAclEntriesRequest
|
|
4880
5003
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -4927,10 +5050,11 @@ class Client(OpenApiClient):
|
|
|
4927
5050
|
runtime: util_models.RuntimeOptions,
|
|
4928
5051
|
) -> vpc_20160428_models.CopyNetworkAclEntriesResponse:
|
|
4929
5052
|
"""
|
|
4930
|
-
|
|
5053
|
+
## [](#)Description
|
|
5054
|
+
* **CopyNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
4931
5055
|
* If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
4932
5056
|
* If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
4933
|
-
* You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
5057
|
+
* You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
4934
5058
|
|
|
4935
5059
|
@param request: CopyNetworkAclEntriesRequest
|
|
4936
5060
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -4982,10 +5106,11 @@ class Client(OpenApiClient):
|
|
|
4982
5106
|
request: vpc_20160428_models.CopyNetworkAclEntriesRequest,
|
|
4983
5107
|
) -> vpc_20160428_models.CopyNetworkAclEntriesResponse:
|
|
4984
5108
|
"""
|
|
4985
|
-
|
|
5109
|
+
## [](#)Description
|
|
5110
|
+
* **CopyNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
4986
5111
|
* If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
4987
5112
|
* If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
4988
|
-
* You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
5113
|
+
* You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
4989
5114
|
|
|
4990
5115
|
@param request: CopyNetworkAclEntriesRequest
|
|
4991
5116
|
@return: CopyNetworkAclEntriesResponse
|
|
@@ -4998,10 +5123,11 @@ class Client(OpenApiClient):
|
|
|
4998
5123
|
request: vpc_20160428_models.CopyNetworkAclEntriesRequest,
|
|
4999
5124
|
) -> vpc_20160428_models.CopyNetworkAclEntriesResponse:
|
|
5000
5125
|
"""
|
|
5001
|
-
|
|
5126
|
+
## [](#)Description
|
|
5127
|
+
* **CopyNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
|
|
5002
5128
|
* If the network ACL is in the **Modifying** state, the rules of the network ACL are being copied.
|
|
5003
5129
|
* If the network ACL is in the **Available** state, the rules of the network ACL are copied.
|
|
5004
|
-
* You cannot repeatedly call the **CopyNetworkAclEntries** operation
|
|
5130
|
+
* You cannot repeatedly call the **CopyNetworkAclEntries** operation within the specified period of time.
|
|
5005
5131
|
|
|
5006
5132
|
@param request: CopyNetworkAclEntriesRequest
|
|
5007
5133
|
@return: CopyNetworkAclEntriesResponse
|
|
@@ -5549,13 +5675,12 @@ class Client(OpenApiClient):
|
|
|
5549
5675
|
runtime: util_models.RuntimeOptions,
|
|
5550
5676
|
) -> vpc_20160428_models.CreateDefaultVSwitchResponse:
|
|
5551
5677
|
"""
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
* The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5678
|
+
When you call this operation, take note of the following limits:
|
|
5679
|
+
* The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5555
5680
|
* The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
5556
5681
|
* Default vSwitches do not support multicasting or broadcasting.
|
|
5557
5682
|
* After you create a default vSwitch, you cannot modify its CIDR block.
|
|
5558
|
-
* **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
5683
|
+
* **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
5559
5684
|
* If a default vSwitch is in the **Pending** state, it is being configured.
|
|
5560
5685
|
* If a default vSwitch is in the **Available** state, it is available.
|
|
5561
5686
|
* If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -5608,13 +5733,12 @@ class Client(OpenApiClient):
|
|
|
5608
5733
|
runtime: util_models.RuntimeOptions,
|
|
5609
5734
|
) -> vpc_20160428_models.CreateDefaultVSwitchResponse:
|
|
5610
5735
|
"""
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
* The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5736
|
+
When you call this operation, take note of the following limits:
|
|
5737
|
+
* The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5614
5738
|
* The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
5615
5739
|
* Default vSwitches do not support multicasting or broadcasting.
|
|
5616
5740
|
* After you create a default vSwitch, you cannot modify its CIDR block.
|
|
5617
|
-
* **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
5741
|
+
* **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
5618
5742
|
* If a default vSwitch is in the **Pending** state, it is being configured.
|
|
5619
5743
|
* If a default vSwitch is in the **Available** state, it is available.
|
|
5620
5744
|
* If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -5666,13 +5790,12 @@ class Client(OpenApiClient):
|
|
|
5666
5790
|
request: vpc_20160428_models.CreateDefaultVSwitchRequest,
|
|
5667
5791
|
) -> vpc_20160428_models.CreateDefaultVSwitchResponse:
|
|
5668
5792
|
"""
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
* The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5793
|
+
When you call this operation, take note of the following limits:
|
|
5794
|
+
* The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5672
5795
|
* The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
5673
5796
|
* Default vSwitches do not support multicasting or broadcasting.
|
|
5674
5797
|
* After you create a default vSwitch, you cannot modify its CIDR block.
|
|
5675
|
-
* **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
5798
|
+
* **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
5676
5799
|
* If a default vSwitch is in the **Pending** state, it is being configured.
|
|
5677
5800
|
* If a default vSwitch is in the **Available** state, it is available.
|
|
5678
5801
|
* If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -5689,13 +5812,12 @@ class Client(OpenApiClient):
|
|
|
5689
5812
|
request: vpc_20160428_models.CreateDefaultVSwitchRequest,
|
|
5690
5813
|
) -> vpc_20160428_models.CreateDefaultVSwitchResponse:
|
|
5691
5814
|
"""
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
* The first IP address and last three IP addresses of a default vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5815
|
+
When you call this operation, take note of the following limits:
|
|
5816
|
+
* The first IP address and last three IP addresses of a vSwitch CIDR block are reserved. For example, if the CIDR block of a vSwitch is 192.168.1.0/24, the IP addresses 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255 are reserved.
|
|
5695
5817
|
* The number of instances in the default vSwitch cannot exceed the remaining number of instances supported by the VPC (15,000 minus the number of existing instances).
|
|
5696
5818
|
* Default vSwitches do not support multicasting or broadcasting.
|
|
5697
5819
|
* After you create a default vSwitch, you cannot modify its CIDR block.
|
|
5698
|
-
* **CreateDefaultVSwitch** is an asynchronous operation. After a request
|
|
5820
|
+
* **CreateDefaultVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a default vSwitch:
|
|
5699
5821
|
* If a default vSwitch is in the **Pending** state, it is being configured.
|
|
5700
5822
|
* If a default vSwitch is in the **Available** state, it is available.
|
|
5701
5823
|
* If a default vSwitch already exists in a region, you cannot call this operation to create a default vSwitch in this region.
|
|
@@ -6809,12 +6931,14 @@ class Client(OpenApiClient):
|
|
|
6809
6931
|
runtime: util_models.RuntimeOptions,
|
|
6810
6932
|
) -> vpc_20160428_models.CreateGlobalAccelerationInstanceResponse:
|
|
6811
6933
|
"""
|
|
6934
|
+
@deprecated
|
|
6812
6935
|
## Usage notes
|
|
6813
6936
|
You can call this operation to create only pay-as-you-go GA instances.
|
|
6814
6937
|
|
|
6815
6938
|
@param request: CreateGlobalAccelerationInstanceRequest
|
|
6816
6939
|
@param runtime: runtime options for this request RuntimeOptions
|
|
6817
6940
|
@return: CreateGlobalAccelerationInstanceResponse
|
|
6941
|
+
Deprecated
|
|
6818
6942
|
"""
|
|
6819
6943
|
UtilClient.validate_model(request)
|
|
6820
6944
|
query = {}
|
|
@@ -6865,12 +6989,14 @@ class Client(OpenApiClient):
|
|
|
6865
6989
|
runtime: util_models.RuntimeOptions,
|
|
6866
6990
|
) -> vpc_20160428_models.CreateGlobalAccelerationInstanceResponse:
|
|
6867
6991
|
"""
|
|
6992
|
+
@deprecated
|
|
6868
6993
|
## Usage notes
|
|
6869
6994
|
You can call this operation to create only pay-as-you-go GA instances.
|
|
6870
6995
|
|
|
6871
6996
|
@param request: CreateGlobalAccelerationInstanceRequest
|
|
6872
6997
|
@param runtime: runtime options for this request RuntimeOptions
|
|
6873
6998
|
@return: CreateGlobalAccelerationInstanceResponse
|
|
6999
|
+
Deprecated
|
|
6874
7000
|
"""
|
|
6875
7001
|
UtilClient.validate_model(request)
|
|
6876
7002
|
query = {}
|
|
@@ -6920,11 +7046,13 @@ class Client(OpenApiClient):
|
|
|
6920
7046
|
request: vpc_20160428_models.CreateGlobalAccelerationInstanceRequest,
|
|
6921
7047
|
) -> vpc_20160428_models.CreateGlobalAccelerationInstanceResponse:
|
|
6922
7048
|
"""
|
|
7049
|
+
@deprecated
|
|
6923
7050
|
## Usage notes
|
|
6924
7051
|
You can call this operation to create only pay-as-you-go GA instances.
|
|
6925
7052
|
|
|
6926
7053
|
@param request: CreateGlobalAccelerationInstanceRequest
|
|
6927
7054
|
@return: CreateGlobalAccelerationInstanceResponse
|
|
7055
|
+
Deprecated
|
|
6928
7056
|
"""
|
|
6929
7057
|
runtime = util_models.RuntimeOptions()
|
|
6930
7058
|
return self.create_global_acceleration_instance_with_options(request, runtime)
|
|
@@ -6934,11 +7062,13 @@ class Client(OpenApiClient):
|
|
|
6934
7062
|
request: vpc_20160428_models.CreateGlobalAccelerationInstanceRequest,
|
|
6935
7063
|
) -> vpc_20160428_models.CreateGlobalAccelerationInstanceResponse:
|
|
6936
7064
|
"""
|
|
7065
|
+
@deprecated
|
|
6937
7066
|
## Usage notes
|
|
6938
7067
|
You can call this operation to create only pay-as-you-go GA instances.
|
|
6939
7068
|
|
|
6940
7069
|
@param request: CreateGlobalAccelerationInstanceRequest
|
|
6941
7070
|
@return: CreateGlobalAccelerationInstanceResponse
|
|
7071
|
+
Deprecated
|
|
6942
7072
|
"""
|
|
6943
7073
|
runtime = util_models.RuntimeOptions()
|
|
6944
7074
|
return await self.create_global_acceleration_instance_with_options_async(request, runtime)
|
|
@@ -9363,6 +9493,8 @@ class Client(OpenApiClient):
|
|
|
9363
9493
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9364
9494
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
9365
9495
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9496
|
+
if not UtilClient.is_unset(request.security_protection_types):
|
|
9497
|
+
query['SecurityProtectionTypes'] = request.security_protection_types
|
|
9366
9498
|
if not UtilClient.is_unset(request.tag):
|
|
9367
9499
|
query['Tag'] = request.tag
|
|
9368
9500
|
if not UtilClient.is_unset(request.zones):
|
|
@@ -9424,6 +9556,8 @@ class Client(OpenApiClient):
|
|
|
9424
9556
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9425
9557
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
9426
9558
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9559
|
+
if not UtilClient.is_unset(request.security_protection_types):
|
|
9560
|
+
query['SecurityProtectionTypes'] = request.security_protection_types
|
|
9427
9561
|
if not UtilClient.is_unset(request.tag):
|
|
9428
9562
|
query['Tag'] = request.tag
|
|
9429
9563
|
if not UtilClient.is_unset(request.zones):
|
|
@@ -11204,7 +11338,7 @@ class Client(OpenApiClient):
|
|
|
11204
11338
|
* Each instance can belong to only one vSwitch.
|
|
11205
11339
|
* vSwitches do not support multicast or broadcast.
|
|
11206
11340
|
* After you create a vSwitch, you cannot modify its CIDR block.
|
|
11207
|
-
*
|
|
11341
|
+
* **CreateVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
11208
11342
|
* If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
11209
11343
|
* If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
11210
11344
|
* You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -11275,7 +11409,7 @@ class Client(OpenApiClient):
|
|
|
11275
11409
|
* Each instance can belong to only one vSwitch.
|
|
11276
11410
|
* vSwitches do not support multicast or broadcast.
|
|
11277
11411
|
* After you create a vSwitch, you cannot modify its CIDR block.
|
|
11278
|
-
*
|
|
11412
|
+
* **CreateVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
11279
11413
|
* If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
11280
11414
|
* If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
11281
11415
|
* You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -11345,7 +11479,7 @@ class Client(OpenApiClient):
|
|
|
11345
11479
|
* Each instance can belong to only one vSwitch.
|
|
11346
11480
|
* vSwitches do not support multicast or broadcast.
|
|
11347
11481
|
* After you create a vSwitch, you cannot modify its CIDR block.
|
|
11348
|
-
*
|
|
11482
|
+
* **CreateVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
11349
11483
|
* If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
11350
11484
|
* If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
11351
11485
|
* You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -11368,7 +11502,7 @@ class Client(OpenApiClient):
|
|
|
11368
11502
|
* Each instance can belong to only one vSwitch.
|
|
11369
11503
|
* vSwitches do not support multicast or broadcast.
|
|
11370
11504
|
* After you create a vSwitch, you cannot modify its CIDR block.
|
|
11371
|
-
*
|
|
11505
|
+
* **CreateVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) to query the status of the task.
|
|
11372
11506
|
* If the vSwitch is in the **Pending** state, the vSwitch is being configured.
|
|
11373
11507
|
* If the vSwitch is in the **Available** state, the vSwitch is available.
|
|
11374
11508
|
* You cannot repeatedly call the **CreateVSwitch** operation to create a vSwitch in a VPC within the specified period of time.
|
|
@@ -16757,7 +16891,8 @@ class Client(OpenApiClient):
|
|
|
16757
16891
|
runtime: util_models.RuntimeOptions,
|
|
16758
16892
|
) -> vpc_20160428_models.DeleteNetworkAclResponse:
|
|
16759
16893
|
"""
|
|
16760
|
-
|
|
16894
|
+
## [](#)Description
|
|
16895
|
+
You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
16761
16896
|
|
|
16762
16897
|
@param request: DeleteNetworkAclRequest
|
|
16763
16898
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16808,7 +16943,8 @@ class Client(OpenApiClient):
|
|
|
16808
16943
|
runtime: util_models.RuntimeOptions,
|
|
16809
16944
|
) -> vpc_20160428_models.DeleteNetworkAclResponse:
|
|
16810
16945
|
"""
|
|
16811
|
-
|
|
16946
|
+
## [](#)Description
|
|
16947
|
+
You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
16812
16948
|
|
|
16813
16949
|
@param request: DeleteNetworkAclRequest
|
|
16814
16950
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16858,7 +16994,8 @@ class Client(OpenApiClient):
|
|
|
16858
16994
|
request: vpc_20160428_models.DeleteNetworkAclRequest,
|
|
16859
16995
|
) -> vpc_20160428_models.DeleteNetworkAclResponse:
|
|
16860
16996
|
"""
|
|
16861
|
-
|
|
16997
|
+
## [](#)Description
|
|
16998
|
+
You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
16862
16999
|
|
|
16863
17000
|
@param request: DeleteNetworkAclRequest
|
|
16864
17001
|
@return: DeleteNetworkAclResponse
|
|
@@ -16871,7 +17008,8 @@ class Client(OpenApiClient):
|
|
|
16871
17008
|
request: vpc_20160428_models.DeleteNetworkAclRequest,
|
|
16872
17009
|
) -> vpc_20160428_models.DeleteNetworkAclResponse:
|
|
16873
17010
|
"""
|
|
16874
|
-
|
|
17011
|
+
## [](#)Description
|
|
17012
|
+
You cannot repeatedly call the **DeleteNetworkAcl** operation within the specified period of time.
|
|
16875
17013
|
|
|
16876
17014
|
@param request: DeleteNetworkAclRequest
|
|
16877
17015
|
@return: DeleteNetworkAclResponse
|
|
@@ -31523,6 +31661,8 @@ class Client(OpenApiClient):
|
|
|
31523
31661
|
query = {}
|
|
31524
31662
|
if not UtilClient.is_unset(request.accept_language):
|
|
31525
31663
|
query['AcceptLanguage'] = request.accept_language
|
|
31664
|
+
if not UtilClient.is_unset(request.filter):
|
|
31665
|
+
query['Filter'] = request.filter
|
|
31526
31666
|
if not UtilClient.is_unset(request.owner_account):
|
|
31527
31667
|
query['OwnerAccount'] = request.owner_account
|
|
31528
31668
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -31570,6 +31710,8 @@ class Client(OpenApiClient):
|
|
|
31570
31710
|
query = {}
|
|
31571
31711
|
if not UtilClient.is_unset(request.accept_language):
|
|
31572
31712
|
query['AcceptLanguage'] = request.accept_language
|
|
31713
|
+
if not UtilClient.is_unset(request.filter):
|
|
31714
|
+
query['Filter'] = request.filter
|
|
31573
31715
|
if not UtilClient.is_unset(request.owner_account):
|
|
31574
31716
|
query['OwnerAccount'] = request.owner_account
|
|
31575
31717
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -32718,6 +32860,8 @@ class Client(OpenApiClient):
|
|
|
32718
32860
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32719
32861
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32720
32862
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32863
|
+
if not UtilClient.is_unset(request.security_protection_enabled):
|
|
32864
|
+
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
32721
32865
|
if not UtilClient.is_unset(request.status):
|
|
32722
32866
|
query['Status'] = request.status
|
|
32723
32867
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -32772,6 +32916,8 @@ class Client(OpenApiClient):
|
|
|
32772
32916
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
32773
32917
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
32774
32918
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
32919
|
+
if not UtilClient.is_unset(request.security_protection_enabled):
|
|
32920
|
+
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
32775
32921
|
if not UtilClient.is_unset(request.status):
|
|
32776
32922
|
query['Status'] = request.status
|
|
32777
32923
|
if not UtilClient.is_unset(request.tags):
|
|
@@ -37719,8 +37865,7 @@ class Client(OpenApiClient):
|
|
|
37719
37865
|
runtime: util_models.RuntimeOptions,
|
|
37720
37866
|
) -> vpc_20160428_models.ModifyRouteTableAttributesResponse:
|
|
37721
37867
|
"""
|
|
37722
|
-
|
|
37723
|
-
You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37868
|
+
You cannot repeatedly call the *ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37724
37869
|
|
|
37725
37870
|
@param request: ModifyRouteTableAttributesRequest
|
|
37726
37871
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37769,8 +37914,7 @@ class Client(OpenApiClient):
|
|
|
37769
37914
|
runtime: util_models.RuntimeOptions,
|
|
37770
37915
|
) -> vpc_20160428_models.ModifyRouteTableAttributesResponse:
|
|
37771
37916
|
"""
|
|
37772
|
-
|
|
37773
|
-
You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37917
|
+
You cannot repeatedly call the *ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37774
37918
|
|
|
37775
37919
|
@param request: ModifyRouteTableAttributesRequest
|
|
37776
37920
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37818,8 +37962,7 @@ class Client(OpenApiClient):
|
|
|
37818
37962
|
request: vpc_20160428_models.ModifyRouteTableAttributesRequest,
|
|
37819
37963
|
) -> vpc_20160428_models.ModifyRouteTableAttributesResponse:
|
|
37820
37964
|
"""
|
|
37821
|
-
|
|
37822
|
-
You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37965
|
+
You cannot repeatedly call the *ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37823
37966
|
|
|
37824
37967
|
@param request: ModifyRouteTableAttributesRequest
|
|
37825
37968
|
@return: ModifyRouteTableAttributesResponse
|
|
@@ -37832,8 +37975,7 @@ class Client(OpenApiClient):
|
|
|
37832
37975
|
request: vpc_20160428_models.ModifyRouteTableAttributesRequest,
|
|
37833
37976
|
) -> vpc_20160428_models.ModifyRouteTableAttributesResponse:
|
|
37834
37977
|
"""
|
|
37835
|
-
|
|
37836
|
-
You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37978
|
+
You cannot repeatedly call the *ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
|
|
37837
37979
|
|
|
37838
37980
|
@param request: ModifyRouteTableAttributesRequest
|
|
37839
37981
|
@return: ModifyRouteTableAttributesResponse
|
|
@@ -38761,9 +38903,9 @@ class Client(OpenApiClient):
|
|
|
38761
38903
|
runtime: util_models.RuntimeOptions,
|
|
38762
38904
|
) -> vpc_20160428_models.ModifyVSwitchAttributeResponse:
|
|
38763
38905
|
"""
|
|
38764
|
-
|
|
38765
|
-
* If the vSwitch is in the **Pending** state, the vSwitch
|
|
38766
|
-
* If the vSwitch is in the **Available** state, the vSwitch
|
|
38906
|
+
**ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
38907
|
+
* If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
38908
|
+
* If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
38767
38909
|
* You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
38768
38910
|
|
|
38769
38911
|
@param request: ModifyVSwitchAttributeRequest
|
|
@@ -38819,9 +38961,9 @@ class Client(OpenApiClient):
|
|
|
38819
38961
|
runtime: util_models.RuntimeOptions,
|
|
38820
38962
|
) -> vpc_20160428_models.ModifyVSwitchAttributeResponse:
|
|
38821
38963
|
"""
|
|
38822
|
-
|
|
38823
|
-
* If the vSwitch is in the **Pending** state, the vSwitch
|
|
38824
|
-
* If the vSwitch is in the **Available** state, the vSwitch
|
|
38964
|
+
**ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
38965
|
+
* If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
38966
|
+
* If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
38825
38967
|
* You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
38826
38968
|
|
|
38827
38969
|
@param request: ModifyVSwitchAttributeRequest
|
|
@@ -38876,9 +39018,9 @@ class Client(OpenApiClient):
|
|
|
38876
39018
|
request: vpc_20160428_models.ModifyVSwitchAttributeRequest,
|
|
38877
39019
|
) -> vpc_20160428_models.ModifyVSwitchAttributeResponse:
|
|
38878
39020
|
"""
|
|
38879
|
-
|
|
38880
|
-
* If the vSwitch is in the **Pending** state, the vSwitch
|
|
38881
|
-
* If the vSwitch is in the **Available** state, the vSwitch
|
|
39021
|
+
**ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
39022
|
+
* If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
39023
|
+
* If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
38882
39024
|
* You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
38883
39025
|
|
|
38884
39026
|
@param request: ModifyVSwitchAttributeRequest
|
|
@@ -38892,9 +39034,9 @@ class Client(OpenApiClient):
|
|
|
38892
39034
|
request: vpc_20160428_models.ModifyVSwitchAttributeRequest,
|
|
38893
39035
|
) -> vpc_20160428_models.ModifyVSwitchAttributeResponse:
|
|
38894
39036
|
"""
|
|
38895
|
-
|
|
38896
|
-
* If the vSwitch is in the **Pending** state, the vSwitch
|
|
38897
|
-
* If the vSwitch is in the **Available** state, the vSwitch
|
|
39037
|
+
**ModifyVSwitchAttribute** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
|
|
39038
|
+
* If the vSwitch is in the **Pending** state, the name and description of the vSwitch are being modified.
|
|
39039
|
+
* If the vSwitch is in the **Available** state, the name and description of the vSwitch are modified.
|
|
38898
39040
|
* You cannot repeatedly call the **ModifyVSwitchAttribute** operation to modify the name and description of a vSwitch within the specified period of time.
|
|
38899
39041
|
|
|
38900
39042
|
@param request: ModifyVSwitchAttributeRequest
|
|
@@ -39241,6 +39383,8 @@ class Client(OpenApiClient):
|
|
|
39241
39383
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
39242
39384
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
39243
39385
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
39386
|
+
if not UtilClient.is_unset(request.sitelink_enable):
|
|
39387
|
+
query['SitelinkEnable'] = request.sitelink_enable
|
|
39244
39388
|
if not UtilClient.is_unset(request.vbr_id):
|
|
39245
39389
|
query['VbrId'] = request.vbr_id
|
|
39246
39390
|
if not UtilClient.is_unset(request.vlan_id):
|
|
@@ -39326,6 +39470,8 @@ class Client(OpenApiClient):
|
|
|
39326
39470
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
39327
39471
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
39328
39472
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
39473
|
+
if not UtilClient.is_unset(request.sitelink_enable):
|
|
39474
|
+
query['SitelinkEnable'] = request.sitelink_enable
|
|
39329
39475
|
if not UtilClient.is_unset(request.vbr_id):
|
|
39330
39476
|
query['VbrId'] = request.vbr_id
|
|
39331
39477
|
if not UtilClient.is_unset(request.vlan_id):
|
|
@@ -42053,6 +42199,108 @@ class Client(OpenApiClient):
|
|
|
42053
42199
|
runtime = util_models.RuntimeOptions()
|
|
42054
42200
|
return await self.release_eip_segment_address_with_options_async(request, runtime)
|
|
42055
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
|
+
|
|
42056
42304
|
def remove_common_bandwidth_package_ip_with_options(
|
|
42057
42305
|
self,
|
|
42058
42306
|
request: vpc_20160428_models.RemoveCommonBandwidthPackageIpRequest,
|