tencentcloud-sdk-python-cls 3.1.124__tar.gz → 3.1.128__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/models.py +422 -130
  5. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cls-3.1.128/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cls-3.1.124/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/cls_client.py +0 -0
  13. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cls-3.1.124 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.124
3
+ Version: 3.1.128
4
4
  Summary: Tencent Cloud Cls 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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cls',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.124,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.128,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cls SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.124'
17
+ __version__ = '3.1.128'
@@ -3748,20 +3748,24 @@ class CloudProductLogTaskInfo(AbstractModel):
3748
3748
 
3749
3749
  def __init__(self):
3750
3750
  r"""
3751
- :param _ClsRegion: 日志服务地域
3751
+ :param _ClsRegion: <p>日志服务地域</p>
3752
3752
  :type ClsRegion: str
3753
- :param _InstanceId: 实例ID
3753
+ :param _InstanceId: <p>实例ID</p>
3754
3754
  :type InstanceId: str
3755
- :param _LogsetId: 日志集ID
3755
+ :param _LogsetId: <p>日志集ID</p>
3756
3756
  :type LogsetId: str
3757
- :param _TopicId: 日志主题ID
3757
+ :param _TopicId: <p>日志主题ID</p>
3758
3758
  :type TopicId: str
3759
- :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
3759
+ :param _Extend: <p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
3760
3760
  :type Extend: str
3761
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
3761
+ :param _LogType: <p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
3762
3762
  :type LogType: str
3763
- :param _Status: 任务状态, 0创建中 1创建完成 2 删除中
3763
+ :param _Status: <p>任务状态, 0创建中 1创建完成 2 删除中</p>
3764
3764
  :type Status: int
3765
+ :param _TopicTags: <p>投递任务关联topic的标签信息</p>
3766
+ :type TopicTags: list of Tag
3767
+ :param _LogsetTags: <p>投递任务关联logset的标签信息</p>
3768
+ :type LogsetTags: list of Tag
3765
3769
  """
3766
3770
  self._ClsRegion = None
3767
3771
  self._InstanceId = None
@@ -3770,10 +3774,12 @@ class CloudProductLogTaskInfo(AbstractModel):
3770
3774
  self._Extend = None
3771
3775
  self._LogType = None
3772
3776
  self._Status = None
3777
+ self._TopicTags = None
3778
+ self._LogsetTags = None
3773
3779
 
3774
3780
  @property
3775
3781
  def ClsRegion(self):
3776
- r"""日志服务地域
3782
+ r"""<p>日志服务地域</p>
3777
3783
  :rtype: str
3778
3784
  """
3779
3785
  return self._ClsRegion
@@ -3784,7 +3790,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3784
3790
 
3785
3791
  @property
3786
3792
  def InstanceId(self):
3787
- r"""实例ID
3793
+ r"""<p>实例ID</p>
3788
3794
  :rtype: str
3789
3795
  """
3790
3796
  return self._InstanceId
@@ -3795,7 +3801,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3795
3801
 
3796
3802
  @property
3797
3803
  def LogsetId(self):
3798
- r"""日志集ID
3804
+ r"""<p>日志集ID</p>
3799
3805
  :rtype: str
3800
3806
  """
3801
3807
  return self._LogsetId
@@ -3806,7 +3812,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3806
3812
 
3807
3813
  @property
3808
3814
  def TopicId(self):
3809
- r"""日志主题ID
3815
+ r"""<p>日志主题ID</p>
3810
3816
  :rtype: str
3811
3817
  """
3812
3818
  return self._TopicId
@@ -3817,7 +3823,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3817
3823
 
3818
3824
  @property
3819
3825
  def Extend(self):
3820
- r"""日志配置拓展信息, 一般用于存储额外的日志投递配置
3826
+ r"""<p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
3821
3827
  :rtype: str
3822
3828
  """
3823
3829
  return self._Extend
@@ -3828,7 +3834,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3828
3834
 
3829
3835
  @property
3830
3836
  def LogType(self):
3831
- r"""日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
3837
+ r"""<p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
3832
3838
  :rtype: str
3833
3839
  """
3834
3840
  return self._LogType
@@ -3839,7 +3845,7 @@ class CloudProductLogTaskInfo(AbstractModel):
3839
3845
 
3840
3846
  @property
3841
3847
  def Status(self):
3842
- r"""任务状态, 0创建中 1创建完成 2 删除中
3848
+ r"""<p>任务状态, 0创建中 1创建完成 2 删除中</p>
3843
3849
  :rtype: int
3844
3850
  """
3845
3851
  return self._Status
@@ -3848,6 +3854,28 @@ class CloudProductLogTaskInfo(AbstractModel):
3848
3854
  def Status(self, Status):
3849
3855
  self._Status = Status
3850
3856
 
3857
+ @property
3858
+ def TopicTags(self):
3859
+ r"""<p>投递任务关联topic的标签信息</p>
3860
+ :rtype: list of Tag
3861
+ """
3862
+ return self._TopicTags
3863
+
3864
+ @TopicTags.setter
3865
+ def TopicTags(self, TopicTags):
3866
+ self._TopicTags = TopicTags
3867
+
3868
+ @property
3869
+ def LogsetTags(self):
3870
+ r"""<p>投递任务关联logset的标签信息</p>
3871
+ :rtype: list of Tag
3872
+ """
3873
+ return self._LogsetTags
3874
+
3875
+ @LogsetTags.setter
3876
+ def LogsetTags(self, LogsetTags):
3877
+ self._LogsetTags = LogsetTags
3878
+
3851
3879
 
3852
3880
  def _deserialize(self, params):
3853
3881
  self._ClsRegion = params.get("ClsRegion")
@@ -3857,6 +3885,18 @@ class CloudProductLogTaskInfo(AbstractModel):
3857
3885
  self._Extend = params.get("Extend")
3858
3886
  self._LogType = params.get("LogType")
3859
3887
  self._Status = params.get("Status")
3888
+ if params.get("TopicTags") is not None:
3889
+ self._TopicTags = []
3890
+ for item in params.get("TopicTags"):
3891
+ obj = Tag()
3892
+ obj._deserialize(item)
3893
+ self._TopicTags.append(obj)
3894
+ if params.get("LogsetTags") is not None:
3895
+ self._LogsetTags = []
3896
+ for item in params.get("LogsetTags"):
3897
+ obj = Tag()
3898
+ obj._deserialize(item)
3899
+ self._LogsetTags.append(obj)
3860
3900
  memeber_set = set(params.keys())
3861
3901
  for name, value in vars(self).items():
3862
3902
  property_name = name[1:]
@@ -13416,32 +13456,36 @@ class CreateScheduledSqlRequest(AbstractModel):
13416
13456
 
13417
13457
  def __init__(self):
13418
13458
  r"""
13419
- :param _SrcTopicId: 源日志主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id
13459
+ :param _SrcTopicId: <p>源日志主题ID- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
13420
13460
  :type SrcTopicId: str
13421
- :param _Name: 任务名称,0~255字符
13461
+ :param _Name: <p>任务名称,0~255字符</p>
13422
13462
  :type Name: str
13423
- :param _EnableFlag: 任务启动状态. 1开启, 2关闭
13463
+ :param _EnableFlag: <p>任务启动状态. 1开启, 2关闭</p>
13424
13464
  :type EnableFlag: int
13425
- :param _DstResource: 定时SQL分析目标日志主题
13465
+ :param _DstResource: <p>定时SQL分析目标日志主题</p>
13426
13466
  :type DstResource: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
13427
- :param _ScheduledSqlContent: 查询语句
13467
+ :param _ScheduledSqlContent: <p>查询语句</p>
13428
13468
  :type ScheduledSqlContent: str
13429
- :param _ProcessStartTime: 调度开始时间,Unix时间戳,单位ms
13469
+ :param _ProcessStartTime: <p>调度开始时间,Unix时间戳,单位ms</p>
13430
13470
  :type ProcessStartTime: int
13431
- :param _ProcessType: 调度类型,1:持续运行 2:指定时间范围
13471
+ :param _ProcessType: <p>调度类型,1:持续运行 2:指定时间范围</p>
13432
13472
  :type ProcessType: int
13433
- :param _ProcessPeriod: 调度周期(分钟),1~1440分钟
13473
+ :param _ProcessPeriod: <p>调度周期(分钟),1~1440分钟</p>
13434
13474
  :type ProcessPeriod: int
13435
- :param _ProcessTimeWindow: 单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。
13475
+ :param _ProcessTimeWindow: <p>单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。</p>
13436
13476
  :type ProcessTimeWindow: str
13437
- :param _ProcessDelay: 执行延迟(秒),0~120秒,默认60
13477
+ :param _ProcessDelay: <p>执行延迟(秒),0~120秒,默认60秒</p>
13438
13478
  :type ProcessDelay: int
13439
- :param _SrcTopicRegion: topicId的地域信息,支持地域见 [地域列表](https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) 文档
13479
+ :param _SrcTopicRegion: <p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
13440
13480
  :type SrcTopicRegion: str
13441
- :param _ProcessEndTime: 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms
13481
+ :param _ProcessEndTime: <p>调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms</p>
13442
13482
  :type ProcessEndTime: int
13443
- :param _SyntaxRule: 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法
13483
+ :param _SyntaxRule: <p>查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法</p>
13444
13484
  :type SyntaxRule: int
13485
+ :param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
13486
+ :type HasServicesLog: int
13487
+ :param _FullQuery: <p>全文检索标记。1:关闭,2:打开。默认:1</p>
13488
+ :type FullQuery: int
13445
13489
  """
13446
13490
  self._SrcTopicId = None
13447
13491
  self._Name = None
@@ -13456,10 +13500,12 @@ class CreateScheduledSqlRequest(AbstractModel):
13456
13500
  self._SrcTopicRegion = None
13457
13501
  self._ProcessEndTime = None
13458
13502
  self._SyntaxRule = None
13503
+ self._HasServicesLog = None
13504
+ self._FullQuery = None
13459
13505
 
13460
13506
  @property
13461
13507
  def SrcTopicId(self):
13462
- r"""源日志主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id
13508
+ r"""<p>源日志主题ID- 通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</p>
13463
13509
  :rtype: str
13464
13510
  """
13465
13511
  return self._SrcTopicId
@@ -13470,7 +13516,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13470
13516
 
13471
13517
  @property
13472
13518
  def Name(self):
13473
- r"""任务名称,0~255字符
13519
+ r"""<p>任务名称,0~255字符</p>
13474
13520
  :rtype: str
13475
13521
  """
13476
13522
  return self._Name
@@ -13481,7 +13527,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13481
13527
 
13482
13528
  @property
13483
13529
  def EnableFlag(self):
13484
- r"""任务启动状态. 1开启, 2关闭
13530
+ r"""<p>任务启动状态. 1开启, 2关闭</p>
13485
13531
  :rtype: int
13486
13532
  """
13487
13533
  return self._EnableFlag
@@ -13492,7 +13538,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13492
13538
 
13493
13539
  @property
13494
13540
  def DstResource(self):
13495
- r"""定时SQL分析目标日志主题
13541
+ r"""<p>定时SQL分析目标日志主题</p>
13496
13542
  :rtype: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
13497
13543
  """
13498
13544
  return self._DstResource
@@ -13503,7 +13549,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13503
13549
 
13504
13550
  @property
13505
13551
  def ScheduledSqlContent(self):
13506
- r"""查询语句
13552
+ r"""<p>查询语句</p>
13507
13553
  :rtype: str
13508
13554
  """
13509
13555
  return self._ScheduledSqlContent
@@ -13514,7 +13560,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13514
13560
 
13515
13561
  @property
13516
13562
  def ProcessStartTime(self):
13517
- r"""调度开始时间,Unix时间戳,单位ms
13563
+ r"""<p>调度开始时间,Unix时间戳,单位ms</p>
13518
13564
  :rtype: int
13519
13565
  """
13520
13566
  return self._ProcessStartTime
@@ -13525,7 +13571,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13525
13571
 
13526
13572
  @property
13527
13573
  def ProcessType(self):
13528
- r"""调度类型,1:持续运行 2:指定时间范围
13574
+ r"""<p>调度类型,1:持续运行 2:指定时间范围</p>
13529
13575
  :rtype: int
13530
13576
  """
13531
13577
  return self._ProcessType
@@ -13536,7 +13582,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13536
13582
 
13537
13583
  @property
13538
13584
  def ProcessPeriod(self):
13539
- r"""调度周期(分钟),1~1440分钟
13585
+ r"""<p>调度周期(分钟),1~1440分钟</p>
13540
13586
  :rtype: int
13541
13587
  """
13542
13588
  return self._ProcessPeriod
@@ -13547,7 +13593,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13547
13593
 
13548
13594
  @property
13549
13595
  def ProcessTimeWindow(self):
13550
- r"""单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。
13596
+ r"""<p>单次查询的时间窗口,如果您的目标主题为指标主题,建议该参数的大小不超过30分钟,否则可能转指标失败。</p>
13551
13597
  :rtype: str
13552
13598
  """
13553
13599
  return self._ProcessTimeWindow
@@ -13558,7 +13604,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13558
13604
 
13559
13605
  @property
13560
13606
  def ProcessDelay(self):
13561
- r"""执行延迟(秒),0~120秒,默认60
13607
+ r"""<p>执行延迟(秒),0~120秒,默认60秒</p>
13562
13608
  :rtype: int
13563
13609
  """
13564
13610
  return self._ProcessDelay
@@ -13569,7 +13615,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13569
13615
 
13570
13616
  @property
13571
13617
  def SrcTopicRegion(self):
13572
- r"""topicId的地域信息,支持地域见 [地域列表](https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) 文档
13618
+ r"""<p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
13573
13619
  :rtype: str
13574
13620
  """
13575
13621
  return self._SrcTopicRegion
@@ -13580,7 +13626,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13580
13626
 
13581
13627
  @property
13582
13628
  def ProcessEndTime(self):
13583
- r"""调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms
13629
+ r"""<p>调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms</p>
13584
13630
  :rtype: int
13585
13631
  """
13586
13632
  return self._ProcessEndTime
@@ -13591,7 +13637,7 @@ class CreateScheduledSqlRequest(AbstractModel):
13591
13637
 
13592
13638
  @property
13593
13639
  def SyntaxRule(self):
13594
- r"""查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法
13640
+ r"""<p>查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法</p>
13595
13641
  :rtype: int
13596
13642
  """
13597
13643
  return self._SyntaxRule
@@ -13600,6 +13646,28 @@ class CreateScheduledSqlRequest(AbstractModel):
13600
13646
  def SyntaxRule(self, SyntaxRule):
13601
13647
  self._SyntaxRule = SyntaxRule
13602
13648
 
13649
+ @property
13650
+ def HasServicesLog(self):
13651
+ r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
13652
+ :rtype: int
13653
+ """
13654
+ return self._HasServicesLog
13655
+
13656
+ @HasServicesLog.setter
13657
+ def HasServicesLog(self, HasServicesLog):
13658
+ self._HasServicesLog = HasServicesLog
13659
+
13660
+ @property
13661
+ def FullQuery(self):
13662
+ r"""<p>全文检索标记。1:关闭,2:打开。默认:1</p>
13663
+ :rtype: int
13664
+ """
13665
+ return self._FullQuery
13666
+
13667
+ @FullQuery.setter
13668
+ def FullQuery(self, FullQuery):
13669
+ self._FullQuery = FullQuery
13670
+
13603
13671
 
13604
13672
  def _deserialize(self, params):
13605
13673
  self._SrcTopicId = params.get("SrcTopicId")
@@ -13617,6 +13685,8 @@ class CreateScheduledSqlRequest(AbstractModel):
13617
13685
  self._SrcTopicRegion = params.get("SrcTopicRegion")
13618
13686
  self._ProcessEndTime = params.get("ProcessEndTime")
13619
13687
  self._SyntaxRule = params.get("SyntaxRule")
13688
+ self._HasServicesLog = params.get("HasServicesLog")
13689
+ self._FullQuery = params.get("FullQuery")
13620
13690
  memeber_set = set(params.keys())
13621
13691
  for name, value in vars(self).items():
13622
13692
  property_name = name[1:]
@@ -13634,7 +13704,7 @@ class CreateScheduledSqlResponse(AbstractModel):
13634
13704
 
13635
13705
  def __init__(self):
13636
13706
  r"""
13637
- :param _TaskId: 任务id
13707
+ :param _TaskId: <p>任务id</p>
13638
13708
  :type TaskId: str
13639
13709
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13640
13710
  :type RequestId: str
@@ -13644,7 +13714,7 @@ class CreateScheduledSqlResponse(AbstractModel):
13644
13714
 
13645
13715
  @property
13646
13716
  def TaskId(self):
13647
- r"""任务id
13717
+ r"""<p>任务id</p>
13648
13718
  :rtype: str
13649
13719
  """
13650
13720
  return self._TaskId
@@ -20203,10 +20273,13 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
20203
20273
  :type Limit: int
20204
20274
  :param _Filters: <ul><li>assumerName<ul><li>按照【云产品标识】进行过滤。</li><li>类型:String</li><li>必选:否</li><li>枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</li></ul></li><li>logType<ul><li>按照【日志类型】进行过滤。</li><li>类型:String</li><li>必选:否</li><li>枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</li></ul></li><li>instanceId<ul><li>按照【实例ID】进行过滤。</li><li>类型:String</li><li>必选:否</li></ul></li></ul>
20205
20275
  :type Filters: list of Filter
20276
+ :param _WithTags: <p>是否携带topic和logset的标签信息</p>
20277
+ :type WithTags: bool
20206
20278
  """
20207
20279
  self._Offset = None
20208
20280
  self._Limit = None
20209
20281
  self._Filters = None
20282
+ self._WithTags = None
20210
20283
 
20211
20284
  @property
20212
20285
  def Offset(self):
@@ -20241,6 +20314,17 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
20241
20314
  def Filters(self, Filters):
20242
20315
  self._Filters = Filters
20243
20316
 
20317
+ @property
20318
+ def WithTags(self):
20319
+ r"""<p>是否携带topic和logset的标签信息</p>
20320
+ :rtype: bool
20321
+ """
20322
+ return self._WithTags
20323
+
20324
+ @WithTags.setter
20325
+ def WithTags(self, WithTags):
20326
+ self._WithTags = WithTags
20327
+
20244
20328
 
20245
20329
  def _deserialize(self, params):
20246
20330
  self._Offset = params.get("Offset")
@@ -20251,6 +20335,7 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
20251
20335
  obj = Filter()
20252
20336
  obj._deserialize(item)
20253
20337
  self._Filters.append(obj)
20338
+ self._WithTags = params.get("WithTags")
20254
20339
  memeber_set = set(params.keys())
20255
20340
  for name, value in vars(self).items():
20256
20341
  property_name = name[1:]
@@ -20272,11 +20357,14 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
20272
20357
  :type Tasks: list of CloudProductLogTaskInfo
20273
20358
  :param _TotalCount: <p>日志配置总数</p>
20274
20359
  :type TotalCount: int
20360
+ :param _Message: <p>额外信息。如查询topic、logset标签信息错误</p>
20361
+ :type Message: str
20275
20362
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20276
20363
  :type RequestId: str
20277
20364
  """
20278
20365
  self._Tasks = None
20279
20366
  self._TotalCount = None
20367
+ self._Message = None
20280
20368
  self._RequestId = None
20281
20369
 
20282
20370
  @property
@@ -20301,6 +20389,17 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
20301
20389
  def TotalCount(self, TotalCount):
20302
20390
  self._TotalCount = TotalCount
20303
20391
 
20392
+ @property
20393
+ def Message(self):
20394
+ r"""<p>额外信息。如查询topic、logset标签信息错误</p>
20395
+ :rtype: str
20396
+ """
20397
+ return self._Message
20398
+
20399
+ @Message.setter
20400
+ def Message(self, Message):
20401
+ self._Message = Message
20402
+
20304
20403
  @property
20305
20404
  def RequestId(self):
20306
20405
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -20321,6 +20420,7 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
20321
20420
  obj._deserialize(item)
20322
20421
  self._Tasks.append(obj)
20323
20422
  self._TotalCount = params.get("TotalCount")
20423
+ self._Message = params.get("Message")
20324
20424
  self._RequestId = params.get("RequestId")
20325
20425
 
20326
20426
 
@@ -28439,38 +28539,44 @@ class DlcDeliverInfo(AbstractModel):
28439
28539
 
28440
28540
  def __init__(self):
28441
28541
  r"""
28442
- :param _TaskId: 任务id
28542
+ :param _TaskId: <p>任务id。</p>
28443
28543
  :type TaskId: str
28444
- :param _Uin: 账号id
28544
+ :param _Uin: <p>账号id。</p>
28445
28545
  :type Uin: int
28446
- :param _TopicId: 日志主题id
28546
+ :param _TopicId: <p>日志主题id。</p>
28447
28547
  :type TopicId: str
28448
- :param _Name: 任务名称。
28548
+ :param _Name: <p>任务名称。</p>
28449
28549
  :type Name: str
28450
- :param _DeliverType: 投递类型,0:实时投递,1:历史投递
28550
+ :param _DeliverType: <p>投递类型,0:实时投递,1:历史投递</p>
28451
28551
  :type DeliverType: int
28452
- :param _MaxSize: 投递文件大小,单位MB
28552
+ :param _MaxSize: <p>投递文件大小,单位MB</p>
28453
28553
  :type MaxSize: int
28454
- :param _Interval: 投递间隔 单位秒
28554
+ :param _Interval: <p>投递间隔 单位秒</p>
28455
28555
  :type Interval: int
28456
- :param _StartTime: 投递时间范围的开始时间
28556
+ :param _StartTime: <p>投递时间范围的开始时间</p>
28457
28557
  :type StartTime: int
28458
- :param _EndTime: 投递时间范围的结束时间
28558
+ :param _EndTime: <p>投递时间范围的结束时间</p>
28459
28559
  :type EndTime: int
28460
- :param _DlcInfo: dlc配置信息
28560
+ :param _DlcInfo: <p>dlc配置信息</p>
28461
28561
  :type DlcInfo: :class:`tencentcloud.cls.v20201016.models.DlcInfo`
28462
- :param _HasServicesLog: 是否开启投递服务日志。1关闭,2开启
28562
+ :param _HasServicesLog: <p>是否开启投递服务日志。1关闭,2开启</p>
28463
28563
  :type HasServicesLog: int
28464
- :param _Status: 任务状态。
28564
+ :param _Status: <p>任务状态。</p>
28465
28565
  :type Status: int
28466
- :param _Progress: 任务进度。历史投递任务生效。
28566
+ :param _Progress: <p>任务进度。历史投递任务生效。</p>
28467
28567
  :type Progress: int
28468
- :param _BizType: 日志主题类型。0:标准主题,1:指标主题
28568
+ :param _BizType: <p>日志主题类型。0:标准主题,1:指标主题</p>
28469
28569
  :type BizType: int
28470
- :param _CreateTime: 任务创建时间。
28570
+ :param _CreateTime: <p>任务创建时间。</p>
28471
28571
  :type CreateTime: int
28472
- :param _UpdateTime: 任务修改时间。
28572
+ :param _UpdateTime: <p>任务修改时间。</p>
28473
28573
  :type UpdateTime: int
28574
+ :param _AutoCreateField: <p>自动创建dlc字段</p><p>默认值:false</p><p>当您的日志中有新增字段时,系统自动将其投递至DLC</p>
28575
+ :type AutoCreateField: bool
28576
+ :param _DlcFailHandle: <p>将投递失败的日志存储至DLC表</p>
28577
+ :type DlcFailHandle: :class:`tencentcloud.cls.v20201016.models.DlcFailHandle`
28578
+ :param _DSLFilter: <p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
28579
+ :type DSLFilter: str
28474
28580
  """
28475
28581
  self._TaskId = None
28476
28582
  self._Uin = None
@@ -28488,10 +28594,13 @@ class DlcDeliverInfo(AbstractModel):
28488
28594
  self._BizType = None
28489
28595
  self._CreateTime = None
28490
28596
  self._UpdateTime = None
28597
+ self._AutoCreateField = None
28598
+ self._DlcFailHandle = None
28599
+ self._DSLFilter = None
28491
28600
 
28492
28601
  @property
28493
28602
  def TaskId(self):
28494
- r"""任务id
28603
+ r"""<p>任务id。</p>
28495
28604
  :rtype: str
28496
28605
  """
28497
28606
  return self._TaskId
@@ -28502,7 +28611,7 @@ class DlcDeliverInfo(AbstractModel):
28502
28611
 
28503
28612
  @property
28504
28613
  def Uin(self):
28505
- r"""账号id
28614
+ r"""<p>账号id。</p>
28506
28615
  :rtype: int
28507
28616
  """
28508
28617
  return self._Uin
@@ -28513,7 +28622,7 @@ class DlcDeliverInfo(AbstractModel):
28513
28622
 
28514
28623
  @property
28515
28624
  def TopicId(self):
28516
- r"""日志主题id
28625
+ r"""<p>日志主题id。</p>
28517
28626
  :rtype: str
28518
28627
  """
28519
28628
  return self._TopicId
@@ -28524,7 +28633,7 @@ class DlcDeliverInfo(AbstractModel):
28524
28633
 
28525
28634
  @property
28526
28635
  def Name(self):
28527
- r"""任务名称。
28636
+ r"""<p>任务名称。</p>
28528
28637
  :rtype: str
28529
28638
  """
28530
28639
  return self._Name
@@ -28535,7 +28644,7 @@ class DlcDeliverInfo(AbstractModel):
28535
28644
 
28536
28645
  @property
28537
28646
  def DeliverType(self):
28538
- r"""投递类型,0:实时投递,1:历史投递
28647
+ r"""<p>投递类型,0:实时投递,1:历史投递</p>
28539
28648
  :rtype: int
28540
28649
  """
28541
28650
  return self._DeliverType
@@ -28546,7 +28655,7 @@ class DlcDeliverInfo(AbstractModel):
28546
28655
 
28547
28656
  @property
28548
28657
  def MaxSize(self):
28549
- r"""投递文件大小,单位MB
28658
+ r"""<p>投递文件大小,单位MB</p>
28550
28659
  :rtype: int
28551
28660
  """
28552
28661
  return self._MaxSize
@@ -28557,7 +28666,7 @@ class DlcDeliverInfo(AbstractModel):
28557
28666
 
28558
28667
  @property
28559
28668
  def Interval(self):
28560
- r"""投递间隔 单位秒
28669
+ r"""<p>投递间隔 单位秒</p>
28561
28670
  :rtype: int
28562
28671
  """
28563
28672
  return self._Interval
@@ -28568,7 +28677,7 @@ class DlcDeliverInfo(AbstractModel):
28568
28677
 
28569
28678
  @property
28570
28679
  def StartTime(self):
28571
- r"""投递时间范围的开始时间
28680
+ r"""<p>投递时间范围的开始时间</p>
28572
28681
  :rtype: int
28573
28682
  """
28574
28683
  return self._StartTime
@@ -28579,7 +28688,7 @@ class DlcDeliverInfo(AbstractModel):
28579
28688
 
28580
28689
  @property
28581
28690
  def EndTime(self):
28582
- r"""投递时间范围的结束时间
28691
+ r"""<p>投递时间范围的结束时间</p>
28583
28692
  :rtype: int
28584
28693
  """
28585
28694
  return self._EndTime
@@ -28590,7 +28699,7 @@ class DlcDeliverInfo(AbstractModel):
28590
28699
 
28591
28700
  @property
28592
28701
  def DlcInfo(self):
28593
- r"""dlc配置信息
28702
+ r"""<p>dlc配置信息</p>
28594
28703
  :rtype: :class:`tencentcloud.cls.v20201016.models.DlcInfo`
28595
28704
  """
28596
28705
  return self._DlcInfo
@@ -28601,7 +28710,7 @@ class DlcDeliverInfo(AbstractModel):
28601
28710
 
28602
28711
  @property
28603
28712
  def HasServicesLog(self):
28604
- r"""是否开启投递服务日志。1关闭,2开启
28713
+ r"""<p>是否开启投递服务日志。1关闭,2开启</p>
28605
28714
  :rtype: int
28606
28715
  """
28607
28716
  return self._HasServicesLog
@@ -28612,7 +28721,7 @@ class DlcDeliverInfo(AbstractModel):
28612
28721
 
28613
28722
  @property
28614
28723
  def Status(self):
28615
- r"""任务状态。
28724
+ r"""<p>任务状态。</p>
28616
28725
  :rtype: int
28617
28726
  """
28618
28727
  return self._Status
@@ -28623,7 +28732,7 @@ class DlcDeliverInfo(AbstractModel):
28623
28732
 
28624
28733
  @property
28625
28734
  def Progress(self):
28626
- r"""任务进度。历史投递任务生效。
28735
+ r"""<p>任务进度。历史投递任务生效。</p>
28627
28736
  :rtype: int
28628
28737
  """
28629
28738
  return self._Progress
@@ -28634,7 +28743,7 @@ class DlcDeliverInfo(AbstractModel):
28634
28743
 
28635
28744
  @property
28636
28745
  def BizType(self):
28637
- r"""日志主题类型。0:标准主题,1:指标主题
28746
+ r"""<p>日志主题类型。0:标准主题,1:指标主题</p>
28638
28747
  :rtype: int
28639
28748
  """
28640
28749
  return self._BizType
@@ -28645,7 +28754,7 @@ class DlcDeliverInfo(AbstractModel):
28645
28754
 
28646
28755
  @property
28647
28756
  def CreateTime(self):
28648
- r"""任务创建时间。
28757
+ r"""<p>任务创建时间。</p>
28649
28758
  :rtype: int
28650
28759
  """
28651
28760
  return self._CreateTime
@@ -28656,7 +28765,7 @@ class DlcDeliverInfo(AbstractModel):
28656
28765
 
28657
28766
  @property
28658
28767
  def UpdateTime(self):
28659
- r"""任务修改时间。
28768
+ r"""<p>任务修改时间。</p>
28660
28769
  :rtype: int
28661
28770
  """
28662
28771
  return self._UpdateTime
@@ -28665,6 +28774,39 @@ class DlcDeliverInfo(AbstractModel):
28665
28774
  def UpdateTime(self, UpdateTime):
28666
28775
  self._UpdateTime = UpdateTime
28667
28776
 
28777
+ @property
28778
+ def AutoCreateField(self):
28779
+ r"""<p>自动创建dlc字段</p><p>默认值:false</p><p>当您的日志中有新增字段时,系统自动将其投递至DLC</p>
28780
+ :rtype: bool
28781
+ """
28782
+ return self._AutoCreateField
28783
+
28784
+ @AutoCreateField.setter
28785
+ def AutoCreateField(self, AutoCreateField):
28786
+ self._AutoCreateField = AutoCreateField
28787
+
28788
+ @property
28789
+ def DlcFailHandle(self):
28790
+ r"""<p>将投递失败的日志存储至DLC表</p>
28791
+ :rtype: :class:`tencentcloud.cls.v20201016.models.DlcFailHandle`
28792
+ """
28793
+ return self._DlcFailHandle
28794
+
28795
+ @DlcFailHandle.setter
28796
+ def DlcFailHandle(self, DlcFailHandle):
28797
+ self._DlcFailHandle = DlcFailHandle
28798
+
28799
+ @property
28800
+ def DSLFilter(self):
28801
+ r"""<p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
28802
+ :rtype: str
28803
+ """
28804
+ return self._DSLFilter
28805
+
28806
+ @DSLFilter.setter
28807
+ def DSLFilter(self, DSLFilter):
28808
+ self._DSLFilter = DSLFilter
28809
+
28668
28810
 
28669
28811
  def _deserialize(self, params):
28670
28812
  self._TaskId = params.get("TaskId")
@@ -28685,6 +28827,115 @@ class DlcDeliverInfo(AbstractModel):
28685
28827
  self._BizType = params.get("BizType")
28686
28828
  self._CreateTime = params.get("CreateTime")
28687
28829
  self._UpdateTime = params.get("UpdateTime")
28830
+ self._AutoCreateField = params.get("AutoCreateField")
28831
+ if params.get("DlcFailHandle") is not None:
28832
+ self._DlcFailHandle = DlcFailHandle()
28833
+ self._DlcFailHandle._deserialize(params.get("DlcFailHandle"))
28834
+ self._DSLFilter = params.get("DSLFilter")
28835
+ memeber_set = set(params.keys())
28836
+ for name, value in vars(self).items():
28837
+ property_name = name[1:]
28838
+ if property_name in memeber_set:
28839
+ memeber_set.remove(property_name)
28840
+ if len(memeber_set) > 0:
28841
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28842
+
28843
+
28844
+
28845
+ class DlcFailHandle(AbstractModel):
28846
+ r"""dlc投递失败处理信息
28847
+
28848
+ """
28849
+
28850
+ def __init__(self):
28851
+ r"""
28852
+ :param _StoreToDlc: <p>是否存储到DLC</p><p>默认值:false</p><p>用于控制是否开启投递失败的日志存储至DLC表</p>
28853
+ :type StoreToDlc: bool
28854
+ :param _DlcFailTableInfo: <p>DLC表信息</p>
28855
+ :type DlcFailTableInfo: :class:`tencentcloud.cls.v20201016.models.DlcFailTableInfo`
28856
+ """
28857
+ self._StoreToDlc = None
28858
+ self._DlcFailTableInfo = None
28859
+
28860
+ @property
28861
+ def StoreToDlc(self):
28862
+ r"""<p>是否存储到DLC</p><p>默认值:false</p><p>用于控制是否开启投递失败的日志存储至DLC表</p>
28863
+ :rtype: bool
28864
+ """
28865
+ return self._StoreToDlc
28866
+
28867
+ @StoreToDlc.setter
28868
+ def StoreToDlc(self, StoreToDlc):
28869
+ self._StoreToDlc = StoreToDlc
28870
+
28871
+ @property
28872
+ def DlcFailTableInfo(self):
28873
+ r"""<p>DLC表信息</p>
28874
+ :rtype: :class:`tencentcloud.cls.v20201016.models.DlcFailTableInfo`
28875
+ """
28876
+ return self._DlcFailTableInfo
28877
+
28878
+ @DlcFailTableInfo.setter
28879
+ def DlcFailTableInfo(self, DlcFailTableInfo):
28880
+ self._DlcFailTableInfo = DlcFailTableInfo
28881
+
28882
+
28883
+ def _deserialize(self, params):
28884
+ self._StoreToDlc = params.get("StoreToDlc")
28885
+ if params.get("DlcFailTableInfo") is not None:
28886
+ self._DlcFailTableInfo = DlcFailTableInfo()
28887
+ self._DlcFailTableInfo._deserialize(params.get("DlcFailTableInfo"))
28888
+ memeber_set = set(params.keys())
28889
+ for name, value in vars(self).items():
28890
+ property_name = name[1:]
28891
+ if property_name in memeber_set:
28892
+ memeber_set.remove(property_name)
28893
+ if len(memeber_set) > 0:
28894
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
28895
+
28896
+
28897
+
28898
+ class DlcFailTableInfo(AbstractModel):
28899
+ r"""dlc失败日志存储表信息
28900
+
28901
+ """
28902
+
28903
+ def __init__(self):
28904
+ r"""
28905
+ :param _TableName: <p>DLC的表名称</p>
28906
+ :type TableName: str
28907
+ :param _FieldName: <p>表中的字段名称</p><p>字段类型必须是String类型</p>
28908
+ :type FieldName: str
28909
+ """
28910
+ self._TableName = None
28911
+ self._FieldName = None
28912
+
28913
+ @property
28914
+ def TableName(self):
28915
+ r"""<p>DLC的表名称</p>
28916
+ :rtype: str
28917
+ """
28918
+ return self._TableName
28919
+
28920
+ @TableName.setter
28921
+ def TableName(self, TableName):
28922
+ self._TableName = TableName
28923
+
28924
+ @property
28925
+ def FieldName(self):
28926
+ r"""<p>表中的字段名称</p><p>字段类型必须是String类型</p>
28927
+ :rtype: str
28928
+ """
28929
+ return self._FieldName
28930
+
28931
+ @FieldName.setter
28932
+ def FieldName(self, FieldName):
28933
+ self._FieldName = FieldName
28934
+
28935
+
28936
+ def _deserialize(self, params):
28937
+ self._TableName = params.get("TableName")
28938
+ self._FieldName = params.get("FieldName")
28688
28939
  memeber_set = set(params.keys())
28689
28940
  for name, value in vars(self).items():
28690
28941
  property_name = name[1:]
@@ -36821,38 +37072,29 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36821
37072
 
36822
37073
  def __init__(self):
36823
37074
  r"""
36824
- :param _InstanceId: 实例ID
37075
+ :param _InstanceId: <p>实例ID</p>
36825
37076
  :type InstanceId: str
36826
- :param _AssumerName: 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
37077
+ :param _AssumerName: <p>云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</p>
36827
37078
  :type AssumerName: str
36828
- :param _LogType: 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
37079
+ :param _LogType: <p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
36829
37080
  :type LogType: str
36830
- :param _CloudProductRegion: 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
36831
- - CDS所有日志类型:ap-guangzhou
36832
- - CDB-AUDIT: gz
36833
- - TDSQL-C-AUDIT: gz
36834
- - MongoDB-AUDIT: gz
36835
- - MongoDB-SlowLog:ap-guangzhou
36836
- - MongoDB-ErrorLog:ap-guangzhou
36837
- - TDMYSQL-SLOW:gz
36838
- - DCDB所有日志类型:gz
36839
- - MariaDB所有日志类型:gz
36840
- - PostgreSQL所有日志类型:gz
36841
- - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
36842
- - APIS所有日志类型:gz
37081
+ :param _CloudProductRegion: <p>云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:</p><ul><li>CDS所有日志类型:ap-guangzhou</li><li>CDB-AUDIT: gz</li><li>TDSQL-C-AUDIT: gz</li><li>MongoDB-AUDIT: gz</li><li>MongoDB-SlowLog:ap-guangzhou</li><li>MongoDB-ErrorLog:ap-guangzhou</li><li>TDMYSQL-SLOW:gz</li><li>DCDB所有日志类型:gz</li><li>MariaDB所有日志类型:gz</li><li>PostgreSQL所有日志类型:gz</li><li>BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)</li><li>APIS所有日志类型:gz</li></ul>
36843
37082
  :type CloudProductRegion: str
36844
- :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
37083
+ :param _Extend: <p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
36845
37084
  :type Extend: str
37085
+ :param _Tags: <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的logset和topic。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
37086
+ :type Tags: list of Tag
36846
37087
  """
36847
37088
  self._InstanceId = None
36848
37089
  self._AssumerName = None
36849
37090
  self._LogType = None
36850
37091
  self._CloudProductRegion = None
36851
37092
  self._Extend = None
37093
+ self._Tags = None
36852
37094
 
36853
37095
  @property
36854
37096
  def InstanceId(self):
36855
- r"""实例ID
37097
+ r"""<p>实例ID</p>
36856
37098
  :rtype: str
36857
37099
  """
36858
37100
  return self._InstanceId
@@ -36863,7 +37105,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36863
37105
 
36864
37106
  @property
36865
37107
  def AssumerName(self):
36866
- r"""云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
37108
+ r"""<p>云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</p>
36867
37109
  :rtype: str
36868
37110
  """
36869
37111
  return self._AssumerName
@@ -36874,7 +37116,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36874
37116
 
36875
37117
  @property
36876
37118
  def LogType(self):
36877
- r"""日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
37119
+ r"""<p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
36878
37120
  :rtype: str
36879
37121
  """
36880
37122
  return self._LogType
@@ -36885,19 +37127,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36885
37127
 
36886
37128
  @property
36887
37129
  def CloudProductRegion(self):
36888
- r"""云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
36889
- - CDS所有日志类型:ap-guangzhou
36890
- - CDB-AUDIT: gz
36891
- - TDSQL-C-AUDIT: gz
36892
- - MongoDB-AUDIT: gz
36893
- - MongoDB-SlowLog:ap-guangzhou
36894
- - MongoDB-ErrorLog:ap-guangzhou
36895
- - TDMYSQL-SLOW:gz
36896
- - DCDB所有日志类型:gz
36897
- - MariaDB所有日志类型:gz
36898
- - PostgreSQL所有日志类型:gz
36899
- - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
36900
- - APIS所有日志类型:gz
37130
+ r"""<p>云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:</p><ul><li>CDS所有日志类型:ap-guangzhou</li><li>CDB-AUDIT: gz</li><li>TDSQL-C-AUDIT: gz</li><li>MongoDB-AUDIT: gz</li><li>MongoDB-SlowLog:ap-guangzhou</li><li>MongoDB-ErrorLog:ap-guangzhou</li><li>TDMYSQL-SLOW:gz</li><li>DCDB所有日志类型:gz</li><li>MariaDB所有日志类型:gz</li><li>PostgreSQL所有日志类型:gz</li><li>BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)</li><li>APIS所有日志类型:gz</li></ul>
36901
37131
  :rtype: str
36902
37132
  """
36903
37133
  return self._CloudProductRegion
@@ -36908,7 +37138,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36908
37138
 
36909
37139
  @property
36910
37140
  def Extend(self):
36911
- r"""日志配置拓展信息, 一般用于存储额外的日志投递配置
37141
+ r"""<p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
36912
37142
  :rtype: str
36913
37143
  """
36914
37144
  return self._Extend
@@ -36917,6 +37147,17 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36917
37147
  def Extend(self, Extend):
36918
37148
  self._Extend = Extend
36919
37149
 
37150
+ @property
37151
+ def Tags(self):
37152
+ r"""<p>标签描述列表,通过指定该参数可以同时绑定标签到相应的logset和topic。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
37153
+ :rtype: list of Tag
37154
+ """
37155
+ return self._Tags
37156
+
37157
+ @Tags.setter
37158
+ def Tags(self, Tags):
37159
+ self._Tags = Tags
37160
+
36920
37161
 
36921
37162
  def _deserialize(self, params):
36922
37163
  self._InstanceId = params.get("InstanceId")
@@ -36924,6 +37165,12 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
36924
37165
  self._LogType = params.get("LogType")
36925
37166
  self._CloudProductRegion = params.get("CloudProductRegion")
36926
37167
  self._Extend = params.get("Extend")
37168
+ if params.get("Tags") is not None:
37169
+ self._Tags = []
37170
+ for item in params.get("Tags"):
37171
+ obj = Tag()
37172
+ obj._deserialize(item)
37173
+ self._Tags.append(obj)
36927
37174
  memeber_set = set(params.keys())
36928
37175
  for name, value in vars(self).items():
36929
37176
  property_name = name[1:]
@@ -36941,11 +37188,25 @@ class ModifyCloudProductLogCollectionResponse(AbstractModel):
36941
37188
 
36942
37189
  def __init__(self):
36943
37190
  r"""
37191
+ :param _Message: <p>额外信息。如修改topic、logset标签失败。</p>
37192
+ :type Message: str
36944
37193
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
36945
37194
  :type RequestId: str
36946
37195
  """
37196
+ self._Message = None
36947
37197
  self._RequestId = None
36948
37198
 
37199
+ @property
37200
+ def Message(self):
37201
+ r"""<p>额外信息。如修改topic、logset标签失败。</p>
37202
+ :rtype: str
37203
+ """
37204
+ return self._Message
37205
+
37206
+ @Message.setter
37207
+ def Message(self, Message):
37208
+ self._Message = Message
37209
+
36949
37210
  @property
36950
37211
  def RequestId(self):
36951
37212
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -36959,6 +37220,7 @@ class ModifyCloudProductLogCollectionResponse(AbstractModel):
36959
37220
 
36960
37221
 
36961
37222
  def _deserialize(self, params):
37223
+ self._Message = params.get("Message")
36962
37224
  self._RequestId = params.get("RequestId")
36963
37225
 
36964
37226
 
@@ -41645,28 +41907,32 @@ class ModifyScheduledSqlRequest(AbstractModel):
41645
41907
 
41646
41908
  def __init__(self):
41647
41909
  r"""
41648
- :param _TaskId: 任务ID,通过[获取定时SQL分析任务列表](https://cloud.tencent.com/document/product/614/95519)获取
41910
+ :param _TaskId: <p>任务ID,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
41649
41911
  :type TaskId: str
41650
- :param _SrcTopicId: 源日志主题,通过[获取定时SQL分析任务列表](https://cloud.tencent.com/document/product/614/95519)获取
41912
+ :param _SrcTopicId: <p>源日志主题,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
41651
41913
  :type SrcTopicId: str
41652
- :param _EnableFlag: 任务启动状态. 1开启, 2关闭
41914
+ :param _EnableFlag: <p>任务启动状态. 1开启, 2关闭</p>
41653
41915
  :type EnableFlag: int
41654
- :param _DstResource: 定时SQL分析的目标日志主题
41916
+ :param _DstResource: <p>定时SQL分析的目标日志主题</p>
41655
41917
  :type DstResource: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
41656
- :param _ScheduledSqlContent: 查询语句
41918
+ :param _ScheduledSqlContent: <p>查询语句</p>
41657
41919
  :type ScheduledSqlContent: str
41658
- :param _ProcessPeriod: 调度周期(分钟),1~1440分钟
41920
+ :param _ProcessPeriod: <p>调度周期(分钟),1~1440分钟</p>
41659
41921
  :type ProcessPeriod: int
41660
- :param _ProcessTimeWindow: 单次查询的时间窗口. 例子中为近15分钟
41922
+ :param _ProcessTimeWindow: <p>单次查询的时间窗口. 例子中为近15分钟</p>
41661
41923
  :type ProcessTimeWindow: str
41662
- :param _ProcessDelay: 执行延迟(秒),0~120秒,默认60
41924
+ :param _ProcessDelay: <p>执行延迟(秒),0~120秒,默认60秒</p>
41663
41925
  :type ProcessDelay: int
41664
- :param _SrcTopicRegion: topicId的地域信息,支持地域见 [地域列表](https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) 文档
41926
+ :param _SrcTopicRegion: <p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
41665
41927
  :type SrcTopicRegion: str
41666
- :param _Name: 任务名称,0~255字符
41928
+ :param _Name: <p>任务名称,0~255字符</p>
41667
41929
  :type Name: str
41668
- :param _SyntaxRule: 语法规则。 默认值为0。 0:Lucene语法,1:CQL语法
41930
+ :param _SyntaxRule: <p>语法规则。 默认值为0。 0:Lucene语法,1:CQL语法</p>
41669
41931
  :type SyntaxRule: int
41932
+ :param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
41933
+ :type HasServicesLog: int
41934
+ :param _FullQuery: <p>全文检索查询标记。1:关闭,2:打开。</p>
41935
+ :type FullQuery: int
41670
41936
  """
41671
41937
  self._TaskId = None
41672
41938
  self._SrcTopicId = None
@@ -41679,10 +41945,12 @@ class ModifyScheduledSqlRequest(AbstractModel):
41679
41945
  self._SrcTopicRegion = None
41680
41946
  self._Name = None
41681
41947
  self._SyntaxRule = None
41948
+ self._HasServicesLog = None
41949
+ self._FullQuery = None
41682
41950
 
41683
41951
  @property
41684
41952
  def TaskId(self):
41685
- r"""任务ID,通过[获取定时SQL分析任务列表](https://cloud.tencent.com/document/product/614/95519)获取
41953
+ r"""<p>任务ID,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
41686
41954
  :rtype: str
41687
41955
  """
41688
41956
  return self._TaskId
@@ -41693,7 +41961,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41693
41961
 
41694
41962
  @property
41695
41963
  def SrcTopicId(self):
41696
- r"""源日志主题,通过[获取定时SQL分析任务列表](https://cloud.tencent.com/document/product/614/95519)获取
41964
+ r"""<p>源日志主题,通过<a href="https://cloud.tencent.com/document/product/614/95519">获取定时SQL分析任务列表</a>获取</p>
41697
41965
  :rtype: str
41698
41966
  """
41699
41967
  return self._SrcTopicId
@@ -41704,7 +41972,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41704
41972
 
41705
41973
  @property
41706
41974
  def EnableFlag(self):
41707
- r"""任务启动状态. 1开启, 2关闭
41975
+ r"""<p>任务启动状态. 1开启, 2关闭</p>
41708
41976
  :rtype: int
41709
41977
  """
41710
41978
  return self._EnableFlag
@@ -41715,7 +41983,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41715
41983
 
41716
41984
  @property
41717
41985
  def DstResource(self):
41718
- r"""定时SQL分析的目标日志主题
41986
+ r"""<p>定时SQL分析的目标日志主题</p>
41719
41987
  :rtype: :class:`tencentcloud.cls.v20201016.models.ScheduledSqlResouceInfo`
41720
41988
  """
41721
41989
  return self._DstResource
@@ -41726,7 +41994,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41726
41994
 
41727
41995
  @property
41728
41996
  def ScheduledSqlContent(self):
41729
- r"""查询语句
41997
+ r"""<p>查询语句</p>
41730
41998
  :rtype: str
41731
41999
  """
41732
42000
  return self._ScheduledSqlContent
@@ -41737,7 +42005,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41737
42005
 
41738
42006
  @property
41739
42007
  def ProcessPeriod(self):
41740
- r"""调度周期(分钟),1~1440分钟
42008
+ r"""<p>调度周期(分钟),1~1440分钟</p>
41741
42009
  :rtype: int
41742
42010
  """
41743
42011
  return self._ProcessPeriod
@@ -41748,7 +42016,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41748
42016
 
41749
42017
  @property
41750
42018
  def ProcessTimeWindow(self):
41751
- r"""单次查询的时间窗口. 例子中为近15分钟
42019
+ r"""<p>单次查询的时间窗口. 例子中为近15分钟</p>
41752
42020
  :rtype: str
41753
42021
  """
41754
42022
  return self._ProcessTimeWindow
@@ -41759,7 +42027,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41759
42027
 
41760
42028
  @property
41761
42029
  def ProcessDelay(self):
41762
- r"""执行延迟(秒),0~120秒,默认60
42030
+ r"""<p>执行延迟(秒),0~120秒,默认60秒</p>
41763
42031
  :rtype: int
41764
42032
  """
41765
42033
  return self._ProcessDelay
@@ -41770,7 +42038,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41770
42038
 
41771
42039
  @property
41772
42040
  def SrcTopicRegion(self):
41773
- r"""topicId的地域信息,支持地域见 [地域列表](https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8) 文档
42041
+ r"""<p>源topicId的地域信息,支持地域见 <a href="https://cloud.tencent.com/document/api/614/56474#.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8">地域列表</a> 文档</p>
41774
42042
  :rtype: str
41775
42043
  """
41776
42044
  return self._SrcTopicRegion
@@ -41781,7 +42049,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41781
42049
 
41782
42050
  @property
41783
42051
  def Name(self):
41784
- r"""任务名称,0~255字符
42052
+ r"""<p>任务名称,0~255字符</p>
41785
42053
  :rtype: str
41786
42054
  """
41787
42055
  return self._Name
@@ -41792,7 +42060,7 @@ class ModifyScheduledSqlRequest(AbstractModel):
41792
42060
 
41793
42061
  @property
41794
42062
  def SyntaxRule(self):
41795
- r"""语法规则。 默认值为0。 0:Lucene语法,1:CQL语法
42063
+ r"""<p>语法规则。 默认值为0。 0:Lucene语法,1:CQL语法</p>
41796
42064
  :rtype: int
41797
42065
  """
41798
42066
  return self._SyntaxRule
@@ -41801,6 +42069,28 @@ class ModifyScheduledSqlRequest(AbstractModel):
41801
42069
  def SyntaxRule(self, SyntaxRule):
41802
42070
  self._SyntaxRule = SyntaxRule
41803
42071
 
42072
+ @property
42073
+ def HasServicesLog(self):
42074
+ r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
42075
+ :rtype: int
42076
+ """
42077
+ return self._HasServicesLog
42078
+
42079
+ @HasServicesLog.setter
42080
+ def HasServicesLog(self, HasServicesLog):
42081
+ self._HasServicesLog = HasServicesLog
42082
+
42083
+ @property
42084
+ def FullQuery(self):
42085
+ r"""<p>全文检索查询标记。1:关闭,2:打开。</p>
42086
+ :rtype: int
42087
+ """
42088
+ return self._FullQuery
42089
+
42090
+ @FullQuery.setter
42091
+ def FullQuery(self, FullQuery):
42092
+ self._FullQuery = FullQuery
42093
+
41804
42094
 
41805
42095
  def _deserialize(self, params):
41806
42096
  self._TaskId = params.get("TaskId")
@@ -41816,6 +42106,8 @@ class ModifyScheduledSqlRequest(AbstractModel):
41816
42106
  self._SrcTopicRegion = params.get("SrcTopicRegion")
41817
42107
  self._Name = params.get("Name")
41818
42108
  self._SyntaxRule = params.get("SyntaxRule")
42109
+ self._HasServicesLog = params.get("HasServicesLog")
42110
+ self._FullQuery = params.get("FullQuery")
41819
42111
  memeber_set = set(params.keys())
41820
42112
  for name, value in vars(self).items():
41821
42113
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.124
3
+ Version: 3.1.128
4
4
  Summary: Tencent Cloud Cls 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.124
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.128
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.124