alibabacloud-vpc20160428 6.6.1__py3-none-any.whl → 6.6.2__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 +4 -0
- alibabacloud_vpc20160428/models.py +84 -0
- {alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/METADATA +1 -1
- alibabacloud_vpc20160428-6.6.2.dist-info/RECORD +8 -0
- alibabacloud_vpc20160428-6.6.1.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/WHEEL +0 -0
- {alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '6.6.
|
|
1
|
+
__version__ = '6.6.2'
|
|
@@ -39754,6 +39754,8 @@ class Client(OpenApiClient):
|
|
|
39754
39754
|
query = {}
|
|
39755
39755
|
if not UtilClient.is_unset(request.client_token):
|
|
39756
39756
|
query['ClientToken'] = request.client_token
|
|
39757
|
+
if not UtilClient.is_unset(request.eip_affinity):
|
|
39758
|
+
query['EipAffinity'] = request.eip_affinity
|
|
39757
39759
|
if not UtilClient.is_unset(request.owner_account):
|
|
39758
39760
|
query['OwnerAccount'] = request.owner_account
|
|
39759
39761
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -39812,6 +39814,8 @@ class Client(OpenApiClient):
|
|
|
39812
39814
|
query = {}
|
|
39813
39815
|
if not UtilClient.is_unset(request.client_token):
|
|
39814
39816
|
query['ClientToken'] = request.client_token
|
|
39817
|
+
if not UtilClient.is_unset(request.eip_affinity):
|
|
39818
|
+
query['EipAffinity'] = request.eip_affinity
|
|
39815
39819
|
if not UtilClient.is_unset(request.owner_account):
|
|
39816
39820
|
query['OwnerAccount'] = request.owner_account
|
|
39817
39821
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -50863,6 +50863,7 @@ class DescribeSnatTableEntriesRequest(TeaModel):
|
|
|
50863
50863
|
class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaModel):
|
|
50864
50864
|
def __init__(
|
|
50865
50865
|
self,
|
|
50866
|
+
eip_affinity: str = None,
|
|
50866
50867
|
nat_gateway_id: str = None,
|
|
50867
50868
|
snat_entry_id: str = None,
|
|
50868
50869
|
snat_entry_name: str = None,
|
|
@@ -50872,6 +50873,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
50872
50873
|
source_vswitch_id: str = None,
|
|
50873
50874
|
status: str = None,
|
|
50874
50875
|
):
|
|
50876
|
+
self.eip_affinity = eip_affinity
|
|
50875
50877
|
# The ID of the NAT gateway to which the SNAT entry belongs.
|
|
50876
50878
|
self.nat_gateway_id = nat_gateway_id
|
|
50877
50879
|
# The ID of the SNAT entry.
|
|
@@ -50904,6 +50906,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
50904
50906
|
return _map
|
|
50905
50907
|
|
|
50906
50908
|
result = dict()
|
|
50909
|
+
if self.eip_affinity is not None:
|
|
50910
|
+
result['EipAffinity'] = self.eip_affinity
|
|
50907
50911
|
if self.nat_gateway_id is not None:
|
|
50908
50912
|
result['NatGatewayId'] = self.nat_gateway_id
|
|
50909
50913
|
if self.snat_entry_id is not None:
|
|
@@ -50924,6 +50928,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
|
|
|
50924
50928
|
|
|
50925
50929
|
def from_map(self, m: dict = None):
|
|
50926
50930
|
m = m or dict()
|
|
50931
|
+
if m.get('EipAffinity') is not None:
|
|
50932
|
+
self.eip_affinity = m.get('EipAffinity')
|
|
50927
50933
|
if m.get('NatGatewayId') is not None:
|
|
50928
50934
|
self.nat_gateway_id = m.get('NatGatewayId')
|
|
50929
50935
|
if m.get('SnatEntryId') is not None:
|
|
@@ -61396,6 +61402,33 @@ class DescribeVpnGatewayRequest(TeaModel):
|
|
|
61396
61402
|
return self
|
|
61397
61403
|
|
|
61398
61404
|
|
|
61405
|
+
class DescribeVpnGatewayResponseBodyEniInstanceIds(TeaModel):
|
|
61406
|
+
def __init__(
|
|
61407
|
+
self,
|
|
61408
|
+
eni_instance_id: List[str] = None,
|
|
61409
|
+
):
|
|
61410
|
+
self.eni_instance_id = eni_instance_id
|
|
61411
|
+
|
|
61412
|
+
def validate(self):
|
|
61413
|
+
pass
|
|
61414
|
+
|
|
61415
|
+
def to_map(self):
|
|
61416
|
+
_map = super().to_map()
|
|
61417
|
+
if _map is not None:
|
|
61418
|
+
return _map
|
|
61419
|
+
|
|
61420
|
+
result = dict()
|
|
61421
|
+
if self.eni_instance_id is not None:
|
|
61422
|
+
result['EniInstanceId'] = self.eni_instance_id
|
|
61423
|
+
return result
|
|
61424
|
+
|
|
61425
|
+
def from_map(self, m: dict = None):
|
|
61426
|
+
m = m or dict()
|
|
61427
|
+
if m.get('EniInstanceId') is not None:
|
|
61428
|
+
self.eni_instance_id = m.get('EniInstanceId')
|
|
61429
|
+
return self
|
|
61430
|
+
|
|
61431
|
+
|
|
61399
61432
|
class DescribeVpnGatewayResponseBodyReservationData(TeaModel):
|
|
61400
61433
|
def __init__(
|
|
61401
61434
|
self,
|
|
@@ -61563,6 +61596,7 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
61563
61596
|
disaster_recovery_vswitch_id: str = None,
|
|
61564
61597
|
enable_bgp: bool = None,
|
|
61565
61598
|
end_time: int = None,
|
|
61599
|
+
eni_instance_ids: DescribeVpnGatewayResponseBodyEniInstanceIds = None,
|
|
61566
61600
|
internet_ip: str = None,
|
|
61567
61601
|
ipsec_vpn: str = None,
|
|
61568
61602
|
name: str = None,
|
|
@@ -61619,6 +61653,7 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
61619
61653
|
#
|
|
61620
61654
|
# 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.
|
|
61621
61655
|
self.end_time = end_time
|
|
61656
|
+
self.eni_instance_ids = eni_instance_ids
|
|
61622
61657
|
# * 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.
|
|
61623
61658
|
#
|
|
61624
61659
|
# * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the address is the first IP address used to create an IPsec-VPN connection. The address cannot be used to create an SSL-VPN connection.
|
|
@@ -61708,6 +61743,8 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
61708
61743
|
self.vpn_type = vpn_type
|
|
61709
61744
|
|
|
61710
61745
|
def validate(self):
|
|
61746
|
+
if self.eni_instance_ids:
|
|
61747
|
+
self.eni_instance_ids.validate()
|
|
61711
61748
|
if self.reservation_data:
|
|
61712
61749
|
self.reservation_data.validate()
|
|
61713
61750
|
if self.tags:
|
|
@@ -61737,6 +61774,8 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
61737
61774
|
result['EnableBgp'] = self.enable_bgp
|
|
61738
61775
|
if self.end_time is not None:
|
|
61739
61776
|
result['EndTime'] = self.end_time
|
|
61777
|
+
if self.eni_instance_ids is not None:
|
|
61778
|
+
result['EniInstanceIds'] = self.eni_instance_ids.to_map()
|
|
61740
61779
|
if self.internet_ip is not None:
|
|
61741
61780
|
result['InternetIp'] = self.internet_ip
|
|
61742
61781
|
if self.ipsec_vpn is not None:
|
|
@@ -61795,6 +61834,9 @@ class DescribeVpnGatewayResponseBody(TeaModel):
|
|
|
61795
61834
|
self.enable_bgp = m.get('EnableBgp')
|
|
61796
61835
|
if m.get('EndTime') is not None:
|
|
61797
61836
|
self.end_time = m.get('EndTime')
|
|
61837
|
+
if m.get('EniInstanceIds') is not None:
|
|
61838
|
+
temp_model = DescribeVpnGatewayResponseBodyEniInstanceIds()
|
|
61839
|
+
self.eni_instance_ids = temp_model.from_map(m['EniInstanceIds'])
|
|
61798
61840
|
if m.get('InternetIp') is not None:
|
|
61799
61841
|
self.internet_ip = m.get('InternetIp')
|
|
61800
61842
|
if m.get('IpsecVpn') is not None:
|
|
@@ -62247,6 +62289,33 @@ class DescribeVpnGatewaysRequest(TeaModel):
|
|
|
62247
62289
|
return self
|
|
62248
62290
|
|
|
62249
62291
|
|
|
62292
|
+
class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds(TeaModel):
|
|
62293
|
+
def __init__(
|
|
62294
|
+
self,
|
|
62295
|
+
eni_instance_id: List[str] = None,
|
|
62296
|
+
):
|
|
62297
|
+
self.eni_instance_id = eni_instance_id
|
|
62298
|
+
|
|
62299
|
+
def validate(self):
|
|
62300
|
+
pass
|
|
62301
|
+
|
|
62302
|
+
def to_map(self):
|
|
62303
|
+
_map = super().to_map()
|
|
62304
|
+
if _map is not None:
|
|
62305
|
+
return _map
|
|
62306
|
+
|
|
62307
|
+
result = dict()
|
|
62308
|
+
if self.eni_instance_id is not None:
|
|
62309
|
+
result['EniInstanceId'] = self.eni_instance_id
|
|
62310
|
+
return result
|
|
62311
|
+
|
|
62312
|
+
def from_map(self, m: dict = None):
|
|
62313
|
+
m = m or dict()
|
|
62314
|
+
if m.get('EniInstanceId') is not None:
|
|
62315
|
+
self.eni_instance_id = m.get('EniInstanceId')
|
|
62316
|
+
return self
|
|
62317
|
+
|
|
62318
|
+
|
|
62250
62319
|
class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayReservationData(TeaModel):
|
|
62251
62320
|
def __init__(
|
|
62252
62321
|
self,
|
|
@@ -62414,6 +62483,7 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
62414
62483
|
disaster_recovery_vswitch_id: str = None,
|
|
62415
62484
|
enable_bgp: bool = None,
|
|
62416
62485
|
end_time: int = None,
|
|
62486
|
+
eni_instance_ids: DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds = None,
|
|
62417
62487
|
internet_ip: str = None,
|
|
62418
62488
|
ipsec_vpn: str = None,
|
|
62419
62489
|
name: str = None,
|
|
@@ -62469,6 +62539,7 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
62469
62539
|
#
|
|
62470
62540
|
# This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
|
|
62471
62541
|
self.end_time = end_time
|
|
62542
|
+
self.eni_instance_ids = eni_instance_ids
|
|
62472
62543
|
# * 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.
|
|
62473
62544
|
#
|
|
62474
62545
|
# * If the VPN gateway supports IPsec-VPN connections in dual-tunnel mode, the address is the first IP address used to create an IPsec-VPN connection. The address cannot be used to create an SSL-VPN connection.
|
|
@@ -62556,6 +62627,8 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
62556
62627
|
self.vpn_type = vpn_type
|
|
62557
62628
|
|
|
62558
62629
|
def validate(self):
|
|
62630
|
+
if self.eni_instance_ids:
|
|
62631
|
+
self.eni_instance_ids.validate()
|
|
62559
62632
|
if self.reservation_data:
|
|
62560
62633
|
self.reservation_data.validate()
|
|
62561
62634
|
if self.tags:
|
|
@@ -62585,6 +62658,8 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
62585
62658
|
result['EnableBgp'] = self.enable_bgp
|
|
62586
62659
|
if self.end_time is not None:
|
|
62587
62660
|
result['EndTime'] = self.end_time
|
|
62661
|
+
if self.eni_instance_ids is not None:
|
|
62662
|
+
result['EniInstanceIds'] = self.eni_instance_ids.to_map()
|
|
62588
62663
|
if self.internet_ip is not None:
|
|
62589
62664
|
result['InternetIp'] = self.internet_ip
|
|
62590
62665
|
if self.ipsec_vpn is not None:
|
|
@@ -62641,6 +62716,9 @@ class DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGateway(TeaModel):
|
|
|
62641
62716
|
self.enable_bgp = m.get('EnableBgp')
|
|
62642
62717
|
if m.get('EndTime') is not None:
|
|
62643
62718
|
self.end_time = m.get('EndTime')
|
|
62719
|
+
if m.get('EniInstanceIds') is not None:
|
|
62720
|
+
temp_model = DescribeVpnGatewaysResponseBodyVpnGatewaysVpnGatewayEniInstanceIds()
|
|
62721
|
+
self.eni_instance_ids = temp_model.from_map(m['EniInstanceIds'])
|
|
62644
62722
|
if m.get('InternetIp') is not None:
|
|
62645
62723
|
self.internet_ip = m.get('InternetIp')
|
|
62646
62724
|
if m.get('IpsecVpn') is not None:
|
|
@@ -84451,6 +84529,7 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
84451
84529
|
def __init__(
|
|
84452
84530
|
self,
|
|
84453
84531
|
client_token: str = None,
|
|
84532
|
+
eip_affinity: int = None,
|
|
84454
84533
|
owner_account: str = None,
|
|
84455
84534
|
owner_id: int = None,
|
|
84456
84535
|
region_id: str = None,
|
|
@@ -84467,6 +84546,7 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
84467
84546
|
#
|
|
84468
84547
|
# > 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.
|
|
84469
84548
|
self.client_token = client_token
|
|
84549
|
+
self.eip_affinity = eip_affinity
|
|
84470
84550
|
self.owner_account = owner_account
|
|
84471
84551
|
self.owner_id = owner_id
|
|
84472
84552
|
# The region ID of the NAT gateway.
|
|
@@ -84501,6 +84581,8 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
84501
84581
|
result = dict()
|
|
84502
84582
|
if self.client_token is not None:
|
|
84503
84583
|
result['ClientToken'] = self.client_token
|
|
84584
|
+
if self.eip_affinity is not None:
|
|
84585
|
+
result['EipAffinity'] = self.eip_affinity
|
|
84504
84586
|
if self.owner_account is not None:
|
|
84505
84587
|
result['OwnerAccount'] = self.owner_account
|
|
84506
84588
|
if self.owner_id is not None:
|
|
@@ -84525,6 +84607,8 @@ class ModifySnatEntryRequest(TeaModel):
|
|
|
84525
84607
|
m = m or dict()
|
|
84526
84608
|
if m.get('ClientToken') is not None:
|
|
84527
84609
|
self.client_token = m.get('ClientToken')
|
|
84610
|
+
if m.get('EipAffinity') is not None:
|
|
84611
|
+
self.eip_affinity = m.get('EipAffinity')
|
|
84528
84612
|
if m.get('OwnerAccount') is not None:
|
|
84529
84613
|
self.owner_account = m.get('OwnerAccount')
|
|
84530
84614
|
if m.get('OwnerId') is not None:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_vpc20160428/__init__.py,sha256=yUoX3cZpxhwPmqxV5mlbj3q_ZI_s5ZDC344cPgjp3I0,21
|
|
2
|
+
alibabacloud_vpc20160428/client.py,sha256=n6ICv066sxaGh1Yg6bXGA2qAZ2I_yjdPP5XA3ifowc4,2500660
|
|
3
|
+
alibabacloud_vpc20160428/models.py,sha256=Uyb009S1dTzk2q9hIFEAb56SVYSdrxTPlD_bX5Ky2EM,3863312
|
|
4
|
+
alibabacloud_vpc20160428-6.6.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_vpc20160428-6.6.2.dist-info/METADATA,sha256=26umvVs7xLngQ25-tEvxJgqb7XdeXI4P2Gh2ohRuOzI,2301
|
|
6
|
+
alibabacloud_vpc20160428-6.6.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
+
alibabacloud_vpc20160428-6.6.2.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
+
alibabacloud_vpc20160428-6.6.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_vpc20160428/__init__.py,sha256=Xm9qluGy-HnL6tXSY0IyzCOHRx15u3rD1IBe1ifo7_E,21
|
|
2
|
-
alibabacloud_vpc20160428/client.py,sha256=kvYgyvp2wy6hBV7wvUB6IOLhltYHnptM7QXcBMQ7gDc,2500432
|
|
3
|
-
alibabacloud_vpc20160428/models.py,sha256=it3BrMhhZrmqUPOv0dKjL3nP9Ryia2xEZEedHrAIJMg,3860308
|
|
4
|
-
alibabacloud_vpc20160428-6.6.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_vpc20160428-6.6.1.dist-info/METADATA,sha256=WxPY5iVOp6dL7H6cvaOK91VLGkxQji66YM9SUIIamF8,2301
|
|
6
|
-
alibabacloud_vpc20160428-6.6.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
7
|
-
alibabacloud_vpc20160428-6.6.1.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
|
|
8
|
-
alibabacloud_vpc20160428-6.6.1.dist-info/RECORD,,
|
{alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{alibabacloud_vpc20160428-6.6.1.dist-info → alibabacloud_vpc20160428-6.6.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|