tencentcloud-sdk-python-cls 3.1.127__tar.gz → 3.1.128__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/setup.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/models.py +312 -80
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cls-3.1.128/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cls-3.1.127/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/README.rst +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/cls_client_async.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cls-3.1.127 → tencentcloud_sdk_python_cls-3.1.128}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cls
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.128
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.128,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cls SDK for Python',
|
|
@@ -3748,20 +3748,24 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3748
3748
|
|
|
3749
3749
|
def __init__(self):
|
|
3750
3750
|
r"""
|
|
3751
|
-
:param _ClsRegion:
|
|
3751
|
+
:param _ClsRegion: <p>日志服务地域</p>
|
|
3752
3752
|
:type ClsRegion: str
|
|
3753
|
-
:param _InstanceId:
|
|
3753
|
+
:param _InstanceId: <p>实例ID</p>
|
|
3754
3754
|
:type InstanceId: str
|
|
3755
|
-
:param _LogsetId:
|
|
3755
|
+
:param _LogsetId: <p>日志集ID</p>
|
|
3756
3756
|
:type LogsetId: str
|
|
3757
|
-
:param _TopicId:
|
|
3757
|
+
:param _TopicId: <p>日志主题ID</p>
|
|
3758
3758
|
:type TopicId: str
|
|
3759
|
-
:param _Extend:
|
|
3759
|
+
:param _Extend: <p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
|
|
3760
3760
|
:type Extend: str
|
|
3761
|
-
:param _LogType:
|
|
3761
|
+
:param _LogType: <p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
|
|
3762
3762
|
:type LogType: str
|
|
3763
|
-
:param _Status:
|
|
3763
|
+
:param _Status: <p>任务状态, 0创建中 1创建完成 2 删除中</p>
|
|
3764
3764
|
:type Status: int
|
|
3765
|
+
:param _TopicTags: <p>投递任务关联topic的标签信息</p>
|
|
3766
|
+
:type TopicTags: list of Tag
|
|
3767
|
+
:param _LogsetTags: <p>投递任务关联logset的标签信息</p>
|
|
3768
|
+
:type LogsetTags: list of Tag
|
|
3765
3769
|
"""
|
|
3766
3770
|
self._ClsRegion = None
|
|
3767
3771
|
self._InstanceId = None
|
|
@@ -3770,10 +3774,12 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3770
3774
|
self._Extend = None
|
|
3771
3775
|
self._LogType = None
|
|
3772
3776
|
self._Status = None
|
|
3777
|
+
self._TopicTags = None
|
|
3778
|
+
self._LogsetTags = None
|
|
3773
3779
|
|
|
3774
3780
|
@property
|
|
3775
3781
|
def ClsRegion(self):
|
|
3776
|
-
r"""
|
|
3782
|
+
r"""<p>日志服务地域</p>
|
|
3777
3783
|
:rtype: str
|
|
3778
3784
|
"""
|
|
3779
3785
|
return self._ClsRegion
|
|
@@ -3784,7 +3790,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3784
3790
|
|
|
3785
3791
|
@property
|
|
3786
3792
|
def InstanceId(self):
|
|
3787
|
-
r"""
|
|
3793
|
+
r"""<p>实例ID</p>
|
|
3788
3794
|
:rtype: str
|
|
3789
3795
|
"""
|
|
3790
3796
|
return self._InstanceId
|
|
@@ -3795,7 +3801,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3795
3801
|
|
|
3796
3802
|
@property
|
|
3797
3803
|
def LogsetId(self):
|
|
3798
|
-
r"""
|
|
3804
|
+
r"""<p>日志集ID</p>
|
|
3799
3805
|
:rtype: str
|
|
3800
3806
|
"""
|
|
3801
3807
|
return self._LogsetId
|
|
@@ -3806,7 +3812,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3806
3812
|
|
|
3807
3813
|
@property
|
|
3808
3814
|
def TopicId(self):
|
|
3809
|
-
r"""
|
|
3815
|
+
r"""<p>日志主题ID</p>
|
|
3810
3816
|
:rtype: str
|
|
3811
3817
|
"""
|
|
3812
3818
|
return self._TopicId
|
|
@@ -3817,7 +3823,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3817
3823
|
|
|
3818
3824
|
@property
|
|
3819
3825
|
def Extend(self):
|
|
3820
|
-
r"""
|
|
3826
|
+
r"""<p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
|
|
3821
3827
|
:rtype: str
|
|
3822
3828
|
"""
|
|
3823
3829
|
return self._Extend
|
|
@@ -3828,7 +3834,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3828
3834
|
|
|
3829
3835
|
@property
|
|
3830
3836
|
def LogType(self):
|
|
3831
|
-
r"""
|
|
3837
|
+
r"""<p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
|
|
3832
3838
|
:rtype: str
|
|
3833
3839
|
"""
|
|
3834
3840
|
return self._LogType
|
|
@@ -3839,7 +3845,7 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3839
3845
|
|
|
3840
3846
|
@property
|
|
3841
3847
|
def Status(self):
|
|
3842
|
-
r"""
|
|
3848
|
+
r"""<p>任务状态, 0创建中 1创建完成 2 删除中</p>
|
|
3843
3849
|
:rtype: int
|
|
3844
3850
|
"""
|
|
3845
3851
|
return self._Status
|
|
@@ -3848,6 +3854,28 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3848
3854
|
def Status(self, Status):
|
|
3849
3855
|
self._Status = Status
|
|
3850
3856
|
|
|
3857
|
+
@property
|
|
3858
|
+
def TopicTags(self):
|
|
3859
|
+
r"""<p>投递任务关联topic的标签信息</p>
|
|
3860
|
+
:rtype: list of Tag
|
|
3861
|
+
"""
|
|
3862
|
+
return self._TopicTags
|
|
3863
|
+
|
|
3864
|
+
@TopicTags.setter
|
|
3865
|
+
def TopicTags(self, TopicTags):
|
|
3866
|
+
self._TopicTags = TopicTags
|
|
3867
|
+
|
|
3868
|
+
@property
|
|
3869
|
+
def LogsetTags(self):
|
|
3870
|
+
r"""<p>投递任务关联logset的标签信息</p>
|
|
3871
|
+
:rtype: list of Tag
|
|
3872
|
+
"""
|
|
3873
|
+
return self._LogsetTags
|
|
3874
|
+
|
|
3875
|
+
@LogsetTags.setter
|
|
3876
|
+
def LogsetTags(self, LogsetTags):
|
|
3877
|
+
self._LogsetTags = LogsetTags
|
|
3878
|
+
|
|
3851
3879
|
|
|
3852
3880
|
def _deserialize(self, params):
|
|
3853
3881
|
self._ClsRegion = params.get("ClsRegion")
|
|
@@ -3857,6 +3885,18 @@ class CloudProductLogTaskInfo(AbstractModel):
|
|
|
3857
3885
|
self._Extend = params.get("Extend")
|
|
3858
3886
|
self._LogType = params.get("LogType")
|
|
3859
3887
|
self._Status = params.get("Status")
|
|
3888
|
+
if params.get("TopicTags") is not None:
|
|
3889
|
+
self._TopicTags = []
|
|
3890
|
+
for item in params.get("TopicTags"):
|
|
3891
|
+
obj = Tag()
|
|
3892
|
+
obj._deserialize(item)
|
|
3893
|
+
self._TopicTags.append(obj)
|
|
3894
|
+
if params.get("LogsetTags") is not None:
|
|
3895
|
+
self._LogsetTags = []
|
|
3896
|
+
for item in params.get("LogsetTags"):
|
|
3897
|
+
obj = Tag()
|
|
3898
|
+
obj._deserialize(item)
|
|
3899
|
+
self._LogsetTags.append(obj)
|
|
3860
3900
|
memeber_set = set(params.keys())
|
|
3861
3901
|
for name, value in vars(self).items():
|
|
3862
3902
|
property_name = name[1:]
|
|
@@ -20233,10 +20273,13 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
|
20233
20273
|
:type Limit: int
|
|
20234
20274
|
:param _Filters: <ul><li>assumerName<ul><li>按照【云产品标识】进行过滤。</li><li>类型:String</li><li>必选:否</li><li>枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</li></ul></li><li>logType<ul><li>按照【日志类型】进行过滤。</li><li>类型:String</li><li>必选:否</li><li>枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</li></ul></li><li>instanceId<ul><li>按照【实例ID】进行过滤。</li><li>类型:String</li><li>必选:否</li></ul></li></ul>
|
|
20235
20275
|
:type Filters: list of Filter
|
|
20276
|
+
:param _WithTags: <p>是否携带topic和logset的标签信息</p>
|
|
20277
|
+
:type WithTags: bool
|
|
20236
20278
|
"""
|
|
20237
20279
|
self._Offset = None
|
|
20238
20280
|
self._Limit = None
|
|
20239
20281
|
self._Filters = None
|
|
20282
|
+
self._WithTags = None
|
|
20240
20283
|
|
|
20241
20284
|
@property
|
|
20242
20285
|
def Offset(self):
|
|
@@ -20271,6 +20314,17 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
|
20271
20314
|
def Filters(self, Filters):
|
|
20272
20315
|
self._Filters = Filters
|
|
20273
20316
|
|
|
20317
|
+
@property
|
|
20318
|
+
def WithTags(self):
|
|
20319
|
+
r"""<p>是否携带topic和logset的标签信息</p>
|
|
20320
|
+
:rtype: bool
|
|
20321
|
+
"""
|
|
20322
|
+
return self._WithTags
|
|
20323
|
+
|
|
20324
|
+
@WithTags.setter
|
|
20325
|
+
def WithTags(self, WithTags):
|
|
20326
|
+
self._WithTags = WithTags
|
|
20327
|
+
|
|
20274
20328
|
|
|
20275
20329
|
def _deserialize(self, params):
|
|
20276
20330
|
self._Offset = params.get("Offset")
|
|
@@ -20281,6 +20335,7 @@ class DescribeCloudProductLogTasksRequest(AbstractModel):
|
|
|
20281
20335
|
obj = Filter()
|
|
20282
20336
|
obj._deserialize(item)
|
|
20283
20337
|
self._Filters.append(obj)
|
|
20338
|
+
self._WithTags = params.get("WithTags")
|
|
20284
20339
|
memeber_set = set(params.keys())
|
|
20285
20340
|
for name, value in vars(self).items():
|
|
20286
20341
|
property_name = name[1:]
|
|
@@ -20302,11 +20357,14 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
|
|
|
20302
20357
|
:type Tasks: list of CloudProductLogTaskInfo
|
|
20303
20358
|
:param _TotalCount: <p>日志配置总数</p>
|
|
20304
20359
|
:type TotalCount: int
|
|
20360
|
+
:param _Message: <p>额外信息。如查询topic、logset标签信息错误</p>
|
|
20361
|
+
:type Message: str
|
|
20305
20362
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20306
20363
|
:type RequestId: str
|
|
20307
20364
|
"""
|
|
20308
20365
|
self._Tasks = None
|
|
20309
20366
|
self._TotalCount = None
|
|
20367
|
+
self._Message = None
|
|
20310
20368
|
self._RequestId = None
|
|
20311
20369
|
|
|
20312
20370
|
@property
|
|
@@ -20331,6 +20389,17 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
|
|
|
20331
20389
|
def TotalCount(self, TotalCount):
|
|
20332
20390
|
self._TotalCount = TotalCount
|
|
20333
20391
|
|
|
20392
|
+
@property
|
|
20393
|
+
def Message(self):
|
|
20394
|
+
r"""<p>额外信息。如查询topic、logset标签信息错误</p>
|
|
20395
|
+
:rtype: str
|
|
20396
|
+
"""
|
|
20397
|
+
return self._Message
|
|
20398
|
+
|
|
20399
|
+
@Message.setter
|
|
20400
|
+
def Message(self, Message):
|
|
20401
|
+
self._Message = Message
|
|
20402
|
+
|
|
20334
20403
|
@property
|
|
20335
20404
|
def RequestId(self):
|
|
20336
20405
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20351,6 +20420,7 @@ class DescribeCloudProductLogTasksResponse(AbstractModel):
|
|
|
20351
20420
|
obj._deserialize(item)
|
|
20352
20421
|
self._Tasks.append(obj)
|
|
20353
20422
|
self._TotalCount = params.get("TotalCount")
|
|
20423
|
+
self._Message = params.get("Message")
|
|
20354
20424
|
self._RequestId = params.get("RequestId")
|
|
20355
20425
|
|
|
20356
20426
|
|
|
@@ -28469,38 +28539,44 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28469
28539
|
|
|
28470
28540
|
def __init__(self):
|
|
28471
28541
|
r"""
|
|
28472
|
-
:param _TaskId:
|
|
28542
|
+
:param _TaskId: <p>任务id。</p>
|
|
28473
28543
|
:type TaskId: str
|
|
28474
|
-
:param _Uin:
|
|
28544
|
+
:param _Uin: <p>账号id。</p>
|
|
28475
28545
|
:type Uin: int
|
|
28476
|
-
:param _TopicId:
|
|
28546
|
+
:param _TopicId: <p>日志主题id。</p>
|
|
28477
28547
|
:type TopicId: str
|
|
28478
|
-
:param _Name:
|
|
28548
|
+
:param _Name: <p>任务名称。</p>
|
|
28479
28549
|
:type Name: str
|
|
28480
|
-
:param _DeliverType:
|
|
28550
|
+
:param _DeliverType: <p>投递类型,0:实时投递,1:历史投递</p>
|
|
28481
28551
|
:type DeliverType: int
|
|
28482
|
-
:param _MaxSize:
|
|
28552
|
+
:param _MaxSize: <p>投递文件大小,单位MB</p>
|
|
28483
28553
|
:type MaxSize: int
|
|
28484
|
-
:param _Interval:
|
|
28554
|
+
:param _Interval: <p>投递间隔 单位秒</p>
|
|
28485
28555
|
:type Interval: int
|
|
28486
|
-
:param _StartTime:
|
|
28556
|
+
:param _StartTime: <p>投递时间范围的开始时间</p>
|
|
28487
28557
|
:type StartTime: int
|
|
28488
|
-
:param _EndTime:
|
|
28558
|
+
:param _EndTime: <p>投递时间范围的结束时间</p>
|
|
28489
28559
|
:type EndTime: int
|
|
28490
|
-
:param _DlcInfo: dlc
|
|
28560
|
+
:param _DlcInfo: <p>dlc配置信息</p>
|
|
28491
28561
|
:type DlcInfo: :class:`tencentcloud.cls.v20201016.models.DlcInfo`
|
|
28492
|
-
:param _HasServicesLog:
|
|
28562
|
+
:param _HasServicesLog: <p>是否开启投递服务日志。1关闭,2开启</p>
|
|
28493
28563
|
:type HasServicesLog: int
|
|
28494
|
-
:param _Status:
|
|
28564
|
+
:param _Status: <p>任务状态。</p>
|
|
28495
28565
|
:type Status: int
|
|
28496
|
-
:param _Progress:
|
|
28566
|
+
:param _Progress: <p>任务进度。历史投递任务生效。</p>
|
|
28497
28567
|
:type Progress: int
|
|
28498
|
-
:param _BizType:
|
|
28568
|
+
:param _BizType: <p>日志主题类型。0:标准主题,1:指标主题</p>
|
|
28499
28569
|
:type BizType: int
|
|
28500
|
-
:param _CreateTime:
|
|
28570
|
+
:param _CreateTime: <p>任务创建时间。</p>
|
|
28501
28571
|
:type CreateTime: int
|
|
28502
|
-
:param _UpdateTime:
|
|
28572
|
+
:param _UpdateTime: <p>任务修改时间。</p>
|
|
28503
28573
|
:type UpdateTime: int
|
|
28574
|
+
:param _AutoCreateField: <p>自动创建dlc字段</p><p>默认值:false</p><p>当您的日志中有新增字段时,系统自动将其投递至DLC</p>
|
|
28575
|
+
:type AutoCreateField: bool
|
|
28576
|
+
:param _DlcFailHandle: <p>将投递失败的日志存储至DLC表</p>
|
|
28577
|
+
:type DlcFailHandle: :class:`tencentcloud.cls.v20201016.models.DlcFailHandle`
|
|
28578
|
+
:param _DSLFilter: <p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
|
|
28579
|
+
:type DSLFilter: str
|
|
28504
28580
|
"""
|
|
28505
28581
|
self._TaskId = None
|
|
28506
28582
|
self._Uin = None
|
|
@@ -28518,10 +28594,13 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28518
28594
|
self._BizType = None
|
|
28519
28595
|
self._CreateTime = None
|
|
28520
28596
|
self._UpdateTime = None
|
|
28597
|
+
self._AutoCreateField = None
|
|
28598
|
+
self._DlcFailHandle = None
|
|
28599
|
+
self._DSLFilter = None
|
|
28521
28600
|
|
|
28522
28601
|
@property
|
|
28523
28602
|
def TaskId(self):
|
|
28524
|
-
r"""
|
|
28603
|
+
r"""<p>任务id。</p>
|
|
28525
28604
|
:rtype: str
|
|
28526
28605
|
"""
|
|
28527
28606
|
return self._TaskId
|
|
@@ -28532,7 +28611,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28532
28611
|
|
|
28533
28612
|
@property
|
|
28534
28613
|
def Uin(self):
|
|
28535
|
-
r"""
|
|
28614
|
+
r"""<p>账号id。</p>
|
|
28536
28615
|
:rtype: int
|
|
28537
28616
|
"""
|
|
28538
28617
|
return self._Uin
|
|
@@ -28543,7 +28622,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28543
28622
|
|
|
28544
28623
|
@property
|
|
28545
28624
|
def TopicId(self):
|
|
28546
|
-
r"""
|
|
28625
|
+
r"""<p>日志主题id。</p>
|
|
28547
28626
|
:rtype: str
|
|
28548
28627
|
"""
|
|
28549
28628
|
return self._TopicId
|
|
@@ -28554,7 +28633,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28554
28633
|
|
|
28555
28634
|
@property
|
|
28556
28635
|
def Name(self):
|
|
28557
|
-
r"""
|
|
28636
|
+
r"""<p>任务名称。</p>
|
|
28558
28637
|
:rtype: str
|
|
28559
28638
|
"""
|
|
28560
28639
|
return self._Name
|
|
@@ -28565,7 +28644,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28565
28644
|
|
|
28566
28645
|
@property
|
|
28567
28646
|
def DeliverType(self):
|
|
28568
|
-
r"""
|
|
28647
|
+
r"""<p>投递类型,0:实时投递,1:历史投递</p>
|
|
28569
28648
|
:rtype: int
|
|
28570
28649
|
"""
|
|
28571
28650
|
return self._DeliverType
|
|
@@ -28576,7 +28655,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28576
28655
|
|
|
28577
28656
|
@property
|
|
28578
28657
|
def MaxSize(self):
|
|
28579
|
-
r"""
|
|
28658
|
+
r"""<p>投递文件大小,单位MB</p>
|
|
28580
28659
|
:rtype: int
|
|
28581
28660
|
"""
|
|
28582
28661
|
return self._MaxSize
|
|
@@ -28587,7 +28666,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28587
28666
|
|
|
28588
28667
|
@property
|
|
28589
28668
|
def Interval(self):
|
|
28590
|
-
r"""
|
|
28669
|
+
r"""<p>投递间隔 单位秒</p>
|
|
28591
28670
|
:rtype: int
|
|
28592
28671
|
"""
|
|
28593
28672
|
return self._Interval
|
|
@@ -28598,7 +28677,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28598
28677
|
|
|
28599
28678
|
@property
|
|
28600
28679
|
def StartTime(self):
|
|
28601
|
-
r"""
|
|
28680
|
+
r"""<p>投递时间范围的开始时间</p>
|
|
28602
28681
|
:rtype: int
|
|
28603
28682
|
"""
|
|
28604
28683
|
return self._StartTime
|
|
@@ -28609,7 +28688,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28609
28688
|
|
|
28610
28689
|
@property
|
|
28611
28690
|
def EndTime(self):
|
|
28612
|
-
r"""
|
|
28691
|
+
r"""<p>投递时间范围的结束时间</p>
|
|
28613
28692
|
:rtype: int
|
|
28614
28693
|
"""
|
|
28615
28694
|
return self._EndTime
|
|
@@ -28620,7 +28699,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28620
28699
|
|
|
28621
28700
|
@property
|
|
28622
28701
|
def DlcInfo(self):
|
|
28623
|
-
r"""dlc
|
|
28702
|
+
r"""<p>dlc配置信息</p>
|
|
28624
28703
|
:rtype: :class:`tencentcloud.cls.v20201016.models.DlcInfo`
|
|
28625
28704
|
"""
|
|
28626
28705
|
return self._DlcInfo
|
|
@@ -28631,7 +28710,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28631
28710
|
|
|
28632
28711
|
@property
|
|
28633
28712
|
def HasServicesLog(self):
|
|
28634
|
-
r"""
|
|
28713
|
+
r"""<p>是否开启投递服务日志。1关闭,2开启</p>
|
|
28635
28714
|
:rtype: int
|
|
28636
28715
|
"""
|
|
28637
28716
|
return self._HasServicesLog
|
|
@@ -28642,7 +28721,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28642
28721
|
|
|
28643
28722
|
@property
|
|
28644
28723
|
def Status(self):
|
|
28645
|
-
r"""
|
|
28724
|
+
r"""<p>任务状态。</p>
|
|
28646
28725
|
:rtype: int
|
|
28647
28726
|
"""
|
|
28648
28727
|
return self._Status
|
|
@@ -28653,7 +28732,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28653
28732
|
|
|
28654
28733
|
@property
|
|
28655
28734
|
def Progress(self):
|
|
28656
|
-
r"""
|
|
28735
|
+
r"""<p>任务进度。历史投递任务生效。</p>
|
|
28657
28736
|
:rtype: int
|
|
28658
28737
|
"""
|
|
28659
28738
|
return self._Progress
|
|
@@ -28664,7 +28743,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28664
28743
|
|
|
28665
28744
|
@property
|
|
28666
28745
|
def BizType(self):
|
|
28667
|
-
r"""
|
|
28746
|
+
r"""<p>日志主题类型。0:标准主题,1:指标主题</p>
|
|
28668
28747
|
:rtype: int
|
|
28669
28748
|
"""
|
|
28670
28749
|
return self._BizType
|
|
@@ -28675,7 +28754,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28675
28754
|
|
|
28676
28755
|
@property
|
|
28677
28756
|
def CreateTime(self):
|
|
28678
|
-
r"""
|
|
28757
|
+
r"""<p>任务创建时间。</p>
|
|
28679
28758
|
:rtype: int
|
|
28680
28759
|
"""
|
|
28681
28760
|
return self._CreateTime
|
|
@@ -28686,7 +28765,7 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28686
28765
|
|
|
28687
28766
|
@property
|
|
28688
28767
|
def UpdateTime(self):
|
|
28689
|
-
r"""
|
|
28768
|
+
r"""<p>任务修改时间。</p>
|
|
28690
28769
|
:rtype: int
|
|
28691
28770
|
"""
|
|
28692
28771
|
return self._UpdateTime
|
|
@@ -28695,6 +28774,39 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28695
28774
|
def UpdateTime(self, UpdateTime):
|
|
28696
28775
|
self._UpdateTime = UpdateTime
|
|
28697
28776
|
|
|
28777
|
+
@property
|
|
28778
|
+
def AutoCreateField(self):
|
|
28779
|
+
r"""<p>自动创建dlc字段</p><p>默认值:false</p><p>当您的日志中有新增字段时,系统自动将其投递至DLC</p>
|
|
28780
|
+
:rtype: bool
|
|
28781
|
+
"""
|
|
28782
|
+
return self._AutoCreateField
|
|
28783
|
+
|
|
28784
|
+
@AutoCreateField.setter
|
|
28785
|
+
def AutoCreateField(self, AutoCreateField):
|
|
28786
|
+
self._AutoCreateField = AutoCreateField
|
|
28787
|
+
|
|
28788
|
+
@property
|
|
28789
|
+
def DlcFailHandle(self):
|
|
28790
|
+
r"""<p>将投递失败的日志存储至DLC表</p>
|
|
28791
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DlcFailHandle`
|
|
28792
|
+
"""
|
|
28793
|
+
return self._DlcFailHandle
|
|
28794
|
+
|
|
28795
|
+
@DlcFailHandle.setter
|
|
28796
|
+
def DlcFailHandle(self, DlcFailHandle):
|
|
28797
|
+
self._DlcFailHandle = DlcFailHandle
|
|
28798
|
+
|
|
28799
|
+
@property
|
|
28800
|
+
def DSLFilter(self):
|
|
28801
|
+
r"""<p>日志预过滤-数据写入 Splunk 的原始数据进行预过滤处理</p>
|
|
28802
|
+
:rtype: str
|
|
28803
|
+
"""
|
|
28804
|
+
return self._DSLFilter
|
|
28805
|
+
|
|
28806
|
+
@DSLFilter.setter
|
|
28807
|
+
def DSLFilter(self, DSLFilter):
|
|
28808
|
+
self._DSLFilter = DSLFilter
|
|
28809
|
+
|
|
28698
28810
|
|
|
28699
28811
|
def _deserialize(self, params):
|
|
28700
28812
|
self._TaskId = params.get("TaskId")
|
|
@@ -28715,6 +28827,115 @@ class DlcDeliverInfo(AbstractModel):
|
|
|
28715
28827
|
self._BizType = params.get("BizType")
|
|
28716
28828
|
self._CreateTime = params.get("CreateTime")
|
|
28717
28829
|
self._UpdateTime = params.get("UpdateTime")
|
|
28830
|
+
self._AutoCreateField = params.get("AutoCreateField")
|
|
28831
|
+
if params.get("DlcFailHandle") is not None:
|
|
28832
|
+
self._DlcFailHandle = DlcFailHandle()
|
|
28833
|
+
self._DlcFailHandle._deserialize(params.get("DlcFailHandle"))
|
|
28834
|
+
self._DSLFilter = params.get("DSLFilter")
|
|
28835
|
+
memeber_set = set(params.keys())
|
|
28836
|
+
for name, value in vars(self).items():
|
|
28837
|
+
property_name = name[1:]
|
|
28838
|
+
if property_name in memeber_set:
|
|
28839
|
+
memeber_set.remove(property_name)
|
|
28840
|
+
if len(memeber_set) > 0:
|
|
28841
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28842
|
+
|
|
28843
|
+
|
|
28844
|
+
|
|
28845
|
+
class DlcFailHandle(AbstractModel):
|
|
28846
|
+
r"""dlc投递失败处理信息
|
|
28847
|
+
|
|
28848
|
+
"""
|
|
28849
|
+
|
|
28850
|
+
def __init__(self):
|
|
28851
|
+
r"""
|
|
28852
|
+
:param _StoreToDlc: <p>是否存储到DLC</p><p>默认值:false</p><p>用于控制是否开启投递失败的日志存储至DLC表</p>
|
|
28853
|
+
:type StoreToDlc: bool
|
|
28854
|
+
:param _DlcFailTableInfo: <p>DLC表信息</p>
|
|
28855
|
+
:type DlcFailTableInfo: :class:`tencentcloud.cls.v20201016.models.DlcFailTableInfo`
|
|
28856
|
+
"""
|
|
28857
|
+
self._StoreToDlc = None
|
|
28858
|
+
self._DlcFailTableInfo = None
|
|
28859
|
+
|
|
28860
|
+
@property
|
|
28861
|
+
def StoreToDlc(self):
|
|
28862
|
+
r"""<p>是否存储到DLC</p><p>默认值:false</p><p>用于控制是否开启投递失败的日志存储至DLC表</p>
|
|
28863
|
+
:rtype: bool
|
|
28864
|
+
"""
|
|
28865
|
+
return self._StoreToDlc
|
|
28866
|
+
|
|
28867
|
+
@StoreToDlc.setter
|
|
28868
|
+
def StoreToDlc(self, StoreToDlc):
|
|
28869
|
+
self._StoreToDlc = StoreToDlc
|
|
28870
|
+
|
|
28871
|
+
@property
|
|
28872
|
+
def DlcFailTableInfo(self):
|
|
28873
|
+
r"""<p>DLC表信息</p>
|
|
28874
|
+
:rtype: :class:`tencentcloud.cls.v20201016.models.DlcFailTableInfo`
|
|
28875
|
+
"""
|
|
28876
|
+
return self._DlcFailTableInfo
|
|
28877
|
+
|
|
28878
|
+
@DlcFailTableInfo.setter
|
|
28879
|
+
def DlcFailTableInfo(self, DlcFailTableInfo):
|
|
28880
|
+
self._DlcFailTableInfo = DlcFailTableInfo
|
|
28881
|
+
|
|
28882
|
+
|
|
28883
|
+
def _deserialize(self, params):
|
|
28884
|
+
self._StoreToDlc = params.get("StoreToDlc")
|
|
28885
|
+
if params.get("DlcFailTableInfo") is not None:
|
|
28886
|
+
self._DlcFailTableInfo = DlcFailTableInfo()
|
|
28887
|
+
self._DlcFailTableInfo._deserialize(params.get("DlcFailTableInfo"))
|
|
28888
|
+
memeber_set = set(params.keys())
|
|
28889
|
+
for name, value in vars(self).items():
|
|
28890
|
+
property_name = name[1:]
|
|
28891
|
+
if property_name in memeber_set:
|
|
28892
|
+
memeber_set.remove(property_name)
|
|
28893
|
+
if len(memeber_set) > 0:
|
|
28894
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28895
|
+
|
|
28896
|
+
|
|
28897
|
+
|
|
28898
|
+
class DlcFailTableInfo(AbstractModel):
|
|
28899
|
+
r"""dlc失败日志存储表信息
|
|
28900
|
+
|
|
28901
|
+
"""
|
|
28902
|
+
|
|
28903
|
+
def __init__(self):
|
|
28904
|
+
r"""
|
|
28905
|
+
:param _TableName: <p>DLC的表名称</p>
|
|
28906
|
+
:type TableName: str
|
|
28907
|
+
:param _FieldName: <p>表中的字段名称</p><p>字段类型必须是String类型</p>
|
|
28908
|
+
:type FieldName: str
|
|
28909
|
+
"""
|
|
28910
|
+
self._TableName = None
|
|
28911
|
+
self._FieldName = None
|
|
28912
|
+
|
|
28913
|
+
@property
|
|
28914
|
+
def TableName(self):
|
|
28915
|
+
r"""<p>DLC的表名称</p>
|
|
28916
|
+
:rtype: str
|
|
28917
|
+
"""
|
|
28918
|
+
return self._TableName
|
|
28919
|
+
|
|
28920
|
+
@TableName.setter
|
|
28921
|
+
def TableName(self, TableName):
|
|
28922
|
+
self._TableName = TableName
|
|
28923
|
+
|
|
28924
|
+
@property
|
|
28925
|
+
def FieldName(self):
|
|
28926
|
+
r"""<p>表中的字段名称</p><p>字段类型必须是String类型</p>
|
|
28927
|
+
:rtype: str
|
|
28928
|
+
"""
|
|
28929
|
+
return self._FieldName
|
|
28930
|
+
|
|
28931
|
+
@FieldName.setter
|
|
28932
|
+
def FieldName(self, FieldName):
|
|
28933
|
+
self._FieldName = FieldName
|
|
28934
|
+
|
|
28935
|
+
|
|
28936
|
+
def _deserialize(self, params):
|
|
28937
|
+
self._TableName = params.get("TableName")
|
|
28938
|
+
self._FieldName = params.get("FieldName")
|
|
28718
28939
|
memeber_set = set(params.keys())
|
|
28719
28940
|
for name, value in vars(self).items():
|
|
28720
28941
|
property_name = name[1:]
|
|
@@ -36851,38 +37072,29 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36851
37072
|
|
|
36852
37073
|
def __init__(self):
|
|
36853
37074
|
r"""
|
|
36854
|
-
:param _InstanceId:
|
|
37075
|
+
:param _InstanceId: <p>实例ID</p>
|
|
36855
37076
|
:type InstanceId: str
|
|
36856
|
-
:param _AssumerName:
|
|
37077
|
+
:param _AssumerName: <p>云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</p>
|
|
36857
37078
|
:type AssumerName: str
|
|
36858
|
-
:param _LogType:
|
|
37079
|
+
:param _LogType: <p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
|
|
36859
37080
|
:type LogType: str
|
|
36860
|
-
:param _CloudProductRegion:
|
|
36861
|
-
- CDS所有日志类型:ap-guangzhou
|
|
36862
|
-
- CDB-AUDIT: gz
|
|
36863
|
-
- TDSQL-C-AUDIT: gz
|
|
36864
|
-
- MongoDB-AUDIT: gz
|
|
36865
|
-
- MongoDB-SlowLog:ap-guangzhou
|
|
36866
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
|
36867
|
-
- TDMYSQL-SLOW:gz
|
|
36868
|
-
- DCDB所有日志类型:gz
|
|
36869
|
-
- MariaDB所有日志类型:gz
|
|
36870
|
-
- PostgreSQL所有日志类型:gz
|
|
36871
|
-
- BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
|
|
36872
|
-
- APIS所有日志类型:gz
|
|
37081
|
+
:param _CloudProductRegion: <p>云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:</p><ul><li>CDS所有日志类型:ap-guangzhou</li><li>CDB-AUDIT: gz</li><li>TDSQL-C-AUDIT: gz</li><li>MongoDB-AUDIT: gz</li><li>MongoDB-SlowLog:ap-guangzhou</li><li>MongoDB-ErrorLog:ap-guangzhou</li><li>TDMYSQL-SLOW:gz</li><li>DCDB所有日志类型:gz</li><li>MariaDB所有日志类型:gz</li><li>PostgreSQL所有日志类型:gz</li><li>BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)</li><li>APIS所有日志类型:gz</li></ul>
|
|
36873
37082
|
:type CloudProductRegion: str
|
|
36874
|
-
:param _Extend:
|
|
37083
|
+
:param _Extend: <p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
|
|
36875
37084
|
:type Extend: str
|
|
37085
|
+
:param _Tags: <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的logset和topic。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
|
|
37086
|
+
:type Tags: list of Tag
|
|
36876
37087
|
"""
|
|
36877
37088
|
self._InstanceId = None
|
|
36878
37089
|
self._AssumerName = None
|
|
36879
37090
|
self._LogType = None
|
|
36880
37091
|
self._CloudProductRegion = None
|
|
36881
37092
|
self._Extend = None
|
|
37093
|
+
self._Tags = None
|
|
36882
37094
|
|
|
36883
37095
|
@property
|
|
36884
37096
|
def InstanceId(self):
|
|
36885
|
-
r"""
|
|
37097
|
+
r"""<p>实例ID</p>
|
|
36886
37098
|
:rtype: str
|
|
36887
37099
|
"""
|
|
36888
37100
|
return self._InstanceId
|
|
@@ -36893,7 +37105,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36893
37105
|
|
|
36894
37106
|
@property
|
|
36895
37107
|
def AssumerName(self):
|
|
36896
|
-
r"""
|
|
37108
|
+
r"""<p>云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS</p>
|
|
36897
37109
|
:rtype: str
|
|
36898
37110
|
"""
|
|
36899
37111
|
return self._AssumerName
|
|
@@ -36904,7 +37116,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36904
37116
|
|
|
36905
37117
|
@property
|
|
36906
37118
|
def LogType(self):
|
|
36907
|
-
r"""
|
|
37119
|
+
r"""<p>日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS</p>
|
|
36908
37120
|
:rtype: str
|
|
36909
37121
|
"""
|
|
36910
37122
|
return self._LogType
|
|
@@ -36915,19 +37127,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36915
37127
|
|
|
36916
37128
|
@property
|
|
36917
37129
|
def CloudProductRegion(self):
|
|
36918
|
-
r"""
|
|
36919
|
-
- CDS所有日志类型:ap-guangzhou
|
|
36920
|
-
- CDB-AUDIT: gz
|
|
36921
|
-
- TDSQL-C-AUDIT: gz
|
|
36922
|
-
- MongoDB-AUDIT: gz
|
|
36923
|
-
- MongoDB-SlowLog:ap-guangzhou
|
|
36924
|
-
- MongoDB-ErrorLog:ap-guangzhou
|
|
36925
|
-
- TDMYSQL-SLOW:gz
|
|
36926
|
-
- DCDB所有日志类型:gz
|
|
36927
|
-
- MariaDB所有日志类型:gz
|
|
36928
|
-
- PostgreSQL所有日志类型:gz
|
|
36929
|
-
- BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
|
|
36930
|
-
- APIS所有日志类型:gz
|
|
37130
|
+
r"""<p>云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:</p><ul><li>CDS所有日志类型:ap-guangzhou</li><li>CDB-AUDIT: gz</li><li>TDSQL-C-AUDIT: gz</li><li>MongoDB-AUDIT: gz</li><li>MongoDB-SlowLog:ap-guangzhou</li><li>MongoDB-ErrorLog:ap-guangzhou</li><li>TDMYSQL-SLOW:gz</li><li>DCDB所有日志类型:gz</li><li>MariaDB所有日志类型:gz</li><li>PostgreSQL所有日志类型:gz</li><li>BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)</li><li>APIS所有日志类型:gz</li></ul>
|
|
36931
37131
|
:rtype: str
|
|
36932
37132
|
"""
|
|
36933
37133
|
return self._CloudProductRegion
|
|
@@ -36938,7 +37138,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36938
37138
|
|
|
36939
37139
|
@property
|
|
36940
37140
|
def Extend(self):
|
|
36941
|
-
r"""
|
|
37141
|
+
r"""<p>日志配置拓展信息, 一般用于存储额外的日志投递配置</p>
|
|
36942
37142
|
:rtype: str
|
|
36943
37143
|
"""
|
|
36944
37144
|
return self._Extend
|
|
@@ -36947,6 +37147,17 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36947
37147
|
def Extend(self, Extend):
|
|
36948
37148
|
self._Extend = Extend
|
|
36949
37149
|
|
|
37150
|
+
@property
|
|
37151
|
+
def Tags(self):
|
|
37152
|
+
r"""<p>标签描述列表,通过指定该参数可以同时绑定标签到相应的logset和topic。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。</p>
|
|
37153
|
+
:rtype: list of Tag
|
|
37154
|
+
"""
|
|
37155
|
+
return self._Tags
|
|
37156
|
+
|
|
37157
|
+
@Tags.setter
|
|
37158
|
+
def Tags(self, Tags):
|
|
37159
|
+
self._Tags = Tags
|
|
37160
|
+
|
|
36950
37161
|
|
|
36951
37162
|
def _deserialize(self, params):
|
|
36952
37163
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -36954,6 +37165,12 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
|
|
|
36954
37165
|
self._LogType = params.get("LogType")
|
|
36955
37166
|
self._CloudProductRegion = params.get("CloudProductRegion")
|
|
36956
37167
|
self._Extend = params.get("Extend")
|
|
37168
|
+
if params.get("Tags") is not None:
|
|
37169
|
+
self._Tags = []
|
|
37170
|
+
for item in params.get("Tags"):
|
|
37171
|
+
obj = Tag()
|
|
37172
|
+
obj._deserialize(item)
|
|
37173
|
+
self._Tags.append(obj)
|
|
36957
37174
|
memeber_set = set(params.keys())
|
|
36958
37175
|
for name, value in vars(self).items():
|
|
36959
37176
|
property_name = name[1:]
|
|
@@ -36971,11 +37188,25 @@ class ModifyCloudProductLogCollectionResponse(AbstractModel):
|
|
|
36971
37188
|
|
|
36972
37189
|
def __init__(self):
|
|
36973
37190
|
r"""
|
|
37191
|
+
:param _Message: <p>额外信息。如修改topic、logset标签失败。</p>
|
|
37192
|
+
:type Message: str
|
|
36974
37193
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36975
37194
|
:type RequestId: str
|
|
36976
37195
|
"""
|
|
37196
|
+
self._Message = None
|
|
36977
37197
|
self._RequestId = None
|
|
36978
37198
|
|
|
37199
|
+
@property
|
|
37200
|
+
def Message(self):
|
|
37201
|
+
r"""<p>额外信息。如修改topic、logset标签失败。</p>
|
|
37202
|
+
:rtype: str
|
|
37203
|
+
"""
|
|
37204
|
+
return self._Message
|
|
37205
|
+
|
|
37206
|
+
@Message.setter
|
|
37207
|
+
def Message(self, Message):
|
|
37208
|
+
self._Message = Message
|
|
37209
|
+
|
|
36979
37210
|
@property
|
|
36980
37211
|
def RequestId(self):
|
|
36981
37212
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -36989,6 +37220,7 @@ class ModifyCloudProductLogCollectionResponse(AbstractModel):
|
|
|
36989
37220
|
|
|
36990
37221
|
|
|
36991
37222
|
def _deserialize(self, params):
|
|
37223
|
+
self._Message = params.get("Message")
|
|
36992
37224
|
self._RequestId = params.get("RequestId")
|
|
36993
37225
|
|
|
36994
37226
|
|
|
@@ -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.128
|
|
4
4
|
Summary: Tencent Cloud Cls SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.128
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.128
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.127
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|