tencentcloud-sdk-python-vpc 3.0.1447__tar.gz → 3.0.1458__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 (16) hide show
  1. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/setup.py +1 -1
  3. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/models.py +45 -0
  6. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-vpc-3.0.1458/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-vpc-3.0.1447/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/README.rst +0 -0
  10. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  13. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-vpc-3.0.1447 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1447
3
+ Version: 3.0.1458
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
@@ -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.0.1447,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1458,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Vpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1447'
17
+ __version__ = '3.0.1458'
@@ -947,6 +947,9 @@ UNSUPPORTEDOPERATION_DELETECCNEXISTCCNEXPRESSCONNECT = 'UnsupportedOperation.Del
947
947
  # VPN通道状态为更新中/销毁中/创建中,不支持此操作。
948
948
  UNSUPPORTEDOPERATION_DELETEVPNCONNINVALIDSTATE = 'UnsupportedOperation.DeleteVpnConnInvalidState'
949
949
 
950
+ # NAT网关已开启删除保护,不允许删除
951
+ UNSUPPORTEDOPERATION_DELETIONPROTECTIONENABLED = 'UnsupportedOperation.DeletionProtectionEnabled'
952
+
950
953
  # 发货失败。
951
954
  UNSUPPORTEDOPERATION_DELIVERYFAILED = 'UnsupportedOperation.DeliveryFailed'
952
955
 
@@ -50708,12 +50708,15 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50708
50708
  :type ModifySecurityGroup: bool
50709
50709
  :param _SecurityGroupIds: NAT网关绑定的安全组列表,最终状态,空列表表示删除所有安全组,形如: `['sg-1n232323', 'sg-o4242424']`
50710
50710
  :type SecurityGroupIds: list of str
50711
+ :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
50712
+ :type DeletionProtectionEnabled: bool
50711
50713
  """
50712
50714
  self._NatGatewayId = None
50713
50715
  self._NatGatewayName = None
50714
50716
  self._InternetMaxBandwidthOut = None
50715
50717
  self._ModifySecurityGroup = None
50716
50718
  self._SecurityGroupIds = None
50719
+ self._DeletionProtectionEnabled = None
50717
50720
 
50718
50721
  @property
50719
50722
  def NatGatewayId(self):
@@ -50770,6 +50773,17 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50770
50773
  def SecurityGroupIds(self, SecurityGroupIds):
50771
50774
  self._SecurityGroupIds = SecurityGroupIds
50772
50775
 
50776
+ @property
50777
+ def DeletionProtectionEnabled(self):
50778
+ """NAT实例是否开启删除保护
50779
+ :rtype: bool
50780
+ """
50781
+ return self._DeletionProtectionEnabled
50782
+
50783
+ @DeletionProtectionEnabled.setter
50784
+ def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
50785
+ self._DeletionProtectionEnabled = DeletionProtectionEnabled
50786
+
50773
50787
 
50774
50788
  def _deserialize(self, params):
50775
50789
  self._NatGatewayId = params.get("NatGatewayId")
@@ -50777,6 +50791,7 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50777
50791
  self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
50778
50792
  self._ModifySecurityGroup = params.get("ModifySecurityGroup")
50779
50793
  self._SecurityGroupIds = params.get("SecurityGroupIds")
50794
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
50780
50795
  memeber_set = set(params.keys())
50781
50796
  for name, value in vars(self).items():
50782
50797
  property_name = name[1:]
@@ -54920,6 +54935,8 @@ class NatGateway(AbstractModel):
54920
54935
  :type SmartScheduleMode: bool
54921
54936
  :param _DedicatedClusterId: NAT实例归属的专属集群id
54922
54937
  :type DedicatedClusterId: str
54938
+ :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
54939
+ :type DeletionProtectionEnabled: bool
54923
54940
  """
54924
54941
  self._NatGatewayId = None
54925
54942
  self._NatGatewayName = None
@@ -54943,6 +54960,7 @@ class NatGateway(AbstractModel):
54943
54960
  self._NatProductVersion = None
54944
54961
  self._SmartScheduleMode = None
54945
54962
  self._DedicatedClusterId = None
54963
+ self._DeletionProtectionEnabled = None
54946
54964
 
54947
54965
  @property
54948
54966
  def NatGatewayId(self):
@@ -55188,6 +55206,17 @@ class NatGateway(AbstractModel):
55188
55206
  def DedicatedClusterId(self, DedicatedClusterId):
55189
55207
  self._DedicatedClusterId = DedicatedClusterId
55190
55208
 
55209
+ @property
55210
+ def DeletionProtectionEnabled(self):
55211
+ """NAT实例是否开启删除保护
55212
+ :rtype: bool
55213
+ """
55214
+ return self._DeletionProtectionEnabled
55215
+
55216
+ @DeletionProtectionEnabled.setter
55217
+ def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
55218
+ self._DeletionProtectionEnabled = DeletionProtectionEnabled
55219
+
55191
55220
 
55192
55221
  def _deserialize(self, params):
55193
55222
  self._NatGatewayId = params.get("NatGatewayId")
@@ -55232,6 +55261,7 @@ class NatGateway(AbstractModel):
55232
55261
  self._NatProductVersion = params.get("NatProductVersion")
55233
55262
  self._SmartScheduleMode = params.get("SmartScheduleMode")
55234
55263
  self._DedicatedClusterId = params.get("DedicatedClusterId")
55264
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
55235
55265
  memeber_set = set(params.keys())
55236
55266
  for name, value in vars(self).items():
55237
55267
  property_name = name[1:]
@@ -58071,6 +58101,8 @@ class PrivateNatGateway(AbstractModel):
58071
58101
  :type VpcType: bool
58072
58102
  :param _CcnId: 跨域私网NAT关联的云联网ID
58073
58103
  :type CcnId: str
58104
+ :param _DeletionProtectionEnabled: 私网NAT是否开启删除保护
58105
+ :type DeletionProtectionEnabled: bool
58074
58106
  """
58075
58107
  self._NatGatewayId = None
58076
58108
  self._NatGatewayName = None
@@ -58084,6 +58116,7 @@ class PrivateNatGateway(AbstractModel):
58084
58116
  self._CrossDomainInfo = None
58085
58117
  self._VpcType = None
58086
58118
  self._CcnId = None
58119
+ self._DeletionProtectionEnabled = None
58087
58120
 
58088
58121
  @property
58089
58122
  def NatGatewayId(self):
@@ -58217,6 +58250,17 @@ class PrivateNatGateway(AbstractModel):
58217
58250
  def CcnId(self, CcnId):
58218
58251
  self._CcnId = CcnId
58219
58252
 
58253
+ @property
58254
+ def DeletionProtectionEnabled(self):
58255
+ """私网NAT是否开启删除保护
58256
+ :rtype: bool
58257
+ """
58258
+ return self._DeletionProtectionEnabled
58259
+
58260
+ @DeletionProtectionEnabled.setter
58261
+ def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
58262
+ self._DeletionProtectionEnabled = DeletionProtectionEnabled
58263
+
58220
58264
 
58221
58265
  def _deserialize(self, params):
58222
58266
  self._NatGatewayId = params.get("NatGatewayId")
@@ -58238,6 +58282,7 @@ class PrivateNatGateway(AbstractModel):
58238
58282
  self._CrossDomainInfo._deserialize(params.get("CrossDomainInfo"))
58239
58283
  self._VpcType = params.get("VpcType")
58240
58284
  self._CcnId = params.get("CcnId")
58285
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
58241
58286
  memeber_set = set(params.keys())
58242
58287
  for name, value in vars(self).items():
58243
58288
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1447
3
+ Version: 3.0.1458
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1458
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1447