tencentcloud-sdk-python-vpc 3.1.68__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.68'
17
+ __version__ = '3.1.69'
@@ -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
 
@@ -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:]
@@ -73322,12 +73419,18 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73322
73419
  :type NatId: str
73323
73420
  :param _CollectorNormalFilters: 流量镜像需要过滤的五元组规则
73324
73421
  :type CollectorNormalFilters: list of TrafficMirrorFilter
73422
+ :param _IngressFilterRules: 流量镜像入站过滤规则。
73423
+ :type IngressFilterRules: list of TrafficMirrorFilter
73424
+ :param _EgressFilterRules: 流量镜像出站过滤规则。
73425
+ :type EgressFilterRules: list of TrafficMirrorFilter
73325
73426
  """
73326
73427
  self._TrafficMirrorId = None
73327
73428
  self._Direction = None
73328
73429
  self._CollectorSrcs = None
73329
73430
  self._NatId = None
73330
73431
  self._CollectorNormalFilters = None
73432
+ self._IngressFilterRules = None
73433
+ self._EgressFilterRules = None
73331
73434
 
73332
73435
  @property
73333
73436
  def TrafficMirrorId(self):
@@ -73384,6 +73487,28 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73384
73487
  def CollectorNormalFilters(self, CollectorNormalFilters):
73385
73488
  self._CollectorNormalFilters = CollectorNormalFilters
73386
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
+
73387
73512
 
73388
73513
  def _deserialize(self, params):
73389
73514
  self._TrafficMirrorId = params.get("TrafficMirrorId")
@@ -73396,6 +73521,18 @@ class UpdateTrafficMirrorAllFilterRequest(AbstractModel):
73396
73521
  obj = TrafficMirrorFilter()
73397
73522
  obj._deserialize(item)
73398
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)
73399
73536
  memeber_set = set(params.keys())
73400
73537
  for name, value in vars(self).items():
73401
73538
  property_name = name[1:]
@@ -73443,7 +73580,15 @@ class UpdateTrafficMirrorDirectionRequest(AbstractModel):
73443
73580
  r"""
73444
73581
  :param _TrafficMirrorId: 流量镜像实例ID
73445
73582
  :type TrafficMirrorId: str
73446
- :param _Direction: 流量镜像采集方向
73583
+ :param _Direction: 流量镜像采集方向。取值范围:
73584
+
73585
+ - EGRESS - 出方向采集
73586
+
73587
+ - INGRESS - 入方向采集
73588
+
73589
+ - ALL - 出入双向采集
73590
+
73591
+ - NO-DIRECTION - 不区分采集方向(新模式)。切换为该模式后将不再支持按方向采集,需通过 CreateTrafficMirrorFilterRules 接口创建带方向的过滤规则,过滤规则支持设置优先级和单独编辑。
73447
73592
  :type Direction: str
73448
73593
  """
73449
73594
  self._TrafficMirrorId = None
@@ -73462,7 +73607,15 @@ class UpdateTrafficMirrorDirectionRequest(AbstractModel):
73462
73607
 
73463
73608
  @property
73464
73609
  def Direction(self):
73465
- r"""流量镜像采集方向
73610
+ r"""流量镜像采集方向。取值范围:
73611
+
73612
+ - EGRESS - 出方向采集
73613
+
73614
+ - INGRESS - 入方向采集
73615
+
73616
+ - ALL - 出入双向采集
73617
+
73618
+ - NO-DIRECTION - 不区分采集方向(新模式)。切换为该模式后将不再支持按方向采集,需通过 CreateTrafficMirrorFilterRules 接口创建带方向的过滤规则,过滤规则支持设置优先级和单独编辑。
73466
73619
  :rtype: str
73467
73620
  """
73468
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.68
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.68
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.69
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=GkY7NdfyeIRpnEYkbzrY7UQd_T1T-906xbEj3hVP7Pg,629
1
+ tencentcloud/__init__.py,sha256=Uhddm3VGCuINErinmdJNwG0chLetU8_no9lL3UwFaoQ,629
2
2
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/vpc/v20170312/errorcodes.py,sha256=iK92Eipd-R5miGz0QjrjvfNPYTITxpcn6fQkikXDUC8,70517
5
- tencentcloud/vpc/v20170312/models.py,sha256=4xvw-xkzKttAwdamR7bDtWVjK764lpoibRuelbaEzwc,2540355
5
+ tencentcloud/vpc/v20170312/models.py,sha256=4iGmoncpFvlPxRW7WH_mWU0GwMd6N60ec6f3csxqb24,2546652
6
6
  tencentcloud/vpc/v20170312/vpc_client.py,sha256=8vu71wxEi3RiY0wj5mVSTx3KDEXeJSdPR9pwW9Tuhhg,479729
7
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,,
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,,