tencentcloud-sdk-python 3.0.1480__py2.py3-none-any.whl → 3.0.1481__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (48) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -2
  3. tencentcloud/autoscaling/v20180419/models.py +42 -0
  4. tencentcloud/billing/v20180709/models.py +8 -8
  5. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  6. tencentcloud/cam/v20190116/models.py +0 -2
  7. tencentcloud/ckafka/v20190819/models.py +2 -0
  8. tencentcloud/cloudaudit/v20190319/models.py +17 -0
  9. tencentcloud/cls/v20201016/errorcodes.py +9 -0
  10. tencentcloud/cvm/v20170312/models.py +2 -32
  11. tencentcloud/dbbrain/v20210527/models.py +18 -3
  12. tencentcloud/dlc/v20210125/models.py +45 -0
  13. tencentcloud/ess/v20201111/models.py +101 -2
  14. tencentcloud/essbasic/v20210526/models.py +139 -10
  15. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
  16. tencentcloud/iotexplorer/v20190423/models.py +162 -0
  17. tencentcloud/lcic/v20220817/models.py +22 -2
  18. tencentcloud/lke/v20231130/models.py +4 -2
  19. tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  20. tencentcloud/monitor/v20180724/models.py +30 -0
  21. tencentcloud/mps/v20190612/errorcodes.py +6 -0
  22. tencentcloud/mps/v20190612/models.py +231 -4
  23. tencentcloud/postgres/v20170312/errorcodes.py +9 -0
  24. tencentcloud/postgres/v20170312/models.py +488 -79
  25. tencentcloud/redis/v20180412/models.py +213 -24
  26. tencentcloud/region/v20220627/models.py +0 -2
  27. tencentcloud/sqlserver/v20180328/models.py +49 -4
  28. tencentcloud/svp/v20240125/models.py +21 -4
  29. tencentcloud/tag/v20180813/models.py +5 -5
  30. tencentcloud/tcss/v20201101/models.py +157 -0
  31. tencentcloud/teo/v20220901/models.py +32 -30
  32. tencentcloud/tione/v20211111/models.py +162 -0
  33. tencentcloud/tione/v20211111/tione_client.py +69 -0
  34. tencentcloud/tke/v20180525/models.py +20 -18
  35. tencentcloud/tke/v20220501/models.py +21 -6
  36. tencentcloud/tms/v20201229/models.py +30 -0
  37. tencentcloud/tms/v20201229/tms_client.py +2 -1
  38. tencentcloud/trro/v20220325/errorcodes.py +3 -0
  39. tencentcloud/trro/v20220325/models.py +739 -0
  40. tencentcloud/trro/v20220325/trro_client.py +46 -0
  41. tencentcloud/trtc/v20190722/models.py +32 -36
  42. tencentcloud/vpc/v20170312/models.py +175 -10
  43. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  44. {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/METADATA +1 -1
  45. {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/RECORD +48 -48
  46. {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/LICENSE +0 -0
  47. {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/WHEEL +0 -0
  48. {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/top_level.txt +0 -0
@@ -486,6 +486,29 @@ class TrroClient(AbstractClient):
486
486
  raise TencentCloudSDKException(type(e).__name__, str(e))
487
487
 
488
488
 
489
+ def GetDurationDetails(self, request):
490
+ r"""查询该时间段、对应项目、设备的不同分辨率的通话时长流水,流水以日期(天)为单位
491
+
492
+ :param request: Request instance for GetDurationDetails.
493
+ :type request: :class:`tencentcloud.trro.v20220325.models.GetDurationDetailsRequest`
494
+ :rtype: :class:`tencentcloud.trro.v20220325.models.GetDurationDetailsResponse`
495
+
496
+ """
497
+ try:
498
+ params = request._serialize()
499
+ headers = request.headers
500
+ body = self.call("GetDurationDetails", params, headers=headers)
501
+ response = json.loads(body)
502
+ model = models.GetDurationDetailsResponse()
503
+ model._deserialize(response["Response"])
504
+ return model
505
+ except Exception as e:
506
+ if isinstance(e, TencentCloudSDKException):
507
+ raise
508
+ else:
509
+ raise TencentCloudSDKException(type(e).__name__, str(e))
510
+
511
+
489
512
  def GetLicenseStat(self, request):
490
513
  r"""统计license类型数量
491
514
 
@@ -532,6 +555,29 @@ class TrroClient(AbstractClient):
532
555
  raise TencentCloudSDKException(type(e).__name__, str(e))
533
556
 
534
557
 
558
+ def GetTotalDuration(self, request):
559
+ r"""查询该时间段、对应项目、设备的不同分辨率的通话时长汇总
560
+
561
+ :param request: Request instance for GetTotalDuration.
562
+ :type request: :class:`tencentcloud.trro.v20220325.models.GetTotalDurationRequest`
563
+ :rtype: :class:`tencentcloud.trro.v20220325.models.GetTotalDurationResponse`
564
+
565
+ """
566
+ try:
567
+ params = request._serialize()
568
+ headers = request.headers
569
+ body = self.call("GetTotalDuration", params, headers=headers)
570
+ response = json.loads(body)
571
+ model = models.GetTotalDurationResponse()
572
+ model._deserialize(response["Response"])
573
+ return model
574
+ except Exception as e:
575
+ if isinstance(e, TencentCloudSDKException):
576
+ raise
577
+ else:
578
+ raise TencentCloudSDKException(type(e).__name__, str(e))
579
+
580
+
535
581
  def ModifyCallbackUrl(self, request):
536
582
  r"""设置回调URL
537
583
  录制回调事件内容参考:https://cloud.tencent.com/document/product/647/81113
@@ -15384,18 +15384,16 @@ class StartWebRecordRequest(AbstractModel):
15384
15384
 
15385
15385
  def __init__(self):
15386
15386
  r"""
15387
- :param _RecordUrl: 需要录制的网页URL
15388
-
15387
+ :param _RecordUrl: 【必填】需要录制的网页URL
15389
15388
  :type RecordUrl: str
15390
- :param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 36000], 默认 36000s(10 小时)
15391
-
15392
- :type MaxDurationLimit: int
15393
15389
  :param _StorageParams: 【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储;输出文件的存储格式仅支持hls或mp4
15394
15390
  :type StorageParams: :class:`tencentcloud.trtc.v20190722.models.StorageParams`
15395
- :param _WebRecordVideoParams: 页面录制视频参数
15396
- :type WebRecordVideoParams: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
15397
15391
  :param _SdkAppId: 【必填】TRTC的SdkAppId
15398
15392
  :type SdkAppId: int
15393
+ :param _MaxDurationLimit: 录制最大时长限制, 单位 s, 合法取值范围[1800, 86400], 默认 86400s(24 小时)
15394
+ :type MaxDurationLimit: int
15395
+ :param _WebRecordVideoParams: 页面录制视频参数
15396
+ :type WebRecordVideoParams: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
15399
15397
  :param _RecordId: 当对重复任务敏感时,请关注此值: 为了避免任务在短时间内重复发起,导致任务重复
15400
15398
  传入录制RecordId来标识此次任务, 小于32字节,若携带RecordId发起两次以上的开始录制请求,任务只会启动一个,第二个报错FailedOperation.TaskExist。注意StartWebRecord调用失败时而非FailedOperation.TaskExist错误,请更换RecordId重新发起。
15401
15399
  :type RecordId: str
@@ -15407,10 +15405,10 @@ class StartWebRecordRequest(AbstractModel):
15407
15405
  :type EmulateMobileParams: :class:`tencentcloud.trtc.v20190722.models.EmulateMobileParams`
15408
15406
  """
15409
15407
  self._RecordUrl = None
15410
- self._MaxDurationLimit = None
15411
15408
  self._StorageParams = None
15412
- self._WebRecordVideoParams = None
15413
15409
  self._SdkAppId = None
15410
+ self._MaxDurationLimit = None
15411
+ self._WebRecordVideoParams = None
15414
15412
  self._RecordId = None
15415
15413
  self._PublishCdnParams = None
15416
15414
  self._ReadyTimeout = None
@@ -15418,8 +15416,7 @@ class StartWebRecordRequest(AbstractModel):
15418
15416
 
15419
15417
  @property
15420
15418
  def RecordUrl(self):
15421
- r"""需要录制的网页URL
15422
-
15419
+ r"""【必填】需要录制的网页URL
15423
15420
  :rtype: str
15424
15421
  """
15425
15422
  return self._RecordUrl
@@ -15428,18 +15425,6 @@ class StartWebRecordRequest(AbstractModel):
15428
15425
  def RecordUrl(self, RecordUrl):
15429
15426
  self._RecordUrl = RecordUrl
15430
15427
 
15431
- @property
15432
- def MaxDurationLimit(self):
15433
- r"""录制最大时长限制, 单位 s, 合法取值范围[1800, 36000], 默认 36000s(10 小时)
15434
-
15435
- :rtype: int
15436
- """
15437
- return self._MaxDurationLimit
15438
-
15439
- @MaxDurationLimit.setter
15440
- def MaxDurationLimit(self, MaxDurationLimit):
15441
- self._MaxDurationLimit = MaxDurationLimit
15442
-
15443
15428
  @property
15444
15429
  def StorageParams(self):
15445
15430
  r"""【必填】云存储相关的参数,目前支持腾讯云对象存储以及腾讯云云点播VOD,不支持第三方云存储;输出文件的存储格式仅支持hls或mp4
@@ -15451,17 +15436,6 @@ class StartWebRecordRequest(AbstractModel):
15451
15436
  def StorageParams(self, StorageParams):
15452
15437
  self._StorageParams = StorageParams
15453
15438
 
15454
- @property
15455
- def WebRecordVideoParams(self):
15456
- r"""页面录制视频参数
15457
- :rtype: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
15458
- """
15459
- return self._WebRecordVideoParams
15460
-
15461
- @WebRecordVideoParams.setter
15462
- def WebRecordVideoParams(self, WebRecordVideoParams):
15463
- self._WebRecordVideoParams = WebRecordVideoParams
15464
-
15465
15439
  @property
15466
15440
  def SdkAppId(self):
15467
15441
  r"""【必填】TRTC的SdkAppId
@@ -15473,6 +15447,28 @@ class StartWebRecordRequest(AbstractModel):
15473
15447
  def SdkAppId(self, SdkAppId):
15474
15448
  self._SdkAppId = SdkAppId
15475
15449
 
15450
+ @property
15451
+ def MaxDurationLimit(self):
15452
+ r"""录制最大时长限制, 单位 s, 合法取值范围[1800, 86400], 默认 86400s(24 小时)
15453
+ :rtype: int
15454
+ """
15455
+ return self._MaxDurationLimit
15456
+
15457
+ @MaxDurationLimit.setter
15458
+ def MaxDurationLimit(self, MaxDurationLimit):
15459
+ self._MaxDurationLimit = MaxDurationLimit
15460
+
15461
+ @property
15462
+ def WebRecordVideoParams(self):
15463
+ r"""页面录制视频参数
15464
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.WebRecordVideoParams`
15465
+ """
15466
+ return self._WebRecordVideoParams
15467
+
15468
+ @WebRecordVideoParams.setter
15469
+ def WebRecordVideoParams(self, WebRecordVideoParams):
15470
+ self._WebRecordVideoParams = WebRecordVideoParams
15471
+
15476
15472
  @property
15477
15473
  def RecordId(self):
15478
15474
  r"""当对重复任务敏感时,请关注此值: 为了避免任务在短时间内重复发起,导致任务重复
@@ -15521,14 +15517,14 @@ class StartWebRecordRequest(AbstractModel):
15521
15517
 
15522
15518
  def _deserialize(self, params):
15523
15519
  self._RecordUrl = params.get("RecordUrl")
15524
- self._MaxDurationLimit = params.get("MaxDurationLimit")
15525
15520
  if params.get("StorageParams") is not None:
15526
15521
  self._StorageParams = StorageParams()
15527
15522
  self._StorageParams._deserialize(params.get("StorageParams"))
15523
+ self._SdkAppId = params.get("SdkAppId")
15524
+ self._MaxDurationLimit = params.get("MaxDurationLimit")
15528
15525
  if params.get("WebRecordVideoParams") is not None:
15529
15526
  self._WebRecordVideoParams = WebRecordVideoParams()
15530
15527
  self._WebRecordVideoParams._deserialize(params.get("WebRecordVideoParams"))
15531
- self._SdkAppId = params.get("SdkAppId")
15532
15528
  self._RecordId = params.get("RecordId")
15533
15529
  if params.get("PublishCdnParams") is not None:
15534
15530
  self._PublishCdnParams = []
@@ -1586,6 +1586,8 @@ class AddressTemplateItem(AbstractModel):
1586
1586
 
1587
1587
  @property
1588
1588
  def AddressTemplateName(self):
1589
+ warnings.warn("parameter `AddressTemplateName` is deprecated", DeprecationWarning)
1590
+
1589
1591
  r"""IP模板名称,废弃字段。
1590
1592
  :rtype: str
1591
1593
  """
@@ -1593,10 +1595,14 @@ class AddressTemplateItem(AbstractModel):
1593
1595
 
1594
1596
  @AddressTemplateName.setter
1595
1597
  def AddressTemplateName(self, AddressTemplateName):
1598
+ warnings.warn("parameter `AddressTemplateName` is deprecated", DeprecationWarning)
1599
+
1596
1600
  self._AddressTemplateName = AddressTemplateName
1597
1601
 
1598
1602
  @property
1599
1603
  def From(self):
1604
+ warnings.warn("parameter `From` is deprecated", DeprecationWarning)
1605
+
1600
1606
  r"""废弃字段。
1601
1607
  :rtype: str
1602
1608
  """
@@ -1604,10 +1610,14 @@ class AddressTemplateItem(AbstractModel):
1604
1610
 
1605
1611
  @From.setter
1606
1612
  def From(self, From):
1613
+ warnings.warn("parameter `From` is deprecated", DeprecationWarning)
1614
+
1607
1615
  self._From = From
1608
1616
 
1609
1617
  @property
1610
1618
  def To(self):
1619
+ warnings.warn("parameter `To` is deprecated", DeprecationWarning)
1620
+
1611
1621
  r"""废弃字段
1612
1622
  :rtype: str
1613
1623
  """
@@ -1615,6 +1625,8 @@ class AddressTemplateItem(AbstractModel):
1615
1625
 
1616
1626
  @To.setter
1617
1627
  def To(self, To):
1628
+ warnings.warn("parameter `To` is deprecated", DeprecationWarning)
1629
+
1618
1630
  self._To = To
1619
1631
 
1620
1632
  @property
@@ -8750,6 +8762,8 @@ class ConflictItem(AbstractModel):
8750
8762
 
8751
8763
  @property
8752
8764
  def ConfilctId(self):
8765
+ warnings.warn("parameter `ConfilctId` is deprecated", DeprecationWarning)
8766
+
8753
8767
  r"""冲突资源的ID。已废弃
8754
8768
  :rtype: str
8755
8769
  """
@@ -8757,6 +8771,8 @@ class ConflictItem(AbstractModel):
8757
8771
 
8758
8772
  @ConfilctId.setter
8759
8773
  def ConfilctId(self, ConfilctId):
8774
+ warnings.warn("parameter `ConfilctId` is deprecated", DeprecationWarning)
8775
+
8760
8776
  self._ConfilctId = ConfilctId
8761
8777
 
8762
8778
  @property
@@ -10822,7 +10838,7 @@ class CreateFlowLogRequest(AbstractModel):
10822
10838
  r"""
10823
10839
  :param _FlowLogName: 流日志实例名称。长度为不超过60个字符。
10824
10840
  :type FlowLogName: str
10825
- :param _ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
10841
+ :param _ResourceType: 流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
10826
10842
  :type ResourceType: str
10827
10843
  :param _ResourceId: 资源唯一ID。
10828
10844
  :type ResourceId: str
@@ -10843,6 +10859,8 @@ class CreateFlowLogRequest(AbstractModel):
10843
10859
  :type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
10844
10860
  :param _CloudLogRegion: 流日志存储ID对应的地域,不传递默认为本地域。
10845
10861
  :type CloudLogRegion: str
10862
+ :param _Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
10863
+ :type Period: int
10846
10864
  """
10847
10865
  self._FlowLogName = None
10848
10866
  self._ResourceType = None
@@ -10855,6 +10873,7 @@ class CreateFlowLogRequest(AbstractModel):
10855
10873
  self._StorageType = None
10856
10874
  self._FlowLogStorage = None
10857
10875
  self._CloudLogRegion = None
10876
+ self._Period = None
10858
10877
 
10859
10878
  @property
10860
10879
  def FlowLogName(self):
@@ -10869,7 +10888,7 @@ class CreateFlowLogRequest(AbstractModel):
10869
10888
 
10870
10889
  @property
10871
10890
  def ResourceType(self):
10872
- r"""流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
10891
+ r"""流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
10873
10892
  :rtype: str
10874
10893
  """
10875
10894
  return self._ResourceType
@@ -10978,6 +10997,17 @@ class CreateFlowLogRequest(AbstractModel):
10978
10997
  def CloudLogRegion(self, CloudLogRegion):
10979
10998
  self._CloudLogRegion = CloudLogRegion
10980
10999
 
11000
+ @property
11001
+ def Period(self):
11002
+ r"""流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
11003
+ :rtype: int
11004
+ """
11005
+ return self._Period
11006
+
11007
+ @Period.setter
11008
+ def Period(self, Period):
11009
+ self._Period = Period
11010
+
10981
11011
 
10982
11012
  def _deserialize(self, params):
10983
11013
  self._FlowLogName = params.get("FlowLogName")
@@ -10998,6 +11028,7 @@ class CreateFlowLogRequest(AbstractModel):
10998
11028
  self._FlowLogStorage = FlowLogStorage()
10999
11029
  self._FlowLogStorage._deserialize(params.get("FlowLogStorage"))
11000
11030
  self._CloudLogRegion = params.get("CloudLogRegion")
11031
+ self._Period = params.get("Period")
11001
11032
  memeber_set = set(params.keys())
11002
11033
  for name, value in vars(self).items():
11003
11034
  property_name = name[1:]
@@ -23651,11 +23682,11 @@ class DescribeAddressesRequest(AbstractModel):
23651
23682
  :type AddressIds: list of str
23652
23683
  :param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
23653
23684
  <li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
23654
- <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。</li>
23685
+ <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
23655
23686
  <li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
23656
23687
  <li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
23657
23688
  <li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
23658
- <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。</li>
23689
+ <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
23659
23690
  <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
23660
23691
  <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
23661
23692
  <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
@@ -23690,11 +23721,11 @@ class DescribeAddressesRequest(AbstractModel):
23690
23721
  def Filters(self):
23691
23722
  r"""每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
23692
23723
  <li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
23693
- <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。</li>
23724
+ <li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
23694
23725
  <li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
23695
23726
  <li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
23696
23727
  <li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
23697
- <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。</li>
23728
+ <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
23698
23729
  <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
23699
23730
  <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
23700
23731
  <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
@@ -33879,6 +33910,125 @@ class DescribeSecurityGroupAssociationStatisticsResponse(AbstractModel):
33879
33910
  self._RequestId = params.get("RequestId")
33880
33911
 
33881
33912
 
33913
+ class DescribeSecurityGroupExpandedPoliciesRequest(AbstractModel):
33914
+ r"""DescribeSecurityGroupExpandedPolicies请求参数结构体
33915
+
33916
+ """
33917
+
33918
+ def __init__(self):
33919
+ r"""
33920
+ :param _SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
33921
+ :type SecurityGroupId: str
33922
+ :param _Filters: 过滤条件。
33923
+ <li>security-group-id - String - 规则中的安全组ID。</li>
33924
+ <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
33925
+ <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
33926
+ <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
33927
+ <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
33928
+ <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
33929
+ <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
33930
+ <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
33931
+ <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
33932
+ :type Filters: list of Filter
33933
+ """
33934
+ self._SecurityGroupId = None
33935
+ self._Filters = None
33936
+
33937
+ @property
33938
+ def SecurityGroupId(self):
33939
+ r"""安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
33940
+ :rtype: str
33941
+ """
33942
+ return self._SecurityGroupId
33943
+
33944
+ @SecurityGroupId.setter
33945
+ def SecurityGroupId(self, SecurityGroupId):
33946
+ self._SecurityGroupId = SecurityGroupId
33947
+
33948
+ @property
33949
+ def Filters(self):
33950
+ r"""过滤条件。
33951
+ <li>security-group-id - String - 规则中的安全组ID。</li>
33952
+ <li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
33953
+ <li>address-module - String - IP地址模板或IP地址组模板ID。</li>
33954
+ <li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
33955
+ <li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
33956
+ <li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
33957
+ <li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
33958
+ <li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
33959
+ <li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
33960
+ :rtype: list of Filter
33961
+ """
33962
+ return self._Filters
33963
+
33964
+ @Filters.setter
33965
+ def Filters(self, Filters):
33966
+ self._Filters = Filters
33967
+
33968
+
33969
+ def _deserialize(self, params):
33970
+ self._SecurityGroupId = params.get("SecurityGroupId")
33971
+ if params.get("Filters") is not None:
33972
+ self._Filters = []
33973
+ for item in params.get("Filters"):
33974
+ obj = Filter()
33975
+ obj._deserialize(item)
33976
+ self._Filters.append(obj)
33977
+ memeber_set = set(params.keys())
33978
+ for name, value in vars(self).items():
33979
+ property_name = name[1:]
33980
+ if property_name in memeber_set:
33981
+ memeber_set.remove(property_name)
33982
+ if len(memeber_set) > 0:
33983
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
33984
+
33985
+
33986
+
33987
+ class DescribeSecurityGroupExpandedPoliciesResponse(AbstractModel):
33988
+ r"""DescribeSecurityGroupExpandedPolicies返回参数结构体
33989
+
33990
+ """
33991
+
33992
+ def __init__(self):
33993
+ r"""
33994
+ :param _SecurityGroupPolicySet: 安全组规则集合。
33995
+ :type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
33996
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
33997
+ :type RequestId: str
33998
+ """
33999
+ self._SecurityGroupPolicySet = None
34000
+ self._RequestId = None
34001
+
34002
+ @property
34003
+ def SecurityGroupPolicySet(self):
34004
+ r"""安全组规则集合。
34005
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
34006
+ """
34007
+ return self._SecurityGroupPolicySet
34008
+
34009
+ @SecurityGroupPolicySet.setter
34010
+ def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
34011
+ self._SecurityGroupPolicySet = SecurityGroupPolicySet
34012
+
34013
+ @property
34014
+ def RequestId(self):
34015
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
34016
+ :rtype: str
34017
+ """
34018
+ return self._RequestId
34019
+
34020
+ @RequestId.setter
34021
+ def RequestId(self, RequestId):
34022
+ self._RequestId = RequestId
34023
+
34024
+
34025
+ def _deserialize(self, params):
34026
+ if params.get("SecurityGroupPolicySet") is not None:
34027
+ self._SecurityGroupPolicySet = SecurityGroupPolicySet()
34028
+ self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
34029
+ self._RequestId = params.get("RequestId")
34030
+
34031
+
33882
34032
  class DescribeSecurityGroupLimitsRequest(AbstractModel):
33883
34033
  r"""DescribeSecurityGroupLimits请求参数结构体
33884
34034
 
@@ -43543,13 +43693,13 @@ class FlowLog(AbstractModel):
43543
43693
 
43544
43694
  def __init__(self):
43545
43695
  r"""
43546
- :param _VpcId: 私用网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
43696
+ :param _VpcId: 私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
43547
43697
  :type VpcId: str
43548
43698
  :param _FlowLogId: 流日志唯一ID。
43549
43699
  :type FlowLogId: str
43550
43700
  :param _FlowLogName: 流日志实例名字。
43551
43701
  :type FlowLogName: str
43552
- :param _ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
43702
+ :param _ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
43553
43703
  :type ResourceType: str
43554
43704
  :param _ResourceId: 资源唯一ID。
43555
43705
  :type ResourceId: str
@@ -43573,6 +43723,8 @@ class FlowLog(AbstractModel):
43573
43723
  :type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
43574
43724
  :param _CloudLogRegion: 流日志存储ID对应的地域信息。
43575
43725
  :type CloudLogRegion: str
43726
+ :param _Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
43727
+ :type Period: int
43576
43728
  """
43577
43729
  self._VpcId = None
43578
43730
  self._FlowLogId = None
@@ -43589,10 +43741,11 @@ class FlowLog(AbstractModel):
43589
43741
  self._StorageType = None
43590
43742
  self._FlowLogStorage = None
43591
43743
  self._CloudLogRegion = None
43744
+ self._Period = None
43592
43745
 
43593
43746
  @property
43594
43747
  def VpcId(self):
43595
- r"""私用网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
43748
+ r"""私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
43596
43749
  :rtype: str
43597
43750
  """
43598
43751
  return self._VpcId
@@ -43625,7 +43778,7 @@ class FlowLog(AbstractModel):
43625
43778
 
43626
43779
  @property
43627
43780
  def ResourceType(self):
43628
- r"""流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
43781
+ r"""流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
43629
43782
  :rtype: str
43630
43783
  """
43631
43784
  return self._ResourceType
@@ -43755,6 +43908,17 @@ class FlowLog(AbstractModel):
43755
43908
  def CloudLogRegion(self, CloudLogRegion):
43756
43909
  self._CloudLogRegion = CloudLogRegion
43757
43910
 
43911
+ @property
43912
+ def Period(self):
43913
+ r"""流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
43914
+ :rtype: int
43915
+ """
43916
+ return self._Period
43917
+
43918
+ @Period.setter
43919
+ def Period(self, Period):
43920
+ self._Period = Period
43921
+
43758
43922
 
43759
43923
  def _deserialize(self, params):
43760
43924
  self._VpcId = params.get("VpcId")
@@ -43779,6 +43943,7 @@ class FlowLog(AbstractModel):
43779
43943
  self._FlowLogStorage = FlowLogStorage()
43780
43944
  self._FlowLogStorage._deserialize(params.get("FlowLogStorage"))
43781
43945
  self._CloudLogRegion = params.get("CloudLogRegion")
43946
+ self._Period = params.get("Period")
43782
43947
  memeber_set = set(params.keys())
43783
43948
  for name, value in vars(self).items():
43784
43949
  property_name = name[1:]
@@ -5436,6 +5436,29 @@ class VpcClient(AbstractClient):
5436
5436
  raise TencentCloudSDKException(type(e).__name__, str(e))
5437
5437
 
5438
5438
 
5439
+ def DescribeSecurityGroupExpandedPolicies(self, request):
5440
+ r"""本接口(DescribeSecurityGroupExpandedPolicies)用于查看参数模板展开后的安全组规则。本接口会通过缓存降低请求后端服务的调用次数,因此拉取结果会存在延迟(缓存超时时间为1分钟)。
5441
+
5442
+ :param request: Request instance for DescribeSecurityGroupExpandedPolicies.
5443
+ :type request: :class:`tencentcloud.vpc.v20170312.models.DescribeSecurityGroupExpandedPoliciesRequest`
5444
+ :rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeSecurityGroupExpandedPoliciesResponse`
5445
+
5446
+ """
5447
+ try:
5448
+ params = request._serialize()
5449
+ headers = request.headers
5450
+ body = self.call("DescribeSecurityGroupExpandedPolicies", params, headers=headers)
5451
+ response = json.loads(body)
5452
+ model = models.DescribeSecurityGroupExpandedPoliciesResponse()
5453
+ model._deserialize(response["Response"])
5454
+ return model
5455
+ except Exception as e:
5456
+ if isinstance(e, TencentCloudSDKException):
5457
+ raise
5458
+ else:
5459
+ raise TencentCloudSDKException(type(e).__name__, str(e))
5460
+
5461
+
5439
5462
  def DescribeSecurityGroupLimits(self, request):
5440
5463
  r"""本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。
5441
5464
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python
3
- Version: 3.0.1480
3
+ Version: 3.0.1481
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud