tencentcloud-sdk-python-vpc 3.1.61__py2.py3-none-any.whl → 3.1.68__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +119 -4
- {tencentcloud_sdk_python_vpc-3.1.61.dist-info → tencentcloud_sdk_python_vpc-3.1.68.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_vpc-3.1.68.dist-info/RECORD +11 -0
- tencentcloud_sdk_python_vpc-3.1.61.dist-info/RECORD +0 -11
- {tencentcloud_sdk_python_vpc-3.1.61.dist-info → tencentcloud_sdk_python_vpc-3.1.68.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_vpc-3.1.61.dist-info → tencentcloud_sdk_python_vpc-3.1.68.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1187,6 +1187,9 @@ UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTE = 'UnsupportedOperation.NatGatewayHaveR
|
|
|
1187
1187
|
# NAT网关存在路由和最近流量“出/入带宽”峰值取大超过检测带宽阈值。
|
|
1188
1188
|
UNSUPPORTEDOPERATION_NATGATEWAYHAVEROUTEANDHIGHTRAFFIC = 'UnsupportedOperation.NatGatewayHaveRouteAndHighTraffic'
|
|
1189
1189
|
|
|
1190
|
+
# NAT实例正在使用流量镜像
|
|
1191
|
+
UNSUPPORTEDOPERATION_NATGATEWAYHAVETRAFFICMIRROR = 'UnsupportedOperation.NatGatewayHaveTrafficMirror'
|
|
1192
|
+
|
|
1190
1193
|
# NAT实例当前负载较高,请稍后重试
|
|
1191
1194
|
UNSUPPORTEDOPERATION_NATGATEWAYISBUSY = 'UnsupportedOperation.NatGatewayIsBusy'
|
|
1192
1195
|
|
|
@@ -1253,6 +1256,9 @@ UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = 'UnsupportedOperation.NotPendingCcn
|
|
|
1253
1256
|
# 当前云联网为非后付费类型,无法进行此操作。
|
|
1254
1257
|
UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = 'UnsupportedOperation.NotPostpaidCcnOperation'
|
|
1255
1258
|
|
|
1259
|
+
# 该VPC没有投放Snat子网地址池
|
|
1260
|
+
UNSUPPORTEDOPERATION_NOTPUTVPCSNATIPADDRESS = 'UnsupportedOperation.NotPutVpcSnatIpAddress'
|
|
1261
|
+
|
|
1256
1262
|
# 当前云联网不支持同时关联EDGE实例和跨境实例
|
|
1257
1263
|
UNSUPPORTEDOPERATION_NOTSUPPORTATTACHEDGEANDCROSSBORDERINSTANCE = 'UnsupportedOperation.NotSupportAttachEdgeAndCrossBorderInstance'
|
|
1258
1264
|
|
|
@@ -1460,9 +1466,15 @@ UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTCLB = 'UnsupportedOperation.TrafficM
|
|
|
1460
1466
|
# 流量镜像源、目的不可同端。
|
|
1461
1467
|
UNSUPPORTEDOPERATION_TRAFFICMIRRORNOTSUPPORTSAMESRCTARGET = 'UnsupportedOperation.TrafficMirrorNotSupportSameSrcTarget'
|
|
1462
1468
|
|
|
1469
|
+
# 流量保护不支持IPv6。
|
|
1470
|
+
UNSUPPORTEDOPERATION_TRAFFICPROTECTIONNOTSUPPORTIPV6 = 'UnsupportedOperation.TrafficProtectionNotSupportIPv6'
|
|
1471
|
+
|
|
1463
1472
|
# 流量调度策略分配带宽和地域间带宽不一致,不支持关闭流量调度策略功能。
|
|
1464
1473
|
UNSUPPORTEDOPERATION_TRAFFICQOSPOLICYBANDWIDTH = 'UnsupportedOperation.TrafficQosPolicyBandwidth'
|
|
1465
1474
|
|
|
1475
|
+
# 资源业务带宽超过防误操作检测阈值。
|
|
1476
|
+
UNSUPPORTEDOPERATION_TRAFFICVALIDATIONFAILED = 'UnsupportedOperation.TrafficValidationFailed'
|
|
1477
|
+
|
|
1466
1478
|
# 账号ID不存在。
|
|
1467
1479
|
UNSUPPORTEDOPERATION_UINNOTFOUND = 'UnsupportedOperation.UinNotFound'
|
|
1468
1480
|
|
|
@@ -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 刷新时间。该参数只作为出参数。以下场景会触发
|
|
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 刷新时间。该参数只作为出参数。以下场景会触发
|
|
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.
|
|
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.
|
|
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,11 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=GkY7NdfyeIRpnEYkbzrY7UQd_T1T-906xbEj3hVP7Pg,629
|
|
2
|
+
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/vpc/v20170312/errorcodes.py,sha256=iK92Eipd-R5miGz0QjrjvfNPYTITxpcn6fQkikXDUC8,70517
|
|
5
|
+
tencentcloud/vpc/v20170312/models.py,sha256=4xvw-xkzKttAwdamR7bDtWVjK764lpoibRuelbaEzwc,2540355
|
|
6
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=8vu71wxEi3RiY0wj5mVSTx3KDEXeJSdPR9pwW9Tuhhg,479729
|
|
7
|
+
tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=m4qh7Gk2FL9QCMTNBjwhukEAxpv51B4xS9KGCRXyCH8,343467
|
|
8
|
+
tencentcloud_sdk_python_vpc-3.1.68.dist-info/METADATA,sha256=uOIOM3dPbidb8URJN_E-Qq1cSxf5TUARi0zkr3qi5VA,1495
|
|
9
|
+
tencentcloud_sdk_python_vpc-3.1.68.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_vpc-3.1.68.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_vpc-3.1.68.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=gaXtNrd-p9w2If_ES5xNHUczf2IbXwxFSjfiKbbTPjQ,629
|
|
2
|
-
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/vpc/v20170312/errorcodes.py,sha256=IhDCvw2_rVci5IPzfhtYZSvyb2qwZyGR8uVaqiTCRKA,69954
|
|
5
|
-
tencentcloud/vpc/v20170312/models.py,sha256=kTNTRQlZBmh8yDVCwvpYDJOu2wiFjKTXoh2PJwGaPfA,2536466
|
|
6
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=8vu71wxEi3RiY0wj5mVSTx3KDEXeJSdPR9pwW9Tuhhg,479729
|
|
7
|
-
tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=m4qh7Gk2FL9QCMTNBjwhukEAxpv51B4xS9KGCRXyCH8,343467
|
|
8
|
-
tencentcloud_sdk_python_vpc-3.1.61.dist-info/METADATA,sha256=YWZeD7dRKPPAwzki1EnM_3aPNTe6v_LsEKt7_uuP7ko,1495
|
|
9
|
-
tencentcloud_sdk_python_vpc-3.1.61.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
-
tencentcloud_sdk_python_vpc-3.1.61.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
-
tencentcloud_sdk_python_vpc-3.1.61.dist-info/RECORD,,
|
{tencentcloud_sdk_python_vpc-3.1.61.dist-info → tencentcloud_sdk_python_vpc-3.1.68.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|