alibabacloud-vpc20160428 6.6.8__tar.gz → 6.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/ChangeLog.md +4 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/PKG-INFO +1 -1
- alibabacloud_vpc20160428-6.7.0/alibabacloud_vpc20160428/__init__.py +1 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428/client.py +268 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428/models.py +325 -23
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428.egg-info/requires.txt +1 -1
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/setup.py +2 -2
- alibabacloud_vpc20160428-6.6.8/alibabacloud_vpc20160428/__init__.py +0 -1
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/MANIFEST.in +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/README-CN.md +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/README.md +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
- {alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.7.0'
|
{alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428/client.py
RENAMED
|
@@ -1897,6 +1897,8 @@ class Client(OpenApiClient):
|
|
|
1897
1897
|
"""
|
|
1898
1898
|
UtilClient.validate_model(request)
|
|
1899
1899
|
query = {}
|
|
1900
|
+
if not UtilClient.is_unset(request.address_type):
|
|
1901
|
+
query['AddressType'] = request.address_type
|
|
1900
1902
|
if not UtilClient.is_unset(request.client_token):
|
|
1901
1903
|
query['ClientToken'] = request.client_token
|
|
1902
1904
|
if not UtilClient.is_unset(request.dry_run):
|
|
@@ -1958,6 +1960,8 @@ class Client(OpenApiClient):
|
|
|
1958
1960
|
"""
|
|
1959
1961
|
UtilClient.validate_model(request)
|
|
1960
1962
|
query = {}
|
|
1963
|
+
if not UtilClient.is_unset(request.address_type):
|
|
1964
|
+
query['AddressType'] = request.address_type
|
|
1961
1965
|
if not UtilClient.is_unset(request.client_token):
|
|
1962
1966
|
query['ClientToken'] = request.client_token
|
|
1963
1967
|
if not UtilClient.is_unset(request.dry_run):
|
|
@@ -10645,6 +10649,8 @@ class Client(OpenApiClient):
|
|
|
10645
10649
|
runtime: util_models.RuntimeOptions,
|
|
10646
10650
|
) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
|
|
10647
10651
|
"""
|
|
10652
|
+
@summary 创建端口初装费订单
|
|
10653
|
+
|
|
10648
10654
|
@param request: CreatePhysicalConnectionSetupOrderRequest
|
|
10649
10655
|
@param runtime: runtime options for this request RuntimeOptions
|
|
10650
10656
|
@return: CreatePhysicalConnectionSetupOrderResponse
|
|
@@ -10700,6 +10706,8 @@ class Client(OpenApiClient):
|
|
|
10700
10706
|
runtime: util_models.RuntimeOptions,
|
|
10701
10707
|
) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
|
|
10702
10708
|
"""
|
|
10709
|
+
@summary 创建端口初装费订单
|
|
10710
|
+
|
|
10703
10711
|
@param request: CreatePhysicalConnectionSetupOrderRequest
|
|
10704
10712
|
@param runtime: runtime options for this request RuntimeOptions
|
|
10705
10713
|
@return: CreatePhysicalConnectionSetupOrderResponse
|
|
@@ -10754,6 +10762,8 @@ class Client(OpenApiClient):
|
|
|
10754
10762
|
request: vpc_20160428_models.CreatePhysicalConnectionSetupOrderRequest,
|
|
10755
10763
|
) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
|
|
10756
10764
|
"""
|
|
10765
|
+
@summary 创建端口初装费订单
|
|
10766
|
+
|
|
10757
10767
|
@param request: CreatePhysicalConnectionSetupOrderRequest
|
|
10758
10768
|
@return: CreatePhysicalConnectionSetupOrderResponse
|
|
10759
10769
|
"""
|
|
@@ -10765,6 +10775,8 @@ class Client(OpenApiClient):
|
|
|
10765
10775
|
request: vpc_20160428_models.CreatePhysicalConnectionSetupOrderRequest,
|
|
10766
10776
|
) -> vpc_20160428_models.CreatePhysicalConnectionSetupOrderResponse:
|
|
10767
10777
|
"""
|
|
10778
|
+
@summary 创建端口初装费订单
|
|
10779
|
+
|
|
10768
10780
|
@param request: CreatePhysicalConnectionSetupOrderRequest
|
|
10769
10781
|
@return: CreatePhysicalConnectionSetupOrderResponse
|
|
10770
10782
|
"""
|
|
@@ -27079,6 +27091,8 @@ class Client(OpenApiClient):
|
|
|
27079
27091
|
"""
|
|
27080
27092
|
UtilClient.validate_model(request)
|
|
27081
27093
|
query = {}
|
|
27094
|
+
if not UtilClient.is_unset(request.address_type):
|
|
27095
|
+
query['AddressType'] = request.address_type
|
|
27082
27096
|
if not UtilClient.is_unset(request.associated_instance_id):
|
|
27083
27097
|
query['AssociatedInstanceId'] = request.associated_instance_id
|
|
27084
27098
|
if not UtilClient.is_unset(request.associated_instance_type):
|
|
@@ -27154,6 +27168,8 @@ class Client(OpenApiClient):
|
|
|
27154
27168
|
"""
|
|
27155
27169
|
UtilClient.validate_model(request)
|
|
27156
27170
|
query = {}
|
|
27171
|
+
if not UtilClient.is_unset(request.address_type):
|
|
27172
|
+
query['AddressType'] = request.address_type
|
|
27157
27173
|
if not UtilClient.is_unset(request.associated_instance_id):
|
|
27158
27174
|
query['AssociatedInstanceId'] = request.associated_instance_id
|
|
27159
27175
|
if not UtilClient.is_unset(request.associated_instance_type):
|
|
@@ -27247,6 +27263,8 @@ class Client(OpenApiClient):
|
|
|
27247
27263
|
runtime: util_models.RuntimeOptions,
|
|
27248
27264
|
) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
|
|
27249
27265
|
"""
|
|
27266
|
+
@summary 查询创建的仅主动出规则。
|
|
27267
|
+
|
|
27250
27268
|
@param request: DescribeIpv6EgressOnlyRulesRequest
|
|
27251
27269
|
@param runtime: runtime options for this request RuntimeOptions
|
|
27252
27270
|
@return: DescribeIpv6EgressOnlyRulesResponse
|
|
@@ -27304,6 +27322,8 @@ class Client(OpenApiClient):
|
|
|
27304
27322
|
runtime: util_models.RuntimeOptions,
|
|
27305
27323
|
) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
|
|
27306
27324
|
"""
|
|
27325
|
+
@summary 查询创建的仅主动出规则。
|
|
27326
|
+
|
|
27307
27327
|
@param request: DescribeIpv6EgressOnlyRulesRequest
|
|
27308
27328
|
@param runtime: runtime options for this request RuntimeOptions
|
|
27309
27329
|
@return: DescribeIpv6EgressOnlyRulesResponse
|
|
@@ -27360,6 +27380,8 @@ class Client(OpenApiClient):
|
|
|
27360
27380
|
request: vpc_20160428_models.DescribeIpv6EgressOnlyRulesRequest,
|
|
27361
27381
|
) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
|
|
27362
27382
|
"""
|
|
27383
|
+
@summary 查询创建的仅主动出规则。
|
|
27384
|
+
|
|
27363
27385
|
@param request: DescribeIpv6EgressOnlyRulesRequest
|
|
27364
27386
|
@return: DescribeIpv6EgressOnlyRulesResponse
|
|
27365
27387
|
"""
|
|
@@ -27371,6 +27393,8 @@ class Client(OpenApiClient):
|
|
|
27371
27393
|
request: vpc_20160428_models.DescribeIpv6EgressOnlyRulesRequest,
|
|
27372
27394
|
) -> vpc_20160428_models.DescribeIpv6EgressOnlyRulesResponse:
|
|
27373
27395
|
"""
|
|
27396
|
+
@summary 查询创建的仅主动出规则。
|
|
27397
|
+
|
|
27374
27398
|
@param request: DescribeIpv6EgressOnlyRulesRequest
|
|
27375
27399
|
@return: DescribeIpv6EgressOnlyRulesResponse
|
|
27376
27400
|
"""
|
|
@@ -35557,6 +35581,126 @@ class Client(OpenApiClient):
|
|
|
35557
35581
|
runtime = util_models.RuntimeOptions()
|
|
35558
35582
|
return await self.get_physical_connection_service_status_with_options_async(request, runtime)
|
|
35559
35583
|
|
|
35584
|
+
def get_public_ip_address_pool_service_status_with_options(
|
|
35585
|
+
self,
|
|
35586
|
+
request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
|
|
35587
|
+
runtime: util_models.RuntimeOptions,
|
|
35588
|
+
) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
|
|
35589
|
+
"""
|
|
35590
|
+
@summary 查询IP地址池功能的开通状态。
|
|
35591
|
+
|
|
35592
|
+
@param request: GetPublicIpAddressPoolServiceStatusRequest
|
|
35593
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
35594
|
+
@return: GetPublicIpAddressPoolServiceStatusResponse
|
|
35595
|
+
"""
|
|
35596
|
+
UtilClient.validate_model(request)
|
|
35597
|
+
query = {}
|
|
35598
|
+
if not UtilClient.is_unset(request.client_token):
|
|
35599
|
+
query['ClientToken'] = request.client_token
|
|
35600
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
35601
|
+
query['OwnerAccount'] = request.owner_account
|
|
35602
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
35603
|
+
query['OwnerId'] = request.owner_id
|
|
35604
|
+
if not UtilClient.is_unset(request.region_id):
|
|
35605
|
+
query['RegionId'] = request.region_id
|
|
35606
|
+
if not UtilClient.is_unset(request.region_id):
|
|
35607
|
+
query['RegionId'] = request.region_id
|
|
35608
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
35609
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35610
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35611
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
35612
|
+
req = open_api_models.OpenApiRequest(
|
|
35613
|
+
query=OpenApiUtilClient.query(query)
|
|
35614
|
+
)
|
|
35615
|
+
params = open_api_models.Params(
|
|
35616
|
+
action='GetPublicIpAddressPoolServiceStatus',
|
|
35617
|
+
version='2016-04-28',
|
|
35618
|
+
protocol='HTTPS',
|
|
35619
|
+
pathname='/',
|
|
35620
|
+
method='POST',
|
|
35621
|
+
auth_type='AK',
|
|
35622
|
+
style='RPC',
|
|
35623
|
+
req_body_type='formData',
|
|
35624
|
+
body_type='json'
|
|
35625
|
+
)
|
|
35626
|
+
return TeaCore.from_map(
|
|
35627
|
+
vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse(),
|
|
35628
|
+
self.call_api(params, req, runtime)
|
|
35629
|
+
)
|
|
35630
|
+
|
|
35631
|
+
async def get_public_ip_address_pool_service_status_with_options_async(
|
|
35632
|
+
self,
|
|
35633
|
+
request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
|
|
35634
|
+
runtime: util_models.RuntimeOptions,
|
|
35635
|
+
) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
|
|
35636
|
+
"""
|
|
35637
|
+
@summary 查询IP地址池功能的开通状态。
|
|
35638
|
+
|
|
35639
|
+
@param request: GetPublicIpAddressPoolServiceStatusRequest
|
|
35640
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
35641
|
+
@return: GetPublicIpAddressPoolServiceStatusResponse
|
|
35642
|
+
"""
|
|
35643
|
+
UtilClient.validate_model(request)
|
|
35644
|
+
query = {}
|
|
35645
|
+
if not UtilClient.is_unset(request.client_token):
|
|
35646
|
+
query['ClientToken'] = request.client_token
|
|
35647
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
35648
|
+
query['OwnerAccount'] = request.owner_account
|
|
35649
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
35650
|
+
query['OwnerId'] = request.owner_id
|
|
35651
|
+
if not UtilClient.is_unset(request.region_id):
|
|
35652
|
+
query['RegionId'] = request.region_id
|
|
35653
|
+
if not UtilClient.is_unset(request.region_id):
|
|
35654
|
+
query['RegionId'] = request.region_id
|
|
35655
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
35656
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35657
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35658
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
35659
|
+
req = open_api_models.OpenApiRequest(
|
|
35660
|
+
query=OpenApiUtilClient.query(query)
|
|
35661
|
+
)
|
|
35662
|
+
params = open_api_models.Params(
|
|
35663
|
+
action='GetPublicIpAddressPoolServiceStatus',
|
|
35664
|
+
version='2016-04-28',
|
|
35665
|
+
protocol='HTTPS',
|
|
35666
|
+
pathname='/',
|
|
35667
|
+
method='POST',
|
|
35668
|
+
auth_type='AK',
|
|
35669
|
+
style='RPC',
|
|
35670
|
+
req_body_type='formData',
|
|
35671
|
+
body_type='json'
|
|
35672
|
+
)
|
|
35673
|
+
return TeaCore.from_map(
|
|
35674
|
+
vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse(),
|
|
35675
|
+
await self.call_api_async(params, req, runtime)
|
|
35676
|
+
)
|
|
35677
|
+
|
|
35678
|
+
def get_public_ip_address_pool_service_status(
|
|
35679
|
+
self,
|
|
35680
|
+
request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
|
|
35681
|
+
) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
|
|
35682
|
+
"""
|
|
35683
|
+
@summary 查询IP地址池功能的开通状态。
|
|
35684
|
+
|
|
35685
|
+
@param request: GetPublicIpAddressPoolServiceStatusRequest
|
|
35686
|
+
@return: GetPublicIpAddressPoolServiceStatusResponse
|
|
35687
|
+
"""
|
|
35688
|
+
runtime = util_models.RuntimeOptions()
|
|
35689
|
+
return self.get_public_ip_address_pool_service_status_with_options(request, runtime)
|
|
35690
|
+
|
|
35691
|
+
async def get_public_ip_address_pool_service_status_async(
|
|
35692
|
+
self,
|
|
35693
|
+
request: vpc_20160428_models.GetPublicIpAddressPoolServiceStatusRequest,
|
|
35694
|
+
) -> vpc_20160428_models.GetPublicIpAddressPoolServiceStatusResponse:
|
|
35695
|
+
"""
|
|
35696
|
+
@summary 查询IP地址池功能的开通状态。
|
|
35697
|
+
|
|
35698
|
+
@param request: GetPublicIpAddressPoolServiceStatusRequest
|
|
35699
|
+
@return: GetPublicIpAddressPoolServiceStatusResponse
|
|
35700
|
+
"""
|
|
35701
|
+
runtime = util_models.RuntimeOptions()
|
|
35702
|
+
return await self.get_public_ip_address_pool_service_status_with_options_async(request, runtime)
|
|
35703
|
+
|
|
35560
35704
|
def get_traffic_mirror_service_status_with_options(
|
|
35561
35705
|
self,
|
|
35562
35706
|
request: vpc_20160428_models.GetTrafficMirrorServiceStatusRequest,
|
|
@@ -44575,6 +44719,8 @@ class Client(OpenApiClient):
|
|
|
44575
44719
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
44576
44720
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
44577
44721
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
44722
|
+
if not UtilClient.is_unset(request.route_propagation_enable):
|
|
44723
|
+
query['RoutePropagationEnable'] = request.route_propagation_enable
|
|
44578
44724
|
if not UtilClient.is_unset(request.route_table_id):
|
|
44579
44725
|
query['RouteTableId'] = request.route_table_id
|
|
44580
44726
|
if not UtilClient.is_unset(request.route_table_name):
|
|
@@ -44626,6 +44772,8 @@ class Client(OpenApiClient):
|
|
|
44626
44772
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
44627
44773
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
44628
44774
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
44775
|
+
if not UtilClient.is_unset(request.route_propagation_enable):
|
|
44776
|
+
query['RoutePropagationEnable'] = request.route_propagation_enable
|
|
44629
44777
|
if not UtilClient.is_unset(request.route_table_id):
|
|
44630
44778
|
query['RouteTableId'] = request.route_table_id
|
|
44631
44779
|
if not UtilClient.is_unset(request.route_table_name):
|
|
@@ -48445,6 +48593,126 @@ class Client(OpenApiClient):
|
|
|
48445
48593
|
runtime = util_models.RuntimeOptions()
|
|
48446
48594
|
return await self.open_physical_connection_service_with_options_async(request, runtime)
|
|
48447
48595
|
|
|
48596
|
+
def open_public_ip_address_pool_service_with_options(
|
|
48597
|
+
self,
|
|
48598
|
+
request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
|
|
48599
|
+
runtime: util_models.RuntimeOptions,
|
|
48600
|
+
) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
|
|
48601
|
+
"""
|
|
48602
|
+
@summary 开通IP地址池功能。
|
|
48603
|
+
|
|
48604
|
+
@param request: OpenPublicIpAddressPoolServiceRequest
|
|
48605
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48606
|
+
@return: OpenPublicIpAddressPoolServiceResponse
|
|
48607
|
+
"""
|
|
48608
|
+
UtilClient.validate_model(request)
|
|
48609
|
+
query = {}
|
|
48610
|
+
if not UtilClient.is_unset(request.client_token):
|
|
48611
|
+
query['ClientToken'] = request.client_token
|
|
48612
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
48613
|
+
query['OwnerAccount'] = request.owner_account
|
|
48614
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
48615
|
+
query['OwnerId'] = request.owner_id
|
|
48616
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48617
|
+
query['RegionId'] = request.region_id
|
|
48618
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48619
|
+
query['RegionId'] = request.region_id
|
|
48620
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
48621
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
48622
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
48623
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
48624
|
+
req = open_api_models.OpenApiRequest(
|
|
48625
|
+
query=OpenApiUtilClient.query(query)
|
|
48626
|
+
)
|
|
48627
|
+
params = open_api_models.Params(
|
|
48628
|
+
action='OpenPublicIpAddressPoolService',
|
|
48629
|
+
version='2016-04-28',
|
|
48630
|
+
protocol='HTTPS',
|
|
48631
|
+
pathname='/',
|
|
48632
|
+
method='POST',
|
|
48633
|
+
auth_type='AK',
|
|
48634
|
+
style='RPC',
|
|
48635
|
+
req_body_type='formData',
|
|
48636
|
+
body_type='json'
|
|
48637
|
+
)
|
|
48638
|
+
return TeaCore.from_map(
|
|
48639
|
+
vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse(),
|
|
48640
|
+
self.call_api(params, req, runtime)
|
|
48641
|
+
)
|
|
48642
|
+
|
|
48643
|
+
async def open_public_ip_address_pool_service_with_options_async(
|
|
48644
|
+
self,
|
|
48645
|
+
request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
|
|
48646
|
+
runtime: util_models.RuntimeOptions,
|
|
48647
|
+
) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
|
|
48648
|
+
"""
|
|
48649
|
+
@summary 开通IP地址池功能。
|
|
48650
|
+
|
|
48651
|
+
@param request: OpenPublicIpAddressPoolServiceRequest
|
|
48652
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48653
|
+
@return: OpenPublicIpAddressPoolServiceResponse
|
|
48654
|
+
"""
|
|
48655
|
+
UtilClient.validate_model(request)
|
|
48656
|
+
query = {}
|
|
48657
|
+
if not UtilClient.is_unset(request.client_token):
|
|
48658
|
+
query['ClientToken'] = request.client_token
|
|
48659
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
48660
|
+
query['OwnerAccount'] = request.owner_account
|
|
48661
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
48662
|
+
query['OwnerId'] = request.owner_id
|
|
48663
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48664
|
+
query['RegionId'] = request.region_id
|
|
48665
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48666
|
+
query['RegionId'] = request.region_id
|
|
48667
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
48668
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
48669
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
48670
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
48671
|
+
req = open_api_models.OpenApiRequest(
|
|
48672
|
+
query=OpenApiUtilClient.query(query)
|
|
48673
|
+
)
|
|
48674
|
+
params = open_api_models.Params(
|
|
48675
|
+
action='OpenPublicIpAddressPoolService',
|
|
48676
|
+
version='2016-04-28',
|
|
48677
|
+
protocol='HTTPS',
|
|
48678
|
+
pathname='/',
|
|
48679
|
+
method='POST',
|
|
48680
|
+
auth_type='AK',
|
|
48681
|
+
style='RPC',
|
|
48682
|
+
req_body_type='formData',
|
|
48683
|
+
body_type='json'
|
|
48684
|
+
)
|
|
48685
|
+
return TeaCore.from_map(
|
|
48686
|
+
vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse(),
|
|
48687
|
+
await self.call_api_async(params, req, runtime)
|
|
48688
|
+
)
|
|
48689
|
+
|
|
48690
|
+
def open_public_ip_address_pool_service(
|
|
48691
|
+
self,
|
|
48692
|
+
request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
|
|
48693
|
+
) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
|
|
48694
|
+
"""
|
|
48695
|
+
@summary 开通IP地址池功能。
|
|
48696
|
+
|
|
48697
|
+
@param request: OpenPublicIpAddressPoolServiceRequest
|
|
48698
|
+
@return: OpenPublicIpAddressPoolServiceResponse
|
|
48699
|
+
"""
|
|
48700
|
+
runtime = util_models.RuntimeOptions()
|
|
48701
|
+
return self.open_public_ip_address_pool_service_with_options(request, runtime)
|
|
48702
|
+
|
|
48703
|
+
async def open_public_ip_address_pool_service_async(
|
|
48704
|
+
self,
|
|
48705
|
+
request: vpc_20160428_models.OpenPublicIpAddressPoolServiceRequest,
|
|
48706
|
+
) -> vpc_20160428_models.OpenPublicIpAddressPoolServiceResponse:
|
|
48707
|
+
"""
|
|
48708
|
+
@summary 开通IP地址池功能。
|
|
48709
|
+
|
|
48710
|
+
@param request: OpenPublicIpAddressPoolServiceRequest
|
|
48711
|
+
@return: OpenPublicIpAddressPoolServiceResponse
|
|
48712
|
+
"""
|
|
48713
|
+
runtime = util_models.RuntimeOptions()
|
|
48714
|
+
return await self.open_public_ip_address_pool_service_with_options_async(request, runtime)
|
|
48715
|
+
|
|
48448
48716
|
def open_traffic_mirror_service_with_options(
|
|
48449
48717
|
self,
|
|
48450
48718
|
request: vpc_20160428_models.OpenTrafficMirrorServiceRequest,
|
{alibabacloud_vpc20160428-6.6.8 → alibabacloud_vpc20160428-6.7.0}/alibabacloud_vpc20160428/models.py
RENAMED
|
@@ -2359,6 +2359,7 @@ class AllocateIpv6AddressRequestTag(TeaModel):
|
|
|
2359
2359
|
class AllocateIpv6AddressRequest(TeaModel):
|
|
2360
2360
|
def __init__(
|
|
2361
2361
|
self,
|
|
2362
|
+
address_type: str = None,
|
|
2362
2363
|
client_token: str = None,
|
|
2363
2364
|
dry_run: bool = None,
|
|
2364
2365
|
ipv_6address: str = None,
|
|
@@ -2373,6 +2374,7 @@ class AllocateIpv6AddressRequest(TeaModel):
|
|
|
2373
2374
|
tag: List[AllocateIpv6AddressRequestTag] = None,
|
|
2374
2375
|
v_switch_id: str = None,
|
|
2375
2376
|
):
|
|
2377
|
+
self.address_type = address_type
|
|
2376
2378
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
|
|
2377
2379
|
#
|
|
2378
2380
|
# > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
@@ -2417,6 +2419,8 @@ class AllocateIpv6AddressRequest(TeaModel):
|
|
|
2417
2419
|
return _map
|
|
2418
2420
|
|
|
2419
2421
|
result = dict()
|
|
2422
|
+
if self.address_type is not None:
|
|
2423
|
+
result['AddressType'] = self.address_type
|
|
2420
2424
|
if self.client_token is not None:
|
|
2421
2425
|
result['ClientToken'] = self.client_token
|
|
2422
2426
|
if self.dry_run is not None:
|
|
@@ -2449,6 +2453,8 @@ class AllocateIpv6AddressRequest(TeaModel):
|
|
|
2449
2453
|
|
|
2450
2454
|
def from_map(self, m: dict = None):
|
|
2451
2455
|
m = m or dict()
|
|
2456
|
+
if m.get('AddressType') is not None:
|
|
2457
|
+
self.address_type = m.get('AddressType')
|
|
2452
2458
|
if m.get('ClientToken') is not None:
|
|
2453
2459
|
self.client_token = m.get('ClientToken')
|
|
2454
2460
|
if m.get('DryRun') is not None:
|
|
@@ -30505,7 +30511,7 @@ class DeleteVpnAttachmentRequest(TeaModel):
|
|
|
30505
30511
|
# > If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
|
|
30506
30512
|
self.client_token = client_token
|
|
30507
30513
|
self.owner_account = owner_account
|
|
30508
|
-
# The ID of the
|
|
30514
|
+
# The region ID of the IPsec-VPN connection.
|
|
30509
30515
|
#
|
|
30510
30516
|
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
30511
30517
|
#
|
|
@@ -42401,6 +42407,7 @@ class DescribeIpv6AddressesRequestTag(TeaModel):
|
|
|
42401
42407
|
class DescribeIpv6AddressesRequest(TeaModel):
|
|
42402
42408
|
def __init__(
|
|
42403
42409
|
self,
|
|
42410
|
+
address_type: str = None,
|
|
42404
42411
|
associated_instance_id: str = None,
|
|
42405
42412
|
associated_instance_type: str = None,
|
|
42406
42413
|
include_reservation_data: bool = None,
|
|
@@ -42422,6 +42429,7 @@ class DescribeIpv6AddressesRequest(TeaModel):
|
|
|
42422
42429
|
v_switch_id: str = None,
|
|
42423
42430
|
vpc_id: str = None,
|
|
42424
42431
|
):
|
|
42432
|
+
self.address_type = address_type
|
|
42425
42433
|
# The ID of the instance that is assigned the IPv6 address.
|
|
42426
42434
|
self.associated_instance_id = associated_instance_id
|
|
42427
42435
|
# The type of instance associated with the IPv6 address. Valid values:
|
|
@@ -42489,6 +42497,8 @@ class DescribeIpv6AddressesRequest(TeaModel):
|
|
|
42489
42497
|
return _map
|
|
42490
42498
|
|
|
42491
42499
|
result = dict()
|
|
42500
|
+
if self.address_type is not None:
|
|
42501
|
+
result['AddressType'] = self.address_type
|
|
42492
42502
|
if self.associated_instance_id is not None:
|
|
42493
42503
|
result['AssociatedInstanceId'] = self.associated_instance_id
|
|
42494
42504
|
if self.associated_instance_type is not None:
|
|
@@ -42535,6 +42545,8 @@ class DescribeIpv6AddressesRequest(TeaModel):
|
|
|
42535
42545
|
|
|
42536
42546
|
def from_map(self, m: dict = None):
|
|
42537
42547
|
m = m or dict()
|
|
42548
|
+
if m.get('AddressType') is not None:
|
|
42549
|
+
self.address_type = m.get('AddressType')
|
|
42538
42550
|
if m.get('AssociatedInstanceId') is not None:
|
|
42539
42551
|
self.associated_instance_id = m.get('AssociatedInstanceId')
|
|
42540
42552
|
if m.get('AssociatedInstanceType') is not None:
|
|
@@ -42766,6 +42778,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags(TeaModel):
|
|
|
42766
42778
|
class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
|
|
42767
42779
|
def __init__(
|
|
42768
42780
|
self,
|
|
42781
|
+
address_type: str = None,
|
|
42769
42782
|
allocation_time: str = None,
|
|
42770
42783
|
associated_instance_id: str = None,
|
|
42771
42784
|
associated_instance_type: str = None,
|
|
@@ -42785,6 +42798,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
|
|
|
42785
42798
|
v_switch_id: str = None,
|
|
42786
42799
|
vpc_id: str = None,
|
|
42787
42800
|
):
|
|
42801
|
+
self.address_type = address_type
|
|
42788
42802
|
# The time when the IPv6 address was created.
|
|
42789
42803
|
self.allocation_time = allocation_time
|
|
42790
42804
|
# The ID of the instance associated with the IPv6 address.
|
|
@@ -42848,6 +42862,8 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
|
|
|
42848
42862
|
return _map
|
|
42849
42863
|
|
|
42850
42864
|
result = dict()
|
|
42865
|
+
if self.address_type is not None:
|
|
42866
|
+
result['AddressType'] = self.address_type
|
|
42851
42867
|
if self.allocation_time is not None:
|
|
42852
42868
|
result['AllocationTime'] = self.allocation_time
|
|
42853
42869
|
if self.associated_instance_id is not None:
|
|
@@ -42888,6 +42904,8 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address(TeaModel):
|
|
|
42888
42904
|
|
|
42889
42905
|
def from_map(self, m: dict = None):
|
|
42890
42906
|
m = m or dict()
|
|
42907
|
+
if m.get('AddressType') is not None:
|
|
42908
|
+
self.address_type = m.get('AddressType')
|
|
42891
42909
|
if m.get('AllocationTime') is not None:
|
|
42892
42910
|
self.allocation_time = m.get('AllocationTime')
|
|
42893
42911
|
if m.get('AssociatedInstanceId') is not None:
|
|
@@ -54847,6 +54865,12 @@ class DescribeVSwitchesRequest(TeaModel):
|
|
|
54847
54865
|
# * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
54848
54866
|
# * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
54849
54867
|
self.dry_run = dry_run
|
|
54868
|
+
# Specifies whether to query vSwitches with IPv6 enabled in the region. Valid values:
|
|
54869
|
+
#
|
|
54870
|
+
# * **true**\
|
|
54871
|
+
# * **false**\
|
|
54872
|
+
#
|
|
54873
|
+
# If you do not set this parameter, the system queries all vSwitches in the specified region by default.
|
|
54850
54874
|
self.enable_ipv_6 = enable_ipv_6
|
|
54851
54875
|
# Specifies whether to query the default vSwitches in the specified region. Valid values:
|
|
54852
54876
|
#
|
|
@@ -54857,9 +54881,9 @@ class DescribeVSwitchesRequest(TeaModel):
|
|
|
54857
54881
|
self.is_default = is_default
|
|
54858
54882
|
self.owner_account = owner_account
|
|
54859
54883
|
self.owner_id = owner_id
|
|
54860
|
-
# The
|
|
54884
|
+
# The page number. Default value: **1**.
|
|
54861
54885
|
self.page_number = page_number
|
|
54862
|
-
# The number of entries
|
|
54886
|
+
# The number of entries per page. Maximum value: **50**. Default value: **10**.
|
|
54863
54887
|
self.page_size = page_size
|
|
54864
54888
|
# The region ID of the vSwitch. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
54865
54889
|
#
|
|
@@ -62543,9 +62567,9 @@ class DescribeVpnGatewayResponseBodyTagsTag(TeaModel):
|
|
|
62543
62567
|
key: str = None,
|
|
62544
62568
|
value: str = None,
|
|
62545
62569
|
):
|
|
62546
|
-
# The
|
|
62570
|
+
# The tag key.
|
|
62547
62571
|
self.key = key
|
|
62548
|
-
# The
|
|
62572
|
+
# The tag value.
|
|
62549
62573
|
self.value = value
|
|
62550
62574
|
|
|
62551
62575
|
def validate(self):
|
|
@@ -62676,6 +62700,7 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
62676
62700
|
#
|
|
62677
62701
|
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
|
|
62678
62702
|
self.end_time = end_time
|
|
62703
|
+
# The ENIs created by the system for the VPN gateway.
|
|
62679
62704
|
self.eni_instance_ids = eni_instance_ids
|
|
62680
62705
|
# * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the address is the IP address of the VPN gateway and can be used to create an IPsec-VPN connection or an SSL-VPN connection.
|
|
62681
62706
|
#
|
|
@@ -63365,9 +63390,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
|
|
|
63365
63390
|
self.reservation_ipsec = reservation_ipsec
|
|
63366
63391
|
# The maximum number of concurrent SSL-VPN connections of the pending order.
|
|
63367
63392
|
self.reservation_max_connections = reservation_max_connections
|
|
63368
|
-
# The type of the
|
|
63393
|
+
# The type of the order that has not taken effect. Valid values:
|
|
63369
63394
|
#
|
|
63370
|
-
# * **RENEWCHANGE**: renewal with
|
|
63395
|
+
# * **RENEWCHANGE**: renewal with upgrade or downgrade
|
|
63371
63396
|
# * **TEMP_UPGRADE**: temporary upgrade
|
|
63372
63397
|
# * **RENEW**: renewal
|
|
63373
63398
|
self.reservation_order_type = reservation_order_type
|
|
@@ -63380,8 +63405,8 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaMod
|
|
|
63380
63405
|
self.reservation_ssl = reservation_ssl
|
|
63381
63406
|
# The status of the pending order.
|
|
63382
63407
|
#
|
|
63383
|
-
# * **1**: indicates that the order
|
|
63384
|
-
# * **2**: indicates that the order
|
|
63408
|
+
# * **1**: indicates that the order for renewal or the order for renewal with a specification change has not taken effect.
|
|
63409
|
+
# * **2**: indicates that the order of the temporary upgrade has taken effect. After the temporary upgrade expires, the system restores the VPN gateway to its previous specifications. In this case, the values of **ReservationIpsec**, **ReservationMaxConnections**, **ReservationSpec**, and **ReservationSsl** indicate the previous specifications of the VPN gateway.
|
|
63385
63410
|
self.status = status
|
|
63386
63411
|
|
|
63387
63412
|
def validate(self):
|
|
@@ -63529,15 +63554,15 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63529
63554
|
vpn_gateway_id: str = None,
|
|
63530
63555
|
vpn_type: str = None,
|
|
63531
63556
|
):
|
|
63532
|
-
# Indicates whether
|
|
63557
|
+
# Indicates whether BGP routes are automatically advertised to the VPC.
|
|
63533
63558
|
#
|
|
63534
63559
|
# * **true**\
|
|
63535
63560
|
# * **false**\
|
|
63536
63561
|
self.auto_propagate = auto_propagate
|
|
63537
|
-
# The payment status of the VPN gateway.
|
|
63562
|
+
# The payment status of the VPN gateway.
|
|
63538
63563
|
#
|
|
63539
|
-
# * **Normal
|
|
63540
|
-
# * **FinancialLocked
|
|
63564
|
+
# * **Normal**\
|
|
63565
|
+
# * **FinancialLocked**\
|
|
63541
63566
|
self.business_status = business_status
|
|
63542
63567
|
# The billing method of the VPN gateway.
|
|
63543
63568
|
#
|
|
@@ -63559,13 +63584,14 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63559
63584
|
self.disaster_recovery_vswitch_id = disaster_recovery_vswitch_id
|
|
63560
63585
|
# The BGP status of the VPN gateway. Valid values:
|
|
63561
63586
|
#
|
|
63562
|
-
# * **true
|
|
63563
|
-
# * **false
|
|
63587
|
+
# * **true**\
|
|
63588
|
+
# * **false**\
|
|
63564
63589
|
self.enable_bgp = enable_bgp
|
|
63565
63590
|
# The timestamp generated when the VPN gateway expires. Unit: milliseconds.
|
|
63566
63591
|
#
|
|
63567
63592
|
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
63568
63593
|
self.end_time = end_time
|
|
63594
|
+
# The ENIs created by the system for the VPN gateway.
|
|
63569
63595
|
self.eni_instance_ids = eni_instance_ids
|
|
63570
63596
|
# * If the VPN gateway supports IPsec-VPN connections in single-tunnel mode, the value of this parameter is the IP address of the VPN gateway, which can be used to create IPsec-VPN or SSL-VPN connections.
|
|
63571
63597
|
#
|
|
@@ -63585,9 +63611,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63585
63611
|
# * **public**\
|
|
63586
63612
|
# * **private**\
|
|
63587
63613
|
self.network_type = network_type
|
|
63588
|
-
# The pending orders.
|
|
63614
|
+
# The information about pending orders.
|
|
63589
63615
|
#
|
|
63590
|
-
# >
|
|
63616
|
+
# > This parameter is returned only if **IncludeReservationData** is set to **true**.
|
|
63591
63617
|
self.reservation_data = reservation_data
|
|
63592
63618
|
# The ID of the resource group to which the VPN gateway belongs.
|
|
63593
63619
|
#
|
|
@@ -63634,11 +63660,11 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63634
63660
|
# * **VpnNewImage**: indicates whether the VPN gateway is upgraded. Valid values:
|
|
63635
63661
|
#
|
|
63636
63662
|
# * **true**\
|
|
63637
|
-
# * **false
|
|
63663
|
+
# * **false**: does not query only SQL statements that need to be optimized.
|
|
63638
63664
|
#
|
|
63639
63665
|
# * **description**: the description of the VPN gateway. This parameter is only for internal use.
|
|
63640
63666
|
#
|
|
63641
|
-
# * **VpnVersion**: the version
|
|
63667
|
+
# * **VpnVersion**: the version of the VPN gateway.
|
|
63642
63668
|
self.tag = tag
|
|
63643
63669
|
# The tags that are added to the VPN gateway.
|
|
63644
63670
|
self.tags = tags
|
|
@@ -63648,7 +63674,7 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
63648
63674
|
self.vpc_id = vpc_id
|
|
63649
63675
|
# The ID of the VPN gateway.
|
|
63650
63676
|
self.vpn_gateway_id = vpn_gateway_id
|
|
63651
|
-
# The type of
|
|
63677
|
+
# The type of VPN gateway.
|
|
63652
63678
|
#
|
|
63653
63679
|
# Only **Normal** may be returned, which indicates a standard VPN gateway.
|
|
63654
63680
|
self.vpn_type = vpn_type
|
|
@@ -69139,6 +69165,138 @@ class GetPhysicalConnectionServiceStatusResponse(TeaModel):
|
|
|
69139
69165
|
return self
|
|
69140
69166
|
|
|
69141
69167
|
|
|
69168
|
+
class GetPublicIpAddressPoolServiceStatusRequest(TeaModel):
|
|
69169
|
+
def __init__(
|
|
69170
|
+
self,
|
|
69171
|
+
client_token: str = None,
|
|
69172
|
+
owner_account: str = None,
|
|
69173
|
+
owner_id: int = None,
|
|
69174
|
+
region_id: str = None,
|
|
69175
|
+
resource_owner_account: str = None,
|
|
69176
|
+
resource_owner_id: int = None,
|
|
69177
|
+
):
|
|
69178
|
+
self.client_token = client_token
|
|
69179
|
+
self.owner_account = owner_account
|
|
69180
|
+
self.owner_id = owner_id
|
|
69181
|
+
# This parameter is required.
|
|
69182
|
+
self.region_id = region_id
|
|
69183
|
+
self.resource_owner_account = resource_owner_account
|
|
69184
|
+
self.resource_owner_id = resource_owner_id
|
|
69185
|
+
|
|
69186
|
+
def validate(self):
|
|
69187
|
+
pass
|
|
69188
|
+
|
|
69189
|
+
def to_map(self):
|
|
69190
|
+
_map = super().to_map()
|
|
69191
|
+
if _map is not None:
|
|
69192
|
+
return _map
|
|
69193
|
+
|
|
69194
|
+
result = dict()
|
|
69195
|
+
if self.client_token is not None:
|
|
69196
|
+
result['ClientToken'] = self.client_token
|
|
69197
|
+
if self.owner_account is not None:
|
|
69198
|
+
result['OwnerAccount'] = self.owner_account
|
|
69199
|
+
if self.owner_id is not None:
|
|
69200
|
+
result['OwnerId'] = self.owner_id
|
|
69201
|
+
if self.region_id is not None:
|
|
69202
|
+
result['RegionId'] = self.region_id
|
|
69203
|
+
if self.resource_owner_account is not None:
|
|
69204
|
+
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
69205
|
+
if self.resource_owner_id is not None:
|
|
69206
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
69207
|
+
return result
|
|
69208
|
+
|
|
69209
|
+
def from_map(self, m: dict = None):
|
|
69210
|
+
m = m or dict()
|
|
69211
|
+
if m.get('ClientToken') is not None:
|
|
69212
|
+
self.client_token = m.get('ClientToken')
|
|
69213
|
+
if m.get('OwnerAccount') is not None:
|
|
69214
|
+
self.owner_account = m.get('OwnerAccount')
|
|
69215
|
+
if m.get('OwnerId') is not None:
|
|
69216
|
+
self.owner_id = m.get('OwnerId')
|
|
69217
|
+
if m.get('RegionId') is not None:
|
|
69218
|
+
self.region_id = m.get('RegionId')
|
|
69219
|
+
if m.get('ResourceOwnerAccount') is not None:
|
|
69220
|
+
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
69221
|
+
if m.get('ResourceOwnerId') is not None:
|
|
69222
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
69223
|
+
return self
|
|
69224
|
+
|
|
69225
|
+
|
|
69226
|
+
class GetPublicIpAddressPoolServiceStatusResponseBody(TeaModel):
|
|
69227
|
+
def __init__(
|
|
69228
|
+
self,
|
|
69229
|
+
enabled: bool = None,
|
|
69230
|
+
request_id: str = None,
|
|
69231
|
+
):
|
|
69232
|
+
self.enabled = enabled
|
|
69233
|
+
self.request_id = request_id
|
|
69234
|
+
|
|
69235
|
+
def validate(self):
|
|
69236
|
+
pass
|
|
69237
|
+
|
|
69238
|
+
def to_map(self):
|
|
69239
|
+
_map = super().to_map()
|
|
69240
|
+
if _map is not None:
|
|
69241
|
+
return _map
|
|
69242
|
+
|
|
69243
|
+
result = dict()
|
|
69244
|
+
if self.enabled is not None:
|
|
69245
|
+
result['Enabled'] = self.enabled
|
|
69246
|
+
if self.request_id is not None:
|
|
69247
|
+
result['RequestId'] = self.request_id
|
|
69248
|
+
return result
|
|
69249
|
+
|
|
69250
|
+
def from_map(self, m: dict = None):
|
|
69251
|
+
m = m or dict()
|
|
69252
|
+
if m.get('Enabled') is not None:
|
|
69253
|
+
self.enabled = m.get('Enabled')
|
|
69254
|
+
if m.get('RequestId') is not None:
|
|
69255
|
+
self.request_id = m.get('RequestId')
|
|
69256
|
+
return self
|
|
69257
|
+
|
|
69258
|
+
|
|
69259
|
+
class GetPublicIpAddressPoolServiceStatusResponse(TeaModel):
|
|
69260
|
+
def __init__(
|
|
69261
|
+
self,
|
|
69262
|
+
headers: Dict[str, str] = None,
|
|
69263
|
+
status_code: int = None,
|
|
69264
|
+
body: GetPublicIpAddressPoolServiceStatusResponseBody = None,
|
|
69265
|
+
):
|
|
69266
|
+
self.headers = headers
|
|
69267
|
+
self.status_code = status_code
|
|
69268
|
+
self.body = body
|
|
69269
|
+
|
|
69270
|
+
def validate(self):
|
|
69271
|
+
if self.body:
|
|
69272
|
+
self.body.validate()
|
|
69273
|
+
|
|
69274
|
+
def to_map(self):
|
|
69275
|
+
_map = super().to_map()
|
|
69276
|
+
if _map is not None:
|
|
69277
|
+
return _map
|
|
69278
|
+
|
|
69279
|
+
result = dict()
|
|
69280
|
+
if self.headers is not None:
|
|
69281
|
+
result['headers'] = self.headers
|
|
69282
|
+
if self.status_code is not None:
|
|
69283
|
+
result['statusCode'] = self.status_code
|
|
69284
|
+
if self.body is not None:
|
|
69285
|
+
result['body'] = self.body.to_map()
|
|
69286
|
+
return result
|
|
69287
|
+
|
|
69288
|
+
def from_map(self, m: dict = None):
|
|
69289
|
+
m = m or dict()
|
|
69290
|
+
if m.get('headers') is not None:
|
|
69291
|
+
self.headers = m.get('headers')
|
|
69292
|
+
if m.get('statusCode') is not None:
|
|
69293
|
+
self.status_code = m.get('statusCode')
|
|
69294
|
+
if m.get('body') is not None:
|
|
69295
|
+
temp_model = GetPublicIpAddressPoolServiceStatusResponseBody()
|
|
69296
|
+
self.body = temp_model.from_map(m['body'])
|
|
69297
|
+
return self
|
|
69298
|
+
|
|
69299
|
+
|
|
69142
69300
|
class GetTrafficMirrorServiceStatusRequest(TeaModel):
|
|
69143
69301
|
def __init__(
|
|
69144
69302
|
self,
|
|
@@ -79733,7 +79891,7 @@ class ModifyBgpGroupAttributeRequest(TeaModel):
|
|
|
79733
79891
|
# Specifies whether to clear the secret key. Valid values:
|
|
79734
79892
|
#
|
|
79735
79893
|
# * **true**\
|
|
79736
|
-
# * **false
|
|
79894
|
+
# * **false** (default)
|
|
79737
79895
|
self.clear_auth_key = clear_auth_key
|
|
79738
79896
|
# The client token that is used to ensure the idempotence of the request.
|
|
79739
79897
|
#
|
|
@@ -79745,12 +79903,12 @@ class ModifyBgpGroupAttributeRequest(TeaModel):
|
|
|
79745
79903
|
#
|
|
79746
79904
|
# The description must be 2 to 256 characters in length. It must start with a letter and cannot start with `http://` or `https://`.
|
|
79747
79905
|
self.description = description
|
|
79748
|
-
# Specifies whether to use a fake
|
|
79906
|
+
# Specifies whether to use a fake AS number. Valid values:
|
|
79749
79907
|
#
|
|
79750
79908
|
# * **false** (default)
|
|
79751
79909
|
# * **true**\
|
|
79752
79910
|
#
|
|
79753
|
-
# >
|
|
79911
|
+
# > A router that runs BGP typically belongs to only one AS. If you need to replace an AS with a new one, but you cannot immediately modify BGP configurations due to business requirements, you can specify a fake AS number to establish a connection with the local end. This ensures service continuity in scenarios such as AS migration or AS merging.
|
|
79754
79912
|
self.is_fake_asn = is_fake_asn
|
|
79755
79913
|
# The custom autonomous system number (ASN) of the BGP on the Alibaba Cloud side. Valid values:
|
|
79756
79914
|
#
|
|
@@ -85638,6 +85796,7 @@ class ModifyRouteTableAttributesRequest(TeaModel):
|
|
|
85638
85796
|
region_id: str = None,
|
|
85639
85797
|
resource_owner_account: str = None,
|
|
85640
85798
|
resource_owner_id: int = None,
|
|
85799
|
+
route_propagation_enable: bool = None,
|
|
85641
85800
|
route_table_id: str = None,
|
|
85642
85801
|
route_table_name: str = None,
|
|
85643
85802
|
):
|
|
@@ -85655,6 +85814,7 @@ class ModifyRouteTableAttributesRequest(TeaModel):
|
|
|
85655
85814
|
self.region_id = region_id
|
|
85656
85815
|
self.resource_owner_account = resource_owner_account
|
|
85657
85816
|
self.resource_owner_id = resource_owner_id
|
|
85817
|
+
self.route_propagation_enable = route_propagation_enable
|
|
85658
85818
|
# The ID of the route table.
|
|
85659
85819
|
#
|
|
85660
85820
|
# This parameter is required.
|
|
@@ -85685,6 +85845,8 @@ class ModifyRouteTableAttributesRequest(TeaModel):
|
|
|
85685
85845
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
85686
85846
|
if self.resource_owner_id is not None:
|
|
85687
85847
|
result['ResourceOwnerId'] = self.resource_owner_id
|
|
85848
|
+
if self.route_propagation_enable is not None:
|
|
85849
|
+
result['RoutePropagationEnable'] = self.route_propagation_enable
|
|
85688
85850
|
if self.route_table_id is not None:
|
|
85689
85851
|
result['RouteTableId'] = self.route_table_id
|
|
85690
85852
|
if self.route_table_name is not None:
|
|
@@ -85705,6 +85867,8 @@ class ModifyRouteTableAttributesRequest(TeaModel):
|
|
|
85705
85867
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
85706
85868
|
if m.get('ResourceOwnerId') is not None:
|
|
85707
85869
|
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
85870
|
+
if m.get('RoutePropagationEnable') is not None:
|
|
85871
|
+
self.route_propagation_enable = m.get('RoutePropagationEnable')
|
|
85708
85872
|
if m.get('RouteTableId') is not None:
|
|
85709
85873
|
self.route_table_id = m.get('RouteTableId')
|
|
85710
85874
|
if m.get('RouteTableName') is not None:
|
|
@@ -93143,6 +93307,144 @@ class OpenPhysicalConnectionServiceResponse(TeaModel):
|
|
|
93143
93307
|
return self
|
|
93144
93308
|
|
|
93145
93309
|
|
|
93310
|
+
class OpenPublicIpAddressPoolServiceRequest(TeaModel):
|
|
93311
|
+
def __init__(
|
|
93312
|
+
self,
|
|
93313
|
+
client_token: str = None,
|
|
93314
|
+
owner_account: str = None,
|
|
93315
|
+
owner_id: int = None,
|
|
93316
|
+
region_id: str = None,
|
|
93317
|
+
resource_owner_account: str = None,
|
|
93318
|
+
resource_owner_id: int = None,
|
|
93319
|
+
):
|
|
93320
|
+
self.client_token = client_token
|
|
93321
|
+
self.owner_account = owner_account
|
|
93322
|
+
self.owner_id = owner_id
|
|
93323
|
+
# This parameter is required.
|
|
93324
|
+
self.region_id = region_id
|
|
93325
|
+
self.resource_owner_account = resource_owner_account
|
|
93326
|
+
self.resource_owner_id = resource_owner_id
|
|
93327
|
+
|
|
93328
|
+
def validate(self):
|
|
93329
|
+
pass
|
|
93330
|
+
|
|
93331
|
+
def to_map(self):
|
|
93332
|
+
_map = super().to_map()
|
|
93333
|
+
if _map is not None:
|
|
93334
|
+
return _map
|
|
93335
|
+
|
|
93336
|
+
result = dict()
|
|
93337
|
+
if self.client_token is not None:
|
|
93338
|
+
result['ClientToken'] = self.client_token
|
|
93339
|
+
if self.owner_account is not None:
|
|
93340
|
+
result['OwnerAccount'] = self.owner_account
|
|
93341
|
+
if self.owner_id is not None:
|
|
93342
|
+
result['OwnerId'] = self.owner_id
|
|
93343
|
+
if self.region_id is not None:
|
|
93344
|
+
result['RegionId'] = self.region_id
|
|
93345
|
+
if self.resource_owner_account is not None:
|
|
93346
|
+
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
93347
|
+
if self.resource_owner_id is not None:
|
|
93348
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
93349
|
+
return result
|
|
93350
|
+
|
|
93351
|
+
def from_map(self, m: dict = None):
|
|
93352
|
+
m = m or dict()
|
|
93353
|
+
if m.get('ClientToken') is not None:
|
|
93354
|
+
self.client_token = m.get('ClientToken')
|
|
93355
|
+
if m.get('OwnerAccount') is not None:
|
|
93356
|
+
self.owner_account = m.get('OwnerAccount')
|
|
93357
|
+
if m.get('OwnerId') is not None:
|
|
93358
|
+
self.owner_id = m.get('OwnerId')
|
|
93359
|
+
if m.get('RegionId') is not None:
|
|
93360
|
+
self.region_id = m.get('RegionId')
|
|
93361
|
+
if m.get('ResourceOwnerAccount') is not None:
|
|
93362
|
+
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
93363
|
+
if m.get('ResourceOwnerId') is not None:
|
|
93364
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
93365
|
+
return self
|
|
93366
|
+
|
|
93367
|
+
|
|
93368
|
+
class OpenPublicIpAddressPoolServiceResponseBody(TeaModel):
|
|
93369
|
+
def __init__(
|
|
93370
|
+
self,
|
|
93371
|
+
code: str = None,
|
|
93372
|
+
message: str = None,
|
|
93373
|
+
request_id: str = None,
|
|
93374
|
+
):
|
|
93375
|
+
self.code = code
|
|
93376
|
+
self.message = message
|
|
93377
|
+
self.request_id = request_id
|
|
93378
|
+
|
|
93379
|
+
def validate(self):
|
|
93380
|
+
pass
|
|
93381
|
+
|
|
93382
|
+
def to_map(self):
|
|
93383
|
+
_map = super().to_map()
|
|
93384
|
+
if _map is not None:
|
|
93385
|
+
return _map
|
|
93386
|
+
|
|
93387
|
+
result = dict()
|
|
93388
|
+
if self.code is not None:
|
|
93389
|
+
result['Code'] = self.code
|
|
93390
|
+
if self.message is not None:
|
|
93391
|
+
result['Message'] = self.message
|
|
93392
|
+
if self.request_id is not None:
|
|
93393
|
+
result['RequestId'] = self.request_id
|
|
93394
|
+
return result
|
|
93395
|
+
|
|
93396
|
+
def from_map(self, m: dict = None):
|
|
93397
|
+
m = m or dict()
|
|
93398
|
+
if m.get('Code') is not None:
|
|
93399
|
+
self.code = m.get('Code')
|
|
93400
|
+
if m.get('Message') is not None:
|
|
93401
|
+
self.message = m.get('Message')
|
|
93402
|
+
if m.get('RequestId') is not None:
|
|
93403
|
+
self.request_id = m.get('RequestId')
|
|
93404
|
+
return self
|
|
93405
|
+
|
|
93406
|
+
|
|
93407
|
+
class OpenPublicIpAddressPoolServiceResponse(TeaModel):
|
|
93408
|
+
def __init__(
|
|
93409
|
+
self,
|
|
93410
|
+
headers: Dict[str, str] = None,
|
|
93411
|
+
status_code: int = None,
|
|
93412
|
+
body: OpenPublicIpAddressPoolServiceResponseBody = None,
|
|
93413
|
+
):
|
|
93414
|
+
self.headers = headers
|
|
93415
|
+
self.status_code = status_code
|
|
93416
|
+
self.body = body
|
|
93417
|
+
|
|
93418
|
+
def validate(self):
|
|
93419
|
+
if self.body:
|
|
93420
|
+
self.body.validate()
|
|
93421
|
+
|
|
93422
|
+
def to_map(self):
|
|
93423
|
+
_map = super().to_map()
|
|
93424
|
+
if _map is not None:
|
|
93425
|
+
return _map
|
|
93426
|
+
|
|
93427
|
+
result = dict()
|
|
93428
|
+
if self.headers is not None:
|
|
93429
|
+
result['headers'] = self.headers
|
|
93430
|
+
if self.status_code is not None:
|
|
93431
|
+
result['statusCode'] = self.status_code
|
|
93432
|
+
if self.body is not None:
|
|
93433
|
+
result['body'] = self.body.to_map()
|
|
93434
|
+
return result
|
|
93435
|
+
|
|
93436
|
+
def from_map(self, m: dict = None):
|
|
93437
|
+
m = m or dict()
|
|
93438
|
+
if m.get('headers') is not None:
|
|
93439
|
+
self.headers = m.get('headers')
|
|
93440
|
+
if m.get('statusCode') is not None:
|
|
93441
|
+
self.status_code = m.get('statusCode')
|
|
93442
|
+
if m.get('body') is not None:
|
|
93443
|
+
temp_model = OpenPublicIpAddressPoolServiceResponseBody()
|
|
93444
|
+
self.body = temp_model.from_map(m['body'])
|
|
93445
|
+
return self
|
|
93446
|
+
|
|
93447
|
+
|
|
93146
93448
|
class OpenTrafficMirrorServiceRequest(TeaModel):
|
|
93147
93449
|
def __init__(
|
|
93148
93450
|
self,
|
|
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
|
|
|
24
24
|
"""
|
|
25
25
|
setup module for alibabacloud_vpc20160428.
|
|
26
26
|
|
|
27
|
-
Created on
|
|
27
|
+
Created on 28/06/2024
|
|
28
28
|
|
|
29
29
|
@author: Alibaba Cloud SDK
|
|
30
30
|
"""
|
|
@@ -38,7 +38,7 @@ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
|
|
|
38
38
|
VERSION = __import__(PACKAGE).__version__
|
|
39
39
|
REQUIRES = [
|
|
40
40
|
"alibabacloud_tea_util>=0.3.12, <1.0.0",
|
|
41
|
-
"alibabacloud_tea_openapi>=0.3.
|
|
41
|
+
"alibabacloud_tea_openapi>=0.3.10, <1.0.0",
|
|
42
42
|
"alibabacloud_openapi_util>=0.2.1, <1.0.0",
|
|
43
43
|
"alibabacloud_endpoint_util>=0.0.3, <1.0.0"
|
|
44
44
|
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '6.6.8'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|