tencentcloud-sdk-python-cls 3.1.164__tar.gz → 3.1.170__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.164 → tencentcloud_sdk_python_cls-3.1.170}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/errorcodes.py +2 -2
  5. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/models.py +247 -222
  6. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_cls-3.1.170/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_cls-3.1.164/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/README.rst +0 -0
  10. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/cls_client.py +0 -0
  14. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
  15. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.170}/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.164
3
+ Version: 3.1.170
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.164
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.170
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.164,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.170,<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.164'
17
+ __version__ = '3.1.170'
@@ -56,7 +56,7 @@ FAILEDOPERATION_INVALIDALARM = 'FailedOperation.InvalidAlarm'
56
56
  # 检索游标已失效或不存在。
57
57
  FAILEDOPERATION_INVALIDCONTEXT = 'FailedOperation.InvalidContext'
58
58
 
59
- # 离线存储保存时间不得少于7天。
59
+ # 低频存储保存时间不得少于7天。
60
60
  FAILEDOPERATION_INVALIDPERIOD = 'FailedOperation.InvalidPeriod'
61
61
 
62
62
  # 相同的日志集已存在。
@@ -107,7 +107,7 @@ FAILEDOPERATION_TIMEOUT = 'FailedOperation.Timeout'
107
107
  # 日志主题已关闭。
108
108
  FAILEDOPERATION_TOPICCLOSED = 'FailedOperation.TopicClosed'
109
109
 
110
- # topic创建中
110
+ # Topic 创建中
111
111
  FAILEDOPERATION_TOPICCREATING = 'FailedOperation.TopicCreating'
112
112
 
113
113
  # 日志主题已隔离。
@@ -2952,9 +2952,9 @@ class CancelRebuildIndexTaskRequest(AbstractModel):
2952
2952
 
2953
2953
  def __init__(self):
2954
2954
  r"""
2955
- :param _TopicId: 日志主题ID
2955
+ :param _TopicId: <p>日志主题ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/56454">DescribeTopics</a></p>
2956
2956
  :type TopicId: str
2957
- :param _TaskId: 索引重建任务ID
2957
+ :param _TaskId: <p>索引重建任务ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/127535">DescribeRebuildIndexTasks</a></p>
2958
2958
  :type TaskId: str
2959
2959
  """
2960
2960
  self._TopicId = None
@@ -2962,7 +2962,7 @@ class CancelRebuildIndexTaskRequest(AbstractModel):
2962
2962
 
2963
2963
  @property
2964
2964
  def TopicId(self):
2965
- r"""日志主题ID
2965
+ r"""<p>日志主题ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/56454">DescribeTopics</a></p>
2966
2966
  :rtype: str
2967
2967
  """
2968
2968
  return self._TopicId
@@ -2973,7 +2973,7 @@ class CancelRebuildIndexTaskRequest(AbstractModel):
2973
2973
 
2974
2974
  @property
2975
2975
  def TaskId(self):
2976
- r"""索引重建任务ID
2976
+ r"""<p>索引重建任务ID</p><p>取值参考:<a href="https://cloud.tencent.com/document/api/614/127535">DescribeRebuildIndexTasks</a></p>
2977
2977
  :rtype: str
2978
2978
  """
2979
2979
  return self._TaskId
@@ -13754,29 +13754,28 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13754
13754
 
13755
13755
  def __init__(self):
13756
13756
  r"""
13757
- :param _TopicId: 日志主题 ID
13757
+ :param _TopicId: <p>日志主题 ID</p>
13758
13758
  :type TopicId: str
13759
- :param _Name: 任务名称
13759
+ :param _Name: <p>任务名称</p>
13760
13760
  :type Name: str
13761
- :param _Target: 目标服务名称
13761
+ :param _Target: <p>目标服务名称</p>
13762
13762
  :type Target: str
13763
- :param _RemoteWriteURL: 目标地址
13763
+ :param _RemoteWriteURL: <p>目标地址</p>
13764
13764
  :type RemoteWriteURL: str
13765
- :param _AuthType: 鉴权类型
13766
- 0: 无鉴权
13767
- 1: basic_auth
13768
- 2: token
13765
+ :param _AuthType: <p>鉴权类型<br>0: 无鉴权<br>1: basic_auth<br>2: token</p>
13769
13766
  :type AuthType: int
13770
- :param _NetType: 网络类型: 1 内网 2外网
13767
+ :param _NetType: <p>网络类型: 1 内网 2外网</p>
13771
13768
  :type NetType: int
13772
- :param _VpcId: 私有网络id
13769
+ :param _VpcId: <p>私有网络id</p>
13773
13770
  :type VpcId: str
13774
- :param _AuthInfo: 鉴权信息
13771
+ :param _AuthInfo: <p>鉴权信息</p>
13775
13772
  :type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
13776
- :param _VirtualGatewayType: 后端服务类型
13777
- 0 CVM
13778
- 1025 CLB
13773
+ :param _VirtualGatewayType: <p>后端服务类型<br>0 CVM<br>1025 CLB</p>
13779
13774
  :type VirtualGatewayType: int
13775
+ :param _InstanceId: <p>云时序数据库实例ID</p>
13776
+ :type InstanceId: str
13777
+ :param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。 默认值:2</p>
13778
+ :type HasServicesLog: int
13780
13779
  """
13781
13780
  self._TopicId = None
13782
13781
  self._Name = None
@@ -13787,10 +13786,12 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13787
13786
  self._VpcId = None
13788
13787
  self._AuthInfo = None
13789
13788
  self._VirtualGatewayType = None
13789
+ self._InstanceId = None
13790
+ self._HasServicesLog = None
13790
13791
 
13791
13792
  @property
13792
13793
  def TopicId(self):
13793
- r"""日志主题 ID
13794
+ r"""<p>日志主题 ID</p>
13794
13795
  :rtype: str
13795
13796
  """
13796
13797
  return self._TopicId
@@ -13801,7 +13802,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13801
13802
 
13802
13803
  @property
13803
13804
  def Name(self):
13804
- r"""任务名称
13805
+ r"""<p>任务名称</p>
13805
13806
  :rtype: str
13806
13807
  """
13807
13808
  return self._Name
@@ -13812,7 +13813,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13812
13813
 
13813
13814
  @property
13814
13815
  def Target(self):
13815
- r"""目标服务名称
13816
+ r"""<p>目标服务名称</p>
13816
13817
  :rtype: str
13817
13818
  """
13818
13819
  return self._Target
@@ -13823,7 +13824,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13823
13824
 
13824
13825
  @property
13825
13826
  def RemoteWriteURL(self):
13826
- r"""目标地址
13827
+ r"""<p>目标地址</p>
13827
13828
  :rtype: str
13828
13829
  """
13829
13830
  return self._RemoteWriteURL
@@ -13834,10 +13835,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13834
13835
 
13835
13836
  @property
13836
13837
  def AuthType(self):
13837
- r"""鉴权类型
13838
- 0: 无鉴权
13839
- 1: basic_auth
13840
- 2: token
13838
+ r"""<p>鉴权类型<br>0: 无鉴权<br>1: basic_auth<br>2: token</p>
13841
13839
  :rtype: int
13842
13840
  """
13843
13841
  return self._AuthType
@@ -13848,7 +13846,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13848
13846
 
13849
13847
  @property
13850
13848
  def NetType(self):
13851
- r"""网络类型: 1 内网 2外网
13849
+ r"""<p>网络类型: 1 内网 2外网</p>
13852
13850
  :rtype: int
13853
13851
  """
13854
13852
  return self._NetType
@@ -13859,7 +13857,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13859
13857
 
13860
13858
  @property
13861
13859
  def VpcId(self):
13862
- r"""私有网络id
13860
+ r"""<p>私有网络id</p>
13863
13861
  :rtype: str
13864
13862
  """
13865
13863
  return self._VpcId
@@ -13870,7 +13868,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13870
13868
 
13871
13869
  @property
13872
13870
  def AuthInfo(self):
13873
- r"""鉴权信息
13871
+ r"""<p>鉴权信息</p>
13874
13872
  :rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
13875
13873
  """
13876
13874
  return self._AuthInfo
@@ -13881,9 +13879,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13881
13879
 
13882
13880
  @property
13883
13881
  def VirtualGatewayType(self):
13884
- r"""后端服务类型
13885
- 0 CVM
13886
- 1025 CLB
13882
+ r"""<p>后端服务类型<br>0 CVM<br>1025 CLB</p>
13887
13883
  :rtype: int
13888
13884
  """
13889
13885
  return self._VirtualGatewayType
@@ -13892,6 +13888,28 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13892
13888
  def VirtualGatewayType(self, VirtualGatewayType):
13893
13889
  self._VirtualGatewayType = VirtualGatewayType
13894
13890
 
13891
+ @property
13892
+ def InstanceId(self):
13893
+ r"""<p>云时序数据库实例ID</p>
13894
+ :rtype: str
13895
+ """
13896
+ return self._InstanceId
13897
+
13898
+ @InstanceId.setter
13899
+ def InstanceId(self, InstanceId):
13900
+ self._InstanceId = InstanceId
13901
+
13902
+ @property
13903
+ def HasServicesLog(self):
13904
+ r"""<p>是否开启投递服务日志。1:关闭,2:开启。 默认值:2</p>
13905
+ :rtype: int
13906
+ """
13907
+ return self._HasServicesLog
13908
+
13909
+ @HasServicesLog.setter
13910
+ def HasServicesLog(self, HasServicesLog):
13911
+ self._HasServicesLog = HasServicesLog
13912
+
13895
13913
 
13896
13914
  def _deserialize(self, params):
13897
13915
  self._TopicId = params.get("TopicId")
@@ -13905,6 +13923,8 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
13905
13923
  self._AuthInfo = RemoteWriteAuthInfo()
13906
13924
  self._AuthInfo._deserialize(params.get("AuthInfo"))
13907
13925
  self._VirtualGatewayType = params.get("VirtualGatewayType")
13926
+ self._InstanceId = params.get("InstanceId")
13927
+ self._HasServicesLog = params.get("HasServicesLog")
13908
13928
  memeber_set = set(params.keys())
13909
13929
  for name, value in vars(self).items():
13910
13930
  property_name = name[1:]
@@ -13922,7 +13942,7 @@ class CreateRemoteWriteTaskResponse(AbstractModel):
13922
13942
 
13923
13943
  def __init__(self):
13924
13944
  r"""
13925
- :param _TaskId: remoteWrite任务id
13945
+ :param _TaskId: <p>remoteWrite任务id</p>
13926
13946
  注意:此字段可能返回 null,表示取不到有效值。
13927
13947
  :type TaskId: str
13928
13948
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13933,7 +13953,7 @@ class CreateRemoteWriteTaskResponse(AbstractModel):
13933
13953
 
13934
13954
  @property
13935
13955
  def TaskId(self):
13936
- r"""remoteWrite任务id
13956
+ r"""<p>remoteWrite任务id</p>
13937
13957
  注意:此字段可能返回 null,表示取不到有效值。
13938
13958
  :rtype: str
13939
13959
  """
@@ -26023,34 +26043,23 @@ class DescribeLogContextRequest(AbstractModel):
26023
26043
 
26024
26044
  def __init__(self):
26025
26045
  r"""
26026
- :param _TopicId: 要查询的日志主题Id
26027
- - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
26028
- - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
26046
+ :param _TopicId: <p>要查询的日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
26029
26047
  :type TopicId: str
26030
- :param _BTime: 日志时间,[检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。
26048
+ :param _BTime: <p>日志时间,<a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。</p>
26031
26049
  :type BTime: str
26032
- :param _PkgId: 日志包序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的PkgId
26050
+ :param _PkgId: <p>日志包序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的PkgId。</p>
26033
26051
  :type PkgId: str
26034
- :param _PkgLogId: 日志包内一条日志的序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构中的PkgLogId
26052
+ :param _PkgLogId: <p>日志包内一条日志的序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构中的PkgLogId。</p>
26035
26053
  :type PkgLogId: int
26036
- :param _PrevLogs: 前${PrevLogs}条日志,默认值10
26054
+ :param _PrevLogs: <p>前${PrevLogs}条日志,默认值10,最大100。</p>
26037
26055
  :type PrevLogs: int
26038
- :param _NextLogs: 后${NextLogs}条日志,默认值10
26056
+ :param _NextLogs: <p>后${NextLogs}条日志,默认值10,最大100。</p>
26039
26057
  :type NextLogs: int
26040
- :param _Query: 检索语句,对日志上下文进行过滤,最大长度为12KB
26041
- 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句
26058
+ :param _Query: <p>检索语句,对日志上下文进行过滤,最大长度为12KB<br>语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句</p>
26042
26059
  :type Query: str
26043
- :param _From: 上下文检索的开始时间,单位:毫秒级时间戳
26044
- 注意:
26045
- - From为空时,表示上下文检索的开始时间不做限制
26046
- - From和To非空时,From < To
26047
- - 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
26060
+ :param _From: <p>上下文检索的开始时间,单位:毫秒级时间戳<br>注意:</p><ul><li>From为空时,表示上下文检索的开始时间不做限制</li><li>From和To非空时,From &lt; To</li></ul>
26048
26061
  :type From: int
26049
- :param _To: 上下文检索的结束时间,单位:毫秒级时间戳。
26050
- 注意:
26051
- - To为空时,表示上下文检索的结束时间不做限制
26052
- - From和To非空时,From < To
26053
- - 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
26062
+ :param _To: <p>上下文检索的结束时间,单位:毫秒级时间戳。<br>注意:</p><ul><li>To为空时,表示上下文检索的结束时间不做限制</li><li>From和To非空时,From &lt; To</li></ul>
26054
26063
  :type To: int
26055
26064
  """
26056
26065
  self._TopicId = None
@@ -26065,9 +26074,7 @@ class DescribeLogContextRequest(AbstractModel):
26065
26074
 
26066
26075
  @property
26067
26076
  def TopicId(self):
26068
- r"""要查询的日志主题Id
26069
- - 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
26070
- - 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。
26077
+ r"""<p>要查询的日志主题Id。</p><ul><li>通过 <a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a> 获取日志主题Id。</li><li>通过 <a href="https://cloud.tencent.com/document/product/614/56456">创建日志主题</a> 获取日志主题Id。</li></ul>
26071
26078
  :rtype: str
26072
26079
  """
26073
26080
  return self._TopicId
@@ -26078,7 +26085,7 @@ class DescribeLogContextRequest(AbstractModel):
26078
26085
 
26079
26086
  @property
26080
26087
  def BTime(self):
26081
- r"""日志时间,[检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。
26088
+ r"""<p>日志时间,<a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。</p>
26082
26089
  :rtype: str
26083
26090
  """
26084
26091
  return self._BTime
@@ -26089,7 +26096,7 @@ class DescribeLogContextRequest(AbstractModel):
26089
26096
 
26090
26097
  @property
26091
26098
  def PkgId(self):
26092
- r"""日志包序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构体中的PkgId
26099
+ r"""<p>日志包序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的PkgId。</p>
26093
26100
  :rtype: str
26094
26101
  """
26095
26102
  return self._PkgId
@@ -26100,7 +26107,7 @@ class DescribeLogContextRequest(AbstractModel):
26100
26107
 
26101
26108
  @property
26102
26109
  def PkgLogId(self):
26103
- r"""日志包内一条日志的序号,即 [检索分析日志](https://cloud.tencent.com/document/product/614/56447) 接口返回信息中Results结构中的PkgLogId
26110
+ r"""<p>日志包内一条日志的序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构中的PkgLogId。</p>
26104
26111
  :rtype: int
26105
26112
  """
26106
26113
  return self._PkgLogId
@@ -26111,7 +26118,7 @@ class DescribeLogContextRequest(AbstractModel):
26111
26118
 
26112
26119
  @property
26113
26120
  def PrevLogs(self):
26114
- r"""前${PrevLogs}条日志,默认值10
26121
+ r"""<p>前${PrevLogs}条日志,默认值10,最大100。</p>
26115
26122
  :rtype: int
26116
26123
  """
26117
26124
  return self._PrevLogs
@@ -26122,7 +26129,7 @@ class DescribeLogContextRequest(AbstractModel):
26122
26129
 
26123
26130
  @property
26124
26131
  def NextLogs(self):
26125
- r"""后${NextLogs}条日志,默认值10
26132
+ r"""<p>后${NextLogs}条日志,默认值10,最大100。</p>
26126
26133
  :rtype: int
26127
26134
  """
26128
26135
  return self._NextLogs
@@ -26133,8 +26140,7 @@ class DescribeLogContextRequest(AbstractModel):
26133
26140
 
26134
26141
  @property
26135
26142
  def Query(self):
26136
- r"""检索语句,对日志上下文进行过滤,最大长度为12KB
26137
- 语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句
26143
+ r"""<p>检索语句,对日志上下文进行过滤,最大长度为12KB<br>语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句</p>
26138
26144
  :rtype: str
26139
26145
  """
26140
26146
  return self._Query
@@ -26145,11 +26151,7 @@ class DescribeLogContextRequest(AbstractModel):
26145
26151
 
26146
26152
  @property
26147
26153
  def From(self):
26148
- r"""上下文检索的开始时间,单位:毫秒级时间戳
26149
- 注意:
26150
- - From为空时,表示上下文检索的开始时间不做限制
26151
- - From和To非空时,From < To
26152
- - 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
26154
+ r"""<p>上下文检索的开始时间,单位:毫秒级时间戳<br>注意:</p><ul><li>From为空时,表示上下文检索的开始时间不做限制</li><li>From和To非空时,From &lt; To</li></ul>
26153
26155
  :rtype: int
26154
26156
  """
26155
26157
  return self._From
@@ -26160,11 +26162,7 @@ class DescribeLogContextRequest(AbstractModel):
26160
26162
 
26161
26163
  @property
26162
26164
  def To(self):
26163
- r"""上下文检索的结束时间,单位:毫秒级时间戳。
26164
- 注意:
26165
- - To为空时,表示上下文检索的结束时间不做限制
26166
- - From和To非空时,From < To
26167
- - 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
26165
+ r"""<p>上下文检索的结束时间,单位:毫秒级时间戳。<br>注意:</p><ul><li>To为空时,表示上下文检索的结束时间不做限制</li><li>From和To非空时,From &lt; To</li></ul>
26168
26166
  :rtype: int
26169
26167
  """
26170
26168
  return self._To
@@ -26201,11 +26199,11 @@ class DescribeLogContextResponse(AbstractModel):
26201
26199
 
26202
26200
  def __init__(self):
26203
26201
  r"""
26204
- :param _LogContextInfos: 日志上下文信息集合
26202
+ :param _LogContextInfos: <p>日志上下文信息集合</p>
26205
26203
  :type LogContextInfos: list of LogContextInfo
26206
- :param _PrevOver: 上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。
26204
+ :param _PrevOver: <p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
26207
26205
  :type PrevOver: bool
26208
- :param _NextOver: 下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。
26206
+ :param _NextOver: <p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
26209
26207
  :type NextOver: bool
26210
26208
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26211
26209
  :type RequestId: str
@@ -26217,7 +26215,7 @@ class DescribeLogContextResponse(AbstractModel):
26217
26215
 
26218
26216
  @property
26219
26217
  def LogContextInfos(self):
26220
- r"""日志上下文信息集合
26218
+ r"""<p>日志上下文信息集合</p>
26221
26219
  :rtype: list of LogContextInfo
26222
26220
  """
26223
26221
  return self._LogContextInfos
@@ -26228,7 +26226,7 @@ class DescribeLogContextResponse(AbstractModel):
26228
26226
 
26229
26227
  @property
26230
26228
  def PrevOver(self):
26231
- r"""上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。
26229
+ r"""<p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
26232
26230
  :rtype: bool
26233
26231
  """
26234
26232
  return self._PrevOver
@@ -26239,7 +26237,7 @@ class DescribeLogContextResponse(AbstractModel):
26239
26237
 
26240
26238
  @property
26241
26239
  def NextOver(self):
26242
- r"""下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。
26240
+ r"""<p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
26243
26241
  :rtype: bool
26244
26242
  """
26245
26243
  return self._NextOver
@@ -33364,38 +33362,27 @@ class GetAlarmLogRequest(AbstractModel):
33364
33362
 
33365
33363
  def __init__(self):
33366
33364
  r"""
33367
- :param _From: 要查询的执行详情的起始时间,Unix时间戳,单位ms
33365
+ :param _From: <p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
33368
33366
  :type From: int
33369
- :param _To: 要查询的执行详情的结束时间,Unix时间戳,单位ms
33367
+ :param _To: <p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
33370
33368
  :type To: int
33371
- :param _Query: 查询过滤条件,例如:
33372
- - 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"`
33373
- - 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取告警策略ID
33374
- - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
33375
- - 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
33376
- - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
33377
- - 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
33369
+ :param _Query: <p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot;</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot; AND monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:&quot;alarm-5ce45495-0918-4d58-xxxx-768134bf330c&quot;) AND (monitored_object:&quot;3c514e84-6f1f-46ec-xxxx-05de6163f7fe&quot;) AND NOT condition_evaluate_result: &quot;Skip&quot; AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result=&#39;ProcessError&#39;) as top50StatisticsFailureCount, count_if(notification_send_result!=&#39;NotSend&#39;) as top50NoticeTotalCount, count_if(notification_send_result=&#39;SendPartFail&#39; or notification_send_result=&#39;SendFail&#39;) as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
33378
33370
  :type Query: str
33379
- :param _Limit: 单次查询返回的执行详情条数,最大值为1000
33371
+ :param _QueryString: <p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot;</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot; AND monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:&quot;alarm-5ce45495-0918-4d58-xxxx-768134bf330c&quot;) AND (monitored_object:&quot;3c514e84-6f1f-46ec-xxxx-05de6163f7fe&quot;) AND NOT condition_evaluate_result: &quot;Skip&quot; AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result=&#39;ProcessError&#39;) as top50StatisticsFailureCount, count_if(notification_send_result!=&#39;NotSend&#39;) as top50NoticeTotalCount, count_if(notification_send_result=&#39;SendPartFail&#39; or notification_send_result=&#39;SendFail&#39;) as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
33372
+ :type QueryString: str
33373
+ :param _Limit: <p>单次查询返回的执行详情条数,最大值为1000</p>
33380
33374
  :type Limit: int
33381
- :param _Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
33382
- 注意:
33383
- * 透传该参数时,请勿修改除该参数外的其它参数
33384
- * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
33375
+ :param _Context: <p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
33385
33376
  :type Context: str
33386
- :param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
33387
- 注意:
33388
- * 仅当检索分析语句(Query)不包含SQL时有效
33389
- * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
33377
+ :param _Sort: <p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
33390
33378
  :type Sort: str
33391
- :param _UseNewAnalysis: true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;
33392
- false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
33393
- 两种返回方式在编码格式上有少量区别,建议使用true。
33379
+ :param _UseNewAnalysis: <p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
33394
33380
  :type UseNewAnalysis: bool
33395
33381
  """
33396
33382
  self._From = None
33397
33383
  self._To = None
33398
33384
  self._Query = None
33385
+ self._QueryString = None
33399
33386
  self._Limit = None
33400
33387
  self._Context = None
33401
33388
  self._Sort = None
@@ -33403,7 +33390,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33403
33390
 
33404
33391
  @property
33405
33392
  def From(self):
33406
- r"""要查询的执行详情的起始时间,Unix时间戳,单位ms
33393
+ r"""<p>要查询的执行详情的起始时间,Unix时间戳,单位ms。</p>
33407
33394
  :rtype: int
33408
33395
  """
33409
33396
  return self._From
@@ -33414,7 +33401,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33414
33401
 
33415
33402
  @property
33416
33403
  def To(self):
33417
- r"""要查询的执行详情的结束时间,Unix时间戳,单位ms
33404
+ r"""<p>要查询的执行详情的结束时间,Unix时间戳,单位ms。</p>
33418
33405
  :rtype: int
33419
33406
  """
33420
33407
  return self._To
@@ -33425,24 +33412,33 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33425
33412
 
33426
33413
  @property
33427
33414
  def Query(self):
33428
- r"""查询过滤条件,例如:
33429
- - 按告警策略ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971"`
33430
- - 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取告警策略ID
33431
- - 按监控对象ID查询:`monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b" `
33432
- - 通过[获取告警策略列表](https://cloud.tencent.com/document/api/614/56461)获取监控对象ID
33433
- - 按告警策略ID及监控对象ID查询:`alert_id:"alarm-0745ec00-e605-xxxx-b50b-54afe61fc971" AND monitored_object:"823d8bfa-76a7-xxxx-8399-8cda74d4009b"`
33434
- - 按告警策略ID及监控对象ID查询支持SQL语句:`(alert_id:"alarm-5ce45495-09e8-4d58-xxxx-768134bf330c") AND (monitored_object:"3c514e84-6f1f-46ec-xxxx-05de6163f7fe") AND NOT condition_evaluate_result: "Skip" AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result='ProcessError') as top50StatisticsFailureCount, count_if(notification_send_result!='NotSend') as top50NoticeTotalCount, count_if(notification_send_result='SendPartFail' or notification_send_result='SendFail') as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1`
33415
+ warnings.warn("parameter `Query` is deprecated", DeprecationWarning)
33416
+
33417
+ r"""<p>查询过滤条件,例如:</p><ul><li>按告警策略ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot;</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID</li></ul></li><li>按监控对象ID查询:<code>monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code><ul><li>通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID</li></ul></li><li>按告警策略ID及监控对象ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot; AND monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code></li><li>按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:&quot;alarm-5ce45495-0918-4d58-xxxx-768134bf330c&quot;) AND (monitored_object:&quot;3c514e84-6f1f-46ec-xxxx-05de6163f7fe&quot;) AND NOT condition_evaluate_result: &quot;Skip&quot; AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result=&#39;ProcessError&#39;) as top50StatisticsFailureCount, count_if(notification_send_result!=&#39;NotSend&#39;) as top50NoticeTotalCount, count_if(notification_send_result=&#39;SendPartFail&#39; or notification_send_result=&#39;SendFail&#39;) as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></li></ul><p>该查询语句走Lucene语法(已废弃)</p>
33435
33418
  :rtype: str
33436
33419
  """
33437
33420
  return self._Query
33438
33421
 
33439
33422
  @Query.setter
33440
33423
  def Query(self, Query):
33424
+ warnings.warn("parameter `Query` is deprecated", DeprecationWarning)
33425
+
33441
33426
  self._Query = Query
33442
33427
 
33428
+ @property
33429
+ def QueryString(self):
33430
+ r"""<p>查询过滤条件,例如:- 按告警策略ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot;</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取告警策略ID- 按监控对象ID查询:<code>monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code> - 通过<a href="https://cloud.tencent.com/document/api/614/56461">获取告警策略列表</a>获取监控对象ID- 按告警策略ID及监控对象ID查询:<code>alert_id:&quot;alarm-0745ec00-e605-xxxx-b50b-54afe61fc971&quot; AND monitored_object:&quot;823d8bfa-76a7-xxxx-8399-8cda74d4009b&quot;</code>- 按告警策略ID及监控对象ID查询支持SQL语句:<code>(alert_id:&quot;alarm-5ce45495-0918-4d58-xxxx-768134bf330c&quot;) AND (monitored_object:&quot;3c514e84-6f1f-46ec-xxxx-05de6163f7fe&quot;) AND NOT condition_evaluate_result: &quot;Skip&quot; AND condition_evaluate_result:[* TO *] | SELECT count(*) as top50StatisticsTotalCount, count_if(condition_evaluate_result=&#39;ProcessError&#39;) as top50StatisticsFailureCount, count_if(notification_send_result!=&#39;NotSend&#39;) as top50NoticeTotalCount, count_if(notification_send_result=&#39;SendPartFail&#39; or notification_send_result=&#39;SendFail&#39;) as top50NoticeFailureCount, alert_id, alert_name, monitored_object, topic_type, happen_threshold, alert_threshold, notify_template group by alert_id, alert_name, monitored_object,topic_type, happen_threshold, alert_threshold, notify_template order by top50StatisticsTotalCount desc limit 1</code></p><p>该查询语句走CQL语法</p>
33431
+ :rtype: str
33432
+ """
33433
+ return self._QueryString
33434
+
33435
+ @QueryString.setter
33436
+ def QueryString(self, QueryString):
33437
+ self._QueryString = QueryString
33438
+
33443
33439
  @property
33444
33440
  def Limit(self):
33445
- r"""单次查询返回的执行详情条数,最大值为1000
33441
+ r"""<p>单次查询返回的执行详情条数,最大值为1000</p>
33446
33442
  :rtype: int
33447
33443
  """
33448
33444
  return self._Limit
@@ -33453,10 +33449,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33453
33449
 
33454
33450
  @property
33455
33451
  def Context(self):
33456
- r"""透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
33457
- 注意:
33458
- * 透传该参数时,请勿修改除该参数外的其它参数
33459
- * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
33452
+ r"""<p>透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。<br>注意:</p><ul><li>透传该参数时,请勿修改除该参数外的其它参数</li><li>仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a></li></ul>
33460
33453
  :rtype: str
33461
33454
  """
33462
33455
  return self._Context
@@ -33467,10 +33460,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33467
33460
 
33468
33461
  @property
33469
33462
  def Sort(self):
33470
- r"""原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
33471
- 注意:
33472
- * 仅当检索分析语句(Query)不包含SQL时有效
33473
- * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
33463
+ r"""<p>原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc<br>注意:</p><ul><li>仅当检索分析语句(Query)不包含SQL时有效</li><li>SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a></li></ul>
33474
33464
  :rtype: str
33475
33465
  """
33476
33466
  return self._Sort
@@ -33481,9 +33471,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33481
33471
 
33482
33472
  @property
33483
33473
  def UseNewAnalysis(self):
33484
- r"""true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;
33485
- false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;
33486
- 两种返回方式在编码格式上有少量区别,建议使用true。
33474
+ r"""<p>true:代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效;<br>false:代表使用老的检索结果返回方式,输出AnalysisResults和ColNames有效;<br>两种返回方式在编码格式上有少量区别,建议使用true。</p>
33487
33475
  :rtype: bool
33488
33476
  """
33489
33477
  return self._UseNewAnalysis
@@ -33497,6 +33485,7 @@ false:代表使用老的检索结果返回方式,输出AnalysisResults和Col
33497
33485
  self._From = params.get("From")
33498
33486
  self._To = params.get("To")
33499
33487
  self._Query = params.get("Query")
33488
+ self._QueryString = params.get("QueryString")
33500
33489
  self._Limit = params.get("Limit")
33501
33490
  self._Context = params.get("Context")
33502
33491
  self._Sort = params.get("Sort")
@@ -33518,29 +33507,25 @@ class GetAlarmLogResponse(AbstractModel):
33518
33507
 
33519
33508
  def __init__(self):
33520
33509
  r"""
33521
- :param _Context: 加载后续详情的Context
33510
+ :param _Context: <p>加载后续详情的Context</p>
33522
33511
  :type Context: str
33523
- :param _ListOver: 指定时间范围内的告警执行详情是否完整返回
33512
+ :param _ListOver: <p>指定时间范围内的告警执行详情是否完整返回</p>
33524
33513
  :type ListOver: bool
33525
- :param _Analysis: 返回的结果是否为SQL分析结果
33514
+ :param _Analysis: <p>返回的结果是否为SQL分析结果</p>
33526
33515
  :type Analysis: bool
33527
- :param _ColNames: 分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;
33528
- 否则为空。
33516
+ :param _ColNames: <p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
33529
33517
  注意:此字段可能返回 null,表示取不到有效值。
33530
33518
  :type ColNames: list of str
33531
- :param _Results: 执行详情查询结果。
33532
- 当Query字段无SQL语句时,返回查询结果。
33533
- 当Query字段有SQL语句时,可能返回null。
33519
+ :param _Results: <p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
33534
33520
  注意:此字段可能返回 null,表示取不到有效值。
33535
33521
  :type Results: list of LogInfo
33536
- :param _AnalysisResults: 执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null
33537
-
33522
+ :param _AnalysisResults: <p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
33538
33523
  注意:此字段可能返回 null,表示取不到有效值。
33539
33524
  :type AnalysisResults: list of LogItems
33540
- :param _AnalysisRecords: 执行详情统计分析结果;UseNewAnalysis为true有效。
33525
+ :param _AnalysisRecords: <p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
33541
33526
  注意:此字段可能返回 null,表示取不到有效值。
33542
33527
  :type AnalysisRecords: list of str
33543
- :param _Columns: 分析结果的列名, UseNewAnalysis为true有效
33528
+ :param _Columns: <p>分析结果的列名, UseNewAnalysis为true有效</p>
33544
33529
  注意:此字段可能返回 null,表示取不到有效值。
33545
33530
  :type Columns: list of Column
33546
33531
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -33558,7 +33543,7 @@ class GetAlarmLogResponse(AbstractModel):
33558
33543
 
33559
33544
  @property
33560
33545
  def Context(self):
33561
- r"""加载后续详情的Context
33546
+ r"""<p>加载后续详情的Context</p>
33562
33547
  :rtype: str
33563
33548
  """
33564
33549
  return self._Context
@@ -33569,7 +33554,7 @@ class GetAlarmLogResponse(AbstractModel):
33569
33554
 
33570
33555
  @property
33571
33556
  def ListOver(self):
33572
- r"""指定时间范围内的告警执行详情是否完整返回
33557
+ r"""<p>指定时间范围内的告警执行详情是否完整返回</p>
33573
33558
  :rtype: bool
33574
33559
  """
33575
33560
  return self._ListOver
@@ -33580,7 +33565,7 @@ class GetAlarmLogResponse(AbstractModel):
33580
33565
 
33581
33566
  @property
33582
33567
  def Analysis(self):
33583
- r"""返回的结果是否为SQL分析结果
33568
+ r"""<p>返回的结果是否为SQL分析结果</p>
33584
33569
  :rtype: bool
33585
33570
  """
33586
33571
  return self._Analysis
@@ -33591,8 +33576,7 @@ class GetAlarmLogResponse(AbstractModel):
33591
33576
 
33592
33577
  @property
33593
33578
  def ColNames(self):
33594
- r"""分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;
33595
- 否则为空。
33579
+ r"""<p>分析结果的列名,如果Query语句有SQL查询,则返回查询字段的列名;<br>否则为空。</p>
33596
33580
  注意:此字段可能返回 null,表示取不到有效值。
33597
33581
  :rtype: list of str
33598
33582
  """
@@ -33604,9 +33588,7 @@ class GetAlarmLogResponse(AbstractModel):
33604
33588
 
33605
33589
  @property
33606
33590
  def Results(self):
33607
- r"""执行详情查询结果。
33608
- 当Query字段无SQL语句时,返回查询结果。
33609
- 当Query字段有SQL语句时,可能返回null。
33591
+ r"""<p>执行详情查询结果。<br>当Query字段无SQL语句时,返回查询结果。<br>当Query字段有SQL语句时,可能返回null。</p>
33610
33592
  注意:此字段可能返回 null,表示取不到有效值。
33611
33593
  :rtype: list of LogInfo
33612
33594
  """
@@ -33618,8 +33600,7 @@ class GetAlarmLogResponse(AbstractModel):
33618
33600
 
33619
33601
  @property
33620
33602
  def AnalysisResults(self):
33621
- r"""执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null
33622
-
33603
+ r"""<p>执行详情统计分析结果。当Query字段有SQL语句时,返回SQL统计结果,否则可能返回null。</p>
33623
33604
  注意:此字段可能返回 null,表示取不到有效值。
33624
33605
  :rtype: list of LogItems
33625
33606
  """
@@ -33631,7 +33612,7 @@ class GetAlarmLogResponse(AbstractModel):
33631
33612
 
33632
33613
  @property
33633
33614
  def AnalysisRecords(self):
33634
- r"""执行详情统计分析结果;UseNewAnalysis为true有效。
33615
+ r"""<p>执行详情统计分析结果;UseNewAnalysis为true有效。</p>
33635
33616
  注意:此字段可能返回 null,表示取不到有效值。
33636
33617
  :rtype: list of str
33637
33618
  """
@@ -33643,7 +33624,7 @@ class GetAlarmLogResponse(AbstractModel):
33643
33624
 
33644
33625
  @property
33645
33626
  def Columns(self):
33646
- r"""分析结果的列名, UseNewAnalysis为true有效
33627
+ r"""<p>分析结果的列名, UseNewAnalysis为true有效</p>
33647
33628
  注意:此字段可能返回 null,表示取不到有效值。
33648
33629
  :rtype: list of Column
33649
33630
  """
@@ -44251,32 +44232,32 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44251
44232
 
44252
44233
  def __init__(self):
44253
44234
  r"""
44254
- :param _TaskId: 任务id
44235
+ :param _TaskId: <p>任务id</p>
44255
44236
  :type TaskId: str
44256
- :param _TopicId: 日志主题id
44237
+ :param _TopicId: <p>日志主题id</p>
44257
44238
  :type TopicId: str
44258
- :param _Enable: 任务状态
44259
- 0 关闭 1 开启
44239
+ :param _Enable: <p>任务状态<br>0 关闭 1 开启</p>
44260
44240
  :type Enable: int
44261
- :param _Name: RemoteWrite任务名称
44241
+ :param _Name: <p>RemoteWrite任务名称</p>
44262
44242
  :type Name: str
44263
- :param _NetType: 1 内网 2外网
44243
+ :param _NetType: <p>1 内网 2外网</p>
44264
44244
  :type NetType: int
44265
- :param _VpcId: 私有网络id
44245
+ :param _VpcId: <p>私有网络id</p>
44266
44246
  :type VpcId: str
44267
- :param _Target: 目标服务名称
44247
+ :param _Target: <p>目标服务名称</p>
44268
44248
  :type Target: str
44269
- :param _RemoteWriteURL: 目标地址
44249
+ :param _RemoteWriteURL: <p>目标地址</p>
44270
44250
  :type RemoteWriteURL: str
44271
- :param _AuthType: 0: 无鉴权 1: basic_auth 2: token
44251
+ :param _AuthType: <p>0: 无鉴权 1: basic_auth 2: token</p>
44272
44252
  :type AuthType: int
44273
- :param _AuthInfo: 鉴权信息
44253
+ :param _AuthInfo: <p>鉴权信息</p>
44274
44254
  :type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
44275
- :param _VirtualGatewayType: 后端服务类型
44276
- -1 没有
44277
- 0 CVM
44278
- 1025 CLB
44255
+ :param _VirtualGatewayType: <p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
44279
44256
  :type VirtualGatewayType: int
44257
+ :param _InstanceId: <p>云时序数据库实例ID</p>
44258
+ :type InstanceId: str
44259
+ :param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
44260
+ :type HasServicesLog: int
44280
44261
  """
44281
44262
  self._TaskId = None
44282
44263
  self._TopicId = None
@@ -44289,10 +44270,12 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44289
44270
  self._AuthType = None
44290
44271
  self._AuthInfo = None
44291
44272
  self._VirtualGatewayType = None
44273
+ self._InstanceId = None
44274
+ self._HasServicesLog = None
44292
44275
 
44293
44276
  @property
44294
44277
  def TaskId(self):
44295
- r"""任务id
44278
+ r"""<p>任务id</p>
44296
44279
  :rtype: str
44297
44280
  """
44298
44281
  return self._TaskId
@@ -44303,7 +44286,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44303
44286
 
44304
44287
  @property
44305
44288
  def TopicId(self):
44306
- r"""日志主题id
44289
+ r"""<p>日志主题id</p>
44307
44290
  :rtype: str
44308
44291
  """
44309
44292
  return self._TopicId
@@ -44314,8 +44297,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44314
44297
 
44315
44298
  @property
44316
44299
  def Enable(self):
44317
- r"""任务状态
44318
- 0 关闭 1 开启
44300
+ r"""<p>任务状态<br>0 关闭 1 开启</p>
44319
44301
  :rtype: int
44320
44302
  """
44321
44303
  return self._Enable
@@ -44326,7 +44308,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44326
44308
 
44327
44309
  @property
44328
44310
  def Name(self):
44329
- r"""RemoteWrite任务名称
44311
+ r"""<p>RemoteWrite任务名称</p>
44330
44312
  :rtype: str
44331
44313
  """
44332
44314
  return self._Name
@@ -44337,7 +44319,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44337
44319
 
44338
44320
  @property
44339
44321
  def NetType(self):
44340
- r"""1 内网 2外网
44322
+ r"""<p>1 内网 2外网</p>
44341
44323
  :rtype: int
44342
44324
  """
44343
44325
  return self._NetType
@@ -44348,7 +44330,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44348
44330
 
44349
44331
  @property
44350
44332
  def VpcId(self):
44351
- r"""私有网络id
44333
+ r"""<p>私有网络id</p>
44352
44334
  :rtype: str
44353
44335
  """
44354
44336
  return self._VpcId
@@ -44359,7 +44341,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44359
44341
 
44360
44342
  @property
44361
44343
  def Target(self):
44362
- r"""目标服务名称
44344
+ r"""<p>目标服务名称</p>
44363
44345
  :rtype: str
44364
44346
  """
44365
44347
  return self._Target
@@ -44370,7 +44352,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44370
44352
 
44371
44353
  @property
44372
44354
  def RemoteWriteURL(self):
44373
- r"""目标地址
44355
+ r"""<p>目标地址</p>
44374
44356
  :rtype: str
44375
44357
  """
44376
44358
  return self._RemoteWriteURL
@@ -44381,7 +44363,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44381
44363
 
44382
44364
  @property
44383
44365
  def AuthType(self):
44384
- r"""0: 无鉴权 1: basic_auth 2: token
44366
+ r"""<p>0: 无鉴权 1: basic_auth 2: token</p>
44385
44367
  :rtype: int
44386
44368
  """
44387
44369
  return self._AuthType
@@ -44392,7 +44374,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44392
44374
 
44393
44375
  @property
44394
44376
  def AuthInfo(self):
44395
- r"""鉴权信息
44377
+ r"""<p>鉴权信息</p>
44396
44378
  :rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
44397
44379
  """
44398
44380
  return self._AuthInfo
@@ -44403,10 +44385,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44403
44385
 
44404
44386
  @property
44405
44387
  def VirtualGatewayType(self):
44406
- r"""后端服务类型
44407
- -1 没有
44408
- 0 CVM
44409
- 1025 CLB
44388
+ r"""<p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
44410
44389
  :rtype: int
44411
44390
  """
44412
44391
  return self._VirtualGatewayType
@@ -44415,6 +44394,28 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44415
44394
  def VirtualGatewayType(self, VirtualGatewayType):
44416
44395
  self._VirtualGatewayType = VirtualGatewayType
44417
44396
 
44397
+ @property
44398
+ def InstanceId(self):
44399
+ r"""<p>云时序数据库实例ID</p>
44400
+ :rtype: str
44401
+ """
44402
+ return self._InstanceId
44403
+
44404
+ @InstanceId.setter
44405
+ def InstanceId(self, InstanceId):
44406
+ self._InstanceId = InstanceId
44407
+
44408
+ @property
44409
+ def HasServicesLog(self):
44410
+ r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
44411
+ :rtype: int
44412
+ """
44413
+ return self._HasServicesLog
44414
+
44415
+ @HasServicesLog.setter
44416
+ def HasServicesLog(self, HasServicesLog):
44417
+ self._HasServicesLog = HasServicesLog
44418
+
44418
44419
 
44419
44420
  def _deserialize(self, params):
44420
44421
  self._TaskId = params.get("TaskId")
@@ -44430,6 +44431,8 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
44430
44431
  self._AuthInfo = RemoteWriteAuthInfo()
44431
44432
  self._AuthInfo._deserialize(params.get("AuthInfo"))
44432
44433
  self._VirtualGatewayType = params.get("VirtualGatewayType")
44434
+ self._InstanceId = params.get("InstanceId")
44435
+ self._HasServicesLog = params.get("HasServicesLog")
44433
44436
  memeber_set = set(params.keys())
44434
44437
  for name, value in vars(self).items():
44435
44438
  property_name = name[1:]
@@ -50001,57 +50004,57 @@ class RemoteWriteInfo(AbstractModel):
50001
50004
 
50002
50005
  def __init__(self):
50003
50006
  r"""
50004
- :param _TaskId: 任务id
50007
+ :param _TaskId: <p>任务id</p>
50005
50008
  注意:此字段可能返回 null,表示取不到有效值。
50006
50009
  :type TaskId: str
50007
- :param _TopicId: 日志主题ID
50010
+ :param _TopicId: <p>日志主题ID</p>
50008
50011
  注意:此字段可能返回 null,表示取不到有效值。
50009
50012
  :type TopicId: str
50010
- :param _Name: Remote Write任务名称
50013
+ :param _Name: <p>Remote Write任务名称</p>
50011
50014
  注意:此字段可能返回 null,表示取不到有效值。
50012
50015
  :type Name: str
50013
- :param _NetType: 网络类型
50014
- 1: 内网
50015
- 2:外网
50016
+ :param _NetType: <p>网络类型<br>1: 内网<br>2:外网</p>
50016
50017
  注意:此字段可能返回 null,表示取不到有效值。
50017
50018
  :type NetType: int
50018
- :param _VpcId: 私有网络id
50019
+ :param _VpcId: <p>私有网络id</p>
50019
50020
  注意:此字段可能返回 null,表示取不到有效值。
50020
50021
  :type VpcId: str
50021
- :param _Status: 任务运行状态
50022
- 1: 运行中
50023
- 2:暂停
50024
- 3: 失败
50022
+ :param _Status: <p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
50025
50023
  注意:此字段可能返回 null,表示取不到有效值。
50026
50024
  :type Status: int
50027
- :param _CreateTime: 创建时间
50025
+ :param _CreateTime: <p>创建时间</p>
50028
50026
  注意:此字段可能返回 null,表示取不到有效值。
50029
50027
  :type CreateTime: str
50030
- :param _UpdateTime: 更新时间
50028
+ :param _UpdateTime: <p>更新时间</p>
50031
50029
  注意:此字段可能返回 null,表示取不到有效值。
50032
50030
  :type UpdateTime: str
50033
- :param _Target: 目标服务名称
50031
+ :param _Target: <p>目标服务名称</p>
50034
50032
  注意:此字段可能返回 null,表示取不到有效值。
50035
50033
  :type Target: str
50036
- :param _RemoteWriteURL: 目标地址
50034
+ :param _RemoteWriteURL: <p>目标地址</p>
50037
50035
  注意:此字段可能返回 null,表示取不到有效值。
50038
50036
  :type RemoteWriteURL: str
50039
- :param _AuthType: 鉴权类型
50040
- 0: 无鉴权 1: basic_auth 2: token
50037
+ :param _AuthType: <p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
50041
50038
  注意:此字段可能返回 null,表示取不到有效值。
50042
50039
  :type AuthType: int
50043
- :param _AuthInfo: 鉴权信息
50040
+ :param _AuthInfo: <p>鉴权信息</p>
50044
50041
  注意:此字段可能返回 null,表示取不到有效值。
50045
50042
  :type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
50046
- :param _LogsetId: 日志集
50043
+ :param _LogsetId: <p>日志集</p>
50047
50044
  注意:此字段可能返回 null,表示取不到有效值。
50048
50045
  :type LogsetId: str
50049
- :param _Enable: 任务状态
50046
+ :param _Enable: <p>任务状态</p>
50050
50047
  注意:此字段可能返回 null,表示取不到有效值。
50051
50048
  :type Enable: int
50052
- :param _VirtualGatewayType: 后端服务类型
50049
+ :param _VirtualGatewayType: <p>后端服务类型</p>
50053
50050
  注意:此字段可能返回 null,表示取不到有效值。
50054
50051
  :type VirtualGatewayType: int
50052
+ :param _InstanceId: <p>云时序数据库实例ID</p>
50053
+ 注意:此字段可能返回 null,表示取不到有效值。
50054
+ :type InstanceId: str
50055
+ :param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
50056
+ 注意:此字段可能返回 null,表示取不到有效值。
50057
+ :type HasServicesLog: int
50055
50058
  """
50056
50059
  self._TaskId = None
50057
50060
  self._TopicId = None
@@ -50068,10 +50071,12 @@ class RemoteWriteInfo(AbstractModel):
50068
50071
  self._LogsetId = None
50069
50072
  self._Enable = None
50070
50073
  self._VirtualGatewayType = None
50074
+ self._InstanceId = None
50075
+ self._HasServicesLog = None
50071
50076
 
50072
50077
  @property
50073
50078
  def TaskId(self):
50074
- r"""任务id
50079
+ r"""<p>任务id</p>
50075
50080
  注意:此字段可能返回 null,表示取不到有效值。
50076
50081
  :rtype: str
50077
50082
  """
@@ -50083,7 +50088,7 @@ class RemoteWriteInfo(AbstractModel):
50083
50088
 
50084
50089
  @property
50085
50090
  def TopicId(self):
50086
- r"""日志主题ID
50091
+ r"""<p>日志主题ID</p>
50087
50092
  注意:此字段可能返回 null,表示取不到有效值。
50088
50093
  :rtype: str
50089
50094
  """
@@ -50095,7 +50100,7 @@ class RemoteWriteInfo(AbstractModel):
50095
50100
 
50096
50101
  @property
50097
50102
  def Name(self):
50098
- r"""Remote Write任务名称
50103
+ r"""<p>Remote Write任务名称</p>
50099
50104
  注意:此字段可能返回 null,表示取不到有效值。
50100
50105
  :rtype: str
50101
50106
  """
@@ -50107,9 +50112,7 @@ class RemoteWriteInfo(AbstractModel):
50107
50112
 
50108
50113
  @property
50109
50114
  def NetType(self):
50110
- r"""网络类型
50111
- 1: 内网
50112
- 2:外网
50115
+ r"""<p>网络类型<br>1: 内网<br>2:外网</p>
50113
50116
  注意:此字段可能返回 null,表示取不到有效值。
50114
50117
  :rtype: int
50115
50118
  """
@@ -50121,7 +50124,7 @@ class RemoteWriteInfo(AbstractModel):
50121
50124
 
50122
50125
  @property
50123
50126
  def VpcId(self):
50124
- r"""私有网络id
50127
+ r"""<p>私有网络id</p>
50125
50128
  注意:此字段可能返回 null,表示取不到有效值。
50126
50129
  :rtype: str
50127
50130
  """
@@ -50133,10 +50136,7 @@ class RemoteWriteInfo(AbstractModel):
50133
50136
 
50134
50137
  @property
50135
50138
  def Status(self):
50136
- r"""任务运行状态
50137
- 1: 运行中
50138
- 2:暂停
50139
- 3: 失败
50139
+ r"""<p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
50140
50140
  注意:此字段可能返回 null,表示取不到有效值。
50141
50141
  :rtype: int
50142
50142
  """
@@ -50148,7 +50148,7 @@ class RemoteWriteInfo(AbstractModel):
50148
50148
 
50149
50149
  @property
50150
50150
  def CreateTime(self):
50151
- r"""创建时间
50151
+ r"""<p>创建时间</p>
50152
50152
  注意:此字段可能返回 null,表示取不到有效值。
50153
50153
  :rtype: str
50154
50154
  """
@@ -50160,7 +50160,7 @@ class RemoteWriteInfo(AbstractModel):
50160
50160
 
50161
50161
  @property
50162
50162
  def UpdateTime(self):
50163
- r"""更新时间
50163
+ r"""<p>更新时间</p>
50164
50164
  注意:此字段可能返回 null,表示取不到有效值。
50165
50165
  :rtype: str
50166
50166
  """
@@ -50172,7 +50172,7 @@ class RemoteWriteInfo(AbstractModel):
50172
50172
 
50173
50173
  @property
50174
50174
  def Target(self):
50175
- r"""目标服务名称
50175
+ r"""<p>目标服务名称</p>
50176
50176
  注意:此字段可能返回 null,表示取不到有效值。
50177
50177
  :rtype: str
50178
50178
  """
@@ -50184,7 +50184,7 @@ class RemoteWriteInfo(AbstractModel):
50184
50184
 
50185
50185
  @property
50186
50186
  def RemoteWriteURL(self):
50187
- r"""目标地址
50187
+ r"""<p>目标地址</p>
50188
50188
  注意:此字段可能返回 null,表示取不到有效值。
50189
50189
  :rtype: str
50190
50190
  """
@@ -50196,8 +50196,7 @@ class RemoteWriteInfo(AbstractModel):
50196
50196
 
50197
50197
  @property
50198
50198
  def AuthType(self):
50199
- r"""鉴权类型
50200
- 0: 无鉴权 1: basic_auth 2: token
50199
+ r"""<p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
50201
50200
  注意:此字段可能返回 null,表示取不到有效值。
50202
50201
  :rtype: int
50203
50202
  """
@@ -50209,7 +50208,7 @@ class RemoteWriteInfo(AbstractModel):
50209
50208
 
50210
50209
  @property
50211
50210
  def AuthInfo(self):
50212
- r"""鉴权信息
50211
+ r"""<p>鉴权信息</p>
50213
50212
  注意:此字段可能返回 null,表示取不到有效值。
50214
50213
  :rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
50215
50214
  """
@@ -50221,7 +50220,7 @@ class RemoteWriteInfo(AbstractModel):
50221
50220
 
50222
50221
  @property
50223
50222
  def LogsetId(self):
50224
- r"""日志集
50223
+ r"""<p>日志集</p>
50225
50224
  注意:此字段可能返回 null,表示取不到有效值。
50226
50225
  :rtype: str
50227
50226
  """
@@ -50233,7 +50232,7 @@ class RemoteWriteInfo(AbstractModel):
50233
50232
 
50234
50233
  @property
50235
50234
  def Enable(self):
50236
- r"""任务状态
50235
+ r"""<p>任务状态</p>
50237
50236
  注意:此字段可能返回 null,表示取不到有效值。
50238
50237
  :rtype: int
50239
50238
  """
@@ -50245,7 +50244,7 @@ class RemoteWriteInfo(AbstractModel):
50245
50244
 
50246
50245
  @property
50247
50246
  def VirtualGatewayType(self):
50248
- r"""后端服务类型
50247
+ r"""<p>后端服务类型</p>
50249
50248
  注意:此字段可能返回 null,表示取不到有效值。
50250
50249
  :rtype: int
50251
50250
  """
@@ -50255,6 +50254,30 @@ class RemoteWriteInfo(AbstractModel):
50255
50254
  def VirtualGatewayType(self, VirtualGatewayType):
50256
50255
  self._VirtualGatewayType = VirtualGatewayType
50257
50256
 
50257
+ @property
50258
+ def InstanceId(self):
50259
+ r"""<p>云时序数据库实例ID</p>
50260
+ 注意:此字段可能返回 null,表示取不到有效值。
50261
+ :rtype: str
50262
+ """
50263
+ return self._InstanceId
50264
+
50265
+ @InstanceId.setter
50266
+ def InstanceId(self, InstanceId):
50267
+ self._InstanceId = InstanceId
50268
+
50269
+ @property
50270
+ def HasServicesLog(self):
50271
+ r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
50272
+ 注意:此字段可能返回 null,表示取不到有效值。
50273
+ :rtype: int
50274
+ """
50275
+ return self._HasServicesLog
50276
+
50277
+ @HasServicesLog.setter
50278
+ def HasServicesLog(self, HasServicesLog):
50279
+ self._HasServicesLog = HasServicesLog
50280
+
50258
50281
 
50259
50282
  def _deserialize(self, params):
50260
50283
  self._TaskId = params.get("TaskId")
@@ -50274,6 +50297,8 @@ class RemoteWriteInfo(AbstractModel):
50274
50297
  self._LogsetId = params.get("LogsetId")
50275
50298
  self._Enable = params.get("Enable")
50276
50299
  self._VirtualGatewayType = params.get("VirtualGatewayType")
50300
+ self._InstanceId = params.get("InstanceId")
50301
+ self._HasServicesLog = params.get("HasServicesLog")
50277
50302
  memeber_set = set(params.keys())
50278
50303
  for name, value in vars(self).items():
50279
50304
  property_name = name[1:]
@@ -51885,9 +51910,9 @@ class SearchLogRequest(AbstractModel):
51885
51910
 
51886
51911
  def __init__(self):
51887
51912
  r"""
51888
- :param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
51913
+ :param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
51889
51914
  :type From: int
51890
- :param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
51915
+ :param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
51891
51916
  :type To: int
51892
51917
  :param _QueryString: <p>检索分析语句,最大长度为12KB<br>语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句<br>使用*或空字符串可查询所有日志</p><p>默认值:空字符串</p>
51893
51918
  :type QueryString: str
@@ -51934,7 +51959,7 @@ class SearchLogRequest(AbstractModel):
51934
51959
 
51935
51960
  @property
51936
51961
  def From(self):
51937
- r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
51962
+ r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
51938
51963
  :rtype: int
51939
51964
  """
51940
51965
  return self._From
@@ -51945,7 +51970,7 @@ class SearchLogRequest(AbstractModel):
51945
51970
 
51946
51971
  @property
51947
51972
  def To(self):
51948
- r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
51973
+ r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
51949
51974
  :rtype: int
51950
51975
  """
51951
51976
  return self._To
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.164
3
+ Version: 3.1.170
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.164
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.170
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.170
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.164