tencentcloud-sdk-python 3.0.1439__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.

@@ -10183,6 +10183,8 @@ class DescribeInsightListRequest(AbstractModel):
10183
10183
  :type Page: int
10184
10184
  :param _Type: 查询类型,支持HIVE,SPARK,DLC_SPARK,SPARK_SQL,SCHEDULE,MAPREDUCE,TRINO等类型,默认查询全部
10185
10185
  :type Type: str
10186
+ :param _MustHasContext: 是否包含具体参数建议等信息
10187
+ :type MustHasContext: bool
10186
10188
  """
10187
10189
  self._InstanceId = None
10188
10190
  self._StartTime = None
@@ -10190,6 +10192,7 @@ class DescribeInsightListRequest(AbstractModel):
10190
10192
  self._PageSize = None
10191
10193
  self._Page = None
10192
10194
  self._Type = None
10195
+ self._MustHasContext = None
10193
10196
 
10194
10197
  @property
10195
10198
  def InstanceId(self):
@@ -10257,6 +10260,17 @@ class DescribeInsightListRequest(AbstractModel):
10257
10260
  def Type(self, Type):
10258
10261
  self._Type = Type
10259
10262
 
10263
+ @property
10264
+ def MustHasContext(self):
10265
+ """是否包含具体参数建议等信息
10266
+ :rtype: bool
10267
+ """
10268
+ return self._MustHasContext
10269
+
10270
+ @MustHasContext.setter
10271
+ def MustHasContext(self, MustHasContext):
10272
+ self._MustHasContext = MustHasContext
10273
+
10260
10274
 
10261
10275
  def _deserialize(self, params):
10262
10276
  self._InstanceId = params.get("InstanceId")
@@ -10265,6 +10279,7 @@ class DescribeInsightListRequest(AbstractModel):
10265
10279
  self._PageSize = params.get("PageSize")
10266
10280
  self._Page = params.get("Page")
10267
10281
  self._Type = params.get("Type")
10282
+ self._MustHasContext = params.get("MustHasContext")
10268
10283
  memeber_set = set(params.keys())
10269
10284
  for name, value in vars(self).items():
10270
10285
  property_name = name[1:]
@@ -617,7 +617,7 @@ UNSUPPORTEDOPERATION_MIGRATE = 'UnsupportedOperation.Migrate'
617
617
  # 不支持多可用区变配。
618
618
  UNSUPPORTEDOPERATION_MULTIZONESUPGRADE = 'UnsupportedOperation.MultiZonesUpgrade'
619
619
 
620
- # UIN注册地为美加墨或者服务地域在美国,协议签署不是Agree
620
+ # 抱歉,您需要前往ES控制台购买页完成确认认证,我们才能为您提供所选的腾讯云服务。如果对于确认流程有任何疑问,可以联系我们:https://www.tencentcloud.com/zh/contact-us。
621
621
  UNSUPPORTEDOPERATION_NOTAGREEMENT = 'UnsupportedOperation.NotAgreement'
622
622
 
623
623
  # 用户同步日志的配置passLogstashId为空,不支持该操作。
@@ -6354,7 +6354,7 @@ class SubmitHunyuanImageJobRequest(AbstractModel):
6354
6354
  在 Resolution 的基础上按比例提高分辨率,例如1024:1024开启2倍超分后将得到2048:2048。
6355
6355
  :type Clarity: str
6356
6356
  :param _ContentImage: 用于引导内容的参考图。
6357
- 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp
6357
+ 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png。
6358
6358
  :type ContentImage: :class:`tencentcloud.hunyuan.v20230901.models.Image`
6359
6359
  :param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
6360
6360
  开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
@@ -6468,7 +6468,7 @@ class SubmitHunyuanImageJobRequest(AbstractModel):
6468
6468
  @property
6469
6469
  def ContentImage(self):
6470
6470
  """用于引导内容的参考图。
6471
- 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png、bmp、tiff、webp
6471
+ 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB,格式支持 jpg、jpeg、png。
6472
6472
  :rtype: :class:`tencentcloud.hunyuan.v20230901.models.Image`
6473
6473
  """
6474
6474
  return self._ContentImage
@@ -39040,19 +39040,25 @@ class LiveStreamAiAnalysisResultItem(AbstractModel):
39040
39040
  r"""
39041
39041
  :param _Type: 结果的类型,取值范围:
39042
39042
  <li>SegmentRecognition:拆条。</li>
39043
+ <li>Highlight :集锦。</li>
39043
39044
  :type Type: str
39044
39045
  :param _SegmentResultSet: 拆条结果,当 Type 为
39045
39046
  SegmentRecognition 时有效。
39046
39047
  注意:此字段可能返回 null,表示取不到有效值。
39047
39048
  :type SegmentResultSet: list of SegmentRecognitionItem
39049
+ :param _HighlightResultSet: 集锦结果,当Type 为 Highlight 时有效。
39050
+ 注意:此字段可能返回 null,表示取不到有效值。
39051
+ :type HighlightResultSet: list of MediaAiAnalysisHighlightItem
39048
39052
  """
39049
39053
  self._Type = None
39050
39054
  self._SegmentResultSet = None
39055
+ self._HighlightResultSet = None
39051
39056
 
39052
39057
  @property
39053
39058
  def Type(self):
39054
39059
  """结果的类型,取值范围:
39055
39060
  <li>SegmentRecognition:拆条。</li>
39061
+ <li>Highlight :集锦。</li>
39056
39062
  :rtype: str
39057
39063
  """
39058
39064
  return self._Type
@@ -39074,6 +39080,18 @@ SegmentRecognition 时有效。
39074
39080
  def SegmentResultSet(self, SegmentResultSet):
39075
39081
  self._SegmentResultSet = SegmentResultSet
39076
39082
 
39083
+ @property
39084
+ def HighlightResultSet(self):
39085
+ """集锦结果,当Type 为 Highlight 时有效。
39086
+ 注意:此字段可能返回 null,表示取不到有效值。
39087
+ :rtype: list of MediaAiAnalysisHighlightItem
39088
+ """
39089
+ return self._HighlightResultSet
39090
+
39091
+ @HighlightResultSet.setter
39092
+ def HighlightResultSet(self, HighlightResultSet):
39093
+ self._HighlightResultSet = HighlightResultSet
39094
+
39077
39095
 
39078
39096
  def _deserialize(self, params):
39079
39097
  self._Type = params.get("Type")
@@ -39083,6 +39101,12 @@ SegmentRecognition 时有效。
39083
39101
  obj = SegmentRecognitionItem()
39084
39102
  obj._deserialize(item)
39085
39103
  self._SegmentResultSet.append(obj)
39104
+ if params.get("HighlightResultSet") is not None:
39105
+ self._HighlightResultSet = []
39106
+ for item in params.get("HighlightResultSet"):
39107
+ obj = MediaAiAnalysisHighlightItem()
39108
+ obj._deserialize(item)
39109
+ self._HighlightResultSet.append(obj)
39086
39110
  memeber_set = set(params.keys())
39087
39111
  for name, value in vars(self).items():
39088
39112
  property_name = name[1:]
@@ -708,6 +708,10 @@ class CreateVolumeRequest(AbstractModel):
708
708
  :type Description: str
709
709
  :param _Capacity: 缓存卷大小(GB),Turbo系列需要指定。
710
710
  :type Capacity: int
711
+ :param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
712
+ :type EnableAutoScaleUp: bool
713
+ :param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
714
+ :type MetaType: str
711
715
  """
712
716
  self._EnvironmentId = None
713
717
  self._Name = None
@@ -715,6 +719,8 @@ class CreateVolumeRequest(AbstractModel):
715
719
  self._Spec = None
716
720
  self._Description = None
717
721
  self._Capacity = None
722
+ self._EnableAutoScaleUp = None
723
+ self._MetaType = None
718
724
 
719
725
  @property
720
726
  def EnvironmentId(self):
@@ -788,6 +794,28 @@ class CreateVolumeRequest(AbstractModel):
788
794
  def Capacity(self, Capacity):
789
795
  self._Capacity = Capacity
790
796
 
797
+ @property
798
+ def EnableAutoScaleUp(self):
799
+ """是否开启默认扩容,仅turbo类型文件存储支持
800
+ :rtype: bool
801
+ """
802
+ return self._EnableAutoScaleUp
803
+
804
+ @EnableAutoScaleUp.setter
805
+ def EnableAutoScaleUp(self, EnableAutoScaleUp):
806
+ self._EnableAutoScaleUp = EnableAutoScaleUp
807
+
808
+ @property
809
+ def MetaType(self):
810
+ """turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
811
+ :rtype: str
812
+ """
813
+ return self._MetaType
814
+
815
+ @MetaType.setter
816
+ def MetaType(self, MetaType):
817
+ self._MetaType = MetaType
818
+
791
819
 
792
820
  def _deserialize(self, params):
793
821
  self._EnvironmentId = params.get("EnvironmentId")
@@ -796,6 +824,8 @@ class CreateVolumeRequest(AbstractModel):
796
824
  self._Spec = params.get("Spec")
797
825
  self._Description = params.get("Description")
798
826
  self._Capacity = params.get("Capacity")
827
+ self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
828
+ self._MetaType = params.get("MetaType")
799
829
  memeber_set = set(params.keys())
800
830
  for name, value in vars(self).items():
801
831
  property_name = name[1:]
@@ -5758,10 +5788,16 @@ class StorageOption(AbstractModel):
5758
5788
  - turbo标准型起售40TiB,即40960GiB;扩容步长20TiB,即20480 GiB。
5759
5789
  - turbo性能型起售20TiB,即20480 GiB;扩容步长10TiB,即10240 GiB。
5760
5790
  :type Capacity: int
5791
+ :param _EnableAutoScaleUp: 是否开启默认扩容,仅turbo类型文件存储支持
5792
+ :type EnableAutoScaleUp: bool
5793
+ :param _MetaType: turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
5794
+ :type MetaType: str
5761
5795
  """
5762
5796
  self._StorageType = None
5763
5797
  self._Zone = None
5764
5798
  self._Capacity = None
5799
+ self._EnableAutoScaleUp = None
5800
+ self._MetaType = None
5765
5801
 
5766
5802
  @property
5767
5803
  def StorageType(self):
@@ -5802,11 +5838,35 @@ class StorageOption(AbstractModel):
5802
5838
  def Capacity(self, Capacity):
5803
5839
  self._Capacity = Capacity
5804
5840
 
5841
+ @property
5842
+ def EnableAutoScaleUp(self):
5843
+ """是否开启默认扩容,仅turbo类型文件存储支持
5844
+ :rtype: bool
5845
+ """
5846
+ return self._EnableAutoScaleUp
5847
+
5848
+ @EnableAutoScaleUp.setter
5849
+ def EnableAutoScaleUp(self, EnableAutoScaleUp):
5850
+ self._EnableAutoScaleUp = EnableAutoScaleUp
5851
+
5852
+ @property
5853
+ def MetaType(self):
5854
+ """turbo文件系统元数据属性,basic:标准型元数据;enhanced:增强型元数据
5855
+ :rtype: str
5856
+ """
5857
+ return self._MetaType
5858
+
5859
+ @MetaType.setter
5860
+ def MetaType(self, MetaType):
5861
+ self._MetaType = MetaType
5862
+
5805
5863
 
5806
5864
  def _deserialize(self, params):
5807
5865
  self._StorageType = params.get("StorageType")
5808
5866
  self._Zone = params.get("Zone")
5809
5867
  self._Capacity = params.get("Capacity")
5868
+ self._EnableAutoScaleUp = params.get("EnableAutoScaleUp")
5869
+ self._MetaType = params.get("MetaType")
5810
5870
  memeber_set = set(params.keys())
5811
5871
  for name, value in vars(self).items():
5812
5872
  property_name = name[1:]
@@ -6279,6 +6339,12 @@ class Volume(AbstractModel):
6279
6339
  :type IsDefault: bool
6280
6340
  :param _Status: 状态。
6281
6341
  :type Status: str
6342
+ :param _AutoScaleUpRule: turbo自动扩容策略
6343
+ :type AutoScaleUpRule: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
6344
+ :param _MetaType: turbo元数据属性
6345
+ :type MetaType: str
6346
+ :param _Zone: 可用区
6347
+ :type Zone: str
6282
6348
  """
6283
6349
  self._VolumeId = None
6284
6350
  self._Name = None
@@ -6292,6 +6358,9 @@ class Volume(AbstractModel):
6292
6358
  self._DefaultMountPath = None
6293
6359
  self._IsDefault = None
6294
6360
  self._Status = None
6361
+ self._AutoScaleUpRule = None
6362
+ self._MetaType = None
6363
+ self._Zone = None
6295
6364
 
6296
6365
  @property
6297
6366
  def VolumeId(self):
@@ -6431,6 +6500,39 @@ class Volume(AbstractModel):
6431
6500
  def Status(self, Status):
6432
6501
  self._Status = Status
6433
6502
 
6503
+ @property
6504
+ def AutoScaleUpRule(self):
6505
+ """turbo自动扩容策略
6506
+ :rtype: :class:`tencentcloud.omics.v20221128.models.VolumeAutoScaleUpRule`
6507
+ """
6508
+ return self._AutoScaleUpRule
6509
+
6510
+ @AutoScaleUpRule.setter
6511
+ def AutoScaleUpRule(self, AutoScaleUpRule):
6512
+ self._AutoScaleUpRule = AutoScaleUpRule
6513
+
6514
+ @property
6515
+ def MetaType(self):
6516
+ """turbo元数据属性
6517
+ :rtype: str
6518
+ """
6519
+ return self._MetaType
6520
+
6521
+ @MetaType.setter
6522
+ def MetaType(self, MetaType):
6523
+ self._MetaType = MetaType
6524
+
6525
+ @property
6526
+ def Zone(self):
6527
+ """可用区
6528
+ :rtype: str
6529
+ """
6530
+ return self._Zone
6531
+
6532
+ @Zone.setter
6533
+ def Zone(self, Zone):
6534
+ self._Zone = Zone
6535
+
6434
6536
 
6435
6537
  def _deserialize(self, params):
6436
6538
  self._VolumeId = params.get("VolumeId")
@@ -6445,6 +6547,79 @@ class Volume(AbstractModel):
6445
6547
  self._DefaultMountPath = params.get("DefaultMountPath")
6446
6548
  self._IsDefault = params.get("IsDefault")
6447
6549
  self._Status = params.get("Status")
6550
+ if params.get("AutoScaleUpRule") is not None:
6551
+ self._AutoScaleUpRule = VolumeAutoScaleUpRule()
6552
+ self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
6553
+ self._MetaType = params.get("MetaType")
6554
+ self._Zone = params.get("Zone")
6555
+ memeber_set = set(params.keys())
6556
+ for name, value in vars(self).items():
6557
+ property_name = name[1:]
6558
+ if property_name in memeber_set:
6559
+ memeber_set.remove(property_name)
6560
+ if len(memeber_set) > 0:
6561
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6562
+
6563
+
6564
+
6565
+ class VolumeAutoScaleUpRule(AbstractModel):
6566
+ """缓存卷自动扩容策略
6567
+
6568
+ """
6569
+
6570
+ def __init__(self):
6571
+ r"""
6572
+ :param _Status: 自动扩容策略开启,关闭
6573
+ 示例值:open,close
6574
+ :type Status: str
6575
+ :param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
6576
+ :type ScaleThreshold: int
6577
+ :param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[10-90]
6578
+ :type TargetThreshold: int
6579
+ """
6580
+ self._Status = None
6581
+ self._ScaleThreshold = None
6582
+ self._TargetThreshold = None
6583
+
6584
+ @property
6585
+ def Status(self):
6586
+ """自动扩容策略开启,关闭
6587
+ 示例值:open,close
6588
+ :rtype: str
6589
+ """
6590
+ return self._Status
6591
+
6592
+ @Status.setter
6593
+ def Status(self, Status):
6594
+ self._Status = Status
6595
+
6596
+ @property
6597
+ def ScaleThreshold(self):
6598
+ """集群用量占比,到达这个值后开始扩容,范围[10-90]
6599
+ :rtype: int
6600
+ """
6601
+ return self._ScaleThreshold
6602
+
6603
+ @ScaleThreshold.setter
6604
+ def ScaleThreshold(self, ScaleThreshold):
6605
+ self._ScaleThreshold = ScaleThreshold
6606
+
6607
+ @property
6608
+ def TargetThreshold(self):
6609
+ """扩容后使用量跟集群总量比例,范围[10-90]
6610
+ :rtype: int
6611
+ """
6612
+ return self._TargetThreshold
6613
+
6614
+ @TargetThreshold.setter
6615
+ def TargetThreshold(self, TargetThreshold):
6616
+ self._TargetThreshold = TargetThreshold
6617
+
6618
+
6619
+ def _deserialize(self, params):
6620
+ self._Status = params.get("Status")
6621
+ self._ScaleThreshold = params.get("ScaleThreshold")
6622
+ self._TargetThreshold = params.get("TargetThreshold")
6448
6623
  memeber_set = set(params.keys())
6449
6624
  for name, value in vars(self).items():
6450
6625
  property_name = name[1:]
@@ -12079,6 +12079,10 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12079
12079
  :type MultiDrReadableInfo: list of DrReadableInfo
12080
12080
  :param _IsDiskEncryptFlag: 是否开启磁盘加密,1-开启,0-未开启
12081
12081
  :type IsDiskEncryptFlag: int
12082
+ :param _IsSafetyLimited: 是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
12083
+ :type IsSafetyLimited: int
12084
+ :param _IsSupportSA: 是否支持创建SA权限账号,0-不支持,1-支持
12085
+ :type IsSupportSA: int
12082
12086
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12083
12087
  :type RequestId: str
12084
12088
  """
@@ -12097,6 +12101,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12097
12101
  self._XEventStatus = None
12098
12102
  self._MultiDrReadableInfo = None
12099
12103
  self._IsDiskEncryptFlag = None
12104
+ self._IsSafetyLimited = None
12105
+ self._IsSupportSA = None
12100
12106
  self._RequestId = None
12101
12107
 
12102
12108
  @property
@@ -12264,6 +12270,28 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12264
12270
  def IsDiskEncryptFlag(self, IsDiskEncryptFlag):
12265
12271
  self._IsDiskEncryptFlag = IsDiskEncryptFlag
12266
12272
 
12273
+ @property
12274
+ def IsSafetyLimited(self):
12275
+ """是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
12276
+ :rtype: int
12277
+ """
12278
+ return self._IsSafetyLimited
12279
+
12280
+ @IsSafetyLimited.setter
12281
+ def IsSafetyLimited(self, IsSafetyLimited):
12282
+ self._IsSafetyLimited = IsSafetyLimited
12283
+
12284
+ @property
12285
+ def IsSupportSA(self):
12286
+ """是否支持创建SA权限账号,0-不支持,1-支持
12287
+ :rtype: int
12288
+ """
12289
+ return self._IsSupportSA
12290
+
12291
+ @IsSupportSA.setter
12292
+ def IsSupportSA(self, IsSupportSA):
12293
+ self._IsSupportSA = IsSupportSA
12294
+
12267
12295
  @property
12268
12296
  def RequestId(self):
12269
12297
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -12308,6 +12336,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
12308
12336
  obj._deserialize(item)
12309
12337
  self._MultiDrReadableInfo.append(obj)
12310
12338
  self._IsDiskEncryptFlag = params.get("IsDiskEncryptFlag")
12339
+ self._IsSafetyLimited = params.get("IsSafetyLimited")
12340
+ self._IsSupportSA = params.get("IsSupportSA")
12311
12341
  self._RequestId = params.get("RequestId")
12312
12342
 
12313
12343
 
@@ -16225,7 +16225,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
16225
16225
  :type FilterTopic: str
16226
16226
  :param _FilterGroup: 按消费组名称查询消费组,支持模糊查询
16227
16227
  :type FilterGroup: str
16228
- :param _SortedBy: 按照指定字段排序,可选值为tps,accumulative
16228
+ :param _SortedBy: 按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
16229
16229
  :type SortedBy: str
16230
16230
  :param _SortOrder: 按升序或降序排列,可选值为asc,desc
16231
16231
  :type SortOrder: str
@@ -16313,7 +16313,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
16313
16313
 
16314
16314
  @property
16315
16315
  def SortedBy(self):
16316
- """按照指定字段排序,可选值为tps,accumulative
16316
+ """按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
16317
16317
  :rtype: str
16318
16318
  """
16319
16319
  return self._SortedBy
@@ -31205,6 +31205,8 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31205
31205
  :type Topic: str
31206
31206
  :param _ResetTimestamp: 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
31207
31207
  :type ResetTimestamp: int
31208
+ :param _RetryFlag: 重置的是否是retry topic
31209
+ :type RetryFlag: bool
31208
31210
  """
31209
31211
  self._ClusterId = None
31210
31212
  self._NamespaceId = None
@@ -31212,6 +31214,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31212
31214
  self._Type = None
31213
31215
  self._Topic = None
31214
31216
  self._ResetTimestamp = None
31217
+ self._RetryFlag = None
31215
31218
 
31216
31219
  @property
31217
31220
  def ClusterId(self):
@@ -31279,6 +31282,17 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31279
31282
  def ResetTimestamp(self, ResetTimestamp):
31280
31283
  self._ResetTimestamp = ResetTimestamp
31281
31284
 
31285
+ @property
31286
+ def RetryFlag(self):
31287
+ """重置的是否是retry topic
31288
+ :rtype: bool
31289
+ """
31290
+ return self._RetryFlag
31291
+
31292
+ @RetryFlag.setter
31293
+ def RetryFlag(self, RetryFlag):
31294
+ self._RetryFlag = RetryFlag
31295
+
31282
31296
 
31283
31297
  def _deserialize(self, params):
31284
31298
  self._ClusterId = params.get("ClusterId")
@@ -31287,6 +31301,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
31287
31301
  self._Type = params.get("Type")
31288
31302
  self._Topic = params.get("Topic")
31289
31303
  self._ResetTimestamp = params.get("ResetTimestamp")
31304
+ self._RetryFlag = params.get("RetryFlag")
31290
31305
  memeber_set = set(params.keys())
31291
31306
  for name, value in vars(self).items():
31292
31307
  property_name = name[1:]
@@ -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:]