tencentcloud-sdk-python-cls 3.1.164__tar.gz → 3.1.169__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.
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/errorcodes.py +2 -2
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/models.py +198 -156
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.169/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.164/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.164 → tencentcloud_sdk_python_cls-3.1.169}/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.
|
|
3
|
+
Version: 3.1.169
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.169,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -56,7 +56,7 @@ FAILEDOPERATION_INVALIDALARM = 'FailedOperation.InvalidAlarm'
|
|
|
56
56
|
# 检索游标已失效或不存在。
|
|
57
57
|
FAILEDOPERATION_INVALIDCONTEXT = 'FailedOperation.InvalidContext'
|
|
58
58
|
|
|
59
|
-
#
|
|
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
|
-
#
|
|
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:
|
|
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:
|
|
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"""
|
|
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"""
|
|
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:
|
|
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:
|
|
13767
|
+
:param _NetType: <p>网络类型: 1 内网 2外网</p>
|
|
13771
13768
|
:type NetType: int
|
|
13772
|
-
:param _VpcId:
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
26054
|
+
:param _PrevLogs: <p>前${PrevLogs}条日志,默认值10,最大100。</p>
|
|
26037
26055
|
:type PrevLogs: int
|
|
26038
|
-
:param _NextLogs:
|
|
26056
|
+
:param _NextLogs: <p>后${NextLogs}条日志,默认值10,最大100。</p>
|
|
26039
26057
|
:type NextLogs: int
|
|
26040
|
-
:param _Query:
|
|
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 < 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 < 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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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"""
|
|
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 < 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 < 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:
|
|
26204
|
+
:param _PrevOver: <p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
|
|
26207
26205
|
:type PrevOver: bool
|
|
26208
|
-
:param _NextOver:
|
|
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"""
|
|
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"""
|
|
26240
|
+
r"""<p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
|
|
26243
26241
|
:rtype: bool
|
|
26244
26242
|
"""
|
|
26245
26243
|
return self._NextOver
|
|
@@ -44251,32 +44249,32 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44251
44249
|
|
|
44252
44250
|
def __init__(self):
|
|
44253
44251
|
r"""
|
|
44254
|
-
:param _TaskId:
|
|
44252
|
+
:param _TaskId: <p>任务id</p>
|
|
44255
44253
|
:type TaskId: str
|
|
44256
|
-
:param _TopicId:
|
|
44254
|
+
:param _TopicId: <p>日志主题id</p>
|
|
44257
44255
|
:type TopicId: str
|
|
44258
|
-
:param _Enable:
|
|
44259
|
-
0 关闭 1 开启
|
|
44256
|
+
:param _Enable: <p>任务状态<br>0 关闭 1 开启</p>
|
|
44260
44257
|
:type Enable: int
|
|
44261
|
-
:param _Name: RemoteWrite
|
|
44258
|
+
:param _Name: <p>RemoteWrite任务名称</p>
|
|
44262
44259
|
:type Name: str
|
|
44263
|
-
:param _NetType: 1 内网 2
|
|
44260
|
+
:param _NetType: <p>1 内网 2外网</p>
|
|
44264
44261
|
:type NetType: int
|
|
44265
|
-
:param _VpcId:
|
|
44262
|
+
:param _VpcId: <p>私有网络id</p>
|
|
44266
44263
|
:type VpcId: str
|
|
44267
|
-
:param _Target:
|
|
44264
|
+
:param _Target: <p>目标服务名称</p>
|
|
44268
44265
|
:type Target: str
|
|
44269
|
-
:param _RemoteWriteURL:
|
|
44266
|
+
:param _RemoteWriteURL: <p>目标地址</p>
|
|
44270
44267
|
:type RemoteWriteURL: str
|
|
44271
|
-
:param _AuthType: 0: 无鉴权 1: basic_auth 2: token
|
|
44268
|
+
:param _AuthType: <p>0: 无鉴权 1: basic_auth 2: token</p>
|
|
44272
44269
|
:type AuthType: int
|
|
44273
|
-
:param _AuthInfo:
|
|
44270
|
+
:param _AuthInfo: <p>鉴权信息</p>
|
|
44274
44271
|
:type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
44275
|
-
:param _VirtualGatewayType:
|
|
44276
|
-
-1 没有
|
|
44277
|
-
0 CVM
|
|
44278
|
-
1025 CLB
|
|
44272
|
+
:param _VirtualGatewayType: <p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
|
|
44279
44273
|
:type VirtualGatewayType: int
|
|
44274
|
+
:param _InstanceId: <p>云时序数据库实例ID</p>
|
|
44275
|
+
:type InstanceId: str
|
|
44276
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
44277
|
+
:type HasServicesLog: int
|
|
44280
44278
|
"""
|
|
44281
44279
|
self._TaskId = None
|
|
44282
44280
|
self._TopicId = None
|
|
@@ -44289,10 +44287,12 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44289
44287
|
self._AuthType = None
|
|
44290
44288
|
self._AuthInfo = None
|
|
44291
44289
|
self._VirtualGatewayType = None
|
|
44290
|
+
self._InstanceId = None
|
|
44291
|
+
self._HasServicesLog = None
|
|
44292
44292
|
|
|
44293
44293
|
@property
|
|
44294
44294
|
def TaskId(self):
|
|
44295
|
-
r"""
|
|
44295
|
+
r"""<p>任务id</p>
|
|
44296
44296
|
:rtype: str
|
|
44297
44297
|
"""
|
|
44298
44298
|
return self._TaskId
|
|
@@ -44303,7 +44303,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44303
44303
|
|
|
44304
44304
|
@property
|
|
44305
44305
|
def TopicId(self):
|
|
44306
|
-
r"""
|
|
44306
|
+
r"""<p>日志主题id</p>
|
|
44307
44307
|
:rtype: str
|
|
44308
44308
|
"""
|
|
44309
44309
|
return self._TopicId
|
|
@@ -44314,8 +44314,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44314
44314
|
|
|
44315
44315
|
@property
|
|
44316
44316
|
def Enable(self):
|
|
44317
|
-
r"""
|
|
44318
|
-
0 关闭 1 开启
|
|
44317
|
+
r"""<p>任务状态<br>0 关闭 1 开启</p>
|
|
44319
44318
|
:rtype: int
|
|
44320
44319
|
"""
|
|
44321
44320
|
return self._Enable
|
|
@@ -44326,7 +44325,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44326
44325
|
|
|
44327
44326
|
@property
|
|
44328
44327
|
def Name(self):
|
|
44329
|
-
r"""RemoteWrite
|
|
44328
|
+
r"""<p>RemoteWrite任务名称</p>
|
|
44330
44329
|
:rtype: str
|
|
44331
44330
|
"""
|
|
44332
44331
|
return self._Name
|
|
@@ -44337,7 +44336,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44337
44336
|
|
|
44338
44337
|
@property
|
|
44339
44338
|
def NetType(self):
|
|
44340
|
-
r"""1 内网 2
|
|
44339
|
+
r"""<p>1 内网 2外网</p>
|
|
44341
44340
|
:rtype: int
|
|
44342
44341
|
"""
|
|
44343
44342
|
return self._NetType
|
|
@@ -44348,7 +44347,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44348
44347
|
|
|
44349
44348
|
@property
|
|
44350
44349
|
def VpcId(self):
|
|
44351
|
-
r"""
|
|
44350
|
+
r"""<p>私有网络id</p>
|
|
44352
44351
|
:rtype: str
|
|
44353
44352
|
"""
|
|
44354
44353
|
return self._VpcId
|
|
@@ -44359,7 +44358,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44359
44358
|
|
|
44360
44359
|
@property
|
|
44361
44360
|
def Target(self):
|
|
44362
|
-
r"""
|
|
44361
|
+
r"""<p>目标服务名称</p>
|
|
44363
44362
|
:rtype: str
|
|
44364
44363
|
"""
|
|
44365
44364
|
return self._Target
|
|
@@ -44370,7 +44369,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44370
44369
|
|
|
44371
44370
|
@property
|
|
44372
44371
|
def RemoteWriteURL(self):
|
|
44373
|
-
r"""
|
|
44372
|
+
r"""<p>目标地址</p>
|
|
44374
44373
|
:rtype: str
|
|
44375
44374
|
"""
|
|
44376
44375
|
return self._RemoteWriteURL
|
|
@@ -44381,7 +44380,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44381
44380
|
|
|
44382
44381
|
@property
|
|
44383
44382
|
def AuthType(self):
|
|
44384
|
-
r"""0: 无鉴权 1: basic_auth 2: token
|
|
44383
|
+
r"""<p>0: 无鉴权 1: basic_auth 2: token</p>
|
|
44385
44384
|
:rtype: int
|
|
44386
44385
|
"""
|
|
44387
44386
|
return self._AuthType
|
|
@@ -44392,7 +44391,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44392
44391
|
|
|
44393
44392
|
@property
|
|
44394
44393
|
def AuthInfo(self):
|
|
44395
|
-
r"""
|
|
44394
|
+
r"""<p>鉴权信息</p>
|
|
44396
44395
|
:rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
44397
44396
|
"""
|
|
44398
44397
|
return self._AuthInfo
|
|
@@ -44403,10 +44402,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44403
44402
|
|
|
44404
44403
|
@property
|
|
44405
44404
|
def VirtualGatewayType(self):
|
|
44406
|
-
r"""
|
|
44407
|
-
-1 没有
|
|
44408
|
-
0 CVM
|
|
44409
|
-
1025 CLB
|
|
44405
|
+
r"""<p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
|
|
44410
44406
|
:rtype: int
|
|
44411
44407
|
"""
|
|
44412
44408
|
return self._VirtualGatewayType
|
|
@@ -44415,6 +44411,28 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44415
44411
|
def VirtualGatewayType(self, VirtualGatewayType):
|
|
44416
44412
|
self._VirtualGatewayType = VirtualGatewayType
|
|
44417
44413
|
|
|
44414
|
+
@property
|
|
44415
|
+
def InstanceId(self):
|
|
44416
|
+
r"""<p>云时序数据库实例ID</p>
|
|
44417
|
+
:rtype: str
|
|
44418
|
+
"""
|
|
44419
|
+
return self._InstanceId
|
|
44420
|
+
|
|
44421
|
+
@InstanceId.setter
|
|
44422
|
+
def InstanceId(self, InstanceId):
|
|
44423
|
+
self._InstanceId = InstanceId
|
|
44424
|
+
|
|
44425
|
+
@property
|
|
44426
|
+
def HasServicesLog(self):
|
|
44427
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
44428
|
+
:rtype: int
|
|
44429
|
+
"""
|
|
44430
|
+
return self._HasServicesLog
|
|
44431
|
+
|
|
44432
|
+
@HasServicesLog.setter
|
|
44433
|
+
def HasServicesLog(self, HasServicesLog):
|
|
44434
|
+
self._HasServicesLog = HasServicesLog
|
|
44435
|
+
|
|
44418
44436
|
|
|
44419
44437
|
def _deserialize(self, params):
|
|
44420
44438
|
self._TaskId = params.get("TaskId")
|
|
@@ -44430,6 +44448,8 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44430
44448
|
self._AuthInfo = RemoteWriteAuthInfo()
|
|
44431
44449
|
self._AuthInfo._deserialize(params.get("AuthInfo"))
|
|
44432
44450
|
self._VirtualGatewayType = params.get("VirtualGatewayType")
|
|
44451
|
+
self._InstanceId = params.get("InstanceId")
|
|
44452
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
44433
44453
|
memeber_set = set(params.keys())
|
|
44434
44454
|
for name, value in vars(self).items():
|
|
44435
44455
|
property_name = name[1:]
|
|
@@ -50001,57 +50021,57 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50001
50021
|
|
|
50002
50022
|
def __init__(self):
|
|
50003
50023
|
r"""
|
|
50004
|
-
:param _TaskId:
|
|
50024
|
+
:param _TaskId: <p>任务id</p>
|
|
50005
50025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50006
50026
|
:type TaskId: str
|
|
50007
|
-
:param _TopicId:
|
|
50027
|
+
:param _TopicId: <p>日志主题ID</p>
|
|
50008
50028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50009
50029
|
:type TopicId: str
|
|
50010
|
-
:param _Name: Remote Write
|
|
50030
|
+
:param _Name: <p>Remote Write任务名称</p>
|
|
50011
50031
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50012
50032
|
:type Name: str
|
|
50013
|
-
:param _NetType:
|
|
50014
|
-
1: 内网
|
|
50015
|
-
2:外网
|
|
50033
|
+
:param _NetType: <p>网络类型<br>1: 内网<br>2:外网</p>
|
|
50016
50034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50017
50035
|
:type NetType: int
|
|
50018
|
-
:param _VpcId:
|
|
50036
|
+
:param _VpcId: <p>私有网络id</p>
|
|
50019
50037
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50020
50038
|
:type VpcId: str
|
|
50021
|
-
:param _Status:
|
|
50022
|
-
1: 运行中
|
|
50023
|
-
2:暂停
|
|
50024
|
-
3: 失败
|
|
50039
|
+
:param _Status: <p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
|
|
50025
50040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50026
50041
|
:type Status: int
|
|
50027
|
-
:param _CreateTime:
|
|
50042
|
+
:param _CreateTime: <p>创建时间</p>
|
|
50028
50043
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50029
50044
|
:type CreateTime: str
|
|
50030
|
-
:param _UpdateTime:
|
|
50045
|
+
:param _UpdateTime: <p>更新时间</p>
|
|
50031
50046
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50032
50047
|
:type UpdateTime: str
|
|
50033
|
-
:param _Target:
|
|
50048
|
+
:param _Target: <p>目标服务名称</p>
|
|
50034
50049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50035
50050
|
:type Target: str
|
|
50036
|
-
:param _RemoteWriteURL:
|
|
50051
|
+
:param _RemoteWriteURL: <p>目标地址</p>
|
|
50037
50052
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50038
50053
|
:type RemoteWriteURL: str
|
|
50039
|
-
:param _AuthType:
|
|
50040
|
-
0: 无鉴权 1: basic_auth 2: token
|
|
50054
|
+
:param _AuthType: <p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
|
|
50041
50055
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50042
50056
|
:type AuthType: int
|
|
50043
|
-
:param _AuthInfo:
|
|
50057
|
+
:param _AuthInfo: <p>鉴权信息</p>
|
|
50044
50058
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50045
50059
|
:type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
50046
|
-
:param _LogsetId:
|
|
50060
|
+
:param _LogsetId: <p>日志集</p>
|
|
50047
50061
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50048
50062
|
:type LogsetId: str
|
|
50049
|
-
:param _Enable:
|
|
50063
|
+
:param _Enable: <p>任务状态</p>
|
|
50050
50064
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50051
50065
|
:type Enable: int
|
|
50052
|
-
:param _VirtualGatewayType:
|
|
50066
|
+
:param _VirtualGatewayType: <p>后端服务类型</p>
|
|
50053
50067
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50054
50068
|
:type VirtualGatewayType: int
|
|
50069
|
+
:param _InstanceId: <p>云时序数据库实例ID</p>
|
|
50070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50071
|
+
:type InstanceId: str
|
|
50072
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
50073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50074
|
+
:type HasServicesLog: int
|
|
50055
50075
|
"""
|
|
50056
50076
|
self._TaskId = None
|
|
50057
50077
|
self._TopicId = None
|
|
@@ -50068,10 +50088,12 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50068
50088
|
self._LogsetId = None
|
|
50069
50089
|
self._Enable = None
|
|
50070
50090
|
self._VirtualGatewayType = None
|
|
50091
|
+
self._InstanceId = None
|
|
50092
|
+
self._HasServicesLog = None
|
|
50071
50093
|
|
|
50072
50094
|
@property
|
|
50073
50095
|
def TaskId(self):
|
|
50074
|
-
r"""
|
|
50096
|
+
r"""<p>任务id</p>
|
|
50075
50097
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50076
50098
|
:rtype: str
|
|
50077
50099
|
"""
|
|
@@ -50083,7 +50105,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50083
50105
|
|
|
50084
50106
|
@property
|
|
50085
50107
|
def TopicId(self):
|
|
50086
|
-
r"""
|
|
50108
|
+
r"""<p>日志主题ID</p>
|
|
50087
50109
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50088
50110
|
:rtype: str
|
|
50089
50111
|
"""
|
|
@@ -50095,7 +50117,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50095
50117
|
|
|
50096
50118
|
@property
|
|
50097
50119
|
def Name(self):
|
|
50098
|
-
r"""Remote Write
|
|
50120
|
+
r"""<p>Remote Write任务名称</p>
|
|
50099
50121
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50100
50122
|
:rtype: str
|
|
50101
50123
|
"""
|
|
@@ -50107,9 +50129,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50107
50129
|
|
|
50108
50130
|
@property
|
|
50109
50131
|
def NetType(self):
|
|
50110
|
-
r"""
|
|
50111
|
-
1: 内网
|
|
50112
|
-
2:外网
|
|
50132
|
+
r"""<p>网络类型<br>1: 内网<br>2:外网</p>
|
|
50113
50133
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50114
50134
|
:rtype: int
|
|
50115
50135
|
"""
|
|
@@ -50121,7 +50141,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50121
50141
|
|
|
50122
50142
|
@property
|
|
50123
50143
|
def VpcId(self):
|
|
50124
|
-
r"""
|
|
50144
|
+
r"""<p>私有网络id</p>
|
|
50125
50145
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50126
50146
|
:rtype: str
|
|
50127
50147
|
"""
|
|
@@ -50133,10 +50153,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50133
50153
|
|
|
50134
50154
|
@property
|
|
50135
50155
|
def Status(self):
|
|
50136
|
-
r"""
|
|
50137
|
-
1: 运行中
|
|
50138
|
-
2:暂停
|
|
50139
|
-
3: 失败
|
|
50156
|
+
r"""<p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
|
|
50140
50157
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50141
50158
|
:rtype: int
|
|
50142
50159
|
"""
|
|
@@ -50148,7 +50165,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50148
50165
|
|
|
50149
50166
|
@property
|
|
50150
50167
|
def CreateTime(self):
|
|
50151
|
-
r"""
|
|
50168
|
+
r"""<p>创建时间</p>
|
|
50152
50169
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50153
50170
|
:rtype: str
|
|
50154
50171
|
"""
|
|
@@ -50160,7 +50177,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50160
50177
|
|
|
50161
50178
|
@property
|
|
50162
50179
|
def UpdateTime(self):
|
|
50163
|
-
r"""
|
|
50180
|
+
r"""<p>更新时间</p>
|
|
50164
50181
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50165
50182
|
:rtype: str
|
|
50166
50183
|
"""
|
|
@@ -50172,7 +50189,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50172
50189
|
|
|
50173
50190
|
@property
|
|
50174
50191
|
def Target(self):
|
|
50175
|
-
r"""
|
|
50192
|
+
r"""<p>目标服务名称</p>
|
|
50176
50193
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50177
50194
|
:rtype: str
|
|
50178
50195
|
"""
|
|
@@ -50184,7 +50201,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50184
50201
|
|
|
50185
50202
|
@property
|
|
50186
50203
|
def RemoteWriteURL(self):
|
|
50187
|
-
r"""
|
|
50204
|
+
r"""<p>目标地址</p>
|
|
50188
50205
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50189
50206
|
:rtype: str
|
|
50190
50207
|
"""
|
|
@@ -50196,8 +50213,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50196
50213
|
|
|
50197
50214
|
@property
|
|
50198
50215
|
def AuthType(self):
|
|
50199
|
-
r"""
|
|
50200
|
-
0: 无鉴权 1: basic_auth 2: token
|
|
50216
|
+
r"""<p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
|
|
50201
50217
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50202
50218
|
:rtype: int
|
|
50203
50219
|
"""
|
|
@@ -50209,7 +50225,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50209
50225
|
|
|
50210
50226
|
@property
|
|
50211
50227
|
def AuthInfo(self):
|
|
50212
|
-
r"""
|
|
50228
|
+
r"""<p>鉴权信息</p>
|
|
50213
50229
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50214
50230
|
:rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
50215
50231
|
"""
|
|
@@ -50221,7 +50237,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50221
50237
|
|
|
50222
50238
|
@property
|
|
50223
50239
|
def LogsetId(self):
|
|
50224
|
-
r"""
|
|
50240
|
+
r"""<p>日志集</p>
|
|
50225
50241
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50226
50242
|
:rtype: str
|
|
50227
50243
|
"""
|
|
@@ -50233,7 +50249,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50233
50249
|
|
|
50234
50250
|
@property
|
|
50235
50251
|
def Enable(self):
|
|
50236
|
-
r"""
|
|
50252
|
+
r"""<p>任务状态</p>
|
|
50237
50253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50238
50254
|
:rtype: int
|
|
50239
50255
|
"""
|
|
@@ -50245,7 +50261,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50245
50261
|
|
|
50246
50262
|
@property
|
|
50247
50263
|
def VirtualGatewayType(self):
|
|
50248
|
-
r"""
|
|
50264
|
+
r"""<p>后端服务类型</p>
|
|
50249
50265
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50250
50266
|
:rtype: int
|
|
50251
50267
|
"""
|
|
@@ -50255,6 +50271,30 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50255
50271
|
def VirtualGatewayType(self, VirtualGatewayType):
|
|
50256
50272
|
self._VirtualGatewayType = VirtualGatewayType
|
|
50257
50273
|
|
|
50274
|
+
@property
|
|
50275
|
+
def InstanceId(self):
|
|
50276
|
+
r"""<p>云时序数据库实例ID</p>
|
|
50277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50278
|
+
:rtype: str
|
|
50279
|
+
"""
|
|
50280
|
+
return self._InstanceId
|
|
50281
|
+
|
|
50282
|
+
@InstanceId.setter
|
|
50283
|
+
def InstanceId(self, InstanceId):
|
|
50284
|
+
self._InstanceId = InstanceId
|
|
50285
|
+
|
|
50286
|
+
@property
|
|
50287
|
+
def HasServicesLog(self):
|
|
50288
|
+
r"""<p>是否开启投递服务日志。1:关闭,2:开启。</p>
|
|
50289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
50290
|
+
:rtype: int
|
|
50291
|
+
"""
|
|
50292
|
+
return self._HasServicesLog
|
|
50293
|
+
|
|
50294
|
+
@HasServicesLog.setter
|
|
50295
|
+
def HasServicesLog(self, HasServicesLog):
|
|
50296
|
+
self._HasServicesLog = HasServicesLog
|
|
50297
|
+
|
|
50258
50298
|
|
|
50259
50299
|
def _deserialize(self, params):
|
|
50260
50300
|
self._TaskId = params.get("TaskId")
|
|
@@ -50274,6 +50314,8 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50274
50314
|
self._LogsetId = params.get("LogsetId")
|
|
50275
50315
|
self._Enable = params.get("Enable")
|
|
50276
50316
|
self._VirtualGatewayType = params.get("VirtualGatewayType")
|
|
50317
|
+
self._InstanceId = params.get("InstanceId")
|
|
50318
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
50277
50319
|
memeber_set = set(params.keys())
|
|
50278
50320
|
for name, value in vars(self).items():
|
|
50279
50321
|
property_name = name[1:]
|
|
@@ -51885,9 +51927,9 @@ class SearchLogRequest(AbstractModel):
|
|
|
51885
51927
|
|
|
51886
51928
|
def __init__(self):
|
|
51887
51929
|
r"""
|
|
51888
|
-
:param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51930
|
+
:param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
|
|
51889
51931
|
:type From: int
|
|
51890
|
-
:param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51932
|
+
:param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
|
|
51891
51933
|
:type To: int
|
|
51892
51934
|
: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
51935
|
:type QueryString: str
|
|
@@ -51934,7 +51976,7 @@ class SearchLogRequest(AbstractModel):
|
|
|
51934
51976
|
|
|
51935
51977
|
@property
|
|
51936
51978
|
def From(self):
|
|
51937
|
-
r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51979
|
+
r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
|
|
51938
51980
|
:rtype: int
|
|
51939
51981
|
"""
|
|
51940
51982
|
return self._From
|
|
@@ -51945,7 +51987,7 @@ class SearchLogRequest(AbstractModel):
|
|
|
51945
51987
|
|
|
51946
51988
|
@property
|
|
51947
51989
|
def To(self):
|
|
51948
|
-
r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51990
|
+
r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
|
|
51949
51991
|
:rtype: int
|
|
51950
51992
|
"""
|
|
51951
51993
|
return self._To
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.169
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.164
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|