tencentcloud-sdk-python-cls 3.0.1362__tar.gz → 3.0.1364__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.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/cls/v20201016/models.py +35 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1364/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1362/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1362 → tencentcloud-sdk-python-cls-3.0.1364}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cls',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1364"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -335,6 +335,8 @@ class AlarmInfo(AbstractModel):
|
|
|
335
335
|
:type GroupTriggerStatus: bool
|
|
336
336
|
:param _GroupTriggerCondition: 分组触发条件。
|
|
337
337
|
:type GroupTriggerCondition: list of str
|
|
338
|
+
:param _Tags: 告警策略绑定的标签信息。
|
|
339
|
+
:type Tags: list of Tag
|
|
338
340
|
:param _MonitorObjectType: 监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
|
339
341
|
:type MonitorObjectType: int
|
|
340
342
|
:param _AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
|
|
@@ -361,6 +363,7 @@ Condition互斥。
|
|
|
361
363
|
self._Analysis = None
|
|
362
364
|
self._GroupTriggerStatus = None
|
|
363
365
|
self._GroupTriggerCondition = None
|
|
366
|
+
self._Tags = None
|
|
364
367
|
self._MonitorObjectType = None
|
|
365
368
|
self._AlarmLevel = None
|
|
366
369
|
self._Classifications = None
|
|
@@ -543,6 +546,17 @@ Condition互斥。
|
|
|
543
546
|
def GroupTriggerCondition(self, GroupTriggerCondition):
|
|
544
547
|
self._GroupTriggerCondition = GroupTriggerCondition
|
|
545
548
|
|
|
549
|
+
@property
|
|
550
|
+
def Tags(self):
|
|
551
|
+
"""告警策略绑定的标签信息。
|
|
552
|
+
:rtype: list of Tag
|
|
553
|
+
"""
|
|
554
|
+
return self._Tags
|
|
555
|
+
|
|
556
|
+
@Tags.setter
|
|
557
|
+
def Tags(self, Tags):
|
|
558
|
+
self._Tags = Tags
|
|
559
|
+
|
|
546
560
|
@property
|
|
547
561
|
def MonitorObjectType(self):
|
|
548
562
|
"""监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。
|
|
@@ -620,6 +634,12 @@ Condition互斥。
|
|
|
620
634
|
self._Analysis.append(obj)
|
|
621
635
|
self._GroupTriggerStatus = params.get("GroupTriggerStatus")
|
|
622
636
|
self._GroupTriggerCondition = params.get("GroupTriggerCondition")
|
|
637
|
+
if params.get("Tags") is not None:
|
|
638
|
+
self._Tags = []
|
|
639
|
+
for item in params.get("Tags"):
|
|
640
|
+
obj = Tag()
|
|
641
|
+
obj._deserialize(item)
|
|
642
|
+
self._Tags.append(obj)
|
|
623
643
|
self._MonitorObjectType = params.get("MonitorObjectType")
|
|
624
644
|
self._AlarmLevel = params.get("AlarmLevel")
|
|
625
645
|
if params.get("Classifications") is not None:
|
|
@@ -30072,11 +30092,14 @@ long及double类型字段需为空;
|
|
|
30072
30092
|
:type SqlFlag: bool
|
|
30073
30093
|
:param _ContainZH: 是否包含中文,long及double类型字段需为false
|
|
30074
30094
|
:type ContainZH: bool
|
|
30095
|
+
:param _Alias: 字段别名
|
|
30096
|
+
:type Alias: str
|
|
30075
30097
|
"""
|
|
30076
30098
|
self._Type = None
|
|
30077
30099
|
self._Tokenizer = None
|
|
30078
30100
|
self._SqlFlag = None
|
|
30079
30101
|
self._ContainZH = None
|
|
30102
|
+
self._Alias = None
|
|
30080
30103
|
|
|
30081
30104
|
@property
|
|
30082
30105
|
def Type(self):
|
|
@@ -30125,12 +30148,24 @@ long及double类型字段需为空;
|
|
|
30125
30148
|
def ContainZH(self, ContainZH):
|
|
30126
30149
|
self._ContainZH = ContainZH
|
|
30127
30150
|
|
|
30151
|
+
@property
|
|
30152
|
+
def Alias(self):
|
|
30153
|
+
"""字段别名
|
|
30154
|
+
:rtype: str
|
|
30155
|
+
"""
|
|
30156
|
+
return self._Alias
|
|
30157
|
+
|
|
30158
|
+
@Alias.setter
|
|
30159
|
+
def Alias(self, Alias):
|
|
30160
|
+
self._Alias = Alias
|
|
30161
|
+
|
|
30128
30162
|
|
|
30129
30163
|
def _deserialize(self, params):
|
|
30130
30164
|
self._Type = params.get("Type")
|
|
30131
30165
|
self._Tokenizer = params.get("Tokenizer")
|
|
30132
30166
|
self._SqlFlag = params.get("SqlFlag")
|
|
30133
30167
|
self._ContainZH = params.get("ContainZH")
|
|
30168
|
+
self._Alias = params.get("Alias")
|
|
30134
30169
|
memeber_set = set(params.keys())
|
|
30135
30170
|
for name, value in vars(self).items():
|
|
30136
30171
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1364
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1362
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|