alibabacloud-vpc20160428 6.9.0__tar.gz → 6.9.2__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.
Files changed (17) hide show
  1. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/ChangeLog.md +14 -0
  2. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/PKG-INFO +1 -1
  3. alibabacloud_vpc20160428-6.9.2/alibabacloud_vpc20160428/__init__.py +1 -0
  4. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428/client.py +16 -0
  5. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428/models.py +37 -3
  6. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/setup.py +1 -1
  8. alibabacloud_vpc20160428-6.9.0/alibabacloud_vpc20160428/__init__.py +0 -1
  9. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/LICENSE +0 -0
  10. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/MANIFEST.in +0 -0
  11. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/README-CN.md +0 -0
  12. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/README.md +0 -0
  13. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428.egg-info/requires.txt +0 -0
  16. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/alibabacloud_vpc20160428.egg-info/top_level.txt +0 -0
  17. {alibabacloud_vpc20160428-6.9.0 → alibabacloud_vpc20160428-6.9.2}/setup.cfg +0 -0
@@ -1,3 +1,17 @@
1
+ 2024-08-27 Version: 6.9.1
2
+ - Update API CreateVpc: add param EnableDnsHostname.
3
+ - Update API DescribeVpcAttribute: update response param.
4
+ - Update API DescribeVpcs: update response param.
5
+ - Update API ModifyVpcAttribute: add param EnableDnsHostname.
6
+
7
+
8
+ 2024-08-19 Version: 6.9.0
9
+ - Support API ListVpcPublishedRouteEntries.
10
+ - Support API PublishVpcRouteEntries.
11
+ - Support API WithdrawVpcPublishedRouteEntries.
12
+ - Update API DescribeEcGrantRelation: update response param.
13
+
14
+
1
15
  2024-08-15 Version: 6.8.0
2
16
  - Support API DescribeNatGatewayAssociateNetworkInterfaces.
3
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_vpc20160428
3
- Version: 6.9.0
3
+ Version: 6.9.2
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 @@
1
+ __version__ = '6.9.2'
@@ -13884,6 +13884,8 @@ class Client(OpenApiClient):
13884
13884
  query['Description'] = request.description
13885
13885
  if not UtilClient.is_unset(request.dry_run):
13886
13886
  query['DryRun'] = request.dry_run
13887
+ if not UtilClient.is_unset(request.enable_dns_hostname):
13888
+ query['EnableDnsHostname'] = request.enable_dns_hostname
13887
13889
  if not UtilClient.is_unset(request.enable_ipv_6):
13888
13890
  query['EnableIpv6'] = request.enable_ipv_6
13889
13891
  if not UtilClient.is_unset(request.ipv_4cidr_mask):
@@ -13964,6 +13966,8 @@ class Client(OpenApiClient):
13964
13966
  query['Description'] = request.description
13965
13967
  if not UtilClient.is_unset(request.dry_run):
13966
13968
  query['DryRun'] = request.dry_run
13969
+ if not UtilClient.is_unset(request.enable_dns_hostname):
13970
+ query['EnableDnsHostname'] = request.enable_dns_hostname
13967
13971
  if not UtilClient.is_unset(request.enable_ipv_6):
13968
13972
  query['EnableIpv6'] = request.enable_ipv_6
13969
13973
  if not UtilClient.is_unset(request.ipv_4cidr_mask):
@@ -44973,6 +44977,8 @@ class Client(OpenApiClient):
44973
44977
  query = {}
44974
44978
  if not UtilClient.is_unset(request.description):
44975
44979
  query['Description'] = request.description
44980
+ if not UtilClient.is_unset(request.destination_cidr_block):
44981
+ query['DestinationCidrBlock'] = request.destination_cidr_block
44976
44982
  if not UtilClient.is_unset(request.new_next_hop_id):
44977
44983
  query['NewNextHopId'] = request.new_next_hop_id
44978
44984
  if not UtilClient.is_unset(request.new_next_hop_type):
@@ -44991,6 +44997,8 @@ class Client(OpenApiClient):
44991
44997
  query['RouteEntryId'] = request.route_entry_id
44992
44998
  if not UtilClient.is_unset(request.route_entry_name):
44993
44999
  query['RouteEntryName'] = request.route_entry_name
45000
+ if not UtilClient.is_unset(request.route_table_id):
45001
+ query['RouteTableId'] = request.route_table_id
44994
45002
  req = open_api_models.OpenApiRequest(
44995
45003
  query=OpenApiUtilClient.query(query)
44996
45004
  )
@@ -45028,6 +45036,8 @@ class Client(OpenApiClient):
45028
45036
  query = {}
45029
45037
  if not UtilClient.is_unset(request.description):
45030
45038
  query['Description'] = request.description
45039
+ if not UtilClient.is_unset(request.destination_cidr_block):
45040
+ query['DestinationCidrBlock'] = request.destination_cidr_block
45031
45041
  if not UtilClient.is_unset(request.new_next_hop_id):
45032
45042
  query['NewNextHopId'] = request.new_next_hop_id
45033
45043
  if not UtilClient.is_unset(request.new_next_hop_type):
@@ -45046,6 +45056,8 @@ class Client(OpenApiClient):
45046
45056
  query['RouteEntryId'] = request.route_entry_id
45047
45057
  if not UtilClient.is_unset(request.route_entry_name):
45048
45058
  query['RouteEntryName'] = request.route_entry_name
45059
+ if not UtilClient.is_unset(request.route_table_id):
45060
+ query['RouteTableId'] = request.route_table_id
45049
45061
  req = open_api_models.OpenApiRequest(
45050
45062
  query=OpenApiUtilClient.query(query)
45051
45063
  )
@@ -46960,6 +46972,8 @@ class Client(OpenApiClient):
46960
46972
  query['CidrBlock'] = request.cidr_block
46961
46973
  if not UtilClient.is_unset(request.description):
46962
46974
  query['Description'] = request.description
46975
+ if not UtilClient.is_unset(request.enable_dns_hostname):
46976
+ query['EnableDnsHostname'] = request.enable_dns_hostname
46963
46977
  if not UtilClient.is_unset(request.enable_ipv_6):
46964
46978
  query['EnableIPv6'] = request.enable_ipv_6
46965
46979
  if not UtilClient.is_unset(request.ipv_6cidr_block):
@@ -47020,6 +47034,8 @@ class Client(OpenApiClient):
47020
47034
  query['CidrBlock'] = request.cidr_block
47021
47035
  if not UtilClient.is_unset(request.description):
47022
47036
  query['Description'] = request.description
47037
+ if not UtilClient.is_unset(request.enable_dns_hostname):
47038
+ query['EnableDnsHostname'] = request.enable_dns_hostname
47023
47039
  if not UtilClient.is_unset(request.enable_ipv_6):
47024
47040
  query['EnableIPv6'] = request.enable_ipv_6
47025
47041
  if not UtilClient.is_unset(request.ipv_6cidr_block):
@@ -2133,7 +2133,7 @@ class AllocateEipSegmentAddressRequest(TeaModel):
2133
2133
  #
2134
2134
  # This parameter is required.
2135
2135
  self.eip_mask = eip_mask
2136
- # The metering method of the contiguous EIP group. Valid values:
2136
+ # The metering method of contiguous EIPs. Valid values:
2137
2137
  #
2138
2138
  # * **PayByBandwidth** (default)
2139
2139
  # * **PayByTraffic**\
@@ -20060,6 +20060,7 @@ class CreateVpcRequest(TeaModel):
20060
20060
  client_token: str = None,
20061
20061
  description: str = None,
20062
20062
  dry_run: bool = None,
20063
+ enable_dns_hostname: bool = None,
20063
20064
  enable_ipv_6: bool = None,
20064
20065
  ipv_4cidr_mask: int = None,
20065
20066
  ipv_4ipam_pool_id: str = None,
@@ -20095,6 +20096,7 @@ class CreateVpcRequest(TeaModel):
20095
20096
  # * **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 code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
20096
20097
  # * **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.
20097
20098
  self.dry_run = dry_run
20099
+ self.enable_dns_hostname = enable_dns_hostname
20098
20100
  # Specifies whether to enable IPv6. Valid values:
20099
20101
  #
20100
20102
  # * **false** (default)
@@ -20159,6 +20161,8 @@ class CreateVpcRequest(TeaModel):
20159
20161
  result['Description'] = self.description
20160
20162
  if self.dry_run is not None:
20161
20163
  result['DryRun'] = self.dry_run
20164
+ if self.enable_dns_hostname is not None:
20165
+ result['EnableDnsHostname'] = self.enable_dns_hostname
20162
20166
  if self.enable_ipv_6 is not None:
20163
20167
  result['EnableIpv6'] = self.enable_ipv_6
20164
20168
  if self.ipv_4cidr_mask is not None:
@@ -20201,6 +20205,8 @@ class CreateVpcRequest(TeaModel):
20201
20205
  self.description = m.get('Description')
20202
20206
  if m.get('DryRun') is not None:
20203
20207
  self.dry_run = m.get('DryRun')
20208
+ if m.get('EnableDnsHostname') is not None:
20209
+ self.enable_dns_hostname = m.get('EnableDnsHostname')
20204
20210
  if m.get('EnableIpv6') is not None:
20205
20211
  self.enable_ipv_6 = m.get('EnableIpv6')
20206
20212
  if m.get('Ipv4CidrMask') is not None:
@@ -58892,6 +58898,7 @@ class DescribeVpcAttributeResponseBody(TeaModel):
58892
58898
  description: str = None,
58893
58899
  dhcp_options_set_id: str = None,
58894
58900
  dhcp_options_set_status: str = None,
58901
+ dns_hostname_status: str = None,
58895
58902
  enabled_ipv_6: bool = None,
58896
58903
  ipv_4gateway_id: str = None,
58897
58904
  ipv_6cidr_block: str = None,
@@ -58939,6 +58946,7 @@ class DescribeVpcAttributeResponseBody(TeaModel):
58939
58946
  # * **Deleted**\
58940
58947
  # * **Pending**\
58941
58948
  self.dhcp_options_set_status = dhcp_options_set_status
58949
+ self.dns_hostname_status = dns_hostname_status
58942
58950
  # Indicates whether the VPC enables IPv6 .
58943
58951
  # - true
58944
58952
  # - false
@@ -59029,6 +59037,8 @@ class DescribeVpcAttributeResponseBody(TeaModel):
59029
59037
  result['DhcpOptionsSetId'] = self.dhcp_options_set_id
59030
59038
  if self.dhcp_options_set_status is not None:
59031
59039
  result['DhcpOptionsSetStatus'] = self.dhcp_options_set_status
59040
+ if self.dns_hostname_status is not None:
59041
+ result['DnsHostnameStatus'] = self.dns_hostname_status
59032
59042
  if self.enabled_ipv_6 is not None:
59033
59043
  result['EnabledIpv6'] = self.enabled_ipv_6
59034
59044
  if self.ipv_4gateway_id is not None:
@@ -59090,6 +59100,8 @@ class DescribeVpcAttributeResponseBody(TeaModel):
59090
59100
  self.dhcp_options_set_id = m.get('DhcpOptionsSetId')
59091
59101
  if m.get('DhcpOptionsSetStatus') is not None:
59092
59102
  self.dhcp_options_set_status = m.get('DhcpOptionsSetStatus')
59103
+ if m.get('DnsHostnameStatus') is not None:
59104
+ self.dns_hostname_status = m.get('DnsHostnameStatus')
59093
59105
  if m.get('EnabledIpv6') is not None:
59094
59106
  self.enabled_ipv_6 = m.get('EnabledIpv6')
59095
59107
  if m.get('Ipv4GatewayId') is not None:
@@ -59653,6 +59665,7 @@ class DescribeVpcsResponseBodyVpcsVpc(TeaModel):
59653
59665
  description: str = None,
59654
59666
  dhcp_options_set_id: str = None,
59655
59667
  dhcp_options_set_status: str = None,
59668
+ dns_hostname_status: str = None,
59656
59669
  enabled_ipv_6: bool = None,
59657
59670
  ipv_6cidr_block: str = None,
59658
59671
  ipv_6cidr_blocks: DescribeVpcsResponseBodyVpcsVpcIpv6CidrBlocks = None,
@@ -59688,6 +59701,7 @@ class DescribeVpcsResponseBodyVpcsVpc(TeaModel):
59688
59701
  # * **Deleted**\
59689
59702
  # * **Pending**\
59690
59703
  self.dhcp_options_set_status = dhcp_options_set_status
59704
+ self.dns_hostname_status = dns_hostname_status
59691
59705
  self.enabled_ipv_6 = enabled_ipv_6
59692
59706
  # The IPv6 CIDR block of the VPC.
59693
59707
  self.ipv_6cidr_block = ipv_6cidr_block
@@ -59764,6 +59778,8 @@ class DescribeVpcsResponseBodyVpcsVpc(TeaModel):
59764
59778
  result['DhcpOptionsSetId'] = self.dhcp_options_set_id
59765
59779
  if self.dhcp_options_set_status is not None:
59766
59780
  result['DhcpOptionsSetStatus'] = self.dhcp_options_set_status
59781
+ if self.dns_hostname_status is not None:
59782
+ result['DnsHostnameStatus'] = self.dns_hostname_status
59767
59783
  if self.enabled_ipv_6 is not None:
59768
59784
  result['EnabledIpv6'] = self.enabled_ipv_6
59769
59785
  if self.ipv_6cidr_block is not None:
@@ -59814,6 +59830,8 @@ class DescribeVpcsResponseBodyVpcsVpc(TeaModel):
59814
59830
  self.dhcp_options_set_id = m.get('DhcpOptionsSetId')
59815
59831
  if m.get('DhcpOptionsSetStatus') is not None:
59816
59832
  self.dhcp_options_set_status = m.get('DhcpOptionsSetStatus')
59833
+ if m.get('DnsHostnameStatus') is not None:
59834
+ self.dns_hostname_status = m.get('DnsHostnameStatus')
59817
59835
  if m.get('EnabledIpv6') is not None:
59818
59836
  self.enabled_ipv_6 = m.get('EnabledIpv6')
59819
59837
  if m.get('Ipv6CidrBlock') is not None:
@@ -86943,6 +86961,7 @@ class ModifyRouteEntryRequest(TeaModel):
86943
86961
  def __init__(
86944
86962
  self,
86945
86963
  description: str = None,
86964
+ destination_cidr_block: str = None,
86946
86965
  new_next_hop_id: str = None,
86947
86966
  new_next_hop_type: str = None,
86948
86967
  owner_account: str = None,
@@ -86952,11 +86971,13 @@ class ModifyRouteEntryRequest(TeaModel):
86952
86971
  resource_owner_id: int = None,
86953
86972
  route_entry_id: str = None,
86954
86973
  route_entry_name: str = None,
86974
+ route_table_id: str = None,
86955
86975
  ):
86956
86976
  # The description of the route entry.
86957
86977
  #
86958
86978
  # The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
86959
86979
  self.description = description
86980
+ self.destination_cidr_block = destination_cidr_block
86960
86981
  # The ID of the new next hop instance.
86961
86982
  self.new_next_hop_id = new_next_hop_id
86962
86983
  # The new next hop type of the route.
@@ -86972,13 +86993,12 @@ class ModifyRouteEntryRequest(TeaModel):
86972
86993
  self.resource_owner_account = resource_owner_account
86973
86994
  self.resource_owner_id = resource_owner_id
86974
86995
  # The ID of the custom route entry.
86975
- #
86976
- # This parameter is required.
86977
86996
  self.route_entry_id = route_entry_id
86978
86997
  # The name of the route entry.
86979
86998
  #
86980
86999
  # The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
86981
87000
  self.route_entry_name = route_entry_name
87001
+ self.route_table_id = route_table_id
86982
87002
 
86983
87003
  def validate(self):
86984
87004
  pass
@@ -86991,6 +87011,8 @@ class ModifyRouteEntryRequest(TeaModel):
86991
87011
  result = dict()
86992
87012
  if self.description is not None:
86993
87013
  result['Description'] = self.description
87014
+ if self.destination_cidr_block is not None:
87015
+ result['DestinationCidrBlock'] = self.destination_cidr_block
86994
87016
  if self.new_next_hop_id is not None:
86995
87017
  result['NewNextHopId'] = self.new_next_hop_id
86996
87018
  if self.new_next_hop_type is not None:
@@ -87009,12 +87031,16 @@ class ModifyRouteEntryRequest(TeaModel):
87009
87031
  result['RouteEntryId'] = self.route_entry_id
87010
87032
  if self.route_entry_name is not None:
87011
87033
  result['RouteEntryName'] = self.route_entry_name
87034
+ if self.route_table_id is not None:
87035
+ result['RouteTableId'] = self.route_table_id
87012
87036
  return result
87013
87037
 
87014
87038
  def from_map(self, m: dict = None):
87015
87039
  m = m or dict()
87016
87040
  if m.get('Description') is not None:
87017
87041
  self.description = m.get('Description')
87042
+ if m.get('DestinationCidrBlock') is not None:
87043
+ self.destination_cidr_block = m.get('DestinationCidrBlock')
87018
87044
  if m.get('NewNextHopId') is not None:
87019
87045
  self.new_next_hop_id = m.get('NewNextHopId')
87020
87046
  if m.get('NewNextHopType') is not None:
@@ -87033,6 +87059,8 @@ class ModifyRouteEntryRequest(TeaModel):
87033
87059
  self.route_entry_id = m.get('RouteEntryId')
87034
87060
  if m.get('RouteEntryName') is not None:
87035
87061
  self.route_entry_name = m.get('RouteEntryName')
87062
+ if m.get('RouteTableId') is not None:
87063
+ self.route_table_id = m.get('RouteTableId')
87036
87064
  return self
87037
87065
 
87038
87066
 
@@ -90130,6 +90158,7 @@ class ModifyVpcAttributeRequest(TeaModel):
90130
90158
  self,
90131
90159
  cidr_block: str = None,
90132
90160
  description: str = None,
90161
+ enable_dns_hostname: bool = None,
90133
90162
  enable_ipv_6: bool = None,
90134
90163
  ipv_6cidr_block: str = None,
90135
90164
  ipv_6isp: str = None,
@@ -90151,6 +90180,7 @@ class ModifyVpcAttributeRequest(TeaModel):
90151
90180
  #
90152
90181
  # The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
90153
90182
  self.description = description
90183
+ self.enable_dns_hostname = enable_dns_hostname
90154
90184
  # Specifies whether to enable IPv6 CIDR blocks. Valid values:
90155
90185
  #
90156
90186
  # * **true**\
@@ -90197,6 +90227,8 @@ class ModifyVpcAttributeRequest(TeaModel):
90197
90227
  result['CidrBlock'] = self.cidr_block
90198
90228
  if self.description is not None:
90199
90229
  result['Description'] = self.description
90230
+ if self.enable_dns_hostname is not None:
90231
+ result['EnableDnsHostname'] = self.enable_dns_hostname
90200
90232
  if self.enable_ipv_6 is not None:
90201
90233
  result['EnableIPv6'] = self.enable_ipv_6
90202
90234
  if self.ipv_6cidr_block is not None:
@@ -90225,6 +90257,8 @@ class ModifyVpcAttributeRequest(TeaModel):
90225
90257
  self.cidr_block = m.get('CidrBlock')
90226
90258
  if m.get('Description') is not None:
90227
90259
  self.description = m.get('Description')
90260
+ if m.get('EnableDnsHostname') is not None:
90261
+ self.enable_dns_hostname = m.get('EnableDnsHostname')
90228
90262
  if m.get('EnableIPv6') is not None:
90229
90263
  self.enable_ipv_6 = m.get('EnableIPv6')
90230
90264
  if m.get('Ipv6CidrBlock') is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-vpc20160428
3
- Version: 6.9.0
3
+ Version: 6.9.2
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
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_vpc20160428.
26
26
 
27
- Created on 19/08/2024
27
+ Created on 29/08/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '6.9.0'