tencentcloud-sdk-python-cls 3.0.1384__tar.gz → 3.0.1386__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 (16) hide show
  1. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/cls/v20201016/cls_client.py +2 -1
  5. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/cls/v20201016/models.py +59 -16
  6. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cls-3.0.1386/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cls-3.0.1384/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1384 → tencentcloud-sdk-python-cls-3.0.1386}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1384
3
+ Version: 3.0.1386
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
@@ -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.0.1384"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1386"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cls SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1384'
17
+ __version__ = '3.0.1386'
@@ -2289,7 +2289,8 @@ class ClsClient(AbstractClient):
2289
2289
 
2290
2290
 
2291
2291
  def ModifyMachineGroup(self, request):
2292
- """修改机器组
2292
+ """修改机器组。
2293
+ 注意:修改接口直接覆盖历史数据,改为本次合法入参数据,请谨慎调用此接口。
2293
2294
 
2294
2295
  :param request: Request instance for ModifyMachineGroup.
2295
2296
  :type request: :class:`tencentcloud.cls.v20201016.models.ModifyMachineGroupRequest`
@@ -5124,7 +5124,7 @@ class CreateAlarmRequest(AbstractModel):
5124
5124
  :param _Status: 是否开启告警策略。
5125
5125
  默认值为true
5126
5126
  :type Status: bool
5127
- :param _Enable: 该参数已废弃,请使用Status参数控制是否开启告警策略。
5127
+ :param _Enable: 请使用Status参数控制是否开启告警策略。
5128
5128
  :type Enable: bool
5129
5129
  :param _MessageTemplate: 用户自定义告警内容
5130
5130
  :type MessageTemplate: str
@@ -5297,13 +5297,17 @@ Classifications元素的Value长度不能超过200个字符。
5297
5297
 
5298
5298
  @property
5299
5299
  def Enable(self):
5300
- """该参数已废弃,请使用Status参数控制是否开启告警策略。
5300
+ warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
5301
+
5302
+ """请使用Status参数控制是否开启告警策略。
5301
5303
  :rtype: bool
5302
5304
  """
5303
5305
  return self._Enable
5304
5306
 
5305
5307
  @Enable.setter
5306
5308
  def Enable(self, Enable):
5309
+ warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
5310
+
5307
5311
  self._Enable = Enable
5308
5312
 
5309
5313
  @property
@@ -5996,7 +6000,7 @@ class CreateConfigExtraRequest(AbstractModel):
5996
6000
  :type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
5997
6001
  :param _ContainerStdout: 容器标准输出类型配置。
5998
6002
  :type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
5999
- :param _LogFormat: 日志格式化方式,用于容器采集场景。 - 已废弃
6003
+ :param _LogFormat: 日志格式化方式,用于容器采集场景。
6000
6004
  - stdout-docker-json:用于docker容器采集场景
6001
6005
  - stdout-containerd:用于containerd容器采集场景
6002
6006
  :type LogFormat: str
@@ -6174,7 +6178,9 @@ class CreateConfigExtraRequest(AbstractModel):
6174
6178
 
6175
6179
  @property
6176
6180
  def LogFormat(self):
6177
- """日志格式化方式,用于容器采集场景。 - 已废弃
6181
+ warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
6182
+
6183
+ """日志格式化方式,用于容器采集场景。
6178
6184
  - stdout-docker-json:用于docker容器采集场景
6179
6185
  - stdout-containerd:用于containerd容器采集场景
6180
6186
  :rtype: str
@@ -6183,6 +6189,8 @@ class CreateConfigExtraRequest(AbstractModel):
6183
6189
 
6184
6190
  @LogFormat.setter
6185
6191
  def LogFormat(self, LogFormat):
6192
+ warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
6193
+
6186
6194
  self._LogFormat = LogFormat
6187
6195
 
6188
6196
  @property
@@ -9838,16 +9846,16 @@ class DashboardNoticeMode(AbstractModel):
9838
9846
  <li/>WeCom: 企业微信回调
9839
9847
  :type ReceiverType: str
9840
9848
  :param _Values: 知方式对应的值。
9841
- <br> <li/> 当ReceiverType不是 Wecom 时,Values必填。
9849
+ <br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
9842
9850
  :type Values: list of str
9843
9851
  :param _ReceiverChannels: 仪表盘通知渠道。
9844
9852
  <br><li/> 支持:["Email","Sms","WeChat","Phone"]。
9845
- <br><li/> 当ReceiverType是 Email 或 Wecom 时,ReceiverChannels不能赋值。
9853
+ <br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
9846
9854
  注意:此字段可能返回 null,表示取不到有效值。
9847
9855
  :type ReceiverChannels: list of str
9848
9856
  :param _Url: 回调Url。
9849
- <br><li/> 当ReceiverType是 Wecom 时,Url必填。
9850
- <br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
9857
+ <br><li/> 当ReceiverType是 WeCom 时,Url必填。
9858
+ <br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
9851
9859
  :type Url: str
9852
9860
  """
9853
9861
  self._ReceiverType = None
@@ -9873,7 +9881,7 @@ class DashboardNoticeMode(AbstractModel):
9873
9881
  @property
9874
9882
  def Values(self):
9875
9883
  """知方式对应的值。
9876
- <br> <li/> 当ReceiverType不是 Wecom 时,Values必填。
9884
+ <br> <li/> 当ReceiverType不是 WeCom 时,Values必填。
9877
9885
  :rtype: list of str
9878
9886
  """
9879
9887
  return self._Values
@@ -9886,7 +9894,7 @@ class DashboardNoticeMode(AbstractModel):
9886
9894
  def ReceiverChannels(self):
9887
9895
  """仪表盘通知渠道。
9888
9896
  <br><li/> 支持:["Email","Sms","WeChat","Phone"]。
9889
- <br><li/> 当ReceiverType是 Email 或 Wecom 时,ReceiverChannels不能赋值。
9897
+ <br><li/> 当ReceiverType是 Email 或 WeCom 时,ReceiverChannels不能赋值。
9890
9898
  注意:此字段可能返回 null,表示取不到有效值。
9891
9899
  :rtype: list of str
9892
9900
  """
@@ -9899,8 +9907,8 @@ class DashboardNoticeMode(AbstractModel):
9899
9907
  @property
9900
9908
  def Url(self):
9901
9909
  """回调Url。
9902
- <br><li/> 当ReceiverType是 Wecom 时,Url必填。
9903
- <br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
9910
+ <br><li/> 当ReceiverType是 WeCom 时,Url必填。
9911
+ <br><li/> 当ReceiverType不是 WeCom 时,Url不能填写。
9904
9912
  :rtype: str
9905
9913
  """
9906
9914
  return self._Url
@@ -21482,6 +21490,8 @@ Classifications元素的Value长度不能超过200个字符。
21482
21490
 
21483
21491
  @property
21484
21492
  def Enable(self):
21493
+ warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
21494
+
21485
21495
  """该参数已废弃,请使用Status参数控制是否开启告警策略。
21486
21496
  :rtype: bool
21487
21497
  """
@@ -21489,6 +21499,8 @@ Classifications元素的Value长度不能超过200个字符。
21489
21499
 
21490
21500
  @Enable.setter
21491
21501
  def Enable(self, Enable):
21502
+ warnings.warn("parameter `Enable` is deprecated", DeprecationWarning)
21503
+
21492
21504
  self._Enable = Enable
21493
21505
 
21494
21506
  @property
@@ -22019,7 +22031,7 @@ class ModifyConfigExtraRequest(AbstractModel):
22019
22031
  - multiline_fullregex_log代表:多行完全正则-文件日志(详见[使用多行-完全正则提取模式采集日志](https://cloud.tencent.com/document/product/614/52366));
22020
22032
  - user_define_log代表:组合解析(适用于多格式嵌套的日志,详见[使用组合解析提取模式采集日志](https://cloud.tencent.com/document/product/614/61310))。
22021
22033
  :type LogType: str
22022
- :param _LogFormat: 日志格式化方式,用于容器采集场景。目前已经废弃
22034
+ :param _LogFormat: 日志格式化方式,用于容器采集场景。
22023
22035
  - stdout-docker-json:用于docker容器采集场景
22024
22036
  - stdout-containerd:用于containerd容器采集场景
22025
22037
  :type LogFormat: str
@@ -22157,7 +22169,9 @@ class ModifyConfigExtraRequest(AbstractModel):
22157
22169
 
22158
22170
  @property
22159
22171
  def LogFormat(self):
22160
- """日志格式化方式,用于容器采集场景。目前已经废弃
22172
+ warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
22173
+
22174
+ """日志格式化方式,用于容器采集场景。
22161
22175
  - stdout-docker-json:用于docker容器采集场景
22162
22176
  - stdout-containerd:用于containerd容器采集场景
22163
22177
  :rtype: str
@@ -22166,6 +22180,8 @@ class ModifyConfigExtraRequest(AbstractModel):
22166
22180
 
22167
22181
  @LogFormat.setter
22168
22182
  def LogFormat(self, LogFormat):
22183
+ warnings.warn("parameter `LogFormat` is deprecated", DeprecationWarning)
22184
+
22169
22185
  self._LogFormat = LogFormat
22170
22186
 
22171
22187
  @property
@@ -23891,7 +23907,9 @@ class ModifyMachineGroupRequest(AbstractModel):
23891
23907
  :type GroupId: str
23892
23908
  :param _GroupName: 机器组名称
23893
23909
  :type GroupName: str
23894
- :param _MachineGroupType: 机器组类型。Type:ip,Values中为ip字符串列表机器组;Type:label,Values中为标签字符串列表机器组。
23910
+ :param _MachineGroupType: 机器组类型。
23911
+ Type:ip,Values中为ip字符串列表机器组;
23912
+ Type:label,Values中为标签字符串列表机器组。
23895
23913
  :type MachineGroupType: :class:`tencentcloud.cls.v20201016.models.MachineGroupTypeInfo`
23896
23914
  :param _Tags: 标签列表
23897
23915
  :type Tags: list of Tag
@@ -23943,7 +23961,9 @@ class ModifyMachineGroupRequest(AbstractModel):
23943
23961
 
23944
23962
  @property
23945
23963
  def MachineGroupType(self):
23946
- """机器组类型。Type:ip,Values中为ip字符串列表机器组;Type:label,Values中为标签字符串列表机器组。
23964
+ """机器组类型。
23965
+ Type:ip,Values中为ip字符串列表机器组;
23966
+ Type:label,Values中为标签字符串列表机器组。
23947
23967
  :rtype: :class:`tencentcloud.cls.v20201016.models.MachineGroupTypeInfo`
23948
23968
  """
23949
23969
  return self._MachineGroupType
@@ -27477,6 +27497,8 @@ class ScheduledSqlTaskInfo(AbstractModel):
27477
27497
  :type SyntaxRule: int
27478
27498
  :param _HasServicesLog: 是否开启投递服务日志。1:关闭,2:开启。
27479
27499
  :type HasServicesLog: int
27500
+ :param _FullQuery: 全文检索标记。1:关闭,2:打开。
27501
+ :type FullQuery: int
27480
27502
  """
27481
27503
  self._TaskId = None
27482
27504
  self._Name = None
@@ -27497,6 +27519,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
27497
27519
  self._SrcTopicRegion = None
27498
27520
  self._SyntaxRule = None
27499
27521
  self._HasServicesLog = None
27522
+ self._FullQuery = None
27500
27523
 
27501
27524
  @property
27502
27525
  def TaskId(self):
@@ -27709,6 +27732,17 @@ class ScheduledSqlTaskInfo(AbstractModel):
27709
27732
  def HasServicesLog(self, HasServicesLog):
27710
27733
  self._HasServicesLog = HasServicesLog
27711
27734
 
27735
+ @property
27736
+ def FullQuery(self):
27737
+ """全文检索标记。1:关闭,2:打开。
27738
+ :rtype: int
27739
+ """
27740
+ return self._FullQuery
27741
+
27742
+ @FullQuery.setter
27743
+ def FullQuery(self, FullQuery):
27744
+ self._FullQuery = FullQuery
27745
+
27712
27746
 
27713
27747
  def _deserialize(self, params):
27714
27748
  self._TaskId = params.get("TaskId")
@@ -27732,6 +27766,7 @@ class ScheduledSqlTaskInfo(AbstractModel):
27732
27766
  self._SrcTopicRegion = params.get("SrcTopicRegion")
27733
27767
  self._SyntaxRule = params.get("SyntaxRule")
27734
27768
  self._HasServicesLog = params.get("HasServicesLog")
27769
+ self._FullQuery = params.get("FullQuery")
27735
27770
  memeber_set = set(params.keys())
27736
27771
  for name, value in vars(self).items():
27737
27772
  property_name = name[1:]
@@ -30335,6 +30370,8 @@ class WebCallback(AbstractModel):
30335
30370
 
30336
30371
  @property
30337
30372
  def Headers(self):
30373
+ warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
30374
+
30338
30375
  """该参数已废弃,请使用NoticeContentId。
30339
30376
  :rtype: list of str
30340
30377
  """
@@ -30342,10 +30379,14 @@ class WebCallback(AbstractModel):
30342
30379
 
30343
30380
  @Headers.setter
30344
30381
  def Headers(self, Headers):
30382
+ warnings.warn("parameter `Headers` is deprecated", DeprecationWarning)
30383
+
30345
30384
  self._Headers = Headers
30346
30385
 
30347
30386
  @property
30348
30387
  def Body(self):
30388
+ warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
30389
+
30349
30390
  """该参数已废弃,请使用NoticeContentId。
30350
30391
  注意:此字段可能返回 null,表示取不到有效值。
30351
30392
  :rtype: str
@@ -30354,6 +30395,8 @@ class WebCallback(AbstractModel):
30354
30395
 
30355
30396
  @Body.setter
30356
30397
  def Body(self, Body):
30398
+ warnings.warn("parameter `Body` is deprecated", DeprecationWarning)
30399
+
30357
30400
  self._Body = Body
30358
30401
 
30359
30402
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1384
3
+ Version: 3.0.1386
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1386
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1384