tencentcloud-sdk-python-vpc 3.0.1491__tar.gz → 3.1.8__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. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/setup.py +2 -1
  3. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  5. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/vpc/v20170312/models.py +243 -44
  6. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/vpc/v20170312/vpc_client.py +1 -1
  7. tencentcloud_sdk_python_vpc-3.1.8/tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
  8. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  9. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +1 -0
  10. tencentcloud_sdk_python_vpc-3.1.8/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  11. tencentcloud_sdk_python_vpc-3.0.1491/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  12. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/README.rst +0 -0
  13. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/setup.cfg +0 -0
  14. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/vpc/__init__.py +0 -0
  15. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  16. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_vpc-3.0.1491 → tencentcloud_sdk_python_vpc-3.1.8}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1491
3
+ Version: 3.1.8
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.8
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-vpc',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1491,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.8,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Vpc SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1491'
17
+ __version__ = '3.1.8'
@@ -1136,6 +1136,9 @@ UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTE = 'UnsupportedOperation.NatGatewayHaveR
1136
1136
  # NAT网关存在路由和最近流量“出/入带宽”峰值取大超过检测带宽阈值。
1137
1137
  UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTEANDHIGHTRAFFIC = 'UnsupportedOperation.NatGatewayHaveRouteAndHighTraffic'
1138
1138
 
1139
+ # NAT实例当前负载较高,请稍后重试
1140
+ UNSUPPORTEDOPERATION_NATGATEWAYISBUSY = 'UnsupportedOperation.NatGatewayIsBusy'
1141
+
1139
1142
  # NAT网关已被封禁,不支持此操作。
1140
1143
  UNSUPPORTEDOPERATION_NATGATEWAYRESTRICTED = 'UnsupportedOperation.NatGatewayRestricted'
1141
1144
 
@@ -1896,6 +1896,9 @@ class AllocateAddressesRequest(AbstractModel):
1896
1896
  <li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li></ul>默认值:TRAFFIC_POSTPAID_BY_HOUR。</li>
1897
1897
  <li>传统账户类型,无需传递此参数,EIP计费方式与其绑定的实例的计费方式一致,无需传递此参数。</li></ul>
1898
1898
  :type InternetChargeType: str
1899
+ :param _IPChargeType: IP 资源计费模式,当前仅支持原生 IP。
1900
+ <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul><li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li><li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li></ul></li></ul>
1901
+ :type IPChargeType: str
1899
1902
  :param _InternetMaxBandwidthOut: EIP出带宽上限,单位:Mbps。
1900
1903
  <ul style="margin:0"><li>标准账户类型EIP出带宽上限,可选值范围取决于EIP计费方式:<ul><li>BANDWIDTH_PACKAGE:1 Mbps 至 2000 Mbps</li>
1901
1904
  <li>BANDWIDTH_POSTPAID_BY_HOUR:1 Mbps 至 100 Mbps</li>
@@ -1909,7 +1912,9 @@ class AllocateAddressesRequest(AbstractModel):
1909
1912
  <li>EIP:弹性公网 IP。 </li>
1910
1913
  <li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>
1911
1914
  <li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
1912
- <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
1915
+ <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP。</li>
1916
+ <li>ResidentialEIP:原生 IP。仅部分地域支持原生IP。</li>
1917
+ 关于弹性公网 IP 支持的 IP 类型,请见[产品概述](https://cloud.tencent.com/document/product/1199/41646)。
1913
1918
  :type AddressType: str
1914
1919
  :param _AnycastZone: Anycast发布域。
1915
1920
  <ul style="margin:0"><li>已开通Anycast公网加速白名单的用户,可选值:<ul><li>ANYCAST_ZONE_GLOBAL:全球发布域(需要额外开通Anycast全球加速白名单)</li><li>ANYCAST_ZONE_OVERSEAS:境外发布域</li></ul>默认值:ANYCAST_ZONE_OVERSEAS。</li></ul>
@@ -1941,17 +1946,11 @@ AnycastEIP是否用于绑定负载均衡。
1941
1946
  :type AntiDDoSPackageId: str
1942
1947
  :param _ClientToken: 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。
1943
1948
  :type ClientToken: str
1944
- :param _IPChargeType: 原生EIP IP资源的计费方式。
1945
- <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
1946
- <li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
1947
- <li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
1948
- </ul></li>
1949
- </ul>
1950
- :type IPChargeType: str
1951
1949
  """
1952
1950
  self._AddressCount = None
1953
1951
  self._InternetServiceProvider = None
1954
1952
  self._InternetChargeType = None
1953
+ self._IPChargeType = None
1955
1954
  self._InternetMaxBandwidthOut = None
1956
1955
  self._AddressChargePrepaid = None
1957
1956
  self._AddressType = None
@@ -1966,7 +1965,6 @@ AnycastEIP是否用于绑定负载均衡。
1966
1965
  self._Egress = None
1967
1966
  self._AntiDDoSPackageId = None
1968
1967
  self._ClientToken = None
1969
- self._IPChargeType = None
1970
1968
 
1971
1969
  @property
1972
1970
  def AddressCount(self):
@@ -2011,6 +2009,18 @@ AnycastEIP是否用于绑定负载均衡。
2011
2009
  def InternetChargeType(self, InternetChargeType):
2012
2010
  self._InternetChargeType = InternetChargeType
2013
2011
 
2012
+ @property
2013
+ def IPChargeType(self):
2014
+ r"""IP 资源计费模式,当前仅支持原生 IP。
2015
+ <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul><li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li><li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li></ul></li></ul>
2016
+ :rtype: str
2017
+ """
2018
+ return self._IPChargeType
2019
+
2020
+ @IPChargeType.setter
2021
+ def IPChargeType(self, IPChargeType):
2022
+ self._IPChargeType = IPChargeType
2023
+
2014
2024
  @property
2015
2025
  def InternetMaxBandwidthOut(self):
2016
2026
  r"""EIP出带宽上限,单位:Mbps。
@@ -2044,7 +2054,9 @@ AnycastEIP是否用于绑定负载均衡。
2044
2054
  <li>EIP:弹性公网 IP。 </li>
2045
2055
  <li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>
2046
2056
  <li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
2047
- <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>
2057
+ <li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP。</li>
2058
+ <li>ResidentialEIP:原生 IP。仅部分地域支持原生IP。</li>
2059
+ 关于弹性公网 IP 支持的 IP 类型,请见[产品概述](https://cloud.tencent.com/document/product/1199/41646)。
2048
2060
  :rtype: str
2049
2061
  """
2050
2062
  return self._AddressType
@@ -2186,27 +2198,12 @@ AnycastEIP是否用于绑定负载均衡。
2186
2198
  def ClientToken(self, ClientToken):
2187
2199
  self._ClientToken = ClientToken
2188
2200
 
2189
- @property
2190
- def IPChargeType(self):
2191
- r"""原生EIP IP资源的计费方式。
2192
- <ul style="margin:0"><li>账号为标准账户类型的用户,可选值:<ul>
2193
- <li>IP_POSTPAID_BY_HOUR:IP资源按小时后付费</li>
2194
- <li>IP_PREPAID_BY_MONTH:IP资源包月预付费</li>
2195
- </ul></li>
2196
- </ul>
2197
- :rtype: str
2198
- """
2199
- return self._IPChargeType
2200
-
2201
- @IPChargeType.setter
2202
- def IPChargeType(self, IPChargeType):
2203
- self._IPChargeType = IPChargeType
2204
-
2205
2201
 
2206
2202
  def _deserialize(self, params):
2207
2203
  self._AddressCount = params.get("AddressCount")
2208
2204
  self._InternetServiceProvider = params.get("InternetServiceProvider")
2209
2205
  self._InternetChargeType = params.get("InternetChargeType")
2206
+ self._IPChargeType = params.get("IPChargeType")
2210
2207
  self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
2211
2208
  if params.get("AddressChargePrepaid") is not None:
2212
2209
  self._AddressChargePrepaid = AddressChargePrepaid()
@@ -2228,7 +2225,6 @@ AnycastEIP是否用于绑定负载均衡。
2228
2225
  self._Egress = params.get("Egress")
2229
2226
  self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
2230
2227
  self._ClientToken = params.get("ClientToken")
2231
- self._IPChargeType = params.get("IPChargeType")
2232
2228
  memeber_set = set(params.keys())
2233
2229
  for name, value in vars(self).items():
2234
2230
  property_name = name[1:]
@@ -5434,8 +5430,12 @@ class CCN(AbstractModel):
5434
5430
  :type Ipv6Flag: bool
5435
5431
  :param _MrtbAggregatePolicyFlag: 是否支持路由表聚合策略
5436
5432
  :type MrtbAggregatePolicyFlag: bool
5437
- :param _MrtbPolicyValueFlag: 是否支持策略值
5433
+ :param _MrtbPolicyValueFlag: 是否支持AsPath策略值
5438
5434
  :type MrtbPolicyValueFlag: bool
5435
+ :param _RouteTablePolicyValueCommunityFlag: 是否支持Community策略值
5436
+ :type RouteTablePolicyValueCommunityFlag: bool
5437
+ :param _PolicyBasedRoutingFlag: 是否支持策略路由
5438
+ :type PolicyBasedRoutingFlag: bool
5439
5439
  """
5440
5440
  self._CcnId = None
5441
5441
  self._CcnName = None
@@ -5460,6 +5460,8 @@ class CCN(AbstractModel):
5460
5460
  self._Ipv6Flag = None
5461
5461
  self._MrtbAggregatePolicyFlag = None
5462
5462
  self._MrtbPolicyValueFlag = None
5463
+ self._RouteTablePolicyValueCommunityFlag = None
5464
+ self._PolicyBasedRoutingFlag = None
5463
5465
 
5464
5466
  @property
5465
5467
  def CcnId(self):
@@ -5705,7 +5707,7 @@ class CCN(AbstractModel):
5705
5707
 
5706
5708
  @property
5707
5709
  def MrtbPolicyValueFlag(self):
5708
- r"""是否支持策略值
5710
+ r"""是否支持AsPath策略值
5709
5711
  :rtype: bool
5710
5712
  """
5711
5713
  return self._MrtbPolicyValueFlag
@@ -5714,6 +5716,28 @@ class CCN(AbstractModel):
5714
5716
  def MrtbPolicyValueFlag(self, MrtbPolicyValueFlag):
5715
5717
  self._MrtbPolicyValueFlag = MrtbPolicyValueFlag
5716
5718
 
5719
+ @property
5720
+ def RouteTablePolicyValueCommunityFlag(self):
5721
+ r"""是否支持Community策略值
5722
+ :rtype: bool
5723
+ """
5724
+ return self._RouteTablePolicyValueCommunityFlag
5725
+
5726
+ @RouteTablePolicyValueCommunityFlag.setter
5727
+ def RouteTablePolicyValueCommunityFlag(self, RouteTablePolicyValueCommunityFlag):
5728
+ self._RouteTablePolicyValueCommunityFlag = RouteTablePolicyValueCommunityFlag
5729
+
5730
+ @property
5731
+ def PolicyBasedRoutingFlag(self):
5732
+ r"""是否支持策略路由
5733
+ :rtype: bool
5734
+ """
5735
+ return self._PolicyBasedRoutingFlag
5736
+
5737
+ @PolicyBasedRoutingFlag.setter
5738
+ def PolicyBasedRoutingFlag(self, PolicyBasedRoutingFlag):
5739
+ self._PolicyBasedRoutingFlag = PolicyBasedRoutingFlag
5740
+
5717
5741
 
5718
5742
  def _deserialize(self, params):
5719
5743
  self._CcnId = params.get("CcnId")
@@ -5744,6 +5768,8 @@ class CCN(AbstractModel):
5744
5768
  self._Ipv6Flag = params.get("Ipv6Flag")
5745
5769
  self._MrtbAggregatePolicyFlag = params.get("MrtbAggregatePolicyFlag")
5746
5770
  self._MrtbPolicyValueFlag = params.get("MrtbPolicyValueFlag")
5771
+ self._RouteTablePolicyValueCommunityFlag = params.get("RouteTablePolicyValueCommunityFlag")
5772
+ self._PolicyBasedRoutingFlag = params.get("PolicyBasedRoutingFlag")
5747
5773
  memeber_set = set(params.keys())
5748
5774
  for name, value in vars(self).items():
5749
5775
  property_name = name[1:]
@@ -8925,6 +8951,72 @@ class ConflictSource(AbstractModel):
8925
8951
 
8926
8952
 
8927
8953
 
8954
+ class ConnectionStateTimeouts(AbstractModel):
8955
+ r"""NAT网关超时时间
8956
+
8957
+ """
8958
+
8959
+ def __init__(self):
8960
+ r"""
8961
+ :param _UDPMappingTimeout: UDP映射空闲时间,指多少秒以后UDP流停止向端点发送。取值范围为:3-7200秒,默认为10秒。
8962
+ :type UDPMappingTimeout: int
8963
+ :param _TCPEstablishedConnectionTimeout: TCP已建立的连接空闲超时,指多少秒以后连接变为空闲状态。取值范围为:40-10800秒,默认为10800秒。
8964
+ :type TCPEstablishedConnectionTimeout: int
8965
+ :param _TcpTimeWaitTimeout: TCP TIME_WAIT超时,指完全关闭的TCP连接在到期后保留在NAT映射中的秒数。取值范围为:10-600秒,默认为120秒。
8966
+ :type TcpTimeWaitTimeout: int
8967
+ """
8968
+ self._UDPMappingTimeout = None
8969
+ self._TCPEstablishedConnectionTimeout = None
8970
+ self._TcpTimeWaitTimeout = None
8971
+
8972
+ @property
8973
+ def UDPMappingTimeout(self):
8974
+ r"""UDP映射空闲时间,指多少秒以后UDP流停止向端点发送。取值范围为:3-7200秒,默认为10秒。
8975
+ :rtype: int
8976
+ """
8977
+ return self._UDPMappingTimeout
8978
+
8979
+ @UDPMappingTimeout.setter
8980
+ def UDPMappingTimeout(self, UDPMappingTimeout):
8981
+ self._UDPMappingTimeout = UDPMappingTimeout
8982
+
8983
+ @property
8984
+ def TCPEstablishedConnectionTimeout(self):
8985
+ r"""TCP已建立的连接空闲超时,指多少秒以后连接变为空闲状态。取值范围为:40-10800秒,默认为10800秒。
8986
+ :rtype: int
8987
+ """
8988
+ return self._TCPEstablishedConnectionTimeout
8989
+
8990
+ @TCPEstablishedConnectionTimeout.setter
8991
+ def TCPEstablishedConnectionTimeout(self, TCPEstablishedConnectionTimeout):
8992
+ self._TCPEstablishedConnectionTimeout = TCPEstablishedConnectionTimeout
8993
+
8994
+ @property
8995
+ def TcpTimeWaitTimeout(self):
8996
+ r"""TCP TIME_WAIT超时,指完全关闭的TCP连接在到期后保留在NAT映射中的秒数。取值范围为:10-600秒,默认为120秒。
8997
+ :rtype: int
8998
+ """
8999
+ return self._TcpTimeWaitTimeout
9000
+
9001
+ @TcpTimeWaitTimeout.setter
9002
+ def TcpTimeWaitTimeout(self, TcpTimeWaitTimeout):
9003
+ self._TcpTimeWaitTimeout = TcpTimeWaitTimeout
9004
+
9005
+
9006
+ def _deserialize(self, params):
9007
+ self._UDPMappingTimeout = params.get("UDPMappingTimeout")
9008
+ self._TCPEstablishedConnectionTimeout = params.get("TCPEstablishedConnectionTimeout")
9009
+ self._TcpTimeWaitTimeout = params.get("TcpTimeWaitTimeout")
9010
+ memeber_set = set(params.keys())
9011
+ for name, value in vars(self).items():
9012
+ property_name = name[1:]
9013
+ if property_name in memeber_set:
9014
+ memeber_set.remove(property_name)
9015
+ if len(memeber_set) > 0:
9016
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9017
+
9018
+
9019
+
8928
9020
  class CreateAddressTemplateGroupRequest(AbstractModel):
8929
9021
  r"""CreateAddressTemplateGroup请求参数结构体
8930
9022
 
@@ -12025,6 +12117,8 @@ class CreateNatGatewayRequest(AbstractModel):
12025
12117
  :type NatProductVersion: int
12026
12118
  :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
12027
12119
  :type DeletionProtectionEnabled: bool
12120
+ :param _ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
12121
+ :type ExclusiveType: str
12028
12122
  """
12029
12123
  self._NatGatewayName = None
12030
12124
  self._VpcId = None
@@ -12040,6 +12134,7 @@ class CreateNatGatewayRequest(AbstractModel):
12040
12134
  self._PublicIpFromSameZone = None
12041
12135
  self._NatProductVersion = None
12042
12136
  self._DeletionProtectionEnabled = None
12137
+ self._ExclusiveType = None
12043
12138
 
12044
12139
  @property
12045
12140
  def NatGatewayName(self):
@@ -12199,6 +12294,17 @@ class CreateNatGatewayRequest(AbstractModel):
12199
12294
  def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
12200
12295
  self._DeletionProtectionEnabled = DeletionProtectionEnabled
12201
12296
 
12297
+ @property
12298
+ def ExclusiveType(self):
12299
+ r"""独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
12300
+ :rtype: str
12301
+ """
12302
+ return self._ExclusiveType
12303
+
12304
+ @ExclusiveType.setter
12305
+ def ExclusiveType(self, ExclusiveType):
12306
+ self._ExclusiveType = ExclusiveType
12307
+
12202
12308
 
12203
12309
  def _deserialize(self, params):
12204
12310
  self._NatGatewayName = params.get("NatGatewayName")
@@ -12220,6 +12326,7 @@ class CreateNatGatewayRequest(AbstractModel):
12220
12326
  self._PublicIpFromSameZone = params.get("PublicIpFromSameZone")
12221
12327
  self._NatProductVersion = params.get("NatProductVersion")
12222
12328
  self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
12329
+ self._ExclusiveType = params.get("ExclusiveType")
12223
12330
  memeber_set = set(params.keys())
12224
12331
  for name, value in vars(self).items():
12225
12332
  property_name = name[1:]
@@ -16519,6 +16626,8 @@ class CreateVpcRequest(AbstractModel):
16519
16626
  :type Tags: list of Tag
16520
16627
  :param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
16521
16628
  :type EnableRouteVpcPublish: bool
16629
+ :param _EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
16630
+ :type EnableRouteVpcPublishIpv6: bool
16522
16631
  """
16523
16632
  self._VpcName = None
16524
16633
  self._CidrBlock = None
@@ -16527,6 +16636,7 @@ class CreateVpcRequest(AbstractModel):
16527
16636
  self._DomainName = None
16528
16637
  self._Tags = None
16529
16638
  self._EnableRouteVpcPublish = None
16639
+ self._EnableRouteVpcPublishIpv6 = None
16530
16640
 
16531
16641
  @property
16532
16642
  def VpcName(self):
@@ -16605,6 +16715,17 @@ class CreateVpcRequest(AbstractModel):
16605
16715
  def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
16606
16716
  self._EnableRouteVpcPublish = EnableRouteVpcPublish
16607
16717
 
16718
+ @property
16719
+ def EnableRouteVpcPublishIpv6(self):
16720
+ r"""vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
16721
+ :rtype: bool
16722
+ """
16723
+ return self._EnableRouteVpcPublishIpv6
16724
+
16725
+ @EnableRouteVpcPublishIpv6.setter
16726
+ def EnableRouteVpcPublishIpv6(self, EnableRouteVpcPublishIpv6):
16727
+ self._EnableRouteVpcPublishIpv6 = EnableRouteVpcPublishIpv6
16728
+
16608
16729
 
16609
16730
  def _deserialize(self, params):
16610
16731
  self._VpcName = params.get("VpcName")
@@ -16619,6 +16740,7 @@ class CreateVpcRequest(AbstractModel):
16619
16740
  obj._deserialize(item)
16620
16741
  self._Tags.append(obj)
16621
16742
  self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
16743
+ self._EnableRouteVpcPublishIpv6 = params.get("EnableRouteVpcPublishIpv6")
16622
16744
  memeber_set = set(params.keys())
16623
16745
  for name, value in vars(self).items():
16624
16746
  property_name = name[1:]
@@ -54969,6 +55091,8 @@ class ModifyVpcAttributeRequest(AbstractModel):
54969
55091
  :type EnableRouteVpcPublish: bool
54970
55092
  :param _EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
54971
55093
  :type EnableCdcPublish: bool
55094
+ :param _EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
55095
+ :type EnableRouteVpcPublishIpv6: bool
54972
55096
  """
54973
55097
  self._VpcId = None
54974
55098
  self._VpcName = None
@@ -54977,6 +55101,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
54977
55101
  self._DomainName = None
54978
55102
  self._EnableRouteVpcPublish = None
54979
55103
  self._EnableCdcPublish = None
55104
+ self._EnableRouteVpcPublishIpv6 = None
54980
55105
 
54981
55106
  @property
54982
55107
  def VpcId(self):
@@ -55055,6 +55180,17 @@ class ModifyVpcAttributeRequest(AbstractModel):
55055
55180
  def EnableCdcPublish(self, EnableCdcPublish):
55056
55181
  self._EnableCdcPublish = EnableCdcPublish
55057
55182
 
55183
+ @property
55184
+ def EnableRouteVpcPublishIpv6(self):
55185
+ r"""vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
55186
+ :rtype: bool
55187
+ """
55188
+ return self._EnableRouteVpcPublishIpv6
55189
+
55190
+ @EnableRouteVpcPublishIpv6.setter
55191
+ def EnableRouteVpcPublishIpv6(self, EnableRouteVpcPublishIpv6):
55192
+ self._EnableRouteVpcPublishIpv6 = EnableRouteVpcPublishIpv6
55193
+
55058
55194
 
55059
55195
  def _deserialize(self, params):
55060
55196
  self._VpcId = params.get("VpcId")
@@ -55064,6 +55200,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
55064
55200
  self._DomainName = params.get("DomainName")
55065
55201
  self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
55066
55202
  self._EnableCdcPublish = params.get("EnableCdcPublish")
55203
+ self._EnableRouteVpcPublishIpv6 = params.get("EnableRouteVpcPublishIpv6")
55067
55204
  memeber_set = set(params.keys())
55068
55205
  for name, value in vars(self).items():
55069
55206
  property_name = name[1:]
@@ -56638,6 +56775,10 @@ class NatGateway(AbstractModel):
56638
56775
  :type DedicatedClusterId: str
56639
56776
  :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
56640
56777
  :type DeletionProtectionEnabled: bool
56778
+ :param _ConnectionStateTimeouts: NAT实例连接超时时间
56779
+ :type ConnectionStateTimeouts: :class:`tencentcloud.vpc.v20170312.models.ConnectionStateTimeouts`
56780
+ :param _ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
56781
+ :type ExclusiveType: str
56641
56782
  """
56642
56783
  self._NatGatewayId = None
56643
56784
  self._NatGatewayName = None
@@ -56662,6 +56803,8 @@ class NatGateway(AbstractModel):
56662
56803
  self._SmartScheduleMode = None
56663
56804
  self._DedicatedClusterId = None
56664
56805
  self._DeletionProtectionEnabled = None
56806
+ self._ConnectionStateTimeouts = None
56807
+ self._ExclusiveType = None
56665
56808
 
56666
56809
  @property
56667
56810
  def NatGatewayId(self):
@@ -56918,6 +57061,28 @@ class NatGateway(AbstractModel):
56918
57061
  def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
56919
57062
  self._DeletionProtectionEnabled = DeletionProtectionEnabled
56920
57063
 
57064
+ @property
57065
+ def ConnectionStateTimeouts(self):
57066
+ r"""NAT实例连接超时时间
57067
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.ConnectionStateTimeouts`
57068
+ """
57069
+ return self._ConnectionStateTimeouts
57070
+
57071
+ @ConnectionStateTimeouts.setter
57072
+ def ConnectionStateTimeouts(self, ConnectionStateTimeouts):
57073
+ self._ConnectionStateTimeouts = ConnectionStateTimeouts
57074
+
57075
+ @property
57076
+ def ExclusiveType(self):
57077
+ r"""独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
57078
+ :rtype: str
57079
+ """
57080
+ return self._ExclusiveType
57081
+
57082
+ @ExclusiveType.setter
57083
+ def ExclusiveType(self, ExclusiveType):
57084
+ self._ExclusiveType = ExclusiveType
57085
+
56921
57086
 
56922
57087
  def _deserialize(self, params):
56923
57088
  self._NatGatewayId = params.get("NatGatewayId")
@@ -56963,6 +57128,10 @@ class NatGateway(AbstractModel):
56963
57128
  self._SmartScheduleMode = params.get("SmartScheduleMode")
56964
57129
  self._DedicatedClusterId = params.get("DedicatedClusterId")
56965
57130
  self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
57131
+ if params.get("ConnectionStateTimeouts") is not None:
57132
+ self._ConnectionStateTimeouts = ConnectionStateTimeouts()
57133
+ self._ConnectionStateTimeouts._deserialize(params.get("ConnectionStateTimeouts"))
57134
+ self._ExclusiveType = params.get("ExclusiveType")
56966
57135
  memeber_set = set(params.keys())
56967
57136
  for name, value in vars(self).items():
56968
57137
  property_name = name[1:]
@@ -62659,9 +62828,12 @@ class ResetNatGatewayConnectionRequest(AbstractModel):
62659
62828
  :type NatGatewayId: str
62660
62829
  :param _MaxConcurrentConnection: NAT网关并发连接上限,形如:1000000、3000000、10000000。
62661
62830
  :type MaxConcurrentConnection: int
62831
+ :param _ExclusiveType: 独享实例规格。如果要变配到独享实例,此参数必选,取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
62832
+ :type ExclusiveType: str
62662
62833
  """
62663
62834
  self._NatGatewayId = None
62664
62835
  self._MaxConcurrentConnection = None
62836
+ self._ExclusiveType = None
62665
62837
 
62666
62838
  @property
62667
62839
  def NatGatewayId(self):
@@ -62685,10 +62857,22 @@ class ResetNatGatewayConnectionRequest(AbstractModel):
62685
62857
  def MaxConcurrentConnection(self, MaxConcurrentConnection):
62686
62858
  self._MaxConcurrentConnection = MaxConcurrentConnection
62687
62859
 
62860
+ @property
62861
+ def ExclusiveType(self):
62862
+ r"""独享实例规格。如果要变配到独享实例,此参数必选,取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
62863
+ :rtype: str
62864
+ """
62865
+ return self._ExclusiveType
62866
+
62867
+ @ExclusiveType.setter
62868
+ def ExclusiveType(self, ExclusiveType):
62869
+ self._ExclusiveType = ExclusiveType
62870
+
62688
62871
 
62689
62872
  def _deserialize(self, params):
62690
62873
  self._NatGatewayId = params.get("NatGatewayId")
62691
62874
  self._MaxConcurrentConnection = params.get("MaxConcurrentConnection")
62875
+ self._ExclusiveType = params.get("ExclusiveType")
62692
62876
  memeber_set = set(params.keys())
62693
62877
  for name, value in vars(self).items():
62694
62878
  property_name = name[1:]
@@ -69788,12 +69972,12 @@ class TranslationAclRule(AbstractModel):
69788
69972
  :type Protocol: str
69789
69973
  :param _SourcePort: 源端口。
69790
69974
  :type SourcePort: str
69791
- :param _SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
69792
- :type SourceCidr: str
69793
69975
  :param _DestinationPort: 目的端口。
69794
69976
  :type DestinationPort: str
69795
69977
  :param _DestinationCidr: 目的地址。
69796
69978
  :type DestinationCidr: str
69979
+ :param _SourceCidr: 源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
69980
+ :type SourceCidr: str
69797
69981
  :param _AclRuleId: ACL规则`ID`。
69798
69982
  :type AclRuleId: int
69799
69983
  :param _Action: 是否匹配。
@@ -69803,9 +69987,9 @@ class TranslationAclRule(AbstractModel):
69803
69987
  """
69804
69988
  self._Protocol = None
69805
69989
  self._SourcePort = None
69806
- self._SourceCidr = None
69807
69990
  self._DestinationPort = None
69808
69991
  self._DestinationCidr = None
69992
+ self._SourceCidr = None
69809
69993
  self._AclRuleId = None
69810
69994
  self._Action = None
69811
69995
  self._Description = None
@@ -69832,17 +70016,6 @@ class TranslationAclRule(AbstractModel):
69832
70016
  def SourcePort(self, SourcePort):
69833
70017
  self._SourcePort = SourcePort
69834
70018
 
69835
- @property
69836
- def SourceCidr(self):
69837
- r"""源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
69838
- :rtype: str
69839
- """
69840
- return self._SourceCidr
69841
-
69842
- @SourceCidr.setter
69843
- def SourceCidr(self, SourceCidr):
69844
- self._SourceCidr = SourceCidr
69845
-
69846
70019
  @property
69847
70020
  def DestinationPort(self):
69848
70021
  r"""目的端口。
@@ -69865,6 +70038,17 @@ class TranslationAclRule(AbstractModel):
69865
70038
  def DestinationCidr(self, DestinationCidr):
69866
70039
  self._DestinationCidr = DestinationCidr
69867
70040
 
70041
+ @property
70042
+ def SourceCidr(self):
70043
+ r"""源地址。支持`ip`或`cidr`格式"xxx.xxx.xxx.000/xx"
70044
+ :rtype: str
70045
+ """
70046
+ return self._SourceCidr
70047
+
70048
+ @SourceCidr.setter
70049
+ def SourceCidr(self, SourceCidr):
70050
+ self._SourceCidr = SourceCidr
70051
+
69868
70052
  @property
69869
70053
  def AclRuleId(self):
69870
70054
  r"""ACL规则`ID`。
@@ -69902,9 +70086,9 @@ class TranslationAclRule(AbstractModel):
69902
70086
  def _deserialize(self, params):
69903
70087
  self._Protocol = params.get("Protocol")
69904
70088
  self._SourcePort = params.get("SourcePort")
69905
- self._SourceCidr = params.get("SourceCidr")
69906
70089
  self._DestinationPort = params.get("DestinationPort")
69907
70090
  self._DestinationCidr = params.get("DestinationCidr")
70091
+ self._SourceCidr = params.get("SourceCidr")
69908
70092
  self._AclRuleId = params.get("AclRuleId")
69909
70093
  self._Action = params.get("Action")
69910
70094
  self._Description = params.get("Description")
@@ -71145,6 +71329,8 @@ class Vpc(AbstractModel):
71145
71329
  :type EnableRouteVpcPublish: bool
71146
71330
  :param _Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
71147
71331
  :type Ipv6CidrBlockSet: list of ISPIPv6CidrBlock
71332
+ :param _EnableRouteVpcPublishIpv6: vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
71333
+ :type EnableRouteVpcPublishIpv6: bool
71148
71334
  """
71149
71335
  self._VpcName = None
71150
71336
  self._VpcId = None
@@ -71161,6 +71347,7 @@ class Vpc(AbstractModel):
71161
71347
  self._AssistantCidrSet = None
71162
71348
  self._EnableRouteVpcPublish = None
71163
71349
  self._Ipv6CidrBlockSet = None
71350
+ self._EnableRouteVpcPublishIpv6 = None
71164
71351
 
71165
71352
  @property
71166
71353
  def VpcName(self):
@@ -71327,6 +71514,17 @@ class Vpc(AbstractModel):
71327
71514
  def Ipv6CidrBlockSet(self, Ipv6CidrBlockSet):
71328
71515
  self._Ipv6CidrBlockSet = Ipv6CidrBlockSet
71329
71516
 
71517
+ @property
71518
+ def EnableRouteVpcPublishIpv6(self):
71519
+ r"""vpc关联云联网时IPv6类型路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单。
71520
+ :rtype: bool
71521
+ """
71522
+ return self._EnableRouteVpcPublishIpv6
71523
+
71524
+ @EnableRouteVpcPublishIpv6.setter
71525
+ def EnableRouteVpcPublishIpv6(self, EnableRouteVpcPublishIpv6):
71526
+ self._EnableRouteVpcPublishIpv6 = EnableRouteVpcPublishIpv6
71527
+
71330
71528
 
71331
71529
  def _deserialize(self, params):
71332
71530
  self._VpcName = params.get("VpcName")
@@ -71359,6 +71557,7 @@ class Vpc(AbstractModel):
71359
71557
  obj = ISPIPv6CidrBlock()
71360
71558
  obj._deserialize(item)
71361
71559
  self._Ipv6CidrBlockSet.append(obj)
71560
+ self._EnableRouteVpcPublishIpv6 = params.get("EnableRouteVpcPublishIpv6")
71362
71561
  memeber_set = set(params.keys())
71363
71562
  for name, value in vars(self).items():
71364
71563
  property_name = name[1:]
@@ -9704,7 +9704,7 @@ class VpcClient(AbstractClient):
9704
9704
 
9705
9705
 
9706
9706
  def ResetNatGatewayConnection(self, request):
9707
- r"""本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。
9707
+ r"""本接口(ResetNatGatewayConnection)用于调整传统型NAT网关并发连接数上限。
9708
9708
 
9709
9709
  :param request: Request instance for ResetNatGatewayConnection.
9710
9710
  :type request: :class:`tencentcloud.vpc.v20170312.models.ResetNatGatewayConnectionRequest`