tencentcloud-sdk-python-vpc 3.1.13__tar.gz → 3.1.21__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.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/v20170312/models.py +60 -0
  6. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_vpc-3.1.21/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_vpc-3.1.13/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/README.rst +0 -0
  10. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud/vpc/v20170312/vpc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_vpc-3.1.13 → tencentcloud_sdk_python_vpc-3.1.21}/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.1.13
3
+ Version: 3.1.21
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.1.13
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.21
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ 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.1.13,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.21,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vpc SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.13'
17
+ __version__ = '3.1.21'
@@ -881,6 +881,12 @@ UNSUPPORTEDOPERATION_CCNHASFLOWLOG = 'UnsupportedOperation.CcnHasFlowLog'
881
881
  # CCN实例所属账号未通过联通审批。
882
882
  UNSUPPORTEDOPERATION_CCNINSTANCEACCOUNTNOTAPPROVEDBYUNICOM = 'UnsupportedOperation.CcnInstanceAccountNotApprovedByUnicom'
883
883
 
884
+ # 云联网关联实例绑定了策略路由下一跳,不允许解关联,需要先解绑策略路由下一跳
885
+ UNSUPPORTEDOPERATION_CCNINSTANCEHASBOUNDPOLICYROUTENEXTHOPNOTALLOWEDDETACH = 'UnsupportedOperation.CcnInstanceHasBoundPolicyRouteNextHopNotAllowedDetach'
886
+
887
+ # 云联网关联实例绑定了策略路由规则,不允许解关联,需要先解绑策略路由规则
888
+ UNSUPPORTEDOPERATION_CCNINSTANCEHASBOUNDPOLICYROUTERULENOTALLOWEDDETACH = 'UnsupportedOperation.CcnInstanceHasBoundPolicyRouteRuleNotAllowedDetach'
889
+
884
890
  # 云联网开启ipv6不支持创建多路由表
885
891
  UNSUPPORTEDOPERATION_CCNIPV6NOTSUPPORTMULTIPLEROUTETABLE = 'UnsupportedOperation.CcnIpv6NotSupportMultipleRouteTable'
886
892
 
@@ -56978,6 +56978,8 @@ class NatGateway(AbstractModel):
56978
56978
  :type RestrictState: str
56979
56979
  :param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
56980
56980
  :type NatProductVersion: int
56981
+ :param _StrictSnatMode: true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
56982
+ :type StrictSnatMode: bool
56981
56983
  :param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
56982
56984
  :type SmartScheduleMode: bool
56983
56985
  :param _DedicatedClusterId: NAT实例归属的专属集群id
@@ -56988,6 +56990,12 @@ class NatGateway(AbstractModel):
56988
56990
  :type ConnectionStateTimeouts: :class:`tencentcloud.vpc.v20170312.models.ConnectionStateTimeouts`
56989
56991
  :param _ExclusiveType: 独享实例规格。取值范围:ExclusiveSmall/ExclusiveMedium1/ExclusiveLarge1
56990
56992
  :type ExclusiveType: str
56993
+ :param _AutoScaling: 标准型NAT网关自动扩容
56994
+ :type AutoScaling: bool
56995
+ :param _ICMPProxy: 是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
56996
+ :type ICMPProxy: bool
56997
+ :param _PublicAddressAffinity: true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
56998
+ :type PublicAddressAffinity: bool
56991
56999
  """
56992
57000
  self._NatGatewayId = None
56993
57001
  self._NatGatewayName = None
@@ -57009,11 +57017,15 @@ class NatGateway(AbstractModel):
57009
57017
  self._ExclusiveGatewayBandwidth = None
57010
57018
  self._RestrictState = None
57011
57019
  self._NatProductVersion = None
57020
+ self._StrictSnatMode = None
57012
57021
  self._SmartScheduleMode = None
57013
57022
  self._DedicatedClusterId = None
57014
57023
  self._DeletionProtectionEnabled = None
57015
57024
  self._ConnectionStateTimeouts = None
57016
57025
  self._ExclusiveType = None
57026
+ self._AutoScaling = None
57027
+ self._ICMPProxy = None
57028
+ self._PublicAddressAffinity = None
57017
57029
 
57018
57030
  @property
57019
57031
  def NatGatewayId(self):
@@ -57237,6 +57249,17 @@ class NatGateway(AbstractModel):
57237
57249
  def NatProductVersion(self, NatProductVersion):
57238
57250
  self._NatProductVersion = NatProductVersion
57239
57251
 
57252
+ @property
57253
+ def StrictSnatMode(self):
57254
+ r"""true代表仅允许匹配SNAT规则的内网IP的流量进行转发,false代表所有内网IP发起的流量都进行转发。默认为false。
57255
+ :rtype: bool
57256
+ """
57257
+ return self._StrictSnatMode
57258
+
57259
+ @StrictSnatMode.setter
57260
+ def StrictSnatMode(self, StrictSnatMode):
57261
+ self._StrictSnatMode = StrictSnatMode
57262
+
57240
57263
  @property
57241
57264
  def SmartScheduleMode(self):
57242
57265
  r"""是否启用根据目的网段选择SNAT使用的EIP功能
@@ -57292,6 +57315,39 @@ class NatGateway(AbstractModel):
57292
57315
  def ExclusiveType(self, ExclusiveType):
57293
57316
  self._ExclusiveType = ExclusiveType
57294
57317
 
57318
+ @property
57319
+ def AutoScaling(self):
57320
+ r"""标准型NAT网关自动扩容
57321
+ :rtype: bool
57322
+ """
57323
+ return self._AutoScaling
57324
+
57325
+ @AutoScaling.setter
57326
+ def AutoScaling(self, AutoScaling):
57327
+ self._AutoScaling = AutoScaling
57328
+
57329
+ @property
57330
+ def ICMPProxy(self):
57331
+ r"""是否代答公网发给NAT网关上弹性公网IP的ICMP echo请求报文,当前适用于标准型NAT网关
57332
+ :rtype: bool
57333
+ """
57334
+ return self._ICMPProxy
57335
+
57336
+ @ICMPProxy.setter
57337
+ def ICMPProxy(self, ICMPProxy):
57338
+ self._ICMPProxy = ICMPProxy
57339
+
57340
+ @property
57341
+ def PublicAddressAffinity(self):
57342
+ r"""true代表同一个私网IP访问同一个公网目的IP时,固定使用同一个NAT网关上的弹性公网IP;false代表这种情况下使用的弹性公网IP不固定。默认为true。
57343
+ :rtype: bool
57344
+ """
57345
+ return self._PublicAddressAffinity
57346
+
57347
+ @PublicAddressAffinity.setter
57348
+ def PublicAddressAffinity(self, PublicAddressAffinity):
57349
+ self._PublicAddressAffinity = PublicAddressAffinity
57350
+
57295
57351
 
57296
57352
  def _deserialize(self, params):
57297
57353
  self._NatGatewayId = params.get("NatGatewayId")
@@ -57334,6 +57390,7 @@ class NatGateway(AbstractModel):
57334
57390
  self._ExclusiveGatewayBandwidth = params.get("ExclusiveGatewayBandwidth")
57335
57391
  self._RestrictState = params.get("RestrictState")
57336
57392
  self._NatProductVersion = params.get("NatProductVersion")
57393
+ self._StrictSnatMode = params.get("StrictSnatMode")
57337
57394
  self._SmartScheduleMode = params.get("SmartScheduleMode")
57338
57395
  self._DedicatedClusterId = params.get("DedicatedClusterId")
57339
57396
  self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
@@ -57341,6 +57398,9 @@ class NatGateway(AbstractModel):
57341
57398
  self._ConnectionStateTimeouts = ConnectionStateTimeouts()
57342
57399
  self._ConnectionStateTimeouts._deserialize(params.get("ConnectionStateTimeouts"))
57343
57400
  self._ExclusiveType = params.get("ExclusiveType")
57401
+ self._AutoScaling = params.get("AutoScaling")
57402
+ self._ICMPProxy = params.get("ICMPProxy")
57403
+ self._PublicAddressAffinity = params.get("PublicAddressAffinity")
57344
57404
  memeber_set = set(params.keys())
57345
57405
  for name, value in vars(self).items():
57346
57406
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.1.13
3
+ Version: 3.1.21
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.1.13
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.21
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.21
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.13