alibabacloud-vpc20160428 6.7.3__py3-none-any.whl → 6.8.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 +156 -0
- alibabacloud_vpc20160428/models.py +458 -2
- {alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/METADATA +1 -1
- alibabacloud_vpc20160428-6.8.0.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.7.3.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.
|
|
1
|
+
__version__ = '6.8.0'
|
|
@@ -11815,6 +11815,8 @@ class Client(OpenApiClient):
|
|
|
11815
11815
|
query['ClientToken'] = request.client_token
|
|
11816
11816
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
11817
11817
|
query['EipAffinity'] = request.eip_affinity
|
|
11818
|
+
if not UtilClient.is_unset(request.network_interface_id):
|
|
11819
|
+
query['NetworkInterfaceId'] = request.network_interface_id
|
|
11818
11820
|
if not UtilClient.is_unset(request.owner_account):
|
|
11819
11821
|
query['OwnerAccount'] = request.owner_account
|
|
11820
11822
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -11882,6 +11884,8 @@ class Client(OpenApiClient):
|
|
|
11882
11884
|
query['ClientToken'] = request.client_token
|
|
11883
11885
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
11884
11886
|
query['EipAffinity'] = request.eip_affinity
|
|
11887
|
+
if not UtilClient.is_unset(request.network_interface_id):
|
|
11888
|
+
query['NetworkInterfaceId'] = request.network_interface_id
|
|
11885
11889
|
if not UtilClient.is_unset(request.owner_account):
|
|
11886
11890
|
query['OwnerAccount'] = request.owner_account
|
|
11887
11891
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -27713,6 +27717,150 @@ class Client(OpenApiClient):
|
|
|
27713
27717
|
runtime = util_models.RuntimeOptions()
|
|
27714
27718
|
return await self.describe_ipv_6gateways_with_options_async(request, runtime)
|
|
27715
27719
|
|
|
27720
|
+
def describe_nat_gateway_associate_network_interfaces_with_options(
|
|
27721
|
+
self,
|
|
27722
|
+
request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
|
|
27723
|
+
runtime: util_models.RuntimeOptions,
|
|
27724
|
+
) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
|
|
27725
|
+
"""
|
|
27726
|
+
@summary 查询NAT已绑定ENI信息
|
|
27727
|
+
|
|
27728
|
+
@param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
|
|
27729
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27730
|
+
@return: DescribeNatGatewayAssociateNetworkInterfacesResponse
|
|
27731
|
+
"""
|
|
27732
|
+
UtilClient.validate_model(request)
|
|
27733
|
+
query = {}
|
|
27734
|
+
if not UtilClient.is_unset(request.client_token):
|
|
27735
|
+
query['ClientToken'] = request.client_token
|
|
27736
|
+
if not UtilClient.is_unset(request.filter):
|
|
27737
|
+
query['Filter'] = request.filter
|
|
27738
|
+
if not UtilClient.is_unset(request.max_results):
|
|
27739
|
+
query['MaxResults'] = request.max_results
|
|
27740
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
27741
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
27742
|
+
if not UtilClient.is_unset(request.next_token):
|
|
27743
|
+
query['NextToken'] = request.next_token
|
|
27744
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
27745
|
+
query['OwnerAccount'] = request.owner_account
|
|
27746
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
27747
|
+
query['OwnerId'] = request.owner_id
|
|
27748
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27749
|
+
query['RegionId'] = request.region_id
|
|
27750
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27751
|
+
query['RegionId'] = request.region_id
|
|
27752
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
27753
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
27754
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
27755
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
27756
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
27757
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
27758
|
+
if not UtilClient.is_unset(request.tag):
|
|
27759
|
+
query['Tag'] = request.tag
|
|
27760
|
+
req = open_api_models.OpenApiRequest(
|
|
27761
|
+
query=OpenApiUtilClient.query(query)
|
|
27762
|
+
)
|
|
27763
|
+
params = open_api_models.Params(
|
|
27764
|
+
action='DescribeNatGatewayAssociateNetworkInterfaces',
|
|
27765
|
+
version='2016-04-28',
|
|
27766
|
+
protocol='HTTPS',
|
|
27767
|
+
pathname='/',
|
|
27768
|
+
method='POST',
|
|
27769
|
+
auth_type='AK',
|
|
27770
|
+
style='RPC',
|
|
27771
|
+
req_body_type='formData',
|
|
27772
|
+
body_type='json'
|
|
27773
|
+
)
|
|
27774
|
+
return TeaCore.from_map(
|
|
27775
|
+
vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse(),
|
|
27776
|
+
self.call_api(params, req, runtime)
|
|
27777
|
+
)
|
|
27778
|
+
|
|
27779
|
+
async def describe_nat_gateway_associate_network_interfaces_with_options_async(
|
|
27780
|
+
self,
|
|
27781
|
+
request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
|
|
27782
|
+
runtime: util_models.RuntimeOptions,
|
|
27783
|
+
) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
|
|
27784
|
+
"""
|
|
27785
|
+
@summary 查询NAT已绑定ENI信息
|
|
27786
|
+
|
|
27787
|
+
@param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
|
|
27788
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27789
|
+
@return: DescribeNatGatewayAssociateNetworkInterfacesResponse
|
|
27790
|
+
"""
|
|
27791
|
+
UtilClient.validate_model(request)
|
|
27792
|
+
query = {}
|
|
27793
|
+
if not UtilClient.is_unset(request.client_token):
|
|
27794
|
+
query['ClientToken'] = request.client_token
|
|
27795
|
+
if not UtilClient.is_unset(request.filter):
|
|
27796
|
+
query['Filter'] = request.filter
|
|
27797
|
+
if not UtilClient.is_unset(request.max_results):
|
|
27798
|
+
query['MaxResults'] = request.max_results
|
|
27799
|
+
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
27800
|
+
query['NatGatewayId'] = request.nat_gateway_id
|
|
27801
|
+
if not UtilClient.is_unset(request.next_token):
|
|
27802
|
+
query['NextToken'] = request.next_token
|
|
27803
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
27804
|
+
query['OwnerAccount'] = request.owner_account
|
|
27805
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
27806
|
+
query['OwnerId'] = request.owner_id
|
|
27807
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27808
|
+
query['RegionId'] = request.region_id
|
|
27809
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27810
|
+
query['RegionId'] = request.region_id
|
|
27811
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
27812
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
27813
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
27814
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
27815
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
27816
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
27817
|
+
if not UtilClient.is_unset(request.tag):
|
|
27818
|
+
query['Tag'] = request.tag
|
|
27819
|
+
req = open_api_models.OpenApiRequest(
|
|
27820
|
+
query=OpenApiUtilClient.query(query)
|
|
27821
|
+
)
|
|
27822
|
+
params = open_api_models.Params(
|
|
27823
|
+
action='DescribeNatGatewayAssociateNetworkInterfaces',
|
|
27824
|
+
version='2016-04-28',
|
|
27825
|
+
protocol='HTTPS',
|
|
27826
|
+
pathname='/',
|
|
27827
|
+
method='POST',
|
|
27828
|
+
auth_type='AK',
|
|
27829
|
+
style='RPC',
|
|
27830
|
+
req_body_type='formData',
|
|
27831
|
+
body_type='json'
|
|
27832
|
+
)
|
|
27833
|
+
return TeaCore.from_map(
|
|
27834
|
+
vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse(),
|
|
27835
|
+
await self.call_api_async(params, req, runtime)
|
|
27836
|
+
)
|
|
27837
|
+
|
|
27838
|
+
def describe_nat_gateway_associate_network_interfaces(
|
|
27839
|
+
self,
|
|
27840
|
+
request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
|
|
27841
|
+
) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
|
|
27842
|
+
"""
|
|
27843
|
+
@summary 查询NAT已绑定ENI信息
|
|
27844
|
+
|
|
27845
|
+
@param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
|
|
27846
|
+
@return: DescribeNatGatewayAssociateNetworkInterfacesResponse
|
|
27847
|
+
"""
|
|
27848
|
+
runtime = util_models.RuntimeOptions()
|
|
27849
|
+
return self.describe_nat_gateway_associate_network_interfaces_with_options(request, runtime)
|
|
27850
|
+
|
|
27851
|
+
async def describe_nat_gateway_associate_network_interfaces_async(
|
|
27852
|
+
self,
|
|
27853
|
+
request: vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesRequest,
|
|
27854
|
+
) -> vpc_20160428_models.DescribeNatGatewayAssociateNetworkInterfacesResponse:
|
|
27855
|
+
"""
|
|
27856
|
+
@summary 查询NAT已绑定ENI信息
|
|
27857
|
+
|
|
27858
|
+
@param request: DescribeNatGatewayAssociateNetworkInterfacesRequest
|
|
27859
|
+
@return: DescribeNatGatewayAssociateNetworkInterfacesResponse
|
|
27860
|
+
"""
|
|
27861
|
+
runtime = util_models.RuntimeOptions()
|
|
27862
|
+
return await self.describe_nat_gateway_associate_network_interfaces_with_options_async(request, runtime)
|
|
27863
|
+
|
|
27716
27864
|
def describe_nat_gateways_with_options(
|
|
27717
27865
|
self,
|
|
27718
27866
|
request: vpc_20160428_models.DescribeNatGatewaysRequest,
|
|
@@ -29557,6 +29705,8 @@ class Client(OpenApiClient):
|
|
|
29557
29705
|
query = {}
|
|
29558
29706
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
29559
29707
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
29708
|
+
if not UtilClient.is_unset(request.network_interface_ids):
|
|
29709
|
+
query['NetworkInterfaceIds'] = request.network_interface_ids
|
|
29560
29710
|
if not UtilClient.is_unset(request.owner_account):
|
|
29561
29711
|
query['OwnerAccount'] = request.owner_account
|
|
29562
29712
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -29618,6 +29768,8 @@ class Client(OpenApiClient):
|
|
|
29618
29768
|
query = {}
|
|
29619
29769
|
if not UtilClient.is_unset(request.nat_gateway_id):
|
|
29620
29770
|
query['NatGatewayId'] = request.nat_gateway_id
|
|
29771
|
+
if not UtilClient.is_unset(request.network_interface_ids):
|
|
29772
|
+
query['NetworkInterfaceIds'] = request.network_interface_ids
|
|
29621
29773
|
if not UtilClient.is_unset(request.owner_account):
|
|
29622
29774
|
query['OwnerAccount'] = request.owner_account
|
|
29623
29775
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -45220,6 +45372,8 @@ class Client(OpenApiClient):
|
|
|
45220
45372
|
query['ClientToken'] = request.client_token
|
|
45221
45373
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
45222
45374
|
query['EipAffinity'] = request.eip_affinity
|
|
45375
|
+
if not UtilClient.is_unset(request.network_interface_id):
|
|
45376
|
+
query['NetworkInterfaceId'] = request.network_interface_id
|
|
45223
45377
|
if not UtilClient.is_unset(request.owner_account):
|
|
45224
45378
|
query['OwnerAccount'] = request.owner_account
|
|
45225
45379
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -45282,6 +45436,8 @@ class Client(OpenApiClient):
|
|
|
45282
45436
|
query['ClientToken'] = request.client_token
|
|
45283
45437
|
if not UtilClient.is_unset(request.eip_affinity):
|
|
45284
45438
|
query['EipAffinity'] = request.eip_affinity
|
|
45439
|
+
if not UtilClient.is_unset(request.network_interface_id):
|
|
45440
|
+
query['NetworkInterfaceId'] = request.network_interface_id
|
|
45285
45441
|
if not UtilClient.is_unset(request.owner_account):
|
|
45286
45442
|
query['OwnerAccount'] = request.owner_account
|
|
45287
45443
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -16503,6 +16503,7 @@ class CreateSnatEntryRequest(TeaModel):
|
|
|
16503
16503
|
self,
|
|
16504
16504
|
client_token: str = None,
|
|
16505
16505
|
eip_affinity: int = None,
|
|
16506
|
+
network_interface_id: str = None,
|
|
16506
16507
|
owner_account: str = None,
|
|
16507
16508
|
owner_id: int = None,
|
|
16508
16509
|
region_id: str = None,
|
|
@@ -16531,6 +16532,7 @@ class CreateSnatEntryRequest(TeaModel):
|
|
|
16531
16532
|
#
|
|
16532
16533
|
# **Description** After you enable EIP affinity, if multiple EIPs are associated with an SNAT entry, each client uses one EIP to access the Internet. If EIP affinity is disabled, each client uses a random EIP to access the Internet.
|
|
16533
16534
|
self.eip_affinity = eip_affinity
|
|
16535
|
+
self.network_interface_id = network_interface_id
|
|
16534
16536
|
self.owner_account = owner_account
|
|
16535
16537
|
self.owner_id = owner_id
|
|
16536
16538
|
# The region ID of the NAT gateway.
|
|
@@ -16566,8 +16568,6 @@ class CreateSnatEntryRequest(TeaModel):
|
|
|
16566
16568
|
# > If you specify multiple EIPs in the SNAT IP address pool, the service connection is allocated to multiple EIPs by using the hashing algorithm. The traffic of each EIP may be different. Therefore, we recommend that you associate the EIPs with an Internet Shared Bandwidth instance to prevent service interruptions caused by bandwidth exhaustion.
|
|
16567
16569
|
#
|
|
16568
16570
|
# * When you add SNAT entries for a VPC NAT gateway, this parameter specifies the NAT IP addresses in the SNAT entry. Separate multiple NAT IP addresses with commas (,).
|
|
16569
|
-
#
|
|
16570
|
-
# This parameter is required.
|
|
16571
16571
|
self.snat_ip = snat_ip
|
|
16572
16572
|
# The ID of the SNAT table.
|
|
16573
16573
|
#
|
|
@@ -16607,6 +16607,8 @@ class CreateSnatEntryRequest(TeaModel):
|
|
|
16607
16607
|
result['ClientToken'] = self.client_token
|
|
16608
16608
|
if self.eip_affinity is not None:
|
|
16609
16609
|
result['EipAffinity'] = self.eip_affinity
|
|
16610
|
+
if self.network_interface_id is not None:
|
|
16611
|
+
result['NetworkInterfaceId'] = self.network_interface_id
|
|
16610
16612
|
if self.owner_account is not None:
|
|
16611
16613
|
result['OwnerAccount'] = self.owner_account
|
|
16612
16614
|
if self.owner_id is not None:
|
|
@@ -16635,6 +16637,8 @@ class CreateSnatEntryRequest(TeaModel):
|
|
|
16635
16637
|
self.client_token = m.get('ClientToken')
|
|
16636
16638
|
if m.get('EipAffinity') is not None:
|
|
16637
16639
|
self.eip_affinity = m.get('EipAffinity')
|
|
16640
|
+
if m.get('NetworkInterfaceId') is not None:
|
|
16641
|
+
self.network_interface_id = m.get('NetworkInterfaceId')
|
|
16638
16642
|
if m.get('OwnerAccount') is not None:
|
|
16639
16643
|
self.owner_account = m.get('OwnerAccount')
|
|
16640
16644
|
if m.get('OwnerId') is not None:
|
|
@@ -44555,6 +44559,440 @@ class DescribeIpv6GatewaysResponse(TeaModel):
|
|
|
44555
44559
|
return self
|
|
44556
44560
|
|
|
44557
44561
|
|
|
44562
|
+
class DescribeNatGatewayAssociateNetworkInterfacesRequestFilter(TeaModel):
|
|
44563
|
+
def __init__(
|
|
44564
|
+
self,
|
|
44565
|
+
key: str = None,
|
|
44566
|
+
value: str = None,
|
|
44567
|
+
):
|
|
44568
|
+
self.key = key
|
|
44569
|
+
self.value = value
|
|
44570
|
+
|
|
44571
|
+
def validate(self):
|
|
44572
|
+
pass
|
|
44573
|
+
|
|
44574
|
+
def to_map(self):
|
|
44575
|
+
_map = super().to_map()
|
|
44576
|
+
if _map is not None:
|
|
44577
|
+
return _map
|
|
44578
|
+
|
|
44579
|
+
result = dict()
|
|
44580
|
+
if self.key is not None:
|
|
44581
|
+
result['Key'] = self.key
|
|
44582
|
+
if self.value is not None:
|
|
44583
|
+
result['Value'] = self.value
|
|
44584
|
+
return result
|
|
44585
|
+
|
|
44586
|
+
def from_map(self, m: dict = None):
|
|
44587
|
+
m = m or dict()
|
|
44588
|
+
if m.get('Key') is not None:
|
|
44589
|
+
self.key = m.get('Key')
|
|
44590
|
+
if m.get('Value') is not None:
|
|
44591
|
+
self.value = m.get('Value')
|
|
44592
|
+
return self
|
|
44593
|
+
|
|
44594
|
+
|
|
44595
|
+
class DescribeNatGatewayAssociateNetworkInterfacesRequestTag(TeaModel):
|
|
44596
|
+
def __init__(
|
|
44597
|
+
self,
|
|
44598
|
+
key: str = None,
|
|
44599
|
+
value: str = None,
|
|
44600
|
+
):
|
|
44601
|
+
self.key = key
|
|
44602
|
+
self.value = value
|
|
44603
|
+
|
|
44604
|
+
def validate(self):
|
|
44605
|
+
pass
|
|
44606
|
+
|
|
44607
|
+
def to_map(self):
|
|
44608
|
+
_map = super().to_map()
|
|
44609
|
+
if _map is not None:
|
|
44610
|
+
return _map
|
|
44611
|
+
|
|
44612
|
+
result = dict()
|
|
44613
|
+
if self.key is not None:
|
|
44614
|
+
result['Key'] = self.key
|
|
44615
|
+
if self.value is not None:
|
|
44616
|
+
result['Value'] = self.value
|
|
44617
|
+
return result
|
|
44618
|
+
|
|
44619
|
+
def from_map(self, m: dict = None):
|
|
44620
|
+
m = m or dict()
|
|
44621
|
+
if m.get('Key') is not None:
|
|
44622
|
+
self.key = m.get('Key')
|
|
44623
|
+
if m.get('Value') is not None:
|
|
44624
|
+
self.value = m.get('Value')
|
|
44625
|
+
return self
|
|
44626
|
+
|
|
44627
|
+
|
|
44628
|
+
class DescribeNatGatewayAssociateNetworkInterfacesRequest(TeaModel):
|
|
44629
|
+
def __init__(
|
|
44630
|
+
self,
|
|
44631
|
+
client_token: str = None,
|
|
44632
|
+
filter: List[DescribeNatGatewayAssociateNetworkInterfacesRequestFilter] = None,
|
|
44633
|
+
max_results: int = None,
|
|
44634
|
+
nat_gateway_id: str = None,
|
|
44635
|
+
next_token: str = None,
|
|
44636
|
+
owner_account: str = None,
|
|
44637
|
+
owner_id: int = None,
|
|
44638
|
+
region_id: str = None,
|
|
44639
|
+
resource_group_id: str = None,
|
|
44640
|
+
resource_owner_account: str = None,
|
|
44641
|
+
resource_owner_id: int = None,
|
|
44642
|
+
tag: List[DescribeNatGatewayAssociateNetworkInterfacesRequestTag] = None,
|
|
44643
|
+
):
|
|
44644
|
+
self.client_token = client_token
|
|
44645
|
+
self.filter = filter
|
|
44646
|
+
self.max_results = max_results
|
|
44647
|
+
# This parameter is required.
|
|
44648
|
+
self.nat_gateway_id = nat_gateway_id
|
|
44649
|
+
self.next_token = next_token
|
|
44650
|
+
self.owner_account = owner_account
|
|
44651
|
+
self.owner_id = owner_id
|
|
44652
|
+
# This parameter is required.
|
|
44653
|
+
self.region_id = region_id
|
|
44654
|
+
self.resource_group_id = resource_group_id
|
|
44655
|
+
self.resource_owner_account = resource_owner_account
|
|
44656
|
+
self.resource_owner_id = resource_owner_id
|
|
44657
|
+
self.tag = tag
|
|
44658
|
+
|
|
44659
|
+
def validate(self):
|
|
44660
|
+
if self.filter:
|
|
44661
|
+
for k in self.filter:
|
|
44662
|
+
if k:
|
|
44663
|
+
k.validate()
|
|
44664
|
+
if self.tag:
|
|
44665
|
+
for k in self.tag:
|
|
44666
|
+
if k:
|
|
44667
|
+
k.validate()
|
|
44668
|
+
|
|
44669
|
+
def to_map(self):
|
|
44670
|
+
_map = super().to_map()
|
|
44671
|
+
if _map is not None:
|
|
44672
|
+
return _map
|
|
44673
|
+
|
|
44674
|
+
result = dict()
|
|
44675
|
+
if self.client_token is not None:
|
|
44676
|
+
result['ClientToken'] = self.client_token
|
|
44677
|
+
result['Filter'] = []
|
|
44678
|
+
if self.filter is not None:
|
|
44679
|
+
for k in self.filter:
|
|
44680
|
+
result['Filter'].append(k.to_map() if k else None)
|
|
44681
|
+
if self.max_results is not None:
|
|
44682
|
+
result['MaxResults'] = self.max_results
|
|
44683
|
+
if self.nat_gateway_id is not None:
|
|
44684
|
+
result['NatGatewayId'] = self.nat_gateway_id
|
|
44685
|
+
if self.next_token is not None:
|
|
44686
|
+
result['NextToken'] = self.next_token
|
|
44687
|
+
if self.owner_account is not None:
|
|
44688
|
+
result['OwnerAccount'] = self.owner_account
|
|
44689
|
+
if self.owner_id is not None:
|
|
44690
|
+
result['OwnerId'] = self.owner_id
|
|
44691
|
+
if self.region_id is not None:
|
|
44692
|
+
result['RegionId'] = self.region_id
|
|
44693
|
+
if self.resource_group_id is not None:
|
|
44694
|
+
result['ResourceGroupId'] = self.resource_group_id
|
|
44695
|
+
if self.resource_owner_account is not None:
|
|
44696
|
+
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
44697
|
+
if self.resource_owner_id is not None:
|
|
44698
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
44699
|
+
result['Tag'] = []
|
|
44700
|
+
if self.tag is not None:
|
|
44701
|
+
for k in self.tag:
|
|
44702
|
+
result['Tag'].append(k.to_map() if k else None)
|
|
44703
|
+
return result
|
|
44704
|
+
|
|
44705
|
+
def from_map(self, m: dict = None):
|
|
44706
|
+
m = m or dict()
|
|
44707
|
+
if m.get('ClientToken') is not None:
|
|
44708
|
+
self.client_token = m.get('ClientToken')
|
|
44709
|
+
self.filter = []
|
|
44710
|
+
if m.get('Filter') is not None:
|
|
44711
|
+
for k in m.get('Filter'):
|
|
44712
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesRequestFilter()
|
|
44713
|
+
self.filter.append(temp_model.from_map(k))
|
|
44714
|
+
if m.get('MaxResults') is not None:
|
|
44715
|
+
self.max_results = m.get('MaxResults')
|
|
44716
|
+
if m.get('NatGatewayId') is not None:
|
|
44717
|
+
self.nat_gateway_id = m.get('NatGatewayId')
|
|
44718
|
+
if m.get('NextToken') is not None:
|
|
44719
|
+
self.next_token = m.get('NextToken')
|
|
44720
|
+
if m.get('OwnerAccount') is not None:
|
|
44721
|
+
self.owner_account = m.get('OwnerAccount')
|
|
44722
|
+
if m.get('OwnerId') is not None:
|
|
44723
|
+
self.owner_id = m.get('OwnerId')
|
|
44724
|
+
if m.get('RegionId') is not None:
|
|
44725
|
+
self.region_id = m.get('RegionId')
|
|
44726
|
+
if m.get('ResourceGroupId') is not None:
|
|
44727
|
+
self.resource_group_id = m.get('ResourceGroupId')
|
|
44728
|
+
if m.get('ResourceOwnerAccount') is not None:
|
|
44729
|
+
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
44730
|
+
if m.get('ResourceOwnerId') is not None:
|
|
44731
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
44732
|
+
self.tag = []
|
|
44733
|
+
if m.get('Tag') is not None:
|
|
44734
|
+
for k in m.get('Tag'):
|
|
44735
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesRequestTag()
|
|
44736
|
+
self.tag.append(temp_model.from_map(k))
|
|
44737
|
+
return self
|
|
44738
|
+
|
|
44739
|
+
|
|
44740
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set(TeaModel):
|
|
44741
|
+
def __init__(
|
|
44742
|
+
self,
|
|
44743
|
+
ipv_4address: str = None,
|
|
44744
|
+
primary: bool = None,
|
|
44745
|
+
):
|
|
44746
|
+
self.ipv_4address = ipv_4address
|
|
44747
|
+
self.primary = primary
|
|
44748
|
+
|
|
44749
|
+
def validate(self):
|
|
44750
|
+
pass
|
|
44751
|
+
|
|
44752
|
+
def to_map(self):
|
|
44753
|
+
_map = super().to_map()
|
|
44754
|
+
if _map is not None:
|
|
44755
|
+
return _map
|
|
44756
|
+
|
|
44757
|
+
result = dict()
|
|
44758
|
+
if self.ipv_4address is not None:
|
|
44759
|
+
result['IPv4Address'] = self.ipv_4address
|
|
44760
|
+
if self.primary is not None:
|
|
44761
|
+
result['Primary'] = self.primary
|
|
44762
|
+
return result
|
|
44763
|
+
|
|
44764
|
+
def from_map(self, m: dict = None):
|
|
44765
|
+
m = m or dict()
|
|
44766
|
+
if m.get('IPv4Address') is not None:
|
|
44767
|
+
self.ipv_4address = m.get('IPv4Address')
|
|
44768
|
+
if m.get('Primary') is not None:
|
|
44769
|
+
self.primary = m.get('Primary')
|
|
44770
|
+
return self
|
|
44771
|
+
|
|
44772
|
+
|
|
44773
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets(TeaModel):
|
|
44774
|
+
def __init__(
|
|
44775
|
+
self,
|
|
44776
|
+
ipv_4set: List[DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set] = None,
|
|
44777
|
+
):
|
|
44778
|
+
self.ipv_4set = ipv_4set
|
|
44779
|
+
|
|
44780
|
+
def validate(self):
|
|
44781
|
+
if self.ipv_4set:
|
|
44782
|
+
for k in self.ipv_4set:
|
|
44783
|
+
if k:
|
|
44784
|
+
k.validate()
|
|
44785
|
+
|
|
44786
|
+
def to_map(self):
|
|
44787
|
+
_map = super().to_map()
|
|
44788
|
+
if _map is not None:
|
|
44789
|
+
return _map
|
|
44790
|
+
|
|
44791
|
+
result = dict()
|
|
44792
|
+
result['IPv4Set'] = []
|
|
44793
|
+
if self.ipv_4set is not None:
|
|
44794
|
+
for k in self.ipv_4set:
|
|
44795
|
+
result['IPv4Set'].append(k.to_map() if k else None)
|
|
44796
|
+
return result
|
|
44797
|
+
|
|
44798
|
+
def from_map(self, m: dict = None):
|
|
44799
|
+
m = m or dict()
|
|
44800
|
+
self.ipv_4set = []
|
|
44801
|
+
if m.get('IPv4Set') is not None:
|
|
44802
|
+
for k in m.get('IPv4Set'):
|
|
44803
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4SetsIPv4Set()
|
|
44804
|
+
self.ipv_4set.append(temp_model.from_map(k))
|
|
44805
|
+
return self
|
|
44806
|
+
|
|
44807
|
+
|
|
44808
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface(TeaModel):
|
|
44809
|
+
def __init__(
|
|
44810
|
+
self,
|
|
44811
|
+
ipv_4sets: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets = None,
|
|
44812
|
+
network_interface_id: str = None,
|
|
44813
|
+
resource_id: str = None,
|
|
44814
|
+
resource_owner_id: str = None,
|
|
44815
|
+
resource_type: str = None,
|
|
44816
|
+
):
|
|
44817
|
+
self.ipv_4sets = ipv_4sets
|
|
44818
|
+
self.network_interface_id = network_interface_id
|
|
44819
|
+
self.resource_id = resource_id
|
|
44820
|
+
self.resource_owner_id = resource_owner_id
|
|
44821
|
+
self.resource_type = resource_type
|
|
44822
|
+
|
|
44823
|
+
def validate(self):
|
|
44824
|
+
if self.ipv_4sets:
|
|
44825
|
+
self.ipv_4sets.validate()
|
|
44826
|
+
|
|
44827
|
+
def to_map(self):
|
|
44828
|
+
_map = super().to_map()
|
|
44829
|
+
if _map is not None:
|
|
44830
|
+
return _map
|
|
44831
|
+
|
|
44832
|
+
result = dict()
|
|
44833
|
+
if self.ipv_4sets is not None:
|
|
44834
|
+
result['IPv4Sets'] = self.ipv_4sets.to_map()
|
|
44835
|
+
if self.network_interface_id is not None:
|
|
44836
|
+
result['NetworkInterfaceId'] = self.network_interface_id
|
|
44837
|
+
if self.resource_id is not None:
|
|
44838
|
+
result['ResourceId'] = self.resource_id
|
|
44839
|
+
if self.resource_owner_id is not None:
|
|
44840
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
44841
|
+
if self.resource_type is not None:
|
|
44842
|
+
result['ResourceType'] = self.resource_type
|
|
44843
|
+
return result
|
|
44844
|
+
|
|
44845
|
+
def from_map(self, m: dict = None):
|
|
44846
|
+
m = m or dict()
|
|
44847
|
+
if m.get('IPv4Sets') is not None:
|
|
44848
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterfaceIPv4Sets()
|
|
44849
|
+
self.ipv_4sets = temp_model.from_map(m['IPv4Sets'])
|
|
44850
|
+
if m.get('NetworkInterfaceId') is not None:
|
|
44851
|
+
self.network_interface_id = m.get('NetworkInterfaceId')
|
|
44852
|
+
if m.get('ResourceId') is not None:
|
|
44853
|
+
self.resource_id = m.get('ResourceId')
|
|
44854
|
+
if m.get('ResourceOwnerId') is not None:
|
|
44855
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
44856
|
+
if m.get('ResourceType') is not None:
|
|
44857
|
+
self.resource_type = m.get('ResourceType')
|
|
44858
|
+
return self
|
|
44859
|
+
|
|
44860
|
+
|
|
44861
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces(TeaModel):
|
|
44862
|
+
def __init__(
|
|
44863
|
+
self,
|
|
44864
|
+
associate_network_interface: List[DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface] = None,
|
|
44865
|
+
):
|
|
44866
|
+
self.associate_network_interface = associate_network_interface
|
|
44867
|
+
|
|
44868
|
+
def validate(self):
|
|
44869
|
+
if self.associate_network_interface:
|
|
44870
|
+
for k in self.associate_network_interface:
|
|
44871
|
+
if k:
|
|
44872
|
+
k.validate()
|
|
44873
|
+
|
|
44874
|
+
def to_map(self):
|
|
44875
|
+
_map = super().to_map()
|
|
44876
|
+
if _map is not None:
|
|
44877
|
+
return _map
|
|
44878
|
+
|
|
44879
|
+
result = dict()
|
|
44880
|
+
result['AssociateNetworkInterface'] = []
|
|
44881
|
+
if self.associate_network_interface is not None:
|
|
44882
|
+
for k in self.associate_network_interface:
|
|
44883
|
+
result['AssociateNetworkInterface'].append(k.to_map() if k else None)
|
|
44884
|
+
return result
|
|
44885
|
+
|
|
44886
|
+
def from_map(self, m: dict = None):
|
|
44887
|
+
m = m or dict()
|
|
44888
|
+
self.associate_network_interface = []
|
|
44889
|
+
if m.get('AssociateNetworkInterface') is not None:
|
|
44890
|
+
for k in m.get('AssociateNetworkInterface'):
|
|
44891
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfacesAssociateNetworkInterface()
|
|
44892
|
+
self.associate_network_interface.append(temp_model.from_map(k))
|
|
44893
|
+
return self
|
|
44894
|
+
|
|
44895
|
+
|
|
44896
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponseBody(TeaModel):
|
|
44897
|
+
def __init__(
|
|
44898
|
+
self,
|
|
44899
|
+
associate_network_interfaces: DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces = None,
|
|
44900
|
+
max_results: int = None,
|
|
44901
|
+
nat_gateway_id: str = None,
|
|
44902
|
+
next_token: str = None,
|
|
44903
|
+
request_id: str = None,
|
|
44904
|
+
total_count: int = None,
|
|
44905
|
+
):
|
|
44906
|
+
self.associate_network_interfaces = associate_network_interfaces
|
|
44907
|
+
self.max_results = max_results
|
|
44908
|
+
self.nat_gateway_id = nat_gateway_id
|
|
44909
|
+
self.next_token = next_token
|
|
44910
|
+
self.request_id = request_id
|
|
44911
|
+
self.total_count = total_count
|
|
44912
|
+
|
|
44913
|
+
def validate(self):
|
|
44914
|
+
if self.associate_network_interfaces:
|
|
44915
|
+
self.associate_network_interfaces.validate()
|
|
44916
|
+
|
|
44917
|
+
def to_map(self):
|
|
44918
|
+
_map = super().to_map()
|
|
44919
|
+
if _map is not None:
|
|
44920
|
+
return _map
|
|
44921
|
+
|
|
44922
|
+
result = dict()
|
|
44923
|
+
if self.associate_network_interfaces is not None:
|
|
44924
|
+
result['AssociateNetworkInterfaces'] = self.associate_network_interfaces.to_map()
|
|
44925
|
+
if self.max_results is not None:
|
|
44926
|
+
result['MaxResults'] = self.max_results
|
|
44927
|
+
if self.nat_gateway_id is not None:
|
|
44928
|
+
result['NatGatewayId'] = self.nat_gateway_id
|
|
44929
|
+
if self.next_token is not None:
|
|
44930
|
+
result['NextToken'] = self.next_token
|
|
44931
|
+
if self.request_id is not None:
|
|
44932
|
+
result['RequestId'] = self.request_id
|
|
44933
|
+
if self.total_count is not None:
|
|
44934
|
+
result['TotalCount'] = self.total_count
|
|
44935
|
+
return result
|
|
44936
|
+
|
|
44937
|
+
def from_map(self, m: dict = None):
|
|
44938
|
+
m = m or dict()
|
|
44939
|
+
if m.get('AssociateNetworkInterfaces') is not None:
|
|
44940
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesResponseBodyAssociateNetworkInterfaces()
|
|
44941
|
+
self.associate_network_interfaces = temp_model.from_map(m['AssociateNetworkInterfaces'])
|
|
44942
|
+
if m.get('MaxResults') is not None:
|
|
44943
|
+
self.max_results = m.get('MaxResults')
|
|
44944
|
+
if m.get('NatGatewayId') is not None:
|
|
44945
|
+
self.nat_gateway_id = m.get('NatGatewayId')
|
|
44946
|
+
if m.get('NextToken') is not None:
|
|
44947
|
+
self.next_token = m.get('NextToken')
|
|
44948
|
+
if m.get('RequestId') is not None:
|
|
44949
|
+
self.request_id = m.get('RequestId')
|
|
44950
|
+
if m.get('TotalCount') is not None:
|
|
44951
|
+
self.total_count = m.get('TotalCount')
|
|
44952
|
+
return self
|
|
44953
|
+
|
|
44954
|
+
|
|
44955
|
+
class DescribeNatGatewayAssociateNetworkInterfacesResponse(TeaModel):
|
|
44956
|
+
def __init__(
|
|
44957
|
+
self,
|
|
44958
|
+
headers: Dict[str, str] = None,
|
|
44959
|
+
status_code: int = None,
|
|
44960
|
+
body: DescribeNatGatewayAssociateNetworkInterfacesResponseBody = None,
|
|
44961
|
+
):
|
|
44962
|
+
self.headers = headers
|
|
44963
|
+
self.status_code = status_code
|
|
44964
|
+
self.body = body
|
|
44965
|
+
|
|
44966
|
+
def validate(self):
|
|
44967
|
+
if self.body:
|
|
44968
|
+
self.body.validate()
|
|
44969
|
+
|
|
44970
|
+
def to_map(self):
|
|
44971
|
+
_map = super().to_map()
|
|
44972
|
+
if _map is not None:
|
|
44973
|
+
return _map
|
|
44974
|
+
|
|
44975
|
+
result = dict()
|
|
44976
|
+
if self.headers is not None:
|
|
44977
|
+
result['headers'] = self.headers
|
|
44978
|
+
if self.status_code is not None:
|
|
44979
|
+
result['statusCode'] = self.status_code
|
|
44980
|
+
if self.body is not None:
|
|
44981
|
+
result['body'] = self.body.to_map()
|
|
44982
|
+
return result
|
|
44983
|
+
|
|
44984
|
+
def from_map(self, m: dict = None):
|
|
44985
|
+
m = m or dict()
|
|
44986
|
+
if m.get('headers') is not None:
|
|
44987
|
+
self.headers = m.get('headers')
|
|
44988
|
+
if m.get('statusCode') is not None:
|
|
44989
|
+
self.status_code = m.get('statusCode')
|
|
44990
|
+
if m.get('body') is not None:
|
|
44991
|
+
temp_model = DescribeNatGatewayAssociateNetworkInterfacesResponseBody()
|
|
44992
|
+
self.body = temp_model.from_map(m['body'])
|
|
44993
|
+
return self
|
|
44994
|
+
|
|
44995
|
+
|
|
44558
44996
|
class DescribeNatGatewaysRequestTag(TeaModel):
|
|
44559
44997
|
def __init__(
|
|
44560
44998
|
self,
|
|
@@ -52091,6 +52529,7 @@ class DescribeSnatTableEntriesRequest(TeaModel):
|
|
|
52091
52529
|
def __init__(
|
|
52092
52530
|
self,
|
|
52093
52531
|
nat_gateway_id: str = None,
|
|
52532
|
+
network_interface_ids: List[str] = None,
|
|
52094
52533
|
owner_account: str = None,
|
|
52095
52534
|
owner_id: int = None,
|
|
52096
52535
|
page_number: int = None,
|
|
@@ -52109,6 +52548,7 @@ class DescribeSnatTableEntriesRequest(TeaModel):
|
|
|
52109
52548
|
#
|
|
52110
52549
|
# > You must specify at least one of **SnatTableId** and **NatGatewayId**.
|
|
52111
52550
|
self.nat_gateway_id = nat_gateway_id
|
|
52551
|
+
self.network_interface_ids = network_interface_ids
|
|
52112
52552
|
self.owner_account = owner_account
|
|
52113
52553
|
self.owner_id = owner_id
|
|
52114
52554
|
# The page number. Default value: **1**.
|
|
@@ -52155,6 +52595,8 @@ class DescribeSnatTableEntriesRequest(TeaModel):
|
|
|
52155
52595
|
result = dict()
|
|
52156
52596
|
if self.nat_gateway_id is not None:
|
|
52157
52597
|
result['NatGatewayId'] = self.nat_gateway_id
|
|
52598
|
+
if self.network_interface_ids is not None:
|
|
52599
|
+
result['NetworkInterfaceIds'] = self.network_interface_ids
|
|
52158
52600
|
if self.owner_account is not None:
|
|
52159
52601
|
result['OwnerAccount'] = self.owner_account
|
|
52160
52602
|
if self.owner_id is not None:
|
|
@@ -52187,6 +52629,8 @@ class DescribeSnatTableEntriesRequest(TeaModel):
|
|
|
52187
52629
|
m = m or dict()
|
|
52188
52630
|
if m.get('NatGatewayId') is not None:
|
|
52189
52631
|
self.nat_gateway_id = m.get('NatGatewayId')
|
|
52632
|
+
if m.get('NetworkInterfaceIds') is not None:
|
|
52633
|
+
self.network_interface_ids = m.get('NetworkInterfaceIds')
|
|
52190
52634
|
if m.get('OwnerAccount') is not None:
|
|
52191
52635
|
self.owner_account = m.get('OwnerAccount')
|
|
52192
52636
|
if m.get('OwnerId') is not None:
|
|
@@ -52221,6 +52665,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
52221
52665
|
self,
|
|
52222
52666
|
eip_affinity: str = None,
|
|
52223
52667
|
nat_gateway_id: str = None,
|
|
52668
|
+
network_interface_id: str = None,
|
|
52224
52669
|
snat_entry_id: str = None,
|
|
52225
52670
|
snat_entry_name: str = None,
|
|
52226
52671
|
snat_ip: str = None,
|
|
@@ -52232,6 +52677,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
52232
52677
|
self.eip_affinity = eip_affinity
|
|
52233
52678
|
# The ID of the NAT gateway to which the SNAT entry belongs.
|
|
52234
52679
|
self.nat_gateway_id = nat_gateway_id
|
|
52680
|
+
self.network_interface_id = network_interface_id
|
|
52235
52681
|
# The ID of the SNAT entry.
|
|
52236
52682
|
self.snat_entry_id = snat_entry_id
|
|
52237
52683
|
# The name of the SNAT entry.
|
|
@@ -52266,6 +52712,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
52266
52712
|
result['EipAffinity'] = self.eip_affinity
|
|
52267
52713
|
if self.nat_gateway_id is not None:
|
|
52268
52714
|
result['NatGatewayId'] = self.nat_gateway_id
|
|
52715
|
+
if self.network_interface_id is not None:
|
|
52716
|
+
result['NetworkInterfaceId'] = self.network_interface_id
|
|
52269
52717
|
if self.snat_entry_id is not None:
|
|
52270
52718
|
result['SnatEntryId'] = self.snat_entry_id
|
|
52271
52719
|
if self.snat_entry_name is not None:
|
|
@@ -52288,6 +52736,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
52288
52736
|
self.eip_affinity = m.get('EipAffinity')
|
|
52289
52737
|
if m.get('NatGatewayId') is not None:
|
|
52290
52738
|
self.nat_gateway_id = m.get('NatGatewayId')
|
|
52739
|
+
if m.get('NetworkInterfaceId') is not None:
|
|
52740
|
+
self.network_interface_id = m.get('NetworkInterfaceId')
|
|
52291
52741
|
if m.get('SnatEntryId') is not None:
|
|
52292
52742
|
self.snat_entry_id = m.get('SnatEntryId')
|
|
52293
52743
|
if m.get('SnatEntryName') is not None:
|
|
@@ -86937,6 +87387,7 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
86937
87387
|
self,
|
|
86938
87388
|
client_token: str = None,
|
|
86939
87389
|
eip_affinity: int = None,
|
|
87390
|
+
network_interface_id: str = None,
|
|
86940
87391
|
owner_account: str = None,
|
|
86941
87392
|
owner_id: int = None,
|
|
86942
87393
|
region_id: str = None,
|
|
@@ -86954,6 +87405,7 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
86954
87405
|
# > 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.
|
|
86955
87406
|
self.client_token = client_token
|
|
86956
87407
|
self.eip_affinity = eip_affinity
|
|
87408
|
+
self.network_interface_id = network_interface_id
|
|
86957
87409
|
self.owner_account = owner_account
|
|
86958
87410
|
self.owner_id = owner_id
|
|
86959
87411
|
# The region ID of the NAT gateway.
|
|
@@ -86996,6 +87448,8 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
86996
87448
|
result['ClientToken'] = self.client_token
|
|
86997
87449
|
if self.eip_affinity is not None:
|
|
86998
87450
|
result['EipAffinity'] = self.eip_affinity
|
|
87451
|
+
if self.network_interface_id is not None:
|
|
87452
|
+
result['NetworkInterfaceId'] = self.network_interface_id
|
|
86999
87453
|
if self.owner_account is not None:
|
|
87000
87454
|
result['OwnerAccount'] = self.owner_account
|
|
87001
87455
|
if self.owner_id is not None:
|
|
@@ -87022,6 +87476,8 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
87022
87476
|
self.client_token = m.get('ClientToken')
|
|
87023
87477
|
if m.get('EipAffinity') is not None:
|
|
87024
87478
|
self.eip_affinity = m.get('EipAffinity')
|
|
87479
|
+
if m.get('NetworkInterfaceId') is not None:
|
|
87480
|
+
self.network_interface_id = m.get('NetworkInterfaceId')
|
|
87025
87481
|
if m.get('OwnerAccount') is not None:
|
|
87026
87482
|
self.owner_account = m.get('OwnerAccount')
|
|
87027
87483
|
if m.get('OwnerId') is not None:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_vpc20160428/__init__.py,sha256=XtkuRkH8ABoXHvEI-_2v3YKpDyd1mdkeavWlFnUciR4,21
|
|
2
|
+
alibabacloud_vpc20160428/client.py,sha256=CNFqpC_oAHfttK4okYRfyNGAVuqKHOkdHLhjgkz089o,2800989
|
|
3
|
+
alibabacloud_vpc20160428/models.py,sha256=VJiyy73s2f5DAqF80Ni4R2OKPk3k67Izwf4tZg7fwZI,3998435
|
|
4
|
+
alibabacloud_vpc20160428-6.8.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_vpc20160428-6.8.0.dist-info/METADATA,sha256=O9EZt1l-QMCSuW8IeLXiRiBlz2GfApdbfxLnwLhmfiM,2330
|
|
6
|
+
alibabacloud_vpc20160428-6.8.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_vpc20160428-6.8.0.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
+
alibabacloud_vpc20160428-6.8.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_vpc20160428/__init__.py,sha256=oItGX1twY5pJS16d1HRGg0FRYleplgVvsA3G09G5t9A,21
|
|
2
|
-
alibabacloud_vpc20160428/client.py,sha256=JcciHoiSvDC_0M4jy8M14Y8JvRn8rWjtF__J34l5XX0,2793341
|
|
3
|
-
alibabacloud_vpc20160428/models.py,sha256=F_Erkg2mbeoFaADOv31_IvNHuaHcoZLaqxJOBfbbj_E,3981509
|
|
4
|
-
alibabacloud_vpc20160428-6.7.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_vpc20160428-6.7.3.dist-info/METADATA,sha256=OoSZCRVs9z9LBnjzZPIpM1h1a8l41noCnHdJ7xpwLYE,2330
|
|
6
|
-
alibabacloud_vpc20160428-6.7.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_vpc20160428-6.7.3.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
-
alibabacloud_vpc20160428-6.7.3.dist-info/RECORD,,
|
{alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_vpc20160428-6.7.3.dist-info → alibabacloud_vpc20160428-6.8.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|