tencentcloud-sdk-python 3.0.1438__py2.py3-none-any.whl → 3.0.1440__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 (35) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +83 -0
  3. tencentcloud/cdb/v20170320/models.py +4 -4
  4. tencentcloud/cdwch/v20200915/models.py +19 -6
  5. tencentcloud/cfg/v20210820/models.py +20 -0
  6. tencentcloud/clb/v20180317/models.py +2 -2
  7. tencentcloud/cls/v20201016/models.py +38 -24
  8. tencentcloud/csip/v20221121/csip_client.py +23 -0
  9. tencentcloud/csip/v20221121/models.py +578 -4
  10. tencentcloud/emr/v20190103/models.py +15 -0
  11. tencentcloud/es/v20180416/errorcodes.py +3 -0
  12. tencentcloud/es/v20180416/models.py +225 -0
  13. tencentcloud/hunyuan/v20230901/models.py +2 -2
  14. tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
  15. tencentcloud/mna/v20210119/errorcodes.py +1 -1
  16. tencentcloud/mps/v20190612/models.py +24 -0
  17. tencentcloud/omics/v20221128/models.py +175 -0
  18. tencentcloud/sqlserver/v20180328/models.py +30 -0
  19. tencentcloud/ssl/v20191205/models.py +60 -0
  20. tencentcloud/sts/v20180813/sts_client.py +16 -4
  21. tencentcloud/tdmq/v20200217/models.py +119 -2
  22. tencentcloud/teo/v20220901/models.py +130 -0
  23. tencentcloud/thpc/v20230321/errorcodes.py +24 -0
  24. tencentcloud/thpc/v20230321/models.py +1398 -132
  25. tencentcloud/thpc/v20230321/thpc_client.py +138 -0
  26. tencentcloud/trocket/v20230308/models.py +90 -20
  27. tencentcloud/tsf/v20180326/errorcodes.py +15 -15
  28. tencentcloud/vdb/v20230616/models.py +15 -0
  29. tencentcloud/vod/v20180717/models.py +12 -4
  30. tencentcloud/wedata/v20210820/models.py +15 -15
  31. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/METADATA +1 -1
  32. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/RECORD +35 -35
  33. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/LICENSE +0 -0
  34. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/WHEEL +0 -0
  35. {tencentcloud_sdk_python-3.0.1438.dist-info → tencentcloud_sdk_python-3.0.1440.dist-info}/top_level.txt +0 -0
@@ -29727,6 +29727,119 @@ class ForceRedirectHTTPSParameters(AbstractModel):
29727
29727
 
29728
29728
 
29729
29729
 
29730
+ class FrequentScanningProtection(AbstractModel):
29731
+ """高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
29732
+
29733
+ """
29734
+
29735
+ def __init__(self):
29736
+ r"""
29737
+ :param _Enabled: 高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
29738
+ :type Enabled: str
29739
+ :param _Action: 高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
29740
+ :type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
29741
+ :param _CountBy: 请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
29742
+ :type CountBy: str
29743
+ :param _BlockThreshold: 此参数指定高频扫描防护的阈值,即在 CountingPeriod 所设置时间范围内命中「配置为拦截」的托管规则时的累计拦截次数,取值范围 1 ~ 4294967294,例如 100,当超过此统计值时,后续请求将触发 Action 所设置的处置动作。当 Enabled 为 on 时,此字段必填。
29744
+ :type BlockThreshold: int
29745
+ :param _CountingPeriod: 此参数指定高频扫描防护所统计的时间窗口,即命中「配置为拦截」的托管规则的请求的统计时间窗口,取值 5 ~ 1800,单位仅支持秒(s),例如 5s。 当 Enabled 为 on 时,此字段必填。
29746
+ :type CountingPeriod: str
29747
+ :param _ActionDuration: 此参数指定高频扫描防护 Action 参数所设置处置动作的持续时长,取值范围 60 ~ 86400,单位仅支持秒(s),例如 60s。当 Enabled 为 on 时,此字段必填。
29748
+ :type ActionDuration: str
29749
+ """
29750
+ self._Enabled = None
29751
+ self._Action = None
29752
+ self._CountBy = None
29753
+ self._BlockThreshold = None
29754
+ self._CountingPeriod = None
29755
+ self._ActionDuration = None
29756
+
29757
+ @property
29758
+ def Enabled(self):
29759
+ """高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
29760
+ :rtype: str
29761
+ """
29762
+ return self._Enabled
29763
+
29764
+ @Enabled.setter
29765
+ def Enabled(self, Enabled):
29766
+ self._Enabled = Enabled
29767
+
29768
+ @property
29769
+ def Action(self):
29770
+ """高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
29771
+ :rtype: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
29772
+ """
29773
+ return self._Action
29774
+
29775
+ @Action.setter
29776
+ def Action(self, Action):
29777
+ self._Action = Action
29778
+
29779
+ @property
29780
+ def CountBy(self):
29781
+ """请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
29782
+ :rtype: str
29783
+ """
29784
+ return self._CountBy
29785
+
29786
+ @CountBy.setter
29787
+ def CountBy(self, CountBy):
29788
+ self._CountBy = CountBy
29789
+
29790
+ @property
29791
+ def BlockThreshold(self):
29792
+ """此参数指定高频扫描防护的阈值,即在 CountingPeriod 所设置时间范围内命中「配置为拦截」的托管规则时的累计拦截次数,取值范围 1 ~ 4294967294,例如 100,当超过此统计值时,后续请求将触发 Action 所设置的处置动作。当 Enabled 为 on 时,此字段必填。
29793
+ :rtype: int
29794
+ """
29795
+ return self._BlockThreshold
29796
+
29797
+ @BlockThreshold.setter
29798
+ def BlockThreshold(self, BlockThreshold):
29799
+ self._BlockThreshold = BlockThreshold
29800
+
29801
+ @property
29802
+ def CountingPeriod(self):
29803
+ """此参数指定高频扫描防护所统计的时间窗口,即命中「配置为拦截」的托管规则的请求的统计时间窗口,取值 5 ~ 1800,单位仅支持秒(s),例如 5s。 当 Enabled 为 on 时,此字段必填。
29804
+ :rtype: str
29805
+ """
29806
+ return self._CountingPeriod
29807
+
29808
+ @CountingPeriod.setter
29809
+ def CountingPeriod(self, CountingPeriod):
29810
+ self._CountingPeriod = CountingPeriod
29811
+
29812
+ @property
29813
+ def ActionDuration(self):
29814
+ """此参数指定高频扫描防护 Action 参数所设置处置动作的持续时长,取值范围 60 ~ 86400,单位仅支持秒(s),例如 60s。当 Enabled 为 on 时,此字段必填。
29815
+ :rtype: str
29816
+ """
29817
+ return self._ActionDuration
29818
+
29819
+ @ActionDuration.setter
29820
+ def ActionDuration(self, ActionDuration):
29821
+ self._ActionDuration = ActionDuration
29822
+
29823
+
29824
+ def _deserialize(self, params):
29825
+ self._Enabled = params.get("Enabled")
29826
+ if params.get("Action") is not None:
29827
+ self._Action = SecurityAction()
29828
+ self._Action._deserialize(params.get("Action"))
29829
+ self._CountBy = params.get("CountBy")
29830
+ self._BlockThreshold = params.get("BlockThreshold")
29831
+ self._CountingPeriod = params.get("CountingPeriod")
29832
+ self._ActionDuration = params.get("ActionDuration")
29833
+ memeber_set = set(params.keys())
29834
+ for name, value in vars(self).items():
29835
+ property_name = name[1:]
29836
+ if property_name in memeber_set:
29837
+ memeber_set.remove(property_name)
29838
+ if len(memeber_set) > 0:
29839
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
29840
+
29841
+
29842
+
29730
29843
  class Function(AbstractModel):
29731
29844
  """边缘函数详情
29732
29845
 
@@ -34591,12 +34704,15 @@ class ManagedRules(AbstractModel):
34591
34704
  :type AutoUpdate: :class:`tencentcloud.teo.v20220901.models.ManagedRuleAutoUpdate`
34592
34705
  :param _ManagedRuleGroups: 托管规则组的配置。如果此结构传空数组或 GroupId 未包含在列表内将按照默认方式处理。
34593
34706
  :type ManagedRuleGroups: list of ManagedRuleGroup
34707
+ :param _FrequentScanningProtection: 高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
34708
+ :type FrequentScanningProtection: :class:`tencentcloud.teo.v20220901.models.FrequentScanningProtection`
34594
34709
  """
34595
34710
  self._Enabled = None
34596
34711
  self._DetectionOnly = None
34597
34712
  self._SemanticAnalysis = None
34598
34713
  self._AutoUpdate = None
34599
34714
  self._ManagedRuleGroups = None
34715
+ self._FrequentScanningProtection = None
34600
34716
 
34601
34717
  @property
34602
34718
  def Enabled(self):
@@ -34653,6 +34769,17 @@ class ManagedRules(AbstractModel):
34653
34769
  def ManagedRuleGroups(self, ManagedRuleGroups):
34654
34770
  self._ManagedRuleGroups = ManagedRuleGroups
34655
34771
 
34772
+ @property
34773
+ def FrequentScanningProtection(self):
34774
+ """高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
34775
+ :rtype: :class:`tencentcloud.teo.v20220901.models.FrequentScanningProtection`
34776
+ """
34777
+ return self._FrequentScanningProtection
34778
+
34779
+ @FrequentScanningProtection.setter
34780
+ def FrequentScanningProtection(self, FrequentScanningProtection):
34781
+ self._FrequentScanningProtection = FrequentScanningProtection
34782
+
34656
34783
 
34657
34784
  def _deserialize(self, params):
34658
34785
  self._Enabled = params.get("Enabled")
@@ -34667,6 +34794,9 @@ class ManagedRules(AbstractModel):
34667
34794
  obj = ManagedRuleGroup()
34668
34795
  obj._deserialize(item)
34669
34796
  self._ManagedRuleGroups.append(obj)
34797
+ if params.get("FrequentScanningProtection") is not None:
34798
+ self._FrequentScanningProtection = FrequentScanningProtection()
34799
+ self._FrequentScanningProtection._deserialize(params.get("FrequentScanningProtection"))
34670
34800
  memeber_set = set(params.keys())
34671
34801
  for name, value in vars(self).items():
34672
34802
  property_name = name[1:]
@@ -53,9 +53,21 @@ INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = 'InvalidParameterValue.Inv
53
53
  # 工作空间实例ID格式不符合规范。
54
54
  INVALIDPARAMETERVALUE_INVALIDSPACEIDMALFORMED = 'InvalidParameterValue.InvalidSpaceIdMalformed'
55
55
 
56
+ # The length of job description should less than `%(max_size)s`.
57
+ INVALIDPARAMETERVALUE_JOBDESCRIPTIONTOOLONG = 'InvalidParameterValue.JobDescriptionTooLong'
58
+
59
+ # The length of job name should less than `%(max_size)s`.
60
+ INVALIDPARAMETERVALUE_JOBNAMETOOLONG = 'InvalidParameterValue.JobNameTooLong'
61
+
62
+ # Job `%(job_id)s` not found.
63
+ INVALIDPARAMETERVALUE_JOBNOTFOUND = 'InvalidParameterValue.JobNotFound'
64
+
56
65
  # 参数值数量超过限制。
57
66
  INVALIDPARAMETERVALUE_LIMITEXCEEDED = 'InvalidParameterValue.LimitExceeded'
58
67
 
68
+ # 参数值的格式不符合要求。
69
+ INVALIDPARAMETERVALUE_MALFORMED = 'InvalidParameterValue.Malformed'
70
+
59
71
  # 不支持该参数值。
60
72
  INVALIDPARAMETERVALUE_NOTSUPPORTED = 'InvalidParameterValue.NotSupported'
61
73
 
@@ -65,6 +77,9 @@ INVALIDPARAMETERVALUE_PARAMETERSNOTSUPPORTED = 'InvalidParameterValue.Parameters
65
77
  # 工作空间实例查找失败
66
78
  INVALIDPARAMETERVALUE_SPACEIDNOTFOUND = 'InvalidParameterValue.SpaceIdNotFound'
67
79
 
80
+ # Task dependencies unfeasible, please check.
81
+ INVALIDPARAMETERVALUE_TASKDEPENDENCIESUNFEASIBLE = 'InvalidParameterValue.TaskDependenciesUnfeasible'
82
+
68
83
  # 参数值过大。
69
84
  INVALIDPARAMETERVALUE_TOOLARGE = 'InvalidParameterValue.TooLarge'
70
85
 
@@ -86,6 +101,9 @@ LIMITEXCEEDED = 'LimitExceeded'
86
101
  # 队列数量达到上限。
87
102
  LIMITEXCEEDED_QUEUENUMLIMIT = 'LimitExceeded.QueueNumLimit'
88
103
 
104
+ # Task instance number `%(max_count)s` limit reached.
105
+ LIMITEXCEEDED_TASKINSTANCENUMLIMIT = 'LimitExceeded.TaskInstanceNumLimit'
106
+
89
107
  # 缺少参数错误。
90
108
  MISSINGPARAMETER = 'MissingParameter'
91
109
 
@@ -110,6 +128,9 @@ RESOURCENOTFOUND_CLUSTERID = 'ResourceNotFound.ClusterId'
110
128
  # 无法找到镜像ID。
111
129
  RESOURCENOTFOUND_IMAGEID = 'ResourceNotFound.ImageId'
112
130
 
131
+ # 指定的Job提交信息不存在。
132
+ RESOURCENOTFOUND_JOBSUBMITINFO = 'ResourceNotFound.JobSubmitInfo'
133
+
113
134
  # 无法找到本地挂载路径。
114
135
  RESOURCENOTFOUND_LOCALPATH = 'ResourceNotFound.LocalPath'
115
136
 
@@ -140,6 +161,9 @@ UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = 'UnsupportedOperation.ClusterStat
140
161
  # 类型节点不支持当前操作。
141
162
  UNSUPPORTEDOPERATION_INVALIDNODEROLE = 'UnsupportedOperation.InvalidNodeRole'
142
163
 
164
+ # Job state `%(job_state)s` not support operation `%(operation)s`.
165
+ UNSUPPORTEDOPERATION_JOBSTATENOTSUPPORT = 'UnsupportedOperation.JobStateNotSupport'
166
+
143
167
  # 节点状态不支持此操作。
144
168
  UNSUPPORTEDOPERATION_NODESTATUSNOTSUPPORT = 'UnsupportedOperation.NodeStatusNotSupport'
145
169