tencentcloud-sdk-python-cls 3.0.1293__tar.gz → 3.0.1300__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/cls/v20201016/models.py +58 -10
  5. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-cls-3.0.1300/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-cls-3.0.1293/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/README.rst +0 -0
  9. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/cls/__init__.py +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/cls/v20201016/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/cls/v20201016/cls_client.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1293 → tencentcloud-sdk-python-cls-3.0.1300}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1293
3
+ Version: 3.0.1300
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
@@ -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.1293"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1300"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cls SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1293'
17
+ __version__ = '3.0.1300'
@@ -355,6 +355,9 @@ class AlarmInfo(AbstractModel):
355
355
  :param _AlarmLevel: 告警级别。0:警告(Warn);1:提醒(Info);2:紧急 (Critical)。
356
356
  注意:此字段可能返回 null,表示取不到有效值。
357
357
  :type AlarmLevel: int
358
+ :param _Classifications: 告警附加分类字段。
359
+ 注意:此字段可能返回 null,表示取不到有效值。
360
+ :type Classifications: list of AlarmClassification
358
361
  :param _MultiConditions: 多触发条件。与
359
362
  Condition互斥。
360
363
  注意:此字段可能返回 null,表示取不到有效值。
@@ -378,6 +381,7 @@ Condition互斥。
378
381
  self._GroupTriggerCondition = None
379
382
  self._MonitorObjectType = None
380
383
  self._AlarmLevel = None
384
+ self._Classifications = None
381
385
  self._MultiConditions = None
382
386
 
383
387
  @property
@@ -585,6 +589,18 @@ Condition互斥。
585
589
  def AlarmLevel(self, AlarmLevel):
586
590
  self._AlarmLevel = AlarmLevel
587
591
 
592
+ @property
593
+ def Classifications(self):
594
+ """告警附加分类字段。
595
+ 注意:此字段可能返回 null,表示取不到有效值。
596
+ :rtype: list of AlarmClassification
597
+ """
598
+ return self._Classifications
599
+
600
+ @Classifications.setter
601
+ def Classifications(self, Classifications):
602
+ self._Classifications = Classifications
603
+
588
604
  @property
589
605
  def MultiConditions(self):
590
606
  """多触发条件。与
@@ -632,6 +648,12 @@ Condition互斥。
632
648
  self._GroupTriggerCondition = params.get("GroupTriggerCondition")
633
649
  self._MonitorObjectType = params.get("MonitorObjectType")
634
650
  self._AlarmLevel = params.get("AlarmLevel")
651
+ if params.get("Classifications") is not None:
652
+ self._Classifications = []
653
+ for item in params.get("Classifications"):
654
+ obj = AlarmClassification()
655
+ obj._deserialize(item)
656
+ self._Classifications.append(obj)
635
657
  if params.get("MultiConditions") is not None:
636
658
  self._MultiConditions = []
637
659
  for item in params.get("MultiConditions"):
@@ -3707,7 +3729,7 @@ class ConsoleSharingConfig(AbstractModel):
3707
3729
  - datasight内网匿名分享(若开启):datasight内网域名
3708
3730
  注意:此字段可能返回 null,表示取不到有效值。
3709
3731
  :type Domain: str
3710
- :param _VerifyCode: 验证码
3732
+ :param _VerifyCode: 分享链接加密访问验证码。支持0-9和a-z(不区分大小写)在内的6个字符,可为空,代表免验证码访问
3711
3733
  注意:此字段可能返回 null,表示取不到有效值。
3712
3734
  :type VerifyCode: str
3713
3735
  :param _StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
@@ -3802,7 +3824,7 @@ class ConsoleSharingConfig(AbstractModel):
3802
3824
 
3803
3825
  @property
3804
3826
  def VerifyCode(self):
3805
- """验证码
3827
+ """分享链接加密访问验证码。支持0-9和a-z(不区分大小写)在内的6个字符,可为空,代表免验证码访问
3806
3828
  注意:此字段可能返回 null,表示取不到有效值。
3807
3829
  :rtype: str
3808
3830
  """
@@ -16966,15 +16988,17 @@ class DescribeWebCallbacksRequest(AbstractModel):
16966
16988
 
16967
16989
  def __init__(self):
16968
16990
  r"""
16969
- :param _Filters: <li> name
16991
+ :param _Filters: - name
16970
16992
  按照【告警渠道回调配置名称】进行过滤。
16971
16993
  类型:String
16972
16994
  必选:否
16973
- <li> webCallbackId
16995
+
16996
+ - webCallbackId
16974
16997
  按照【告警渠道回调配置ID】进行过滤。
16975
16998
  类型:String
16976
16999
  必选:否
16977
- <li> type
17000
+
17001
+ - type
16978
17002
  按照【告警渠道回调配置渠道类型】进行过滤。
16979
17003
  类型:String
16980
17004
  必选:否
@@ -16992,15 +17016,17 @@ class DescribeWebCallbacksRequest(AbstractModel):
16992
17016
 
16993
17017
  @property
16994
17018
  def Filters(self):
16995
- """<li> name
17019
+ """- name
16996
17020
  按照【告警渠道回调配置名称】进行过滤。
16997
17021
  类型:String
16998
17022
  必选:否
16999
- <li> webCallbackId
17023
+
17024
+ - webCallbackId
17000
17025
  按照【告警渠道回调配置ID】进行过滤。
17001
17026
  类型:String
17002
17027
  必选:否
17003
- <li> type
17028
+
17029
+ - type
17004
17030
  按照【告警渠道回调配置渠道类型】进行过滤。
17005
17031
  类型:String
17006
17032
  必选:否
@@ -17311,6 +17337,10 @@ class EventLog(AbstractModel):
17311
17337
  :param _Timestamp: 时间,用户选择自定义时间类型时,需要指定时间
17312
17338
  :type Timestamp: int
17313
17339
  :param _EventIDs: 事件ID过滤列表
17340
+
17341
+ 选填,为空表示不做过滤
17342
+ 支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
17343
+ 多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志
17314
17344
  :type EventIDs: list of str
17315
17345
  """
17316
17346
  self._EventChannel = None
@@ -17355,6 +17385,10 @@ class EventLog(AbstractModel):
17355
17385
  @property
17356
17386
  def EventIDs(self):
17357
17387
  """事件ID过滤列表
17388
+
17389
+ 选填,为空表示不做过滤
17390
+ 支持正向过滤单个值(例:20)或范围(例:0-20),也支持反向过滤单个值(例:-20)
17391
+ 多个过滤项之间可由逗号隔开,例:1-200,-100表示采集1-200范围内除了100以外的事件日志
17358
17392
  :rtype: list of str
17359
17393
  """
17360
17394
  return self._EventIDs
@@ -17757,6 +17791,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
17757
17791
  - COS导入不支持此字段。
17758
17792
  :type MetadataType: int
17759
17793
  :param _PathRegex: 采集配置路径正则表达式。
17794
+
17795
+ ```
17796
+ 请用"()"标识路径中目标字段对应的正则表达式,解析时将"()"视为捕获组,并以__TAG__.{i}:{目标字段}的形式与日志一起上报,其中i为捕获组的序号。
17797
+ 若不希望以序号为键名,可以通过命名捕获组"(?<{键名}>{正则})"自定义键名,并以__TAG__.{键名}:{目标字段}的形式与日志一起上报。最多支持5个捕获组
17798
+ ```
17799
+
17760
17800
  注意:
17761
17801
  - MetadataType为3时必填。
17762
17802
  - COS导入不支持此字段。
@@ -18013,6 +18053,12 @@ auto:自动匹配rfc3164或者rfc5424其中一种协议。
18013
18053
  @property
18014
18054
  def PathRegex(self):
18015
18055
  """采集配置路径正则表达式。
18056
+
18057
+ ```
18058
+ 请用"()"标识路径中目标字段对应的正则表达式,解析时将"()"视为捕获组,并以__TAG__.{i}:{目标字段}的形式与日志一起上报,其中i为捕获组的序号。
18059
+ 若不希望以序号为键名,可以通过命名捕获组"(?<{键名}>{正则})"自定义键名,并以__TAG__.{键名}:{目标字段}的形式与日志一起上报。最多支持5个捕获组
18060
+ ```
18061
+
18016
18062
  注意:
18017
18063
  - MetadataType为3时必填。
18018
18064
  - COS导入不支持此字段。
@@ -25329,7 +25375,8 @@ class MultiCondition(AbstractModel):
25329
25375
  注意:此字段可能返回 null,表示取不到有效值。
25330
25376
  :type Condition: str
25331
25377
  :param _AlarmLevel: 告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
25332
- <li> 不填则默认为0。
25378
+
25379
+ - 不填则默认为0。
25333
25380
  注意:此字段可能返回 null,表示取不到有效值。
25334
25381
  :type AlarmLevel: int
25335
25382
  """
@@ -25351,7 +25398,8 @@ class MultiCondition(AbstractModel):
25351
25398
  @property
25352
25399
  def AlarmLevel(self):
25353
25400
  """告警级别。0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
25354
- <li> 不填则默认为0。
25401
+
25402
+ - 不填则默认为0。
25355
25403
  注意:此字段可能返回 null,表示取不到有效值。
25356
25404
  :rtype: int
25357
25405
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1293
3
+ Version: 3.0.1300
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1300
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1293