alibabacloud-vpc20160428 6.7.3__py3-none-any.whl → 6.7.4__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.
@@ -1 +1 @@
1
- __version__ = '6.7.3'
1
+ __version__ = '6.7.4'
@@ -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):
@@ -29557,6 +29561,8 @@ class Client(OpenApiClient):
29557
29561
  query = {}
29558
29562
  if not UtilClient.is_unset(request.nat_gateway_id):
29559
29563
  query['NatGatewayId'] = request.nat_gateway_id
29564
+ if not UtilClient.is_unset(request.network_interface_ids):
29565
+ query['NetworkInterfaceIds'] = request.network_interface_ids
29560
29566
  if not UtilClient.is_unset(request.owner_account):
29561
29567
  query['OwnerAccount'] = request.owner_account
29562
29568
  if not UtilClient.is_unset(request.owner_id):
@@ -29618,6 +29624,8 @@ class Client(OpenApiClient):
29618
29624
  query = {}
29619
29625
  if not UtilClient.is_unset(request.nat_gateway_id):
29620
29626
  query['NatGatewayId'] = request.nat_gateway_id
29627
+ if not UtilClient.is_unset(request.network_interface_ids):
29628
+ query['NetworkInterfaceIds'] = request.network_interface_ids
29621
29629
  if not UtilClient.is_unset(request.owner_account):
29622
29630
  query['OwnerAccount'] = request.owner_account
29623
29631
  if not UtilClient.is_unset(request.owner_id):
@@ -45220,6 +45228,8 @@ class Client(OpenApiClient):
45220
45228
  query['ClientToken'] = request.client_token
45221
45229
  if not UtilClient.is_unset(request.eip_affinity):
45222
45230
  query['EipAffinity'] = request.eip_affinity
45231
+ if not UtilClient.is_unset(request.network_interface_id):
45232
+ query['NetworkInterfaceId'] = request.network_interface_id
45223
45233
  if not UtilClient.is_unset(request.owner_account):
45224
45234
  query['OwnerAccount'] = request.owner_account
45225
45235
  if not UtilClient.is_unset(request.owner_id):
@@ -45282,6 +45292,8 @@ class Client(OpenApiClient):
45282
45292
  query['ClientToken'] = request.client_token
45283
45293
  if not UtilClient.is_unset(request.eip_affinity):
45284
45294
  query['EipAffinity'] = request.eip_affinity
45295
+ if not UtilClient.is_unset(request.network_interface_id):
45296
+ query['NetworkInterfaceId'] = request.network_interface_id
45285
45297
  if not UtilClient.is_unset(request.owner_account):
45286
45298
  query['OwnerAccount'] = request.owner_account
45287
45299
  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:
@@ -52091,6 +52095,7 @@ class DescribeSnatTableEntriesRequest(TeaModel):
52091
52095
  def __init__(
52092
52096
  self,
52093
52097
  nat_gateway_id: str = None,
52098
+ network_interface_ids: List[str] = None,
52094
52099
  owner_account: str = None,
52095
52100
  owner_id: int = None,
52096
52101
  page_number: int = None,
@@ -52109,6 +52114,7 @@ class DescribeSnatTableEntriesRequest(TeaModel):
52109
52114
  #
52110
52115
  # > You must specify at least one of **SnatTableId** and **NatGatewayId**.
52111
52116
  self.nat_gateway_id = nat_gateway_id
52117
+ self.network_interface_ids = network_interface_ids
52112
52118
  self.owner_account = owner_account
52113
52119
  self.owner_id = owner_id
52114
52120
  # The page number. Default value: **1**.
@@ -52155,6 +52161,8 @@ class DescribeSnatTableEntriesRequest(TeaModel):
52155
52161
  result = dict()
52156
52162
  if self.nat_gateway_id is not None:
52157
52163
  result['NatGatewayId'] = self.nat_gateway_id
52164
+ if self.network_interface_ids is not None:
52165
+ result['NetworkInterfaceIds'] = self.network_interface_ids
52158
52166
  if self.owner_account is not None:
52159
52167
  result['OwnerAccount'] = self.owner_account
52160
52168
  if self.owner_id is not None:
@@ -52187,6 +52195,8 @@ class DescribeSnatTableEntriesRequest(TeaModel):
52187
52195
  m = m or dict()
52188
52196
  if m.get('NatGatewayId') is not None:
52189
52197
  self.nat_gateway_id = m.get('NatGatewayId')
52198
+ if m.get('NetworkInterfaceIds') is not None:
52199
+ self.network_interface_ids = m.get('NetworkInterfaceIds')
52190
52200
  if m.get('OwnerAccount') is not None:
52191
52201
  self.owner_account = m.get('OwnerAccount')
52192
52202
  if m.get('OwnerId') is not None:
@@ -52221,6 +52231,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
52221
52231
  self,
52222
52232
  eip_affinity: str = None,
52223
52233
  nat_gateway_id: str = None,
52234
+ network_interface_id: str = None,
52224
52235
  snat_entry_id: str = None,
52225
52236
  snat_entry_name: str = None,
52226
52237
  snat_ip: str = None,
@@ -52232,6 +52243,7 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
52232
52243
  self.eip_affinity = eip_affinity
52233
52244
  # The ID of the NAT gateway to which the SNAT entry belongs.
52234
52245
  self.nat_gateway_id = nat_gateway_id
52246
+ self.network_interface_id = network_interface_id
52235
52247
  # The ID of the SNAT entry.
52236
52248
  self.snat_entry_id = snat_entry_id
52237
52249
  # The name of the SNAT entry.
@@ -52266,6 +52278,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
52266
52278
  result['EipAffinity'] = self.eip_affinity
52267
52279
  if self.nat_gateway_id is not None:
52268
52280
  result['NatGatewayId'] = self.nat_gateway_id
52281
+ if self.network_interface_id is not None:
52282
+ result['NetworkInterfaceId'] = self.network_interface_id
52269
52283
  if self.snat_entry_id is not None:
52270
52284
  result['SnatEntryId'] = self.snat_entry_id
52271
52285
  if self.snat_entry_name is not None:
@@ -52288,6 +52302,8 @@ class DescribeSnatTableEntriesResponseBodySnatTableEntriesSnatTableEntry(TeaMode
52288
52302
  self.eip_affinity = m.get('EipAffinity')
52289
52303
  if m.get('NatGatewayId') is not None:
52290
52304
  self.nat_gateway_id = m.get('NatGatewayId')
52305
+ if m.get('NetworkInterfaceId') is not None:
52306
+ self.network_interface_id = m.get('NetworkInterfaceId')
52291
52307
  if m.get('SnatEntryId') is not None:
52292
52308
  self.snat_entry_id = m.get('SnatEntryId')
52293
52309
  if m.get('SnatEntryName') is not None:
@@ -86937,6 +86953,7 @@ class ModifySnatEntryRequest(TeaModel):
86937
86953
  self,
86938
86954
  client_token: str = None,
86939
86955
  eip_affinity: int = None,
86956
+ network_interface_id: str = None,
86940
86957
  owner_account: str = None,
86941
86958
  owner_id: int = None,
86942
86959
  region_id: str = None,
@@ -86954,6 +86971,7 @@ class ModifySnatEntryRequest(TeaModel):
86954
86971
  # > 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
86972
  self.client_token = client_token
86956
86973
  self.eip_affinity = eip_affinity
86974
+ self.network_interface_id = network_interface_id
86957
86975
  self.owner_account = owner_account
86958
86976
  self.owner_id = owner_id
86959
86977
  # The region ID of the NAT gateway.
@@ -86996,6 +87014,8 @@ class ModifySnatEntryRequest(TeaModel):
86996
87014
  result['ClientToken'] = self.client_token
86997
87015
  if self.eip_affinity is not None:
86998
87016
  result['EipAffinity'] = self.eip_affinity
87017
+ if self.network_interface_id is not None:
87018
+ result['NetworkInterfaceId'] = self.network_interface_id
86999
87019
  if self.owner_account is not None:
87000
87020
  result['OwnerAccount'] = self.owner_account
87001
87021
  if self.owner_id is not None:
@@ -87022,6 +87042,8 @@ class ModifySnatEntryRequest(TeaModel):
87022
87042
  self.client_token = m.get('ClientToken')
87023
87043
  if m.get('EipAffinity') is not None:
87024
87044
  self.eip_affinity = m.get('EipAffinity')
87045
+ if m.get('NetworkInterfaceId') is not None:
87046
+ self.network_interface_id = m.get('NetworkInterfaceId')
87025
87047
  if m.get('OwnerAccount') is not None:
87026
87048
  self.owner_account = m.get('OwnerAccount')
87027
87049
  if m.get('OwnerId') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.7.3
3
+ Version: 6.7.4
4
4
  Summary: Alibaba Cloud Virtual Private Cloud (20160428) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1,8 @@
1
+ alibabacloud_vpc20160428/__init__.py,sha256=s4yvk6HiXXtFwEZqiFDtxWVWmSQWueJUILodJqeEhLc,21
2
+ alibabacloud_vpc20160428/client.py,sha256=_oXfj-luLV3TV7jdepby2X-dcx_CXEKghEh5R9G3dmQ,2794169
3
+ alibabacloud_vpc20160428/models.py,sha256=NewKvc7GLOp1hBNOMKRWPdThW2fCDWvIauIDk7pve6g,3982827
4
+ alibabacloud_vpc20160428-6.7.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ alibabacloud_vpc20160428-6.7.4.dist-info/METADATA,sha256=nDk8CzSiR_2vGMYHYGa8PpmrR6meztxT6-dXfBTYLb8,2330
6
+ alibabacloud_vpc20160428-6.7.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
7
+ alibabacloud_vpc20160428-6.7.4.dist-info/top_level.txt,sha256=aF3N1qaLDlyXEHXQ7AIBXYBUVWa-5wNpQNKhEiij7uA,25
8
+ alibabacloud_vpc20160428-6.7.4.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,,