alibabacloud-vpc20160428 6.2.2__py3-none-any.whl → 6.4.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 +304 -72
- alibabacloud_vpc20160428/models.py +913 -1400
- {alibabacloud_vpc20160428-6.2.2.dist-info → alibabacloud_vpc20160428-6.4.0.dist-info}/METADATA +2 -2
- alibabacloud_vpc20160428-6.4.0.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.2.2.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.2.2.dist-info → alibabacloud_vpc20160428-6.4.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.2.2.dist-info → alibabacloud_vpc20160428-6.4.0.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.2.2.dist-info → alibabacloud_vpc20160428-6.4.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,
|
|
@@ -3324,7 +3446,7 @@ class Client(OpenApiClient):
|
|
|
3324
3446
|
## [](#)
|
|
3325
3447
|
* Take note of the following limits:
|
|
3326
3448
|
* Each VPC can contain up to five secondary IPv4 CIDR blocks.
|
|
3327
|
-
* Each VPC can contain up to
|
|
3449
|
+
* Each VPC can contain up to five secondary IPv6 CIDR blocks.
|
|
3328
3450
|
* You cannot repeatedly call the **AssociateVpcCidrBlock** operation to add secondary CIDR blocks to a VPC within the specified period of time.
|
|
3329
3451
|
|
|
3330
3452
|
@param request: AssociateVpcCidrBlockRequest
|
|
@@ -3385,7 +3507,7 @@ class Client(OpenApiClient):
|
|
|
3385
3507
|
## [](#)
|
|
3386
3508
|
* Take note of the following limits:
|
|
3387
3509
|
* Each VPC can contain up to five secondary IPv4 CIDR blocks.
|
|
3388
|
-
* Each VPC can contain up to
|
|
3510
|
+
* Each VPC can contain up to five secondary IPv6 CIDR blocks.
|
|
3389
3511
|
* You cannot repeatedly call the **AssociateVpcCidrBlock** operation to add secondary CIDR blocks to a VPC within the specified period of time.
|
|
3390
3512
|
|
|
3391
3513
|
@param request: AssociateVpcCidrBlockRequest
|
|
@@ -3445,7 +3567,7 @@ class Client(OpenApiClient):
|
|
|
3445
3567
|
## [](#)
|
|
3446
3568
|
* Take note of the following limits:
|
|
3447
3569
|
* Each VPC can contain up to five secondary IPv4 CIDR blocks.
|
|
3448
|
-
* Each VPC can contain up to
|
|
3570
|
+
* Each VPC can contain up to five secondary IPv6 CIDR blocks.
|
|
3449
3571
|
* You cannot repeatedly call the **AssociateVpcCidrBlock** operation to add secondary CIDR blocks to a VPC within the specified period of time.
|
|
3450
3572
|
|
|
3451
3573
|
@param request: AssociateVpcCidrBlockRequest
|
|
@@ -3462,7 +3584,7 @@ class Client(OpenApiClient):
|
|
|
3462
3584
|
## [](#)
|
|
3463
3585
|
* Take note of the following limits:
|
|
3464
3586
|
* Each VPC can contain up to five secondary IPv4 CIDR blocks.
|
|
3465
|
-
* Each VPC can contain up to
|
|
3587
|
+
* Each VPC can contain up to five secondary IPv6 CIDR blocks.
|
|
3466
3588
|
* You cannot repeatedly call the **AssociateVpcCidrBlock** operation to add secondary CIDR blocks to a VPC within the specified period of time.
|
|
3467
3589
|
|
|
3468
3590
|
@param request: AssociateVpcCidrBlockRequest
|
|
@@ -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):
|
|
@@ -9899,10 +10025,10 @@ class Client(OpenApiClient):
|
|
|
9899
10025
|
runtime: util_models.RuntimeOptions,
|
|
9900
10026
|
) -> vpc_20160428_models.CreateRouteTableResponse:
|
|
9901
10027
|
"""
|
|
9902
|
-
|
|
10028
|
+
**CreateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the operation in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
9903
10029
|
* If the custom route table is in the **Creating** state, the custom route table is being created.
|
|
9904
10030
|
* If the custom route table is in the **Created** state, the custom route table is created.
|
|
9905
|
-
* You cannot repeatedly call the **CreateRouteTable** operation
|
|
10031
|
+
* You cannot repeatedly call the **CreateRouteTable** operation within the specified period of time.
|
|
9906
10032
|
|
|
9907
10033
|
@param request: CreateRouteTableRequest
|
|
9908
10034
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -9959,10 +10085,10 @@ class Client(OpenApiClient):
|
|
|
9959
10085
|
runtime: util_models.RuntimeOptions,
|
|
9960
10086
|
) -> vpc_20160428_models.CreateRouteTableResponse:
|
|
9961
10087
|
"""
|
|
9962
|
-
|
|
10088
|
+
**CreateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the operation in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
9963
10089
|
* If the custom route table is in the **Creating** state, the custom route table is being created.
|
|
9964
10090
|
* If the custom route table is in the **Created** state, the custom route table is created.
|
|
9965
|
-
* You cannot repeatedly call the **CreateRouteTable** operation
|
|
10091
|
+
* You cannot repeatedly call the **CreateRouteTable** operation within the specified period of time.
|
|
9966
10092
|
|
|
9967
10093
|
@param request: CreateRouteTableRequest
|
|
9968
10094
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -10018,10 +10144,10 @@ class Client(OpenApiClient):
|
|
|
10018
10144
|
request: vpc_20160428_models.CreateRouteTableRequest,
|
|
10019
10145
|
) -> vpc_20160428_models.CreateRouteTableResponse:
|
|
10020
10146
|
"""
|
|
10021
|
-
|
|
10147
|
+
**CreateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the operation in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
10022
10148
|
* If the custom route table is in the **Creating** state, the custom route table is being created.
|
|
10023
10149
|
* If the custom route table is in the **Created** state, the custom route table is created.
|
|
10024
|
-
* You cannot repeatedly call the **CreateRouteTable** operation
|
|
10150
|
+
* You cannot repeatedly call the **CreateRouteTable** operation within the specified period of time.
|
|
10025
10151
|
|
|
10026
10152
|
@param request: CreateRouteTableRequest
|
|
10027
10153
|
@return: CreateRouteTableResponse
|
|
@@ -10034,10 +10160,10 @@ class Client(OpenApiClient):
|
|
|
10034
10160
|
request: vpc_20160428_models.CreateRouteTableRequest,
|
|
10035
10161
|
) -> vpc_20160428_models.CreateRouteTableResponse:
|
|
10036
10162
|
"""
|
|
10037
|
-
|
|
10163
|
+
**CreateRouteTable** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the operation in the background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
|
|
10038
10164
|
* If the custom route table is in the **Creating** state, the custom route table is being created.
|
|
10039
10165
|
* If the custom route table is in the **Created** state, the custom route table is created.
|
|
10040
|
-
* You cannot repeatedly call the **CreateRouteTable** operation
|
|
10166
|
+
* You cannot repeatedly call the **CreateRouteTable** operation within the specified period of time.
|
|
10041
10167
|
|
|
10042
10168
|
@param request: CreateRouteTableRequest
|
|
10043
10169
|
@return: CreateRouteTableResponse
|
|
@@ -10733,7 +10859,7 @@ class Client(OpenApiClient):
|
|
|
10733
10859
|
runtime: util_models.RuntimeOptions,
|
|
10734
10860
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterResponse:
|
|
10735
10861
|
"""
|
|
10736
|
-
*CreateTrafficMirrorFilter** is an asynchronous operation. After
|
|
10862
|
+
*CreateTrafficMirrorFilter** 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 [ListTrafficMirrorFilters](~~261353~~) operation to query the status of the task.
|
|
10737
10863
|
* If the filter is in the **Creating** state, the filter is being created.
|
|
10738
10864
|
* If the filter is in the **Created** state, the filter is created.
|
|
10739
10865
|
|
|
@@ -10794,7 +10920,7 @@ class Client(OpenApiClient):
|
|
|
10794
10920
|
runtime: util_models.RuntimeOptions,
|
|
10795
10921
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterResponse:
|
|
10796
10922
|
"""
|
|
10797
|
-
*CreateTrafficMirrorFilter** is an asynchronous operation. After
|
|
10923
|
+
*CreateTrafficMirrorFilter** 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 [ListTrafficMirrorFilters](~~261353~~) operation to query the status of the task.
|
|
10798
10924
|
* If the filter is in the **Creating** state, the filter is being created.
|
|
10799
10925
|
* If the filter is in the **Created** state, the filter is created.
|
|
10800
10926
|
|
|
@@ -10854,7 +10980,7 @@ class Client(OpenApiClient):
|
|
|
10854
10980
|
request: vpc_20160428_models.CreateTrafficMirrorFilterRequest,
|
|
10855
10981
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterResponse:
|
|
10856
10982
|
"""
|
|
10857
|
-
*CreateTrafficMirrorFilter** is an asynchronous operation. After
|
|
10983
|
+
*CreateTrafficMirrorFilter** 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 [ListTrafficMirrorFilters](~~261353~~) operation to query the status of the task.
|
|
10858
10984
|
* If the filter is in the **Creating** state, the filter is being created.
|
|
10859
10985
|
* If the filter is in the **Created** state, the filter is created.
|
|
10860
10986
|
|
|
@@ -10869,7 +10995,7 @@ class Client(OpenApiClient):
|
|
|
10869
10995
|
request: vpc_20160428_models.CreateTrafficMirrorFilterRequest,
|
|
10870
10996
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterResponse:
|
|
10871
10997
|
"""
|
|
10872
|
-
*CreateTrafficMirrorFilter** is an asynchronous operation. After
|
|
10998
|
+
*CreateTrafficMirrorFilter** 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 [ListTrafficMirrorFilters](~~261353~~) operation to query the status of the task.
|
|
10873
10999
|
* If the filter is in the **Creating** state, the filter is being created.
|
|
10874
11000
|
* If the filter is in the **Created** state, the filter is created.
|
|
10875
11001
|
|
|
@@ -10885,10 +11011,10 @@ class Client(OpenApiClient):
|
|
|
10885
11011
|
runtime: util_models.RuntimeOptions,
|
|
10886
11012
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterRulesResponse:
|
|
10887
11013
|
"""
|
|
10888
|
-
|
|
10889
|
-
* If the rule is in the **Creating** state, the rule is being created.
|
|
10890
|
-
* If the rule is in the **Created** state, the rule is created.
|
|
10891
|
-
* You cannot
|
|
11014
|
+
**CreateTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
11015
|
+
* If the inbound or outbound rule is in the **Creating** state, the rule is being created.
|
|
11016
|
+
* If the inbound or outbound rule is in the **Created** state, the rule is created.
|
|
11017
|
+
* You cannot call **CreateTrafficMirrorFilterRules** within the specified period of time.
|
|
10892
11018
|
|
|
10893
11019
|
@param request: CreateTrafficMirrorFilterRulesRequest
|
|
10894
11020
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -10941,10 +11067,10 @@ class Client(OpenApiClient):
|
|
|
10941
11067
|
runtime: util_models.RuntimeOptions,
|
|
10942
11068
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterRulesResponse:
|
|
10943
11069
|
"""
|
|
10944
|
-
|
|
10945
|
-
* If the rule is in the **Creating** state, the rule is being created.
|
|
10946
|
-
* If the rule is in the **Created** state, the rule is created.
|
|
10947
|
-
* You cannot
|
|
11070
|
+
**CreateTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
11071
|
+
* If the inbound or outbound rule is in the **Creating** state, the rule is being created.
|
|
11072
|
+
* If the inbound or outbound rule is in the **Created** state, the rule is created.
|
|
11073
|
+
* You cannot call **CreateTrafficMirrorFilterRules** within the specified period of time.
|
|
10948
11074
|
|
|
10949
11075
|
@param request: CreateTrafficMirrorFilterRulesRequest
|
|
10950
11076
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -10996,10 +11122,10 @@ class Client(OpenApiClient):
|
|
|
10996
11122
|
request: vpc_20160428_models.CreateTrafficMirrorFilterRulesRequest,
|
|
10997
11123
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterRulesResponse:
|
|
10998
11124
|
"""
|
|
10999
|
-
|
|
11000
|
-
* If the rule is in the **Creating** state, the rule is being created.
|
|
11001
|
-
* If the rule is in the **Created** state, the rule is created.
|
|
11002
|
-
* You cannot
|
|
11125
|
+
**CreateTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
11126
|
+
* If the inbound or outbound rule is in the **Creating** state, the rule is being created.
|
|
11127
|
+
* If the inbound or outbound rule is in the **Created** state, the rule is created.
|
|
11128
|
+
* You cannot call **CreateTrafficMirrorFilterRules** within the specified period of time.
|
|
11003
11129
|
|
|
11004
11130
|
@param request: CreateTrafficMirrorFilterRulesRequest
|
|
11005
11131
|
@return: CreateTrafficMirrorFilterRulesResponse
|
|
@@ -11012,10 +11138,10 @@ class Client(OpenApiClient):
|
|
|
11012
11138
|
request: vpc_20160428_models.CreateTrafficMirrorFilterRulesRequest,
|
|
11013
11139
|
) -> vpc_20160428_models.CreateTrafficMirrorFilterRulesResponse:
|
|
11014
11140
|
"""
|
|
11015
|
-
|
|
11016
|
-
* If the rule is in the **Creating** state, the rule is being created.
|
|
11017
|
-
* If the rule is in the **Created** state, the rule is created.
|
|
11018
|
-
* You cannot
|
|
11141
|
+
**CreateTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
11142
|
+
* If the inbound or outbound rule is in the **Creating** state, the rule is being created.
|
|
11143
|
+
* If the inbound or outbound rule is in the **Created** state, the rule is created.
|
|
11144
|
+
* You cannot call **CreateTrafficMirrorFilterRules** within the specified period of time.
|
|
11019
11145
|
|
|
11020
11146
|
@param request: CreateTrafficMirrorFilterRulesRequest
|
|
11021
11147
|
@return: CreateTrafficMirrorFilterRulesResponse
|
|
@@ -11029,9 +11155,9 @@ class Client(OpenApiClient):
|
|
|
11029
11155
|
runtime: util_models.RuntimeOptions,
|
|
11030
11156
|
) -> vpc_20160428_models.CreateTrafficMirrorSessionResponse:
|
|
11031
11157
|
"""
|
|
11032
|
-
*CreateTrafficMirrorSession** is an asynchronous operation. After
|
|
11033
|
-
* If the traffic mirror session is in the **Creating** state,
|
|
11034
|
-
* If the traffic mirror session is in the **Created** state,
|
|
11158
|
+
*CreateTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) to query the status of the task.
|
|
11159
|
+
* If the traffic mirror session is in the **Creating** state, it is being created.
|
|
11160
|
+
* If the traffic mirror session is in the **Created** state, it is created.
|
|
11035
11161
|
|
|
11036
11162
|
@param request: CreateTrafficMirrorSessionRequest
|
|
11037
11163
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -11102,9 +11228,9 @@ class Client(OpenApiClient):
|
|
|
11102
11228
|
runtime: util_models.RuntimeOptions,
|
|
11103
11229
|
) -> vpc_20160428_models.CreateTrafficMirrorSessionResponse:
|
|
11104
11230
|
"""
|
|
11105
|
-
*CreateTrafficMirrorSession** is an asynchronous operation. After
|
|
11106
|
-
* If the traffic mirror session is in the **Creating** state,
|
|
11107
|
-
* If the traffic mirror session is in the **Created** state,
|
|
11231
|
+
*CreateTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) to query the status of the task.
|
|
11232
|
+
* If the traffic mirror session is in the **Creating** state, it is being created.
|
|
11233
|
+
* If the traffic mirror session is in the **Created** state, it is created.
|
|
11108
11234
|
|
|
11109
11235
|
@param request: CreateTrafficMirrorSessionRequest
|
|
11110
11236
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -11174,9 +11300,9 @@ class Client(OpenApiClient):
|
|
|
11174
11300
|
request: vpc_20160428_models.CreateTrafficMirrorSessionRequest,
|
|
11175
11301
|
) -> vpc_20160428_models.CreateTrafficMirrorSessionResponse:
|
|
11176
11302
|
"""
|
|
11177
|
-
*CreateTrafficMirrorSession** is an asynchronous operation. After
|
|
11178
|
-
* If the traffic mirror session is in the **Creating** state,
|
|
11179
|
-
* If the traffic mirror session is in the **Created** state,
|
|
11303
|
+
*CreateTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) to query the status of the task.
|
|
11304
|
+
* If the traffic mirror session is in the **Creating** state, it is being created.
|
|
11305
|
+
* If the traffic mirror session is in the **Created** state, it is created.
|
|
11180
11306
|
|
|
11181
11307
|
@param request: CreateTrafficMirrorSessionRequest
|
|
11182
11308
|
@return: CreateTrafficMirrorSessionResponse
|
|
@@ -11189,9 +11315,9 @@ class Client(OpenApiClient):
|
|
|
11189
11315
|
request: vpc_20160428_models.CreateTrafficMirrorSessionRequest,
|
|
11190
11316
|
) -> vpc_20160428_models.CreateTrafficMirrorSessionResponse:
|
|
11191
11317
|
"""
|
|
11192
|
-
*CreateTrafficMirrorSession** is an asynchronous operation. After
|
|
11193
|
-
* If the traffic mirror session is in the **Creating** state,
|
|
11194
|
-
* If the traffic mirror session is in the **Created** state,
|
|
11318
|
+
*CreateTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) to query the status of the task.
|
|
11319
|
+
* If the traffic mirror session is in the **Creating** state, it is being created.
|
|
11320
|
+
* If the traffic mirror session is in the **Created** state, it is created.
|
|
11195
11321
|
|
|
11196
11322
|
@param request: CreateTrafficMirrorSessionRequest
|
|
11197
11323
|
@return: CreateTrafficMirrorSessionResponse
|
|
@@ -15952,7 +16078,7 @@ class Client(OpenApiClient):
|
|
|
15952
16078
|
**DeleteIpv6EgressOnlyRule** 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 [DescribeIpv6EgressOnlyRules](~~102208~~) operation to query the status of the task.
|
|
15953
16079
|
* If the egress-only rule is in the **Deleting** state, the egress-only rule is being deleted.
|
|
15954
16080
|
* If you cannot query the egress-only rule, the egress-only rule is deleted.
|
|
15955
|
-
* You cannot call the **DeleteIpv6EgressOnlyRule**
|
|
16081
|
+
* You cannot call the **DeleteIpv6EgressOnlyRule** within the specified period of time.
|
|
15956
16082
|
|
|
15957
16083
|
@param request: DeleteIpv6EgressOnlyRuleRequest
|
|
15958
16084
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16004,7 +16130,7 @@ class Client(OpenApiClient):
|
|
|
16004
16130
|
**DeleteIpv6EgressOnlyRule** 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 [DescribeIpv6EgressOnlyRules](~~102208~~) operation to query the status of the task.
|
|
16005
16131
|
* If the egress-only rule is in the **Deleting** state, the egress-only rule is being deleted.
|
|
16006
16132
|
* If you cannot query the egress-only rule, the egress-only rule is deleted.
|
|
16007
|
-
* You cannot call the **DeleteIpv6EgressOnlyRule**
|
|
16133
|
+
* You cannot call the **DeleteIpv6EgressOnlyRule** within the specified period of time.
|
|
16008
16134
|
|
|
16009
16135
|
@param request: DeleteIpv6EgressOnlyRuleRequest
|
|
16010
16136
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16055,7 +16181,7 @@ class Client(OpenApiClient):
|
|
|
16055
16181
|
**DeleteIpv6EgressOnlyRule** 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 [DescribeIpv6EgressOnlyRules](~~102208~~) operation to query the status of the task.
|
|
16056
16182
|
* If the egress-only rule is in the **Deleting** state, the egress-only rule is being deleted.
|
|
16057
16183
|
* If you cannot query the egress-only rule, the egress-only rule is deleted.
|
|
16058
|
-
* You cannot call the **DeleteIpv6EgressOnlyRule**
|
|
16184
|
+
* You cannot call the **DeleteIpv6EgressOnlyRule** within the specified period of time.
|
|
16059
16185
|
|
|
16060
16186
|
@param request: DeleteIpv6EgressOnlyRuleRequest
|
|
16061
16187
|
@return: DeleteIpv6EgressOnlyRuleResponse
|
|
@@ -16071,7 +16197,7 @@ class Client(OpenApiClient):
|
|
|
16071
16197
|
**DeleteIpv6EgressOnlyRule** 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 [DescribeIpv6EgressOnlyRules](~~102208~~) operation to query the status of the task.
|
|
16072
16198
|
* If the egress-only rule is in the **Deleting** state, the egress-only rule is being deleted.
|
|
16073
16199
|
* If you cannot query the egress-only rule, the egress-only rule is deleted.
|
|
16074
|
-
* You cannot call the **DeleteIpv6EgressOnlyRule**
|
|
16200
|
+
* You cannot call the **DeleteIpv6EgressOnlyRule** within the specified period of time.
|
|
16075
16201
|
|
|
16076
16202
|
@param request: DeleteIpv6EgressOnlyRuleRequest
|
|
16077
16203
|
@return: DeleteIpv6EgressOnlyRuleResponse
|
|
@@ -16221,7 +16347,7 @@ class Client(OpenApiClient):
|
|
|
16221
16347
|
runtime: util_models.RuntimeOptions,
|
|
16222
16348
|
) -> vpc_20160428_models.DeleteIpv6InternetBandwidthResponse:
|
|
16223
16349
|
"""
|
|
16224
|
-
You cannot call the *DeleteIpv6InternetBandwidth** operation
|
|
16350
|
+
You cannot call the *DeleteIpv6InternetBandwidth** operation within the specified period of time.
|
|
16225
16351
|
|
|
16226
16352
|
@param request: DeleteIpv6InternetBandwidthRequest
|
|
16227
16353
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16270,7 +16396,7 @@ class Client(OpenApiClient):
|
|
|
16270
16396
|
runtime: util_models.RuntimeOptions,
|
|
16271
16397
|
) -> vpc_20160428_models.DeleteIpv6InternetBandwidthResponse:
|
|
16272
16398
|
"""
|
|
16273
|
-
You cannot call the *DeleteIpv6InternetBandwidth** operation
|
|
16399
|
+
You cannot call the *DeleteIpv6InternetBandwidth** operation within the specified period of time.
|
|
16274
16400
|
|
|
16275
16401
|
@param request: DeleteIpv6InternetBandwidthRequest
|
|
16276
16402
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -16318,7 +16444,7 @@ class Client(OpenApiClient):
|
|
|
16318
16444
|
request: vpc_20160428_models.DeleteIpv6InternetBandwidthRequest,
|
|
16319
16445
|
) -> vpc_20160428_models.DeleteIpv6InternetBandwidthResponse:
|
|
16320
16446
|
"""
|
|
16321
|
-
You cannot call the *DeleteIpv6InternetBandwidth** operation
|
|
16447
|
+
You cannot call the *DeleteIpv6InternetBandwidth** operation within the specified period of time.
|
|
16322
16448
|
|
|
16323
16449
|
@param request: DeleteIpv6InternetBandwidthRequest
|
|
16324
16450
|
@return: DeleteIpv6InternetBandwidthResponse
|
|
@@ -16331,7 +16457,7 @@ class Client(OpenApiClient):
|
|
|
16331
16457
|
request: vpc_20160428_models.DeleteIpv6InternetBandwidthRequest,
|
|
16332
16458
|
) -> vpc_20160428_models.DeleteIpv6InternetBandwidthResponse:
|
|
16333
16459
|
"""
|
|
16334
|
-
You cannot call the *DeleteIpv6InternetBandwidth** operation
|
|
16460
|
+
You cannot call the *DeleteIpv6InternetBandwidth** operation within the specified period of time.
|
|
16335
16461
|
|
|
16336
16462
|
@param request: DeleteIpv6InternetBandwidthRequest
|
|
16337
16463
|
@return: DeleteIpv6InternetBandwidthResponse
|
|
@@ -18413,10 +18539,10 @@ class Client(OpenApiClient):
|
|
|
18413
18539
|
runtime: util_models.RuntimeOptions,
|
|
18414
18540
|
) -> vpc_20160428_models.DeleteTrafficMirrorFilterRulesResponse:
|
|
18415
18541
|
"""
|
|
18416
|
-
|
|
18417
|
-
* If the rule is in the **Deleting** state, the rule is being deleted.
|
|
18542
|
+
**DeleteTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
18543
|
+
* If the inbound or outbound rule is in the **Deleting** state, the rule is being deleted.
|
|
18418
18544
|
* If you cannot query the rule, the rule is deleted.
|
|
18419
|
-
* You cannot repeatedly call
|
|
18545
|
+
* You cannot repeatedly call **DeleteTrafficMirrorFilterRules** within the specified period of time.
|
|
18420
18546
|
|
|
18421
18547
|
@param request: DeleteTrafficMirrorFilterRulesRequest
|
|
18422
18548
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -18467,10 +18593,10 @@ class Client(OpenApiClient):
|
|
|
18467
18593
|
runtime: util_models.RuntimeOptions,
|
|
18468
18594
|
) -> vpc_20160428_models.DeleteTrafficMirrorFilterRulesResponse:
|
|
18469
18595
|
"""
|
|
18470
|
-
|
|
18471
|
-
* If the rule is in the **Deleting** state, the rule is being deleted.
|
|
18596
|
+
**DeleteTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
18597
|
+
* If the inbound or outbound rule is in the **Deleting** state, the rule is being deleted.
|
|
18472
18598
|
* If you cannot query the rule, the rule is deleted.
|
|
18473
|
-
* You cannot repeatedly call
|
|
18599
|
+
* You cannot repeatedly call **DeleteTrafficMirrorFilterRules** within the specified period of time.
|
|
18474
18600
|
|
|
18475
18601
|
@param request: DeleteTrafficMirrorFilterRulesRequest
|
|
18476
18602
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -18520,10 +18646,10 @@ class Client(OpenApiClient):
|
|
|
18520
18646
|
request: vpc_20160428_models.DeleteTrafficMirrorFilterRulesRequest,
|
|
18521
18647
|
) -> vpc_20160428_models.DeleteTrafficMirrorFilterRulesResponse:
|
|
18522
18648
|
"""
|
|
18523
|
-
|
|
18524
|
-
* If the rule is in the **Deleting** state, the rule is being deleted.
|
|
18649
|
+
**DeleteTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
18650
|
+
* If the inbound or outbound rule is in the **Deleting** state, the rule is being deleted.
|
|
18525
18651
|
* If you cannot query the rule, the rule is deleted.
|
|
18526
|
-
* You cannot repeatedly call
|
|
18652
|
+
* You cannot repeatedly call **DeleteTrafficMirrorFilterRules** within the specified period of time.
|
|
18527
18653
|
|
|
18528
18654
|
@param request: DeleteTrafficMirrorFilterRulesRequest
|
|
18529
18655
|
@return: DeleteTrafficMirrorFilterRulesResponse
|
|
@@ -18536,10 +18662,10 @@ class Client(OpenApiClient):
|
|
|
18536
18662
|
request: vpc_20160428_models.DeleteTrafficMirrorFilterRulesRequest,
|
|
18537
18663
|
) -> vpc_20160428_models.DeleteTrafficMirrorFilterRulesResponse:
|
|
18538
18664
|
"""
|
|
18539
|
-
|
|
18540
|
-
* If the rule is in the **Deleting** state, the rule is being deleted.
|
|
18665
|
+
**DeleteTrafficMirrorFilterRules** 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 [ListTrafficMirrorFilters](~~261353~~) to query the status of the task.
|
|
18666
|
+
* If the inbound or outbound rule is in the **Deleting** state, the rule is being deleted.
|
|
18541
18667
|
* If you cannot query the rule, the rule is deleted.
|
|
18542
|
-
* You cannot repeatedly call
|
|
18668
|
+
* You cannot repeatedly call **DeleteTrafficMirrorFilterRules** within the specified period of time.
|
|
18543
18669
|
|
|
18544
18670
|
@param request: DeleteTrafficMirrorFilterRulesRequest
|
|
18545
18671
|
@return: DeleteTrafficMirrorFilterRulesResponse
|
|
@@ -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,
|
|
@@ -42365,10 +42597,10 @@ class Client(OpenApiClient):
|
|
|
42365
42597
|
runtime: util_models.RuntimeOptions,
|
|
42366
42598
|
) -> vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionResponse:
|
|
42367
42599
|
"""
|
|
42368
|
-
|
|
42600
|
+
**RemoveSourcesFromTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) operation to query the status of the task.
|
|
42369
42601
|
* If the traffic mirror session is in the **Modifying** state, the traffic mirror source is being deleted.
|
|
42370
42602
|
* If the traffic mirror session is in the **Created** state, the traffic mirror source is deleted.
|
|
42371
|
-
* You cannot repeatedly call
|
|
42603
|
+
* You cannot repeatedly call **RemoveSourcesFromTrafficMirrorSession** within the specified period of time.
|
|
42372
42604
|
|
|
42373
42605
|
@param request: RemoveSourcesFromTrafficMirrorSessionRequest
|
|
42374
42606
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -42419,10 +42651,10 @@ class Client(OpenApiClient):
|
|
|
42419
42651
|
runtime: util_models.RuntimeOptions,
|
|
42420
42652
|
) -> vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionResponse:
|
|
42421
42653
|
"""
|
|
42422
|
-
|
|
42654
|
+
**RemoveSourcesFromTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) operation to query the status of the task.
|
|
42423
42655
|
* If the traffic mirror session is in the **Modifying** state, the traffic mirror source is being deleted.
|
|
42424
42656
|
* If the traffic mirror session is in the **Created** state, the traffic mirror source is deleted.
|
|
42425
|
-
* You cannot repeatedly call
|
|
42657
|
+
* You cannot repeatedly call **RemoveSourcesFromTrafficMirrorSession** within the specified period of time.
|
|
42426
42658
|
|
|
42427
42659
|
@param request: RemoveSourcesFromTrafficMirrorSessionRequest
|
|
42428
42660
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -42472,10 +42704,10 @@ class Client(OpenApiClient):
|
|
|
42472
42704
|
request: vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionRequest,
|
|
42473
42705
|
) -> vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionResponse:
|
|
42474
42706
|
"""
|
|
42475
|
-
|
|
42707
|
+
**RemoveSourcesFromTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) operation to query the status of the task.
|
|
42476
42708
|
* If the traffic mirror session is in the **Modifying** state, the traffic mirror source is being deleted.
|
|
42477
42709
|
* If the traffic mirror session is in the **Created** state, the traffic mirror source is deleted.
|
|
42478
|
-
* You cannot repeatedly call
|
|
42710
|
+
* You cannot repeatedly call **RemoveSourcesFromTrafficMirrorSession** within the specified period of time.
|
|
42479
42711
|
|
|
42480
42712
|
@param request: RemoveSourcesFromTrafficMirrorSessionRequest
|
|
42481
42713
|
@return: RemoveSourcesFromTrafficMirrorSessionResponse
|
|
@@ -42488,10 +42720,10 @@ class Client(OpenApiClient):
|
|
|
42488
42720
|
request: vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionRequest,
|
|
42489
42721
|
) -> vpc_20160428_models.RemoveSourcesFromTrafficMirrorSessionResponse:
|
|
42490
42722
|
"""
|
|
42491
|
-
|
|
42723
|
+
**RemoveSourcesFromTrafficMirrorSession** 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 [ListTrafficMirrorSessions](~~261367~~) operation to query the status of the task.
|
|
42492
42724
|
* If the traffic mirror session is in the **Modifying** state, the traffic mirror source is being deleted.
|
|
42493
42725
|
* If the traffic mirror session is in the **Created** state, the traffic mirror source is deleted.
|
|
42494
|
-
* You cannot repeatedly call
|
|
42726
|
+
* You cannot repeatedly call **RemoveSourcesFromTrafficMirrorSession** within the specified period of time.
|
|
42495
42727
|
|
|
42496
42728
|
@param request: RemoveSourcesFromTrafficMirrorSessionRequest
|
|
42497
42729
|
@return: RemoveSourcesFromTrafficMirrorSessionResponse
|