tencentcloud-sdk-python-vpc 3.1.64__py2.py3-none-any.whl → 3.1.69__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.64'
17
+ __version__ = '3.1.69'
@@ -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
 
@@ -16248,7 +16248,7 @@ class CreateTrafficMirrorRequest(AbstractModel):
16248
16248
  :type State: str
16249
16249
  :param _Direction: 流量镜像采集方向,支持EGRESS/INGRESS/ALL(vpc),ALL(公网IP)。
16250
16250
  :type Direction: str
16251
- :param _CollectorSrcs: 流量镜像的采集对象。
16251
+ :param _CollectorSrcs: 流量镜像的采集对象 (最多支持20个采集对象)。
16252
16252
  :type CollectorSrcs: list of str
16253
16253
  :param _NatId: 流量镜像过滤的natgw实例。
16254
16254
  :type NatId: str
@@ -16262,6 +16262,10 @@ class CreateTrafficMirrorRequest(AbstractModel):
16262
16262
  :type Type: str
16263
16263
  :param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
16264
16264
  :type Tags: list of Tag
16265
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
16266
+ :type IngressFilterRules: list of TrafficMirrorFilter
16267
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
16268
+ :type EgressFilterRules: list of TrafficMirrorFilter
16265
16269
  """
16266
16270
  self._VpcId = None
16267
16271
  self._TrafficMirrorName = None
@@ -16275,6 +16279,8 @@ class CreateTrafficMirrorRequest(AbstractModel):
16275
16279
  self._SubnetId = None
16276
16280
  self._Type = None
16277
16281
  self._Tags = None
16282
+ self._IngressFilterRules = None
16283
+ self._EgressFilterRules = None
16278
16284
 
16279
16285
  @property
16280
16286
  def VpcId(self):
@@ -16333,7 +16339,7 @@ class CreateTrafficMirrorRequest(AbstractModel):
16333
16339
 
16334
16340
  @property
16335
16341
  def CollectorSrcs(self):
16336
- r"""流量镜像的采集对象。
16342
+ r"""流量镜像的采集对象 (最多支持20个采集对象)。
16337
16343
  :rtype: list of str
16338
16344
  """
16339
16345
  return self._CollectorSrcs
@@ -16408,6 +16414,28 @@ class CreateTrafficMirrorRequest(AbstractModel):
16408
16414
  def Tags(self, Tags):
16409
16415
  self._Tags = Tags
16410
16416
 
16417
+ @property
16418
+ def IngressFilterRules(self):
16419
+ r"""流量镜像入站过滤规则。
16420
+ :rtype: list of TrafficMirrorFilter
16421
+ """
16422
+ return self._IngressFilterRules
16423
+
16424
+ @IngressFilterRules.setter
16425
+ def IngressFilterRules(self, IngressFilterRules):
16426
+ self._IngressFilterRules = IngressFilterRules
16427
+
16428
+ @property
16429
+ def EgressFilterRules(self):
16430
+ r"""流量镜像出站过滤规则。
16431
+ :rtype: list of TrafficMirrorFilter
16432
+ """
16433
+ return self._EgressFilterRules
16434
+
16435
+ @EgressFilterRules.setter
16436
+ def EgressFilterRules(self, EgressFilterRules):
16437
+ self._EgressFilterRules = EgressFilterRules
16438
+
16411
16439
 
16412
16440
  def _deserialize(self, params):
16413
16441
  self._VpcId = params.get("VpcId")
@@ -16434,6 +16462,18 @@ class CreateTrafficMirrorRequest(AbstractModel):
16434
16462
  obj = Tag()
16435
16463
  obj._deserialize(item)
16436
16464
  self._Tags.append(obj)
16465
+ if params.get("IngressFilterRules") is not None:
16466
+ self._IngressFilterRules = []
16467
+ for item in params.get("IngressFilterRules"):
16468
+ obj = TrafficMirrorFilter()
16469
+ obj._deserialize(item)
16470
+ self._IngressFilterRules.append(obj)
16471
+ if params.get("EgressFilterRules") is not None:
16472
+ self._EgressFilterRules = []
16473
+ for item in params.get("EgressFilterRules"):
16474
+ obj = TrafficMirrorFilter()
16475
+ obj._deserialize(item)
16476
+ self._EgressFilterRules.append(obj)
16437
16477
  memeber_set = set(params.keys())
16438
16478
  for name, value in vars(self).items():
16439
16479
  property_name = name[1:]
@@ -38399,10 +38439,13 @@ class DescribeTrafficMirrorsResponse(AbstractModel):
38399
38439
  r"""
38400
38440
  :param _TrafficMirrorSet: 流量镜像实例信息
38401
38441
  :type TrafficMirrorSet: list of TrafficMirror
38442
+ :param _TotalCount: 符合条件的对象数
38443
+ :type TotalCount: int
38402
38444
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38403
38445
  :type RequestId: str
38404
38446
  """
38405
38447
  self._TrafficMirrorSet = None
38448
+ self._TotalCount = None
38406
38449
  self._RequestId = None
38407
38450
 
38408
38451
  @property
@@ -38416,6 +38459,17 @@ class DescribeTrafficMirrorsResponse(AbstractModel):
38416
38459
  def TrafficMirrorSet(self, TrafficMirrorSet):
38417
38460
  self._TrafficMirrorSet = TrafficMirrorSet
38418
38461
 
38462
+ @property
38463
+ def TotalCount(self):
38464
+ r"""符合条件的对象数
38465
+ :rtype: int
38466
+ """
38467
+ return self._TotalCount
38468
+
38469
+ @TotalCount.setter
38470
+ def TotalCount(self, TotalCount):
38471
+ self._TotalCount = TotalCount
38472
+
38419
38473
  @property
38420
38474
  def RequestId(self):
38421
38475
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -38435,6 +38489,7 @@ class DescribeTrafficMirrorsResponse(AbstractModel):
38435
38489
  obj = TrafficMirror()
38436
38490
  obj._deserialize(item)
38437
38491
  self._TrafficMirrorSet.append(obj)
38492
+ self._TotalCount = params.get("TotalCount")
38438
38493
  self._RequestId = params.get("RequestId")
38439
38494
 
38440
38495
 
@@ -46641,11 +46696,11 @@ class HaVip(AbstractModel):
46641
46696
  :type Business: str
46642
46697
  :param _HaVipAssociationSet: `HAVIP`的飘移范围。
46643
46698
  :type HaVipAssociationSet: list of HaVipAssociation
46644
- :param _CheckAssociate: 是否开启`HAVIP`的飘移范围校验。
46699
+ :param _CheckAssociate: 是否开启`HAVIP`的漂移范围校验。
46645
46700
  :type CheckAssociate: bool
46646
46701
  :param _CdcId: CDC实例ID。
46647
46702
  :type CdcId: str
46648
- :param _FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46703
+ :param _FlushedTime: HAVIP 刷新时间。该参数只作为出参数。以下场景会触发FlushedTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46649
46704
  :type FlushedTime: str
46650
46705
  :param _TagSet: 标签键值对。
46651
46706
  :type TagSet: list of Tag
@@ -46803,7 +46858,7 @@ class HaVip(AbstractModel):
46803
46858
 
46804
46859
  @property
46805
46860
  def CheckAssociate(self):
46806
- r"""是否开启`HAVIP`的飘移范围校验。
46861
+ r"""是否开启`HAVIP`的漂移范围校验。
46807
46862
  :rtype: bool
46808
46863
  """
46809
46864
  return self._CheckAssociate
@@ -46825,7 +46880,7 @@ class HaVip(AbstractModel):
46825
46880
 
46826
46881
  @property
46827
46882
  def FlushedTime(self):
46828
- r"""HAVIP 刷新时间。该参数只作为出参数。以下场景会触发 FlushTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46883
+ r"""HAVIP 刷新时间。该参数只作为出参数。以下场景会触发FlushedTime 被刷新:1)子机发出免费 ARP 触发 HAVIP 漂移;2)手动HAVIP解绑网卡; 没有更新时默认值:0000-00-00 00:00:00
46829
46884
  :rtype: str
46830
46885
  """
46831
46886
  return self._FlushedTime
@@ -63117,7 +63172,8 @@ class RemoveBandwidthPackageResourcesRequest(AbstractModel):
63117
63172
 
63118
63173
  def __init__(self):
63119
63174
  r"""
63120
- :param _ResourceIds: 资源唯一ID,当前支持EIP资源和LB资源,形如'eip-xxxx', 'lb-xxxx'。EIP资源列表可通过[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取,LB资源列表可通过[DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685)接口获取。
63175
+ :param _ResourceIds: 资源唯一ID,当前支持EIP资源和LB资源,形如'eip-xxxx', 'lb-xxxx'。<li>EIP资源列表:可通过[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取。高防EIP、Anycast EIP、精品BGP EIP默认不支持从共享带宽包中移除,其中高防EIP和精品BGP IP可以迁移到其他同线路类型的共享带宽包中。</li><li>LB资源列表:可通过[DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685)接口获取。</li>
63176
+
63121
63177
  :type ResourceIds: list of str
63122
63178
  :param _BandwidthPackageId: 带宽包唯一标识ID,形如'bwp-xxxx',可以使用[DescribeBandwidthPackages](https://cloud.tencent.com/document/product/215/19209)接口查询BandwidthPackageId。
63123
63179
  :type BandwidthPackageId: str
@@ -63138,7 +63194,8 @@ class RemoveBandwidthPackageResourcesRequest(AbstractModel):
63138
63194
 
63139
63195
  @property
63140
63196
  def ResourceIds(self):
63141
- r"""资源唯一ID,当前支持EIP资源和LB资源,形如'eip-xxxx', 'lb-xxxx'。EIP资源列表可通过[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取,LB资源列表可通过[DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685)接口获取。
63197
+ r"""资源唯一ID,当前支持EIP资源和LB资源,形如'eip-xxxx', 'lb-xxxx'。<li>EIP资源列表:可通过[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取。高防EIP、Anycast EIP、精品BGP EIP默认不支持从共享带宽包中移除,其中高防EIP和精品BGP IP可以迁移到其他同线路类型的共享带宽包中。</li><li>LB资源列表:可通过[DescribeLoadBalancers](https://cloud.tencent.com/document/api/214/30685)接口获取。</li>
63198
+
63142
63199
  :rtype: list of str
63143
63200
  """
63144
63201
  return self._ResourceIds
@@ -65474,10 +65531,16 @@ class ResetTrafficMirrorFilterRequest(AbstractModel):
65474
65531
  :type NatId: str
65475
65532
  :param _CollectorNormalFilters: 流量镜像需要过滤的五元组规则
65476
65533
  :type CollectorNormalFilters: list of TrafficMirrorFilter
65534
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
65535
+ :type IngressFilterRules: list of TrafficMirrorFilter
65536
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
65537
+ :type EgressFilterRules: list of TrafficMirrorFilter
65477
65538
  """
65478
65539
  self._TrafficMirrorId = None
65479
65540
  self._NatId = None
65480
65541
  self._CollectorNormalFilters = None
65542
+ self._IngressFilterRules = None
65543
+ self._EgressFilterRules = None
65481
65544
 
65482
65545
  @property
65483
65546
  def TrafficMirrorId(self):
@@ -65512,6 +65575,28 @@ class ResetTrafficMirrorFilterRequest(AbstractModel):
65512
65575
  def CollectorNormalFilters(self, CollectorNormalFilters):
65513
65576
  self._CollectorNormalFilters = CollectorNormalFilters
65514
65577
 
65578
+ @property
65579
+ def IngressFilterRules(self):
65580
+ r"""流量镜像入站过滤规则。
65581
+ :rtype: list of TrafficMirrorFilter
65582
+ """
65583
+ return self._IngressFilterRules
65584
+
65585
+ @IngressFilterRules.setter
65586
+ def IngressFilterRules(self, IngressFilterRules):
65587
+ self._IngressFilterRules = IngressFilterRules
65588
+
65589
+ @property
65590
+ def EgressFilterRules(self):
65591
+ r"""流量镜像出站过滤规则。
65592
+ :rtype: list of TrafficMirrorFilter
65593
+ """
65594
+ return self._EgressFilterRules
65595
+
65596
+ @EgressFilterRules.setter
65597
+ def EgressFilterRules(self, EgressFilterRules):
65598
+ self._EgressFilterRules = EgressFilterRules
65599
+
65515
65600
 
65516
65601
  def _deserialize(self, params):
65517
65602
  self._TrafficMirrorId = params.get("TrafficMirrorId")
@@ -65522,6 +65607,18 @@ class ResetTrafficMirrorFilterRequest(AbstractModel):
65522
65607
  obj = TrafficMirrorFilter()
65523
65608
  obj._deserialize(item)
65524
65609
  self._CollectorNormalFilters.append(obj)
65610
+ if params.get("IngressFilterRules") is not None:
65611
+ self._IngressFilterRules = []
65612
+ for item in params.get("IngressFilterRules"):
65613
+ obj = TrafficMirrorFilter()
65614
+ obj._deserialize(item)
65615
+ self._IngressFilterRules.append(obj)
65616
+ if params.get("EgressFilterRules") is not None:
65617
+ self._EgressFilterRules = []
65618
+ for item in params.get("EgressFilterRules"):
65619
+ obj = TrafficMirrorFilter()
65620
+ obj._deserialize(item)
65621
+ self._EgressFilterRules.append(obj)
65525
65622
  memeber_set = set(params.keys())
65526
65623
  for name, value in vars(self).items():
65527
65624
  property_name = name[1:]
@@ -71429,6 +71526,10 @@ class TrafficMirror(AbstractModel):
71429
71526
  :type SubnetId: str
71430
71527
  :param _TargetInfo: 流量镜接收目标资源信息,当接收目标为ENI和CLB时返回。
71431
71528
  :type TargetInfo: list of TrafficMirrorTargetResourceInfo
71529
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
71530
+ :type IngressFilterRules: list of TrafficMirrorFilter
71531
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
71532
+ :type EgressFilterRules: list of TrafficMirrorFilter
71432
71533
  """
71433
71534
  self._VpcId = None
71434
71535
  self._TrafficMirrorId = None
@@ -71444,6 +71545,8 @@ class TrafficMirror(AbstractModel):
71444
71545
  self._Type = None
71445
71546
  self._SubnetId = None
71446
71547
  self._TargetInfo = None
71548
+ self._IngressFilterRules = None
71549
+ self._EgressFilterRules = None
71447
71550
 
71448
71551
  @property
71449
71552
  def VpcId(self):
@@ -71599,6 +71702,28 @@ class TrafficMirror(AbstractModel):
71599
71702
  def TargetInfo(self, TargetInfo):
71600
71703
  self._TargetInfo = TargetInfo
71601
71704
 
71705
+ @property
71706
+ def IngressFilterRules(self):
71707
+ r"""流量镜像入站过滤规则。
71708
+ :rtype: list of TrafficMirrorFilter
71709
+ """
71710
+ return self._IngressFilterRules
71711
+
71712
+ @IngressFilterRules.setter
71713
+ def IngressFilterRules(self, IngressFilterRules):
71714
+ self._IngressFilterRules = IngressFilterRules
71715
+
71716
+ @property
71717
+ def EgressFilterRules(self):
71718
+ r"""流量镜像出站过滤规则。
71719
+ :rtype: list of TrafficMirrorFilter
71720
+ """
71721
+ return self._EgressFilterRules
71722
+
71723
+ @EgressFilterRules.setter
71724
+ def EgressFilterRules(self, EgressFilterRules):
71725
+ self._EgressFilterRules = EgressFilterRules
71726
+
71602
71727
 
71603
71728
  def _deserialize(self, params):
71604
71729
  self._VpcId = params.get("VpcId")
@@ -71627,6 +71752,18 @@ class TrafficMirror(AbstractModel):
71627
71752
  obj = TrafficMirrorTargetResourceInfo()
71628
71753
  obj._deserialize(item)
71629
71754
  self._TargetInfo.append(obj)
71755
+ if params.get("IngressFilterRules") is not None:
71756
+ self._IngressFilterRules = []
71757
+ for item in params.get("IngressFilterRules"):
71758
+ obj = TrafficMirrorFilter()
71759
+ obj._deserialize(item)
71760
+ self._IngressFilterRules.append(obj)
71761
+ if params.get("EgressFilterRules") is not None:
71762
+ self._EgressFilterRules = []
71763
+ for item in params.get("EgressFilterRules"):
71764
+ obj = TrafficMirrorFilter()
71765
+ obj._deserialize(item)
71766
+ self._EgressFilterRules.append(obj)
71630
71767
  memeber_set = set(params.keys())
71631
71768
  for name, value in vars(self).items():
71632
71769
  property_name = name[1:]
@@ -71654,12 +71791,27 @@ class TrafficMirrorFilter(AbstractModel):
71654
71791
  :type SrcPort: str
71655
71792
  :param _DstPort: 过滤规则的目的端口,默认值1-65535
71656
71793
  :type DstPort: str
71794
+ :param _TrafficMirrorFilterRuleId: 流量镜像过滤规则唯一ID。
71795
+ :type TrafficMirrorFilterRuleId: str
71796
+ :param _Priority: 流量镜像过滤规则优先级。
71797
+ :type Priority: int
71798
+ :param _Action: 流量镜像过滤规则策略,支持类型:"ACCEPT", "DROP"。
71799
+ :type Action: str
71800
+ :param _Description: 流量镜像过滤规则描述。
71801
+ :type Description: str
71802
+ :param _CreatedTime: 创建时间。
71803
+ :type CreatedTime: str
71657
71804
  """
71658
71805
  self._SrcNet = None
71659
71806
  self._DstNet = None
71660
71807
  self._Protocol = None
71661
71808
  self._SrcPort = None
71662
71809
  self._DstPort = None
71810
+ self._TrafficMirrorFilterRuleId = None
71811
+ self._Priority = None
71812
+ self._Action = None
71813
+ self._Description = None
71814
+ self._CreatedTime = None
71663
71815
 
71664
71816
  @property
71665
71817
  def SrcNet(self):
@@ -71716,6 +71868,61 @@ class TrafficMirrorFilter(AbstractModel):
71716
71868
  def DstPort(self, DstPort):
71717
71869
  self._DstPort = DstPort
71718
71870
 
71871
+ @property
71872
+ def TrafficMirrorFilterRuleId(self):
71873
+ r"""流量镜像过滤规则唯一ID。
71874
+ :rtype: str
71875
+ """
71876
+ return self._TrafficMirrorFilterRuleId
71877
+
71878
+ @TrafficMirrorFilterRuleId.setter
71879
+ def TrafficMirrorFilterRuleId(self, TrafficMirrorFilterRuleId):
71880
+ self._TrafficMirrorFilterRuleId = TrafficMirrorFilterRuleId
71881
+
71882
+ @property
71883
+ def Priority(self):
71884
+ r"""流量镜像过滤规则优先级。
71885
+ :rtype: int
71886
+ """
71887
+ return self._Priority
71888
+
71889
+ @Priority.setter
71890
+ def Priority(self, Priority):
71891
+ self._Priority = Priority
71892
+
71893
+ @property
71894
+ def Action(self):
71895
+ r"""流量镜像过滤规则策略,支持类型:"ACCEPT", "DROP"。
71896
+ :rtype: str
71897
+ """
71898
+ return self._Action
71899
+
71900
+ @Action.setter
71901
+ def Action(self, Action):
71902
+ self._Action = Action
71903
+
71904
+ @property
71905
+ def Description(self):
71906
+ r"""流量镜像过滤规则描述。
71907
+ :rtype: str
71908
+ """
71909
+ return self._Description
71910
+
71911
+ @Description.setter
71912
+ def Description(self, Description):
71913
+ self._Description = Description
71914
+
71915
+ @property
71916
+ def CreatedTime(self):
71917
+ r"""创建时间。
71918
+ :rtype: str
71919
+ """
71920
+ return self._CreatedTime
71921
+
71922
+ @CreatedTime.setter
71923
+ def CreatedTime(self, CreatedTime):
71924
+ self._CreatedTime = CreatedTime
71925
+
71719
71926
 
71720
71927
  def _deserialize(self, params):
71721
71928
  self._SrcNet = params.get("SrcNet")
@@ -71723,6 +71930,11 @@ class TrafficMirrorFilter(AbstractModel):
71723
71930
  self._Protocol = params.get("Protocol")
71724
71931
  self._SrcPort = params.get("SrcPort")
71725
71932
  self._DstPort = params.get("DstPort")
71933
+ self._TrafficMirrorFilterRuleId = params.get("TrafficMirrorFilterRuleId")
71934
+ self._Priority = params.get("Priority")
71935
+ self._Action = params.get("Action")
71936
+ self._Description = params.get("Description")
71937
+ self._CreatedTime = params.get("CreatedTime")
71726
71938
  memeber_set = set(params.keys())
71727
71939
  for name, value in vars(self).items():
71728
71940
  property_name = name[1:]
@@ -73207,12 +73419,18 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73207
73419
  :type NatId: str
73208
73420
  :param _CollectorNormalFilters: 流量镜像需要过滤的五元组规则
73209
73421
  :type CollectorNormalFilters: list of TrafficMirrorFilter
73422
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
73423
+ :type IngressFilterRules: list of TrafficMirrorFilter
73424
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
73425
+ :type EgressFilterRules: list of TrafficMirrorFilter
73210
73426
  """
73211
73427
  self._TrafficMirrorId = None
73212
73428
  self._Direction = None
73213
73429
  self._CollectorSrcs = None
73214
73430
  self._NatId = None
73215
73431
  self._CollectorNormalFilters = None
73432
+ self._IngressFilterRules = None
73433
+ self._EgressFilterRules = None
73216
73434
 
73217
73435
  @property
73218
73436
  def TrafficMirrorId(self):
@@ -73269,6 +73487,28 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73269
73487
  def CollectorNormalFilters(self, CollectorNormalFilters):
73270
73488
  self._CollectorNormalFilters = CollectorNormalFilters
73271
73489
 
73490
+ @property
73491
+ def IngressFilterRules(self):
73492
+ r"""流量镜像入站过滤规则。
73493
+ :rtype: list of TrafficMirrorFilter
73494
+ """
73495
+ return self._IngressFilterRules
73496
+
73497
+ @IngressFilterRules.setter
73498
+ def IngressFilterRules(self, IngressFilterRules):
73499
+ self._IngressFilterRules = IngressFilterRules
73500
+
73501
+ @property
73502
+ def EgressFilterRules(self):
73503
+ r"""流量镜像出站过滤规则。
73504
+ :rtype: list of TrafficMirrorFilter
73505
+ """
73506
+ return self._EgressFilterRules
73507
+
73508
+ @EgressFilterRules.setter
73509
+ def EgressFilterRules(self, EgressFilterRules):
73510
+ self._EgressFilterRules = EgressFilterRules
73511
+
73272
73512
 
73273
73513
  def _deserialize(self, params):
73274
73514
  self._TrafficMirrorId = params.get("TrafficMirrorId")
@@ -73281,6 +73521,18 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73281
73521
  obj = TrafficMirrorFilter()
73282
73522
  obj._deserialize(item)
73283
73523
  self._CollectorNormalFilters.append(obj)
73524
+ if params.get("IngressFilterRules") is not None:
73525
+ self._IngressFilterRules = []
73526
+ for item in params.get("IngressFilterRules"):
73527
+ obj = TrafficMirrorFilter()
73528
+ obj._deserialize(item)
73529
+ self._IngressFilterRules.append(obj)
73530
+ if params.get("EgressFilterRules") is not None:
73531
+ self._EgressFilterRules = []
73532
+ for item in params.get("EgressFilterRules"):
73533
+ obj = TrafficMirrorFilter()
73534
+ obj._deserialize(item)
73535
+ self._EgressFilterRules.append(obj)
73284
73536
  memeber_set = set(params.keys())
73285
73537
  for name, value in vars(self).items():
73286
73538
  property_name = name[1:]
@@ -73328,7 +73580,15 @@ class UpdateTrafficMirrorDirectionRequest(AbstractModel):
73328
73580
  r"""
73329
73581
  :param _TrafficMirrorId: 流量镜像实例ID
73330
73582
  :type TrafficMirrorId: str
73331
- :param _Direction: 流量镜像采集方向
73583
+ :param _Direction: 流量镜像采集方向。取值范围:
73584
+
73585
+ - EGRESS - 出方向采集
73586
+
73587
+ - INGRESS - 入方向采集
73588
+
73589
+ - ALL - 出入双向采集
73590
+
73591
+ - NO-DIRECTION - 不区分采集方向(新模式)。切换为该模式后将不再支持按方向采集,需通过 CreateTrafficMirrorFilterRules 接口创建带方向的过滤规则,过滤规则支持设置优先级和单独编辑。
73332
73592
  :type Direction: str
73333
73593
  """
73334
73594
  self._TrafficMirrorId = None
@@ -73347,7 +73607,15 @@ class UpdateTrafficMirrorDirectionRequest(AbstractModel):
73347
73607
 
73348
73608
  @property
73349
73609
  def Direction(self):
73350
- r"""流量镜像采集方向
73610
+ r"""流量镜像采集方向。取值范围:
73611
+
73612
+ - EGRESS - 出方向采集
73613
+
73614
+ - INGRESS - 入方向采集
73615
+
73616
+ - ALL - 出入双向采集
73617
+
73618
+ - NO-DIRECTION - 不区分采集方向(新模式)。切换为该模式后将不再支持按方向采集,需通过 CreateTrafficMirrorFilterRules 接口创建带方向的过滤规则,过滤规则支持设置优先级和单独编辑。
73351
73619
  :rtype: str
73352
73620
  """
73353
73621
  return self._Direction
@@ -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.69
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.69
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,11 @@
1
+ tencentcloud/__init__.py,sha256=Uhddm3VGCuINErinmdJNwG0chLetU8_no9lL3UwFaoQ,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=4iGmoncpFvlPxRW7WH_mWU0GwMd6N60ec6f3csxqb24,2546652
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.69.dist-info/METADATA,sha256=P84X-wWXb8eq1hWr9GZM9vfUvZ3onHf8OgU5Pp9A8Ys,1495
9
+ tencentcloud_sdk_python_vpc-3.1.69.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_vpc-3.1.69.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_vpc-3.1.69.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- tencentcloud/__init__.py,sha256=fT9MuZaVsvtxOc2UtuGbklkqJ3MRz7H1JTviqxCdOGs,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=_lLgs2FdjhrOIFTKHl1Y9WNFic34CoMtuROiLxwUMx0,70242
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.64.dist-info/METADATA,sha256=wnxuPPx0k_gGv2EQlkLFSEtQ4axU38Kf2OLQVSc9J9c,1495
9
- tencentcloud_sdk_python_vpc-3.1.64.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_vpc-3.1.64.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_vpc-3.1.64.dist-info/RECORD,,