tencentcloud-sdk-python-cls 3.1.162__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.162 → tencentcloud_sdk_python_cls-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/errorcodes.py +2 -2
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/models.py +218 -180
- {tencentcloud_sdk_python_cls-3.1.162 → 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.162/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → tencentcloud_sdk_python_cls-3.1.169}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.162 → 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
|
|
@@ -11388,25 +11388,23 @@ class CreateExportRequest(AbstractModel):
|
|
|
11388
11388
|
|
|
11389
11389
|
def __init__(self):
|
|
11390
11390
|
r"""
|
|
11391
|
-
:param _TopicId:
|
|
11392
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
11391
|
+
:param _TopicId: <p>日志主题Id</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
11393
11392
|
:type TopicId: str
|
|
11394
|
-
:param _Count:
|
|
11393
|
+
:param _Count: <p>日志导出数量, 最大值5000万</p>
|
|
11395
11394
|
:type Count: int
|
|
11396
|
-
:param _Query:
|
|
11395
|
+
:param _Query: <p>日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a></p>
|
|
11397
11396
|
:type Query: str
|
|
11398
|
-
:param _From:
|
|
11397
|
+
:param _From: <p>日志导出起始时间,毫秒时间戳</p>
|
|
11399
11398
|
:type From: int
|
|
11400
|
-
:param _To:
|
|
11399
|
+
:param _To: <p>日志导出结束时间,毫秒时间戳</p>
|
|
11401
11400
|
:type To: int
|
|
11402
|
-
:param _Order:
|
|
11401
|
+
:param _Order: <p>日志导出时间排序。desc,asc,默认为desc</p>
|
|
11403
11402
|
:type Order: str
|
|
11404
|
-
:param _Format:
|
|
11403
|
+
:param _Format: <p>日志导出数据格式。json,csv,默认为json</p>
|
|
11405
11404
|
:type Format: str
|
|
11406
|
-
:param _SyntaxRule:
|
|
11407
|
-
0:Lucene语法,1:CQL语法。
|
|
11405
|
+
:param _SyntaxRule: <p>检索语法规则,默认值为1,推荐使用1 。</p><ul><li>0:Lucene语法</li><li>1:CQL语法(CLS Query Language,日志服务专用检索语法)</li></ul><p>详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>。</p>
|
|
11408
11406
|
:type SyntaxRule: int
|
|
11409
|
-
:param _DerivedFields:
|
|
11407
|
+
:param _DerivedFields: <p>导出字段</p>
|
|
11410
11408
|
:type DerivedFields: list of str
|
|
11411
11409
|
"""
|
|
11412
11410
|
self._TopicId = None
|
|
@@ -11421,8 +11419,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11421
11419
|
|
|
11422
11420
|
@property
|
|
11423
11421
|
def TopicId(self):
|
|
11424
|
-
r"""
|
|
11425
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
11422
|
+
r"""<p>日志主题Id</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
11426
11423
|
:rtype: str
|
|
11427
11424
|
"""
|
|
11428
11425
|
return self._TopicId
|
|
@@ -11433,7 +11430,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11433
11430
|
|
|
11434
11431
|
@property
|
|
11435
11432
|
def Count(self):
|
|
11436
|
-
r"""
|
|
11433
|
+
r"""<p>日志导出数量, 最大值5000万</p>
|
|
11437
11434
|
:rtype: int
|
|
11438
11435
|
"""
|
|
11439
11436
|
return self._Count
|
|
@@ -11444,7 +11441,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11444
11441
|
|
|
11445
11442
|
@property
|
|
11446
11443
|
def Query(self):
|
|
11447
|
-
r"""
|
|
11444
|
+
r"""<p>日志导出检索语句,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a></p>
|
|
11448
11445
|
:rtype: str
|
|
11449
11446
|
"""
|
|
11450
11447
|
return self._Query
|
|
@@ -11455,7 +11452,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11455
11452
|
|
|
11456
11453
|
@property
|
|
11457
11454
|
def From(self):
|
|
11458
|
-
r"""
|
|
11455
|
+
r"""<p>日志导出起始时间,毫秒时间戳</p>
|
|
11459
11456
|
:rtype: int
|
|
11460
11457
|
"""
|
|
11461
11458
|
return self._From
|
|
@@ -11466,7 +11463,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11466
11463
|
|
|
11467
11464
|
@property
|
|
11468
11465
|
def To(self):
|
|
11469
|
-
r"""
|
|
11466
|
+
r"""<p>日志导出结束时间,毫秒时间戳</p>
|
|
11470
11467
|
:rtype: int
|
|
11471
11468
|
"""
|
|
11472
11469
|
return self._To
|
|
@@ -11477,7 +11474,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11477
11474
|
|
|
11478
11475
|
@property
|
|
11479
11476
|
def Order(self):
|
|
11480
|
-
r"""
|
|
11477
|
+
r"""<p>日志导出时间排序。desc,asc,默认为desc</p>
|
|
11481
11478
|
:rtype: str
|
|
11482
11479
|
"""
|
|
11483
11480
|
return self._Order
|
|
@@ -11488,7 +11485,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11488
11485
|
|
|
11489
11486
|
@property
|
|
11490
11487
|
def Format(self):
|
|
11491
|
-
r"""
|
|
11488
|
+
r"""<p>日志导出数据格式。json,csv,默认为json</p>
|
|
11492
11489
|
:rtype: str
|
|
11493
11490
|
"""
|
|
11494
11491
|
return self._Format
|
|
@@ -11499,8 +11496,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11499
11496
|
|
|
11500
11497
|
@property
|
|
11501
11498
|
def SyntaxRule(self):
|
|
11502
|
-
r"""
|
|
11503
|
-
0:Lucene语法,1:CQL语法。
|
|
11499
|
+
r"""<p>检索语法规则,默认值为1,推荐使用1 。</p><ul><li>0:Lucene语法</li><li>1:CQL语法(CLS Query Language,日志服务专用检索语法)</li></ul><p>详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>。</p>
|
|
11504
11500
|
:rtype: int
|
|
11505
11501
|
"""
|
|
11506
11502
|
return self._SyntaxRule
|
|
@@ -11511,7 +11507,7 @@ class CreateExportRequest(AbstractModel):
|
|
|
11511
11507
|
|
|
11512
11508
|
@property
|
|
11513
11509
|
def DerivedFields(self):
|
|
11514
|
-
r"""
|
|
11510
|
+
r"""<p>导出字段</p>
|
|
11515
11511
|
:rtype: list of str
|
|
11516
11512
|
"""
|
|
11517
11513
|
return self._DerivedFields
|
|
@@ -11548,7 +11544,7 @@ class CreateExportResponse(AbstractModel):
|
|
|
11548
11544
|
|
|
11549
11545
|
def __init__(self):
|
|
11550
11546
|
r"""
|
|
11551
|
-
:param _ExportId:
|
|
11547
|
+
:param _ExportId: <p>日志导出ID。</p>
|
|
11552
11548
|
:type ExportId: str
|
|
11553
11549
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11554
11550
|
:type RequestId: str
|
|
@@ -11558,7 +11554,7 @@ class CreateExportResponse(AbstractModel):
|
|
|
11558
11554
|
|
|
11559
11555
|
@property
|
|
11560
11556
|
def ExportId(self):
|
|
11561
|
-
r"""
|
|
11557
|
+
r"""<p>日志导出ID。</p>
|
|
11562
11558
|
:rtype: str
|
|
11563
11559
|
"""
|
|
11564
11560
|
return self._ExportId
|
|
@@ -13758,29 +13754,28 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13758
13754
|
|
|
13759
13755
|
def __init__(self):
|
|
13760
13756
|
r"""
|
|
13761
|
-
:param _TopicId:
|
|
13757
|
+
:param _TopicId: <p>日志主题 ID</p>
|
|
13762
13758
|
:type TopicId: str
|
|
13763
|
-
:param _Name:
|
|
13759
|
+
:param _Name: <p>任务名称</p>
|
|
13764
13760
|
:type Name: str
|
|
13765
|
-
:param _Target:
|
|
13761
|
+
:param _Target: <p>目标服务名称</p>
|
|
13766
13762
|
:type Target: str
|
|
13767
|
-
:param _RemoteWriteURL:
|
|
13763
|
+
:param _RemoteWriteURL: <p>目标地址</p>
|
|
13768
13764
|
:type RemoteWriteURL: str
|
|
13769
|
-
:param _AuthType:
|
|
13770
|
-
0: 无鉴权
|
|
13771
|
-
1: basic_auth
|
|
13772
|
-
2: token
|
|
13765
|
+
:param _AuthType: <p>鉴权类型<br>0: 无鉴权<br>1: basic_auth<br>2: token</p>
|
|
13773
13766
|
:type AuthType: int
|
|
13774
|
-
:param _NetType:
|
|
13767
|
+
:param _NetType: <p>网络类型: 1 内网 2外网</p>
|
|
13775
13768
|
:type NetType: int
|
|
13776
|
-
:param _VpcId:
|
|
13769
|
+
:param _VpcId: <p>私有网络id</p>
|
|
13777
13770
|
:type VpcId: str
|
|
13778
|
-
:param _AuthInfo:
|
|
13771
|
+
:param _AuthInfo: <p>鉴权信息</p>
|
|
13779
13772
|
:type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
13780
|
-
:param _VirtualGatewayType:
|
|
13781
|
-
0 CVM
|
|
13782
|
-
1025 CLB
|
|
13773
|
+
:param _VirtualGatewayType: <p>后端服务类型<br>0 CVM<br>1025 CLB</p>
|
|
13783
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
|
|
13784
13779
|
"""
|
|
13785
13780
|
self._TopicId = None
|
|
13786
13781
|
self._Name = None
|
|
@@ -13791,10 +13786,12 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13791
13786
|
self._VpcId = None
|
|
13792
13787
|
self._AuthInfo = None
|
|
13793
13788
|
self._VirtualGatewayType = None
|
|
13789
|
+
self._InstanceId = None
|
|
13790
|
+
self._HasServicesLog = None
|
|
13794
13791
|
|
|
13795
13792
|
@property
|
|
13796
13793
|
def TopicId(self):
|
|
13797
|
-
r"""
|
|
13794
|
+
r"""<p>日志主题 ID</p>
|
|
13798
13795
|
:rtype: str
|
|
13799
13796
|
"""
|
|
13800
13797
|
return self._TopicId
|
|
@@ -13805,7 +13802,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13805
13802
|
|
|
13806
13803
|
@property
|
|
13807
13804
|
def Name(self):
|
|
13808
|
-
r"""
|
|
13805
|
+
r"""<p>任务名称</p>
|
|
13809
13806
|
:rtype: str
|
|
13810
13807
|
"""
|
|
13811
13808
|
return self._Name
|
|
@@ -13816,7 +13813,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13816
13813
|
|
|
13817
13814
|
@property
|
|
13818
13815
|
def Target(self):
|
|
13819
|
-
r"""
|
|
13816
|
+
r"""<p>目标服务名称</p>
|
|
13820
13817
|
:rtype: str
|
|
13821
13818
|
"""
|
|
13822
13819
|
return self._Target
|
|
@@ -13827,7 +13824,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13827
13824
|
|
|
13828
13825
|
@property
|
|
13829
13826
|
def RemoteWriteURL(self):
|
|
13830
|
-
r"""
|
|
13827
|
+
r"""<p>目标地址</p>
|
|
13831
13828
|
:rtype: str
|
|
13832
13829
|
"""
|
|
13833
13830
|
return self._RemoteWriteURL
|
|
@@ -13838,10 +13835,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13838
13835
|
|
|
13839
13836
|
@property
|
|
13840
13837
|
def AuthType(self):
|
|
13841
|
-
r"""
|
|
13842
|
-
0: 无鉴权
|
|
13843
|
-
1: basic_auth
|
|
13844
|
-
2: token
|
|
13838
|
+
r"""<p>鉴权类型<br>0: 无鉴权<br>1: basic_auth<br>2: token</p>
|
|
13845
13839
|
:rtype: int
|
|
13846
13840
|
"""
|
|
13847
13841
|
return self._AuthType
|
|
@@ -13852,7 +13846,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13852
13846
|
|
|
13853
13847
|
@property
|
|
13854
13848
|
def NetType(self):
|
|
13855
|
-
r"""
|
|
13849
|
+
r"""<p>网络类型: 1 内网 2外网</p>
|
|
13856
13850
|
:rtype: int
|
|
13857
13851
|
"""
|
|
13858
13852
|
return self._NetType
|
|
@@ -13863,7 +13857,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13863
13857
|
|
|
13864
13858
|
@property
|
|
13865
13859
|
def VpcId(self):
|
|
13866
|
-
r"""
|
|
13860
|
+
r"""<p>私有网络id</p>
|
|
13867
13861
|
:rtype: str
|
|
13868
13862
|
"""
|
|
13869
13863
|
return self._VpcId
|
|
@@ -13874,7 +13868,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13874
13868
|
|
|
13875
13869
|
@property
|
|
13876
13870
|
def AuthInfo(self):
|
|
13877
|
-
r"""
|
|
13871
|
+
r"""<p>鉴权信息</p>
|
|
13878
13872
|
:rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
13879
13873
|
"""
|
|
13880
13874
|
return self._AuthInfo
|
|
@@ -13885,9 +13879,7 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13885
13879
|
|
|
13886
13880
|
@property
|
|
13887
13881
|
def VirtualGatewayType(self):
|
|
13888
|
-
r"""
|
|
13889
|
-
0 CVM
|
|
13890
|
-
1025 CLB
|
|
13882
|
+
r"""<p>后端服务类型<br>0 CVM<br>1025 CLB</p>
|
|
13891
13883
|
:rtype: int
|
|
13892
13884
|
"""
|
|
13893
13885
|
return self._VirtualGatewayType
|
|
@@ -13896,6 +13888,28 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13896
13888
|
def VirtualGatewayType(self, VirtualGatewayType):
|
|
13897
13889
|
self._VirtualGatewayType = VirtualGatewayType
|
|
13898
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
|
+
|
|
13899
13913
|
|
|
13900
13914
|
def _deserialize(self, params):
|
|
13901
13915
|
self._TopicId = params.get("TopicId")
|
|
@@ -13909,6 +13923,8 @@ class CreateRemoteWriteTaskRequest(AbstractModel):
|
|
|
13909
13923
|
self._AuthInfo = RemoteWriteAuthInfo()
|
|
13910
13924
|
self._AuthInfo._deserialize(params.get("AuthInfo"))
|
|
13911
13925
|
self._VirtualGatewayType = params.get("VirtualGatewayType")
|
|
13926
|
+
self._InstanceId = params.get("InstanceId")
|
|
13927
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
13912
13928
|
memeber_set = set(params.keys())
|
|
13913
13929
|
for name, value in vars(self).items():
|
|
13914
13930
|
property_name = name[1:]
|
|
@@ -13926,7 +13942,7 @@ class CreateRemoteWriteTaskResponse(AbstractModel):
|
|
|
13926
13942
|
|
|
13927
13943
|
def __init__(self):
|
|
13928
13944
|
r"""
|
|
13929
|
-
:param _TaskId: remoteWrite任务id
|
|
13945
|
+
:param _TaskId: <p>remoteWrite任务id</p>
|
|
13930
13946
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13931
13947
|
:type TaskId: str
|
|
13932
13948
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -13937,7 +13953,7 @@ class CreateRemoteWriteTaskResponse(AbstractModel):
|
|
|
13937
13953
|
|
|
13938
13954
|
@property
|
|
13939
13955
|
def TaskId(self):
|
|
13940
|
-
r"""remoteWrite任务id
|
|
13956
|
+
r"""<p>remoteWrite任务id</p>
|
|
13941
13957
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13942
13958
|
:rtype: str
|
|
13943
13959
|
"""
|
|
@@ -26027,34 +26043,23 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26027
26043
|
|
|
26028
26044
|
def __init__(self):
|
|
26029
26045
|
r"""
|
|
26030
|
-
:param _TopicId:
|
|
26031
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
26032
|
-
- 通过 [创建日志主题](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>
|
|
26033
26047
|
:type TopicId: str
|
|
26034
|
-
: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>
|
|
26035
26049
|
:type BTime: str
|
|
26036
|
-
:param _PkgId:
|
|
26050
|
+
:param _PkgId: <p>日志包序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的PkgId。</p>
|
|
26037
26051
|
:type PkgId: str
|
|
26038
|
-
:param _PkgLogId:
|
|
26052
|
+
:param _PkgLogId: <p>日志包内一条日志的序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构中的PkgLogId。</p>
|
|
26039
26053
|
:type PkgLogId: int
|
|
26040
|
-
:param _PrevLogs:
|
|
26054
|
+
:param _PrevLogs: <p>前${PrevLogs}条日志,默认值10,最大100。</p>
|
|
26041
26055
|
:type PrevLogs: int
|
|
26042
|
-
:param _NextLogs:
|
|
26056
|
+
:param _NextLogs: <p>后${NextLogs}条日志,默认值10,最大100。</p>
|
|
26043
26057
|
:type NextLogs: int
|
|
26044
|
-
:param _Query:
|
|
26045
|
-
语句由 <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>
|
|
26046
26059
|
:type Query: str
|
|
26047
|
-
:param _From:
|
|
26048
|
-
注意:
|
|
26049
|
-
- From为空时,表示上下文检索的开始时间不做限制
|
|
26050
|
-
- From和To非空时,From < To
|
|
26051
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
26060
|
+
:param _From: <p>上下文检索的开始时间,单位:毫秒级时间戳<br>注意:</p><ul><li>From为空时,表示上下文检索的开始时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
26052
26061
|
:type From: int
|
|
26053
|
-
:param _To:
|
|
26054
|
-
注意:
|
|
26055
|
-
- To为空时,表示上下文检索的结束时间不做限制
|
|
26056
|
-
- From和To非空时,From < To
|
|
26057
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
26062
|
+
:param _To: <p>上下文检索的结束时间,单位:毫秒级时间戳。<br>注意:</p><ul><li>To为空时,表示上下文检索的结束时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
26058
26063
|
:type To: int
|
|
26059
26064
|
"""
|
|
26060
26065
|
self._TopicId = None
|
|
@@ -26069,9 +26074,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26069
26074
|
|
|
26070
26075
|
@property
|
|
26071
26076
|
def TopicId(self):
|
|
26072
|
-
r"""
|
|
26073
|
-
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
|
|
26074
|
-
- 通过 [创建日志主题](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>
|
|
26075
26078
|
:rtype: str
|
|
26076
26079
|
"""
|
|
26077
26080
|
return self._TopicId
|
|
@@ -26082,7 +26085,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26082
26085
|
|
|
26083
26086
|
@property
|
|
26084
26087
|
def BTime(self):
|
|
26085
|
-
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>
|
|
26086
26089
|
:rtype: str
|
|
26087
26090
|
"""
|
|
26088
26091
|
return self._BTime
|
|
@@ -26093,7 +26096,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26093
26096
|
|
|
26094
26097
|
@property
|
|
26095
26098
|
def PkgId(self):
|
|
26096
|
-
r"""
|
|
26099
|
+
r"""<p>日志包序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构体中的PkgId。</p>
|
|
26097
26100
|
:rtype: str
|
|
26098
26101
|
"""
|
|
26099
26102
|
return self._PkgId
|
|
@@ -26104,7 +26107,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26104
26107
|
|
|
26105
26108
|
@property
|
|
26106
26109
|
def PkgLogId(self):
|
|
26107
|
-
r"""
|
|
26110
|
+
r"""<p>日志包内一条日志的序号,即 <a href="https://cloud.tencent.com/document/product/614/56447">检索分析日志</a> 接口返回信息中Results结构中的PkgLogId。</p>
|
|
26108
26111
|
:rtype: int
|
|
26109
26112
|
"""
|
|
26110
26113
|
return self._PkgLogId
|
|
@@ -26115,7 +26118,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26115
26118
|
|
|
26116
26119
|
@property
|
|
26117
26120
|
def PrevLogs(self):
|
|
26118
|
-
r"""
|
|
26121
|
+
r"""<p>前${PrevLogs}条日志,默认值10,最大100。</p>
|
|
26119
26122
|
:rtype: int
|
|
26120
26123
|
"""
|
|
26121
26124
|
return self._PrevLogs
|
|
@@ -26126,7 +26129,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26126
26129
|
|
|
26127
26130
|
@property
|
|
26128
26131
|
def NextLogs(self):
|
|
26129
|
-
r"""
|
|
26132
|
+
r"""<p>后${NextLogs}条日志,默认值10,最大100。</p>
|
|
26130
26133
|
:rtype: int
|
|
26131
26134
|
"""
|
|
26132
26135
|
return self._NextLogs
|
|
@@ -26137,8 +26140,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26137
26140
|
|
|
26138
26141
|
@property
|
|
26139
26142
|
def Query(self):
|
|
26140
|
-
r"""
|
|
26141
|
-
语句由 <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>
|
|
26142
26144
|
:rtype: str
|
|
26143
26145
|
"""
|
|
26144
26146
|
return self._Query
|
|
@@ -26149,11 +26151,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26149
26151
|
|
|
26150
26152
|
@property
|
|
26151
26153
|
def From(self):
|
|
26152
|
-
r"""
|
|
26153
|
-
注意:
|
|
26154
|
-
- From为空时,表示上下文检索的开始时间不做限制
|
|
26155
|
-
- From和To非空时,From < To
|
|
26156
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
26154
|
+
r"""<p>上下文检索的开始时间,单位:毫秒级时间戳<br>注意:</p><ul><li>From为空时,表示上下文检索的开始时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
26157
26155
|
:rtype: int
|
|
26158
26156
|
"""
|
|
26159
26157
|
return self._From
|
|
@@ -26164,11 +26162,7 @@ class DescribeLogContextRequest(AbstractModel):
|
|
|
26164
26162
|
|
|
26165
26163
|
@property
|
|
26166
26164
|
def To(self):
|
|
26167
|
-
r"""
|
|
26168
|
-
注意:
|
|
26169
|
-
- To为空时,表示上下文检索的结束时间不做限制
|
|
26170
|
-
- From和To非空时,From < To
|
|
26171
|
-
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
|
26165
|
+
r"""<p>上下文检索的结束时间,单位:毫秒级时间戳。<br>注意:</p><ul><li>To为空时,表示上下文检索的结束时间不做限制</li><li>From和To非空时,From < To</li></ul>
|
|
26172
26166
|
:rtype: int
|
|
26173
26167
|
"""
|
|
26174
26168
|
return self._To
|
|
@@ -26205,11 +26199,11 @@ class DescribeLogContextResponse(AbstractModel):
|
|
|
26205
26199
|
|
|
26206
26200
|
def __init__(self):
|
|
26207
26201
|
r"""
|
|
26208
|
-
:param _LogContextInfos:
|
|
26202
|
+
:param _LogContextInfos: <p>日志上下文信息集合</p>
|
|
26209
26203
|
:type LogContextInfos: list of LogContextInfo
|
|
26210
|
-
:param _PrevOver:
|
|
26204
|
+
:param _PrevOver: <p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
|
|
26211
26205
|
:type PrevOver: bool
|
|
26212
|
-
:param _NextOver:
|
|
26206
|
+
:param _NextOver: <p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
|
|
26213
26207
|
:type NextOver: bool
|
|
26214
26208
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26215
26209
|
:type RequestId: str
|
|
@@ -26221,7 +26215,7 @@ class DescribeLogContextResponse(AbstractModel):
|
|
|
26221
26215
|
|
|
26222
26216
|
@property
|
|
26223
26217
|
def LogContextInfos(self):
|
|
26224
|
-
r"""
|
|
26218
|
+
r"""<p>日志上下文信息集合</p>
|
|
26225
26219
|
:rtype: list of LogContextInfo
|
|
26226
26220
|
"""
|
|
26227
26221
|
return self._LogContextInfos
|
|
@@ -26232,7 +26226,7 @@ class DescribeLogContextResponse(AbstractModel):
|
|
|
26232
26226
|
|
|
26233
26227
|
@property
|
|
26234
26228
|
def PrevOver(self):
|
|
26235
|
-
r"""
|
|
26229
|
+
r"""<p>上文日志是否已经返回完成(当PrevOver为false,表示有上文日志还未全部返回)。</p>
|
|
26236
26230
|
:rtype: bool
|
|
26237
26231
|
"""
|
|
26238
26232
|
return self._PrevOver
|
|
@@ -26243,7 +26237,7 @@ class DescribeLogContextResponse(AbstractModel):
|
|
|
26243
26237
|
|
|
26244
26238
|
@property
|
|
26245
26239
|
def NextOver(self):
|
|
26246
|
-
r"""
|
|
26240
|
+
r"""<p>下文日志是否已经返回完成(当NextOver为false,表示有下文日志还未全部返回)。</p>
|
|
26247
26241
|
:rtype: bool
|
|
26248
26242
|
"""
|
|
26249
26243
|
return self._NextOver
|
|
@@ -44255,32 +44249,32 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44255
44249
|
|
|
44256
44250
|
def __init__(self):
|
|
44257
44251
|
r"""
|
|
44258
|
-
:param _TaskId:
|
|
44252
|
+
:param _TaskId: <p>任务id</p>
|
|
44259
44253
|
:type TaskId: str
|
|
44260
|
-
:param _TopicId:
|
|
44254
|
+
:param _TopicId: <p>日志主题id</p>
|
|
44261
44255
|
:type TopicId: str
|
|
44262
|
-
:param _Enable:
|
|
44263
|
-
0 关闭 1 开启
|
|
44256
|
+
:param _Enable: <p>任务状态<br>0 关闭 1 开启</p>
|
|
44264
44257
|
:type Enable: int
|
|
44265
|
-
:param _Name: RemoteWrite
|
|
44258
|
+
:param _Name: <p>RemoteWrite任务名称</p>
|
|
44266
44259
|
:type Name: str
|
|
44267
|
-
:param _NetType: 1 内网 2
|
|
44260
|
+
:param _NetType: <p>1 内网 2外网</p>
|
|
44268
44261
|
:type NetType: int
|
|
44269
|
-
:param _VpcId:
|
|
44262
|
+
:param _VpcId: <p>私有网络id</p>
|
|
44270
44263
|
:type VpcId: str
|
|
44271
|
-
:param _Target:
|
|
44264
|
+
:param _Target: <p>目标服务名称</p>
|
|
44272
44265
|
:type Target: str
|
|
44273
|
-
:param _RemoteWriteURL:
|
|
44266
|
+
:param _RemoteWriteURL: <p>目标地址</p>
|
|
44274
44267
|
:type RemoteWriteURL: str
|
|
44275
|
-
:param _AuthType: 0: 无鉴权 1: basic_auth 2: token
|
|
44268
|
+
:param _AuthType: <p>0: 无鉴权 1: basic_auth 2: token</p>
|
|
44276
44269
|
:type AuthType: int
|
|
44277
|
-
:param _AuthInfo:
|
|
44270
|
+
:param _AuthInfo: <p>鉴权信息</p>
|
|
44278
44271
|
:type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
44279
|
-
:param _VirtualGatewayType:
|
|
44280
|
-
-1 没有
|
|
44281
|
-
0 CVM
|
|
44282
|
-
1025 CLB
|
|
44272
|
+
:param _VirtualGatewayType: <p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
|
|
44283
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
|
|
44284
44278
|
"""
|
|
44285
44279
|
self._TaskId = None
|
|
44286
44280
|
self._TopicId = None
|
|
@@ -44293,10 +44287,12 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44293
44287
|
self._AuthType = None
|
|
44294
44288
|
self._AuthInfo = None
|
|
44295
44289
|
self._VirtualGatewayType = None
|
|
44290
|
+
self._InstanceId = None
|
|
44291
|
+
self._HasServicesLog = None
|
|
44296
44292
|
|
|
44297
44293
|
@property
|
|
44298
44294
|
def TaskId(self):
|
|
44299
|
-
r"""
|
|
44295
|
+
r"""<p>任务id</p>
|
|
44300
44296
|
:rtype: str
|
|
44301
44297
|
"""
|
|
44302
44298
|
return self._TaskId
|
|
@@ -44307,7 +44303,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44307
44303
|
|
|
44308
44304
|
@property
|
|
44309
44305
|
def TopicId(self):
|
|
44310
|
-
r"""
|
|
44306
|
+
r"""<p>日志主题id</p>
|
|
44311
44307
|
:rtype: str
|
|
44312
44308
|
"""
|
|
44313
44309
|
return self._TopicId
|
|
@@ -44318,8 +44314,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44318
44314
|
|
|
44319
44315
|
@property
|
|
44320
44316
|
def Enable(self):
|
|
44321
|
-
r"""
|
|
44322
|
-
0 关闭 1 开启
|
|
44317
|
+
r"""<p>任务状态<br>0 关闭 1 开启</p>
|
|
44323
44318
|
:rtype: int
|
|
44324
44319
|
"""
|
|
44325
44320
|
return self._Enable
|
|
@@ -44330,7 +44325,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44330
44325
|
|
|
44331
44326
|
@property
|
|
44332
44327
|
def Name(self):
|
|
44333
|
-
r"""RemoteWrite
|
|
44328
|
+
r"""<p>RemoteWrite任务名称</p>
|
|
44334
44329
|
:rtype: str
|
|
44335
44330
|
"""
|
|
44336
44331
|
return self._Name
|
|
@@ -44341,7 +44336,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44341
44336
|
|
|
44342
44337
|
@property
|
|
44343
44338
|
def NetType(self):
|
|
44344
|
-
r"""1 内网 2
|
|
44339
|
+
r"""<p>1 内网 2外网</p>
|
|
44345
44340
|
:rtype: int
|
|
44346
44341
|
"""
|
|
44347
44342
|
return self._NetType
|
|
@@ -44352,7 +44347,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44352
44347
|
|
|
44353
44348
|
@property
|
|
44354
44349
|
def VpcId(self):
|
|
44355
|
-
r"""
|
|
44350
|
+
r"""<p>私有网络id</p>
|
|
44356
44351
|
:rtype: str
|
|
44357
44352
|
"""
|
|
44358
44353
|
return self._VpcId
|
|
@@ -44363,7 +44358,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44363
44358
|
|
|
44364
44359
|
@property
|
|
44365
44360
|
def Target(self):
|
|
44366
|
-
r"""
|
|
44361
|
+
r"""<p>目标服务名称</p>
|
|
44367
44362
|
:rtype: str
|
|
44368
44363
|
"""
|
|
44369
44364
|
return self._Target
|
|
@@ -44374,7 +44369,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44374
44369
|
|
|
44375
44370
|
@property
|
|
44376
44371
|
def RemoteWriteURL(self):
|
|
44377
|
-
r"""
|
|
44372
|
+
r"""<p>目标地址</p>
|
|
44378
44373
|
:rtype: str
|
|
44379
44374
|
"""
|
|
44380
44375
|
return self._RemoteWriteURL
|
|
@@ -44385,7 +44380,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44385
44380
|
|
|
44386
44381
|
@property
|
|
44387
44382
|
def AuthType(self):
|
|
44388
|
-
r"""0: 无鉴权 1: basic_auth 2: token
|
|
44383
|
+
r"""<p>0: 无鉴权 1: basic_auth 2: token</p>
|
|
44389
44384
|
:rtype: int
|
|
44390
44385
|
"""
|
|
44391
44386
|
return self._AuthType
|
|
@@ -44396,7 +44391,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44396
44391
|
|
|
44397
44392
|
@property
|
|
44398
44393
|
def AuthInfo(self):
|
|
44399
|
-
r"""
|
|
44394
|
+
r"""<p>鉴权信息</p>
|
|
44400
44395
|
:rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
44401
44396
|
"""
|
|
44402
44397
|
return self._AuthInfo
|
|
@@ -44407,10 +44402,7 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44407
44402
|
|
|
44408
44403
|
@property
|
|
44409
44404
|
def VirtualGatewayType(self):
|
|
44410
|
-
r"""
|
|
44411
|
-
-1 没有
|
|
44412
|
-
0 CVM
|
|
44413
|
-
1025 CLB
|
|
44405
|
+
r"""<p>后端服务类型<br>-1 没有<br>0 CVM<br>1025 CLB</p>
|
|
44414
44406
|
:rtype: int
|
|
44415
44407
|
"""
|
|
44416
44408
|
return self._VirtualGatewayType
|
|
@@ -44419,6 +44411,28 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44419
44411
|
def VirtualGatewayType(self, VirtualGatewayType):
|
|
44420
44412
|
self._VirtualGatewayType = VirtualGatewayType
|
|
44421
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
|
+
|
|
44422
44436
|
|
|
44423
44437
|
def _deserialize(self, params):
|
|
44424
44438
|
self._TaskId = params.get("TaskId")
|
|
@@ -44434,6 +44448,8 @@ class ModifyRemoteWriteTaskRequest(AbstractModel):
|
|
|
44434
44448
|
self._AuthInfo = RemoteWriteAuthInfo()
|
|
44435
44449
|
self._AuthInfo._deserialize(params.get("AuthInfo"))
|
|
44436
44450
|
self._VirtualGatewayType = params.get("VirtualGatewayType")
|
|
44451
|
+
self._InstanceId = params.get("InstanceId")
|
|
44452
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
44437
44453
|
memeber_set = set(params.keys())
|
|
44438
44454
|
for name, value in vars(self).items():
|
|
44439
44455
|
property_name = name[1:]
|
|
@@ -50005,57 +50021,57 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50005
50021
|
|
|
50006
50022
|
def __init__(self):
|
|
50007
50023
|
r"""
|
|
50008
|
-
:param _TaskId:
|
|
50024
|
+
:param _TaskId: <p>任务id</p>
|
|
50009
50025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50010
50026
|
:type TaskId: str
|
|
50011
|
-
:param _TopicId:
|
|
50027
|
+
:param _TopicId: <p>日志主题ID</p>
|
|
50012
50028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50013
50029
|
:type TopicId: str
|
|
50014
|
-
:param _Name: Remote Write
|
|
50030
|
+
:param _Name: <p>Remote Write任务名称</p>
|
|
50015
50031
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50016
50032
|
:type Name: str
|
|
50017
|
-
:param _NetType:
|
|
50018
|
-
1: 内网
|
|
50019
|
-
2:外网
|
|
50033
|
+
:param _NetType: <p>网络类型<br>1: 内网<br>2:外网</p>
|
|
50020
50034
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50021
50035
|
:type NetType: int
|
|
50022
|
-
:param _VpcId:
|
|
50036
|
+
:param _VpcId: <p>私有网络id</p>
|
|
50023
50037
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50024
50038
|
:type VpcId: str
|
|
50025
|
-
:param _Status:
|
|
50026
|
-
1: 运行中
|
|
50027
|
-
2:暂停
|
|
50028
|
-
3: 失败
|
|
50039
|
+
:param _Status: <p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
|
|
50029
50040
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50030
50041
|
:type Status: int
|
|
50031
|
-
:param _CreateTime:
|
|
50042
|
+
:param _CreateTime: <p>创建时间</p>
|
|
50032
50043
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50033
50044
|
:type CreateTime: str
|
|
50034
|
-
:param _UpdateTime:
|
|
50045
|
+
:param _UpdateTime: <p>更新时间</p>
|
|
50035
50046
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50036
50047
|
:type UpdateTime: str
|
|
50037
|
-
:param _Target:
|
|
50048
|
+
:param _Target: <p>目标服务名称</p>
|
|
50038
50049
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50039
50050
|
:type Target: str
|
|
50040
|
-
:param _RemoteWriteURL:
|
|
50051
|
+
:param _RemoteWriteURL: <p>目标地址</p>
|
|
50041
50052
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50042
50053
|
:type RemoteWriteURL: str
|
|
50043
|
-
:param _AuthType:
|
|
50044
|
-
0: 无鉴权 1: basic_auth 2: token
|
|
50054
|
+
:param _AuthType: <p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
|
|
50045
50055
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50046
50056
|
:type AuthType: int
|
|
50047
|
-
:param _AuthInfo:
|
|
50057
|
+
:param _AuthInfo: <p>鉴权信息</p>
|
|
50048
50058
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50049
50059
|
:type AuthInfo: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
50050
|
-
:param _LogsetId:
|
|
50060
|
+
:param _LogsetId: <p>日志集</p>
|
|
50051
50061
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50052
50062
|
:type LogsetId: str
|
|
50053
|
-
:param _Enable:
|
|
50063
|
+
:param _Enable: <p>任务状态</p>
|
|
50054
50064
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50055
50065
|
:type Enable: int
|
|
50056
|
-
:param _VirtualGatewayType:
|
|
50066
|
+
:param _VirtualGatewayType: <p>后端服务类型</p>
|
|
50057
50067
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50058
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
|
|
50059
50075
|
"""
|
|
50060
50076
|
self._TaskId = None
|
|
50061
50077
|
self._TopicId = None
|
|
@@ -50072,10 +50088,12 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50072
50088
|
self._LogsetId = None
|
|
50073
50089
|
self._Enable = None
|
|
50074
50090
|
self._VirtualGatewayType = None
|
|
50091
|
+
self._InstanceId = None
|
|
50092
|
+
self._HasServicesLog = None
|
|
50075
50093
|
|
|
50076
50094
|
@property
|
|
50077
50095
|
def TaskId(self):
|
|
50078
|
-
r"""
|
|
50096
|
+
r"""<p>任务id</p>
|
|
50079
50097
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50080
50098
|
:rtype: str
|
|
50081
50099
|
"""
|
|
@@ -50087,7 +50105,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50087
50105
|
|
|
50088
50106
|
@property
|
|
50089
50107
|
def TopicId(self):
|
|
50090
|
-
r"""
|
|
50108
|
+
r"""<p>日志主题ID</p>
|
|
50091
50109
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50092
50110
|
:rtype: str
|
|
50093
50111
|
"""
|
|
@@ -50099,7 +50117,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50099
50117
|
|
|
50100
50118
|
@property
|
|
50101
50119
|
def Name(self):
|
|
50102
|
-
r"""Remote Write
|
|
50120
|
+
r"""<p>Remote Write任务名称</p>
|
|
50103
50121
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50104
50122
|
:rtype: str
|
|
50105
50123
|
"""
|
|
@@ -50111,9 +50129,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50111
50129
|
|
|
50112
50130
|
@property
|
|
50113
50131
|
def NetType(self):
|
|
50114
|
-
r"""
|
|
50115
|
-
1: 内网
|
|
50116
|
-
2:外网
|
|
50132
|
+
r"""<p>网络类型<br>1: 内网<br>2:外网</p>
|
|
50117
50133
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50118
50134
|
:rtype: int
|
|
50119
50135
|
"""
|
|
@@ -50125,7 +50141,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50125
50141
|
|
|
50126
50142
|
@property
|
|
50127
50143
|
def VpcId(self):
|
|
50128
|
-
r"""
|
|
50144
|
+
r"""<p>私有网络id</p>
|
|
50129
50145
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50130
50146
|
:rtype: str
|
|
50131
50147
|
"""
|
|
@@ -50137,10 +50153,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50137
50153
|
|
|
50138
50154
|
@property
|
|
50139
50155
|
def Status(self):
|
|
50140
|
-
r"""
|
|
50141
|
-
1: 运行中
|
|
50142
|
-
2:暂停
|
|
50143
|
-
3: 失败
|
|
50156
|
+
r"""<p>任务运行状态<br>1: 运行中<br>2:暂停<br>3: 失败</p>
|
|
50144
50157
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50145
50158
|
:rtype: int
|
|
50146
50159
|
"""
|
|
@@ -50152,7 +50165,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50152
50165
|
|
|
50153
50166
|
@property
|
|
50154
50167
|
def CreateTime(self):
|
|
50155
|
-
r"""
|
|
50168
|
+
r"""<p>创建时间</p>
|
|
50156
50169
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50157
50170
|
:rtype: str
|
|
50158
50171
|
"""
|
|
@@ -50164,7 +50177,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50164
50177
|
|
|
50165
50178
|
@property
|
|
50166
50179
|
def UpdateTime(self):
|
|
50167
|
-
r"""
|
|
50180
|
+
r"""<p>更新时间</p>
|
|
50168
50181
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50169
50182
|
:rtype: str
|
|
50170
50183
|
"""
|
|
@@ -50176,7 +50189,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50176
50189
|
|
|
50177
50190
|
@property
|
|
50178
50191
|
def Target(self):
|
|
50179
|
-
r"""
|
|
50192
|
+
r"""<p>目标服务名称</p>
|
|
50180
50193
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50181
50194
|
:rtype: str
|
|
50182
50195
|
"""
|
|
@@ -50188,7 +50201,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50188
50201
|
|
|
50189
50202
|
@property
|
|
50190
50203
|
def RemoteWriteURL(self):
|
|
50191
|
-
r"""
|
|
50204
|
+
r"""<p>目标地址</p>
|
|
50192
50205
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50193
50206
|
:rtype: str
|
|
50194
50207
|
"""
|
|
@@ -50200,8 +50213,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50200
50213
|
|
|
50201
50214
|
@property
|
|
50202
50215
|
def AuthType(self):
|
|
50203
|
-
r"""
|
|
50204
|
-
0: 无鉴权 1: basic_auth 2: token
|
|
50216
|
+
r"""<p>鉴权类型<br>0: 无鉴权 1: basic_auth 2: token</p>
|
|
50205
50217
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50206
50218
|
:rtype: int
|
|
50207
50219
|
"""
|
|
@@ -50213,7 +50225,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50213
50225
|
|
|
50214
50226
|
@property
|
|
50215
50227
|
def AuthInfo(self):
|
|
50216
|
-
r"""
|
|
50228
|
+
r"""<p>鉴权信息</p>
|
|
50217
50229
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50218
50230
|
:rtype: :class:`tencentcloud.cls.v20201016.models.RemoteWriteAuthInfo`
|
|
50219
50231
|
"""
|
|
@@ -50225,7 +50237,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50225
50237
|
|
|
50226
50238
|
@property
|
|
50227
50239
|
def LogsetId(self):
|
|
50228
|
-
r"""
|
|
50240
|
+
r"""<p>日志集</p>
|
|
50229
50241
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50230
50242
|
:rtype: str
|
|
50231
50243
|
"""
|
|
@@ -50237,7 +50249,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50237
50249
|
|
|
50238
50250
|
@property
|
|
50239
50251
|
def Enable(self):
|
|
50240
|
-
r"""
|
|
50252
|
+
r"""<p>任务状态</p>
|
|
50241
50253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50242
50254
|
:rtype: int
|
|
50243
50255
|
"""
|
|
@@ -50249,7 +50261,7 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50249
50261
|
|
|
50250
50262
|
@property
|
|
50251
50263
|
def VirtualGatewayType(self):
|
|
50252
|
-
r"""
|
|
50264
|
+
r"""<p>后端服务类型</p>
|
|
50253
50265
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
50254
50266
|
:rtype: int
|
|
50255
50267
|
"""
|
|
@@ -50259,6 +50271,30 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50259
50271
|
def VirtualGatewayType(self, VirtualGatewayType):
|
|
50260
50272
|
self._VirtualGatewayType = VirtualGatewayType
|
|
50261
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
|
+
|
|
50262
50298
|
|
|
50263
50299
|
def _deserialize(self, params):
|
|
50264
50300
|
self._TaskId = params.get("TaskId")
|
|
@@ -50278,6 +50314,8 @@ class RemoteWriteInfo(AbstractModel):
|
|
|
50278
50314
|
self._LogsetId = params.get("LogsetId")
|
|
50279
50315
|
self._Enable = params.get("Enable")
|
|
50280
50316
|
self._VirtualGatewayType = params.get("VirtualGatewayType")
|
|
50317
|
+
self._InstanceId = params.get("InstanceId")
|
|
50318
|
+
self._HasServicesLog = params.get("HasServicesLog")
|
|
50281
50319
|
memeber_set = set(params.keys())
|
|
50282
50320
|
for name, value in vars(self).items():
|
|
50283
50321
|
property_name = name[1:]
|
|
@@ -51889,9 +51927,9 @@ class SearchLogRequest(AbstractModel):
|
|
|
51889
51927
|
|
|
51890
51928
|
def __init__(self):
|
|
51891
51929
|
r"""
|
|
51892
|
-
:param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51930
|
+
:param _From: <p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
|
|
51893
51931
|
:type From: int
|
|
51894
|
-
:param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51932
|
+
:param _To: <p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
|
|
51895
51933
|
:type To: int
|
|
51896
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>
|
|
51897
51935
|
:type QueryString: str
|
|
@@ -51938,7 +51976,7 @@ class SearchLogRequest(AbstractModel):
|
|
|
51938
51976
|
|
|
51939
51977
|
@property
|
|
51940
51978
|
def From(self):
|
|
51941
|
-
r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51979
|
+
r"""<p>要检索分析的日志的起始时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),包含 From 时刻</p>
|
|
51942
51980
|
:rtype: int
|
|
51943
51981
|
"""
|
|
51944
51982
|
return self._From
|
|
@@ -51949,7 +51987,7 @@ class SearchLogRequest(AbstractModel):
|
|
|
51949
51987
|
|
|
51950
51988
|
@property
|
|
51951
51989
|
def To(self):
|
|
51952
|
-
r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p>
|
|
51990
|
+
r"""<p>要检索分析的日志的结束时间,<strong>Unix时间戳(毫秒)</strong></p><p>时间范围为左闭右开区间 [From, To),不包含 To 时刻</p>
|
|
51953
51991
|
:rtype: int
|
|
51954
51992
|
"""
|
|
51955
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.162
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|