tencentcloud-sdk-python-vpc 3.1.64__tar.gz → 3.1.68__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.64 → tencentcloud_sdk_python_vpc-3.1.68}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
  5. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/v20170312/models.py +119 -4
  6. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_vpc-3.1.68/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_vpc-3.1.64/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/README.rst +0 -0
  10. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud/vpc/v20170312/vpc_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_vpc-3.1.64 → tencentcloud_sdk_python_vpc-3.1.68}/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.64
3
+ Version: 3.1.68
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.64
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.68
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.64,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.68,<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.64'
17
+ __version__ = '3.1.68'
@@ -1256,6 +1256,9 @@ UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = 'UnsupportedOperation.NotPendingCcn
1256
1256
  # 当前云联网为非后付费类型,无法进行此操作。
1257
1257
  UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = 'UnsupportedOperation.NotPostpaidCcnOperation'
1258
1258
 
1259
+ # 该VPC没有投放Snat子网地址池
1260
+ UNSUPPORTEDOPERATION_NOTPUTVPCSNATIPADDRESS = 'UnsupportedOperation.NotPutVpcSnatIpAddress'
1261
+
1259
1262
  # 当前云联网不支持同时关联EDGE实例和跨境实例
1260
1263
  UNSUPPORTEDOPERATION_NOTSUPPORTATTACHEDGEANDCROSSBORDERINSTANCE = 'UnsupportedOperation.NotSupportAttachEdgeAndCrossBorderInstance'
1261
1264
 
@@ -1463,6 +1466,9 @@ UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTCLB = 'UnsupportedOperation.TrafficM
1463
1466
  # 流量镜像源、目的不可同端。
1464
1467
  UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTSAMESRCTARGET = 'UnsupportedOperation.TrafficMirrorNotSupportSameSrcTarget'
1465
1468
 
1469
+ # 流量保护不支持IPv6。
1470
+ UNSUPPORTEDOPERATION_TRAFFICPROTECTIONNOTSUPPORTIPV6 = 'UnsupportedOperation.TrafficProtectionNotSupportIPv6'
1471
+
1466
1472
  # 流量调度策略分配带宽和地域间带宽不一致,不支持关闭流量调度策略功能。
1467
1473
  UNSUPPORTEDOPERATION_TRAFFICQOSPOLICYBANDWIDTH = 'UnsupportedOperation.TrafficQosPolicyBandwidth'
1468
1474
 
@@ -46641,11 +46641,11 @@ class HaVip(AbstractModel):
46641
46641
  :type Business: str
46642
46642
  :param _HaVipAssociationSet: `HAVIP`的飘移范围。
46643
46643
  :type HaVipAssociationSet: list of HaVipAssociation
46644
- :param _CheckAssociate: 是否开启`HAVIP`的飘移范围校验。
46644
+ :param _CheckAssociate: 是否开启`HAVIP`的漂移范围校验。
46645
46645
  :type CheckAssociate: bool
46646
46646
  :param _CdcId: CDC实例ID。
46647
46647
  :type CdcId: str
46648
- :param _FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46648
+ :param _FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发FlushedTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46649
46649
  :type FlushedTime: str
46650
46650
  :param _TagSet: 标签键值对。
46651
46651
  :type TagSet: list of Tag
@@ -46803,7 +46803,7 @@ class HaVip(AbstractModel):
46803
46803
 
46804
46804
  @property
46805
46805
  def CheckAssociate(self):
46806
- r"""是否开启`HAVIP`的飘移范围校验。
46806
+ r"""是否开启`HAVIP`的漂移范围校验。
46807
46807
  :rtype: bool
46808
46808
  """
46809
46809
  return self._CheckAssociate
@@ -46825,7 +46825,7 @@ class HaVip(AbstractModel):
46825
46825
 
46826
46826
  @property
46827
46827
  def FlushedTime(self):
46828
- r"""HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46828
+ r"""HAVIP 刷新时间。该参数只作为出参数。以下场景会触发FlushedTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46829
46829
  :rtype: str
46830
46830
  """
46831
46831
  return self._FlushedTime
@@ -71429,6 +71429,10 @@ class TrafficMirror(AbstractModel):
71429
71429
  :type SubnetId: str
71430
71430
  :param _TargetInfo: 流量镜接收目标资源信息,当接收目标为ENI和CLB时返回。
71431
71431
  :type TargetInfo: list of TrafficMirrorTargetResourceInfo
71432
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
71433
+ :type IngressFilterRules: list of TrafficMirrorFilter
71434
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
71435
+ :type EgressFilterRules: list of TrafficMirrorFilter
71432
71436
  """
71433
71437
  self._VpcId = None
71434
71438
  self._TrafficMirrorId = None
@@ -71444,6 +71448,8 @@ class TrafficMirror(AbstractModel):
71444
71448
  self._Type = None
71445
71449
  self._SubnetId = None
71446
71450
  self._TargetInfo = None
71451
+ self._IngressFilterRules = None
71452
+ self._EgressFilterRules = None
71447
71453
 
71448
71454
  @property
71449
71455
  def VpcId(self):
@@ -71599,6 +71605,28 @@ class TrafficMirror(AbstractModel):
71599
71605
  def TargetInfo(self, TargetInfo):
71600
71606
  self._TargetInfo = TargetInfo
71601
71607
 
71608
+ @property
71609
+ def IngressFilterRules(self):
71610
+ r"""流量镜像入站过滤规则。
71611
+ :rtype: list of TrafficMirrorFilter
71612
+ """
71613
+ return self._IngressFilterRules
71614
+
71615
+ @IngressFilterRules.setter
71616
+ def IngressFilterRules(self, IngressFilterRules):
71617
+ self._IngressFilterRules = IngressFilterRules
71618
+
71619
+ @property
71620
+ def EgressFilterRules(self):
71621
+ r"""流量镜像出站过滤规则。
71622
+ :rtype: list of TrafficMirrorFilter
71623
+ """
71624
+ return self._EgressFilterRules
71625
+
71626
+ @EgressFilterRules.setter
71627
+ def EgressFilterRules(self, EgressFilterRules):
71628
+ self._EgressFilterRules = EgressFilterRules
71629
+
71602
71630
 
71603
71631
  def _deserialize(self, params):
71604
71632
  self._VpcId = params.get("VpcId")
@@ -71627,6 +71655,18 @@ class TrafficMirror(AbstractModel):
71627
71655
  obj = TrafficMirrorTargetResourceInfo()
71628
71656
  obj._deserialize(item)
71629
71657
  self._TargetInfo.append(obj)
71658
+ if params.get("IngressFilterRules") is not None:
71659
+ self._IngressFilterRules = []
71660
+ for item in params.get("IngressFilterRules"):
71661
+ obj = TrafficMirrorFilter()
71662
+ obj._deserialize(item)
71663
+ self._IngressFilterRules.append(obj)
71664
+ if params.get("EgressFilterRules") is not None:
71665
+ self._EgressFilterRules = []
71666
+ for item in params.get("EgressFilterRules"):
71667
+ obj = TrafficMirrorFilter()
71668
+ obj._deserialize(item)
71669
+ self._EgressFilterRules.append(obj)
71630
71670
  memeber_set = set(params.keys())
71631
71671
  for name, value in vars(self).items():
71632
71672
  property_name = name[1:]
@@ -71654,12 +71694,27 @@ class TrafficMirrorFilter(AbstractModel):
71654
71694
  :type SrcPort: str
71655
71695
  :param _DstPort: 过滤规则的目的端口,默认值1-65535
71656
71696
  :type DstPort: str
71697
+ :param _TrafficMirrorFilterRuleId: 流量镜像过滤规则唯一ID。
71698
+ :type TrafficMirrorFilterRuleId: str
71699
+ :param _Priority: 流量镜像过滤规则优先级。
71700
+ :type Priority: int
71701
+ :param _Action: 流量镜像过滤规则策略,支持类型:"ACCEPT", "DROP"。
71702
+ :type Action: str
71703
+ :param _Description: 流量镜像过滤规则描述。
71704
+ :type Description: str
71705
+ :param _CreatedTime: 创建时间。
71706
+ :type CreatedTime: str
71657
71707
  """
71658
71708
  self._SrcNet = None
71659
71709
  self._DstNet = None
71660
71710
  self._Protocol = None
71661
71711
  self._SrcPort = None
71662
71712
  self._DstPort = None
71713
+ self._TrafficMirrorFilterRuleId = None
71714
+ self._Priority = None
71715
+ self._Action = None
71716
+ self._Description = None
71717
+ self._CreatedTime = None
71663
71718
 
71664
71719
  @property
71665
71720
  def SrcNet(self):
@@ -71716,6 +71771,61 @@ class TrafficMirrorFilter(AbstractModel):
71716
71771
  def DstPort(self, DstPort):
71717
71772
  self._DstPort = DstPort
71718
71773
 
71774
+ @property
71775
+ def TrafficMirrorFilterRuleId(self):
71776
+ r"""流量镜像过滤规则唯一ID。
71777
+ :rtype: str
71778
+ """
71779
+ return self._TrafficMirrorFilterRuleId
71780
+
71781
+ @TrafficMirrorFilterRuleId.setter
71782
+ def TrafficMirrorFilterRuleId(self, TrafficMirrorFilterRuleId):
71783
+ self._TrafficMirrorFilterRuleId = TrafficMirrorFilterRuleId
71784
+
71785
+ @property
71786
+ def Priority(self):
71787
+ r"""流量镜像过滤规则优先级。
71788
+ :rtype: int
71789
+ """
71790
+ return self._Priority
71791
+
71792
+ @Priority.setter
71793
+ def Priority(self, Priority):
71794
+ self._Priority = Priority
71795
+
71796
+ @property
71797
+ def Action(self):
71798
+ r"""流量镜像过滤规则策略,支持类型:"ACCEPT", "DROP"。
71799
+ :rtype: str
71800
+ """
71801
+ return self._Action
71802
+
71803
+ @Action.setter
71804
+ def Action(self, Action):
71805
+ self._Action = Action
71806
+
71807
+ @property
71808
+ def Description(self):
71809
+ r"""流量镜像过滤规则描述。
71810
+ :rtype: str
71811
+ """
71812
+ return self._Description
71813
+
71814
+ @Description.setter
71815
+ def Description(self, Description):
71816
+ self._Description = Description
71817
+
71818
+ @property
71819
+ def CreatedTime(self):
71820
+ r"""创建时间。
71821
+ :rtype: str
71822
+ """
71823
+ return self._CreatedTime
71824
+
71825
+ @CreatedTime.setter
71826
+ def CreatedTime(self, CreatedTime):
71827
+ self._CreatedTime = CreatedTime
71828
+
71719
71829
 
71720
71830
  def _deserialize(self, params):
71721
71831
  self._SrcNet = params.get("SrcNet")
@@ -71723,6 +71833,11 @@ class TrafficMirrorFilter(AbstractModel):
71723
71833
  self._Protocol = params.get("Protocol")
71724
71834
  self._SrcPort = params.get("SrcPort")
71725
71835
  self._DstPort = params.get("DstPort")
71836
+ self._TrafficMirrorFilterRuleId = params.get("TrafficMirrorFilterRuleId")
71837
+ self._Priority = params.get("Priority")
71838
+ self._Action = params.get("Action")
71839
+ self._Description = params.get("Description")
71840
+ self._CreatedTime = params.get("CreatedTime")
71726
71841
  memeber_set = set(params.keys())
71727
71842
  for name, value in vars(self).items():
71728
71843
  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.64
3
+ Version: 3.1.68
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.64
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.68
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.68
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.64