tencentcloud-sdk-python-vpc 3.0.1443__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.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/setup.py +1 -1
  3. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/errorcodes.py +21 -0
  5. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/models.py +60 -0
  6. {tencentcloud-sdk-python-vpc-3.0.1443 → 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.1443/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/README.rst +0 -0
  10. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  13. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud-sdk-python-vpc-3.0.1443 → tencentcloud-sdk-python-vpc-3.0.1458}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-vpc-3.0.1443 → 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.1443 → 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.1443
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.1443,<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.1443'
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
 
@@ -971,6 +974,9 @@ UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = 'UnsupportedOperation.EcmpWithCcnRoute'
971
974
  # 和用户自定义的路由形成ECMP。
972
975
  UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = 'UnsupportedOperation.EcmpWithUserRoute'
973
976
 
977
+ # 开启了多份带宽,不支持关闭流量调度策略功能。
978
+ UNSUPPORTEDOPERATION_ENABLEMULTICCNBANDWIDTH = 'UnsupportedOperation.EnableMultiCcnBandwidth'
979
+
974
980
  # 当前地域不支持启用组播。
975
981
  UNSUPPORTEDOPERATION_ENABLEMULTICAST = 'UnsupportedOperation.EnableMulticast'
976
982
 
@@ -992,6 +998,12 @@ UNSUPPORTEDOPERATION_EXISTCCNCUSTOMROUTETABLESNOTSUPPORTDELETECCN = 'Unsupported
992
998
  # 存在云联网关联实例不允许删除云联网
993
999
  UNSUPPORTEDOPERATION_EXISTCCNINSTANCESNOTSUPPORTDELETECCN = 'UnsupportedOperation.ExistCcnInstancesNotSupportDeleteCcn'
994
1000
 
1001
+ # 存在路由匹配规则,不支持关闭流量调度策略功能。
1002
+ UNSUPPORTEDOPERATION_EXISTCCNROUTEMATCHRULE = 'UnsupportedOperation.ExistCcnRouteMatchRule'
1003
+
1004
+ # 存在非默认流量调度策略,不支持关闭流量调度策略功能。
1005
+ UNSUPPORTEDOPERATION_EXISTTRAFFICQOSPOLICY = 'UnsupportedOperation.ExistTrafficQosPolicy'
1006
+
995
1007
  # 指定ResourceId对应的流日志已经创建
996
1008
  UNSUPPORTEDOPERATION_FLOWLOGINSTANCEEXISTED = 'UnsupportedOperation.FlowLogInstanceExisted'
997
1009
 
@@ -1184,6 +1196,9 @@ UNSUPPORTEDOPERATION_NOTIFYCCN = 'UnsupportedOperation.NotifyCcn'
1184
1196
  # 此产品计费方式已下线,请尝试其他计费方式。
1185
1197
  UNSUPPORTEDOPERATION_OFFLINECHARGETYPE = 'UnsupportedOperation.OfflineChargeType'
1186
1198
 
1199
+ # 仅地域间限速模式才支持流量调度策略功能。
1200
+ UNSUPPORTEDOPERATION_ONLYINTERREGIONLIMITSUPPORTEDCREATETRAFFICQOSPOLICY = 'UnsupportedOperation.OnlyInterRegionLimitSupportedCreateTrafficQosPolicy'
1201
+
1187
1202
  # 仅支持专业版Ckafka。
1188
1203
  UNSUPPORTEDOPERATION_ONLYSUPPORTPROFESSIONKAFKA = 'UnsupportedOperation.OnlySupportProfessionKafka'
1189
1204
 
@@ -1334,6 +1349,9 @@ UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTCLB = 'UnsupportedOperation.TrafficM
1334
1349
  # 流量镜像源、目的不可同端。
1335
1350
  UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTSAMESRCTARGET = 'UnsupportedOperation.TrafficMirrorNotSupportSameSrcTarget'
1336
1351
 
1352
+ # 流量调度策略分配带宽和地域间带宽不一致,不支持关闭流量调度策略功能。
1353
+ UNSUPPORTEDOPERATION_TRAFFICQOSPOLICYBANDWIDTH = 'UnsupportedOperation.TrafficQosPolicyBandwidth'
1354
+
1337
1355
  # 账号ID不存在。
1338
1356
  UNSUPPORTEDOPERATION_UINNOTFOUND = 'UnsupportedOperation.UinNotFound'
1339
1357
 
@@ -1418,6 +1436,9 @@ UNSUPPORTEDOPERATION_VPNUNSUPPORTEDROUTEECMPFORCVMVPN = 'UnsupportedOperation.Vp
1418
1436
  # 对端网关不存在BGP ASN。
1419
1437
  UNSUPPORTEDOPERATION_VPNUNSUPPORTEDUSRGWNOTEXISTBGPASN = 'UnsupportedOperation.VpnUnsupportedUsrGwNotExistBgpAsn'
1420
1438
 
1439
+ # 没在白名单内,不支持当前操作。
1440
+ UNSUPPORTEDOPERATION_WHITELISTNOTADD = 'UnsupportedOperation.WhiteListNotAdd'
1441
+
1421
1442
  # 指定资源在不同的可用区。
1422
1443
  UNSUPPORTEDOPERATION_ZONEMISMATCH = 'UnsupportedOperation.ZoneMismatch'
1423
1444
 
@@ -48678,12 +48678,15 @@ class ModifyCcnAttributeRequest(AbstractModel):
48678
48678
  :type RouteECMPFlag: bool
48679
48679
  :param _RouteOverlapFlag: 是否开启路由重叠功能。`False` 不开启,`True` 开启。
48680
48680
  :type RouteOverlapFlag: bool
48681
+ :param _TrafficMarkingPolicyFlag: 是否开启qos功能。`False` 不开启,`True` 开启。
48682
+ :type TrafficMarkingPolicyFlag: bool
48681
48683
  """
48682
48684
  self._CcnId = None
48683
48685
  self._CcnName = None
48684
48686
  self._CcnDescription = None
48685
48687
  self._RouteECMPFlag = None
48686
48688
  self._RouteOverlapFlag = None
48689
+ self._TrafficMarkingPolicyFlag = None
48687
48690
 
48688
48691
  @property
48689
48692
  def CcnId(self):
@@ -48740,6 +48743,17 @@ class ModifyCcnAttributeRequest(AbstractModel):
48740
48743
  def RouteOverlapFlag(self, RouteOverlapFlag):
48741
48744
  self._RouteOverlapFlag = RouteOverlapFlag
48742
48745
 
48746
+ @property
48747
+ def TrafficMarkingPolicyFlag(self):
48748
+ """是否开启qos功能。`False` 不开启,`True` 开启。
48749
+ :rtype: bool
48750
+ """
48751
+ return self._TrafficMarkingPolicyFlag
48752
+
48753
+ @TrafficMarkingPolicyFlag.setter
48754
+ def TrafficMarkingPolicyFlag(self, TrafficMarkingPolicyFlag):
48755
+ self._TrafficMarkingPolicyFlag = TrafficMarkingPolicyFlag
48756
+
48743
48757
 
48744
48758
  def _deserialize(self, params):
48745
48759
  self._CcnId = params.get("CcnId")
@@ -48747,6 +48761,7 @@ class ModifyCcnAttributeRequest(AbstractModel):
48747
48761
  self._CcnDescription = params.get("CcnDescription")
48748
48762
  self._RouteECMPFlag = params.get("RouteECMPFlag")
48749
48763
  self._RouteOverlapFlag = params.get("RouteOverlapFlag")
48764
+ self._TrafficMarkingPolicyFlag = params.get("TrafficMarkingPolicyFlag")
48750
48765
  memeber_set = set(params.keys())
48751
48766
  for name, value in vars(self).items():
48752
48767
  property_name = name[1:]
@@ -50693,12 +50708,15 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50693
50708
  :type ModifySecurityGroup: bool
50694
50709
  :param _SecurityGroupIds: NAT网关绑定的安全组列表,最终状态,空列表表示删除所有安全组,形如: `['sg-1n232323', 'sg-o4242424']`
50695
50710
  :type SecurityGroupIds: list of str
50711
+ :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
50712
+ :type DeletionProtectionEnabled: bool
50696
50713
  """
50697
50714
  self._NatGatewayId = None
50698
50715
  self._NatGatewayName = None
50699
50716
  self._InternetMaxBandwidthOut = None
50700
50717
  self._ModifySecurityGroup = None
50701
50718
  self._SecurityGroupIds = None
50719
+ self._DeletionProtectionEnabled = None
50702
50720
 
50703
50721
  @property
50704
50722
  def NatGatewayId(self):
@@ -50755,6 +50773,17 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50755
50773
  def SecurityGroupIds(self, SecurityGroupIds):
50756
50774
  self._SecurityGroupIds = SecurityGroupIds
50757
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
+
50758
50787
 
50759
50788
  def _deserialize(self, params):
50760
50789
  self._NatGatewayId = params.get("NatGatewayId")
@@ -50762,6 +50791,7 @@ class ModifyNatGatewayAttributeRequest(AbstractModel):
50762
50791
  self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
50763
50792
  self._ModifySecurityGroup = params.get("ModifySecurityGroup")
50764
50793
  self._SecurityGroupIds = params.get("SecurityGroupIds")
50794
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
50765
50795
  memeber_set = set(params.keys())
50766
50796
  for name, value in vars(self).items():
50767
50797
  property_name = name[1:]
@@ -54905,6 +54935,8 @@ class NatGateway(AbstractModel):
54905
54935
  :type SmartScheduleMode: bool
54906
54936
  :param _DedicatedClusterId: NAT实例归属的专属集群id
54907
54937
  :type DedicatedClusterId: str
54938
+ :param _DeletionProtectionEnabled: NAT实例是否开启删除保护
54939
+ :type DeletionProtectionEnabled: bool
54908
54940
  """
54909
54941
  self._NatGatewayId = None
54910
54942
  self._NatGatewayName = None
@@ -54928,6 +54960,7 @@ class NatGateway(AbstractModel):
54928
54960
  self._NatProductVersion = None
54929
54961
  self._SmartScheduleMode = None
54930
54962
  self._DedicatedClusterId = None
54963
+ self._DeletionProtectionEnabled = None
54931
54964
 
54932
54965
  @property
54933
54966
  def NatGatewayId(self):
@@ -55173,6 +55206,17 @@ class NatGateway(AbstractModel):
55173
55206
  def DedicatedClusterId(self, DedicatedClusterId):
55174
55207
  self._DedicatedClusterId = DedicatedClusterId
55175
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
+
55176
55220
 
55177
55221
  def _deserialize(self, params):
55178
55222
  self._NatGatewayId = params.get("NatGatewayId")
@@ -55217,6 +55261,7 @@ class NatGateway(AbstractModel):
55217
55261
  self._NatProductVersion = params.get("NatProductVersion")
55218
55262
  self._SmartScheduleMode = params.get("SmartScheduleMode")
55219
55263
  self._DedicatedClusterId = params.get("DedicatedClusterId")
55264
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
55220
55265
  memeber_set = set(params.keys())
55221
55266
  for name, value in vars(self).items():
55222
55267
  property_name = name[1:]
@@ -58056,6 +58101,8 @@ class PrivateNatGateway(AbstractModel):
58056
58101
  :type VpcType: bool
58057
58102
  :param _CcnId: 跨域私网NAT关联的云联网ID
58058
58103
  :type CcnId: str
58104
+ :param _DeletionProtectionEnabled: 私网NAT是否开启删除保护
58105
+ :type DeletionProtectionEnabled: bool
58059
58106
  """
58060
58107
  self._NatGatewayId = None
58061
58108
  self._NatGatewayName = None
@@ -58069,6 +58116,7 @@ class PrivateNatGateway(AbstractModel):
58069
58116
  self._CrossDomainInfo = None
58070
58117
  self._VpcType = None
58071
58118
  self._CcnId = None
58119
+ self._DeletionProtectionEnabled = None
58072
58120
 
58073
58121
  @property
58074
58122
  def NatGatewayId(self):
@@ -58202,6 +58250,17 @@ class PrivateNatGateway(AbstractModel):
58202
58250
  def CcnId(self, CcnId):
58203
58251
  self._CcnId = CcnId
58204
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
+
58205
58264
 
58206
58265
  def _deserialize(self, params):
58207
58266
  self._NatGatewayId = params.get("NatGatewayId")
@@ -58223,6 +58282,7 @@ class PrivateNatGateway(AbstractModel):
58223
58282
  self._CrossDomainInfo._deserialize(params.get("CrossDomainInfo"))
58224
58283
  self._VpcType = params.get("VpcType")
58225
58284
  self._CcnId = params.get("CcnId")
58285
+ self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
58226
58286
  memeber_set = set(params.keys())
58227
58287
  for name, value in vars(self).items():
58228
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.1443
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.1443