tencentcloud-sdk-python-cls 3.0.1168__tar.gz → 3.0.1186__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.1168 → tencentcloud-sdk-python-cls-3.0.1186}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/cls/v20201016/cls_client.py +3 -3
  5. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/cls/v20201016/models.py +314 -11
  6. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cls-3.0.1186/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cls-3.0.1168/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1168 → tencentcloud-sdk-python-cls-3.0.1186}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1168
3
+ Version: 3.0.1186
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.1168"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1186"],
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.1168'
17
+ __version__ = '3.0.1186'
@@ -1477,7 +1477,7 @@ class ClsClient(AbstractClient):
1477
1477
 
1478
1478
 
1479
1479
  def DescribePartitions(self, request):
1480
- """本接口用于获取主题分区列表。
1480
+ """该接口已废弃,如需获取分区数量,请使用DescribeTopics接口。
1481
1481
 
1482
1482
  :param request: Request instance for DescribePartitions.
1483
1483
  :type request: :class:`tencentcloud.cls.v20201016.models.DescribePartitionsRequest`
@@ -1615,7 +1615,7 @@ class ClsClient(AbstractClient):
1615
1615
 
1616
1616
 
1617
1617
  def MergePartition(self, request):
1618
- """本接口用于合并一个读写态的主题分区,合并时指定一个主题分区 ID,日志服务会自动合并范围右相邻的分区。
1618
+ """该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
1619
1619
 
1620
1620
  :param request: Request instance for MergePartition.
1621
1621
  :type request: :class:`tencentcloud.cls.v20201016.models.MergePartitionRequest`
@@ -2216,7 +2216,7 @@ class ClsClient(AbstractClient):
2216
2216
 
2217
2217
 
2218
2218
  def SplitPartition(self, request):
2219
- """本接口用于分裂主题分区
2219
+ """该接口已废弃,如需修改分区数量,请使用ModifyTopic接口。
2220
2220
 
2221
2221
  :param request: Request instance for SplitPartition.
2222
2222
  :type request: :class:`tencentcloud.cls.v20201016.models.SplitPartitionRequest`
@@ -919,6 +919,15 @@ class AlarmTargetInfo(AbstractModel):
919
919
  :type StartTimeOffset: int
920
920
  :param _EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
921
921
  :type EndTimeOffset: int
922
+ :param _SyntaxRule: 检索语法规则,默认值为0。
923
+ 0:Lucene语法,1:CQL语法。
924
+ 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
925
+ 注意:此字段可能返回 null,表示取不到有效值。
926
+ :type SyntaxRule: int
927
+ :param _BizType: 主题类型。
928
+ 0: 日志主题,1: 指标主题
929
+ 注意:此字段可能返回 null,表示取不到有效值。
930
+ :type BizType: int
922
931
  """
923
932
  self._LogsetId = None
924
933
  self._LogsetName = None
@@ -928,6 +937,8 @@ class AlarmTargetInfo(AbstractModel):
928
937
  self._Number = None
929
938
  self._StartTimeOffset = None
930
939
  self._EndTimeOffset = None
940
+ self._SyntaxRule = None
941
+ self._BizType = None
931
942
 
932
943
  @property
933
944
  def LogsetId(self):
@@ -993,6 +1004,22 @@ class AlarmTargetInfo(AbstractModel):
993
1004
  def EndTimeOffset(self, EndTimeOffset):
994
1005
  self._EndTimeOffset = EndTimeOffset
995
1006
 
1007
+ @property
1008
+ def SyntaxRule(self):
1009
+ return self._SyntaxRule
1010
+
1011
+ @SyntaxRule.setter
1012
+ def SyntaxRule(self, SyntaxRule):
1013
+ self._SyntaxRule = SyntaxRule
1014
+
1015
+ @property
1016
+ def BizType(self):
1017
+ return self._BizType
1018
+
1019
+ @BizType.setter
1020
+ def BizType(self, BizType):
1021
+ self._BizType = BizType
1022
+
996
1023
 
997
1024
  def _deserialize(self, params):
998
1025
  self._LogsetId = params.get("LogsetId")
@@ -1003,6 +1030,8 @@ class AlarmTargetInfo(AbstractModel):
1003
1030
  self._Number = params.get("Number")
1004
1031
  self._StartTimeOffset = params.get("StartTimeOffset")
1005
1032
  self._EndTimeOffset = params.get("EndTimeOffset")
1033
+ self._SyntaxRule = params.get("SyntaxRule")
1034
+ self._BizType = params.get("BizType")
1006
1035
  memeber_set = set(params.keys())
1007
1036
  for name, value in vars(self).items():
1008
1037
  property_name = name[1:]
@@ -1403,6 +1432,56 @@ class AnalysisDimensional(AbstractModel):
1403
1432
 
1404
1433
 
1405
1434
 
1435
+ class AnonymousInfo(AbstractModel):
1436
+ """免鉴权信息
1437
+
1438
+ """
1439
+
1440
+ def __init__(self):
1441
+ r"""
1442
+ :param _Operations: 操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)
1443
+ :type Operations: list of str
1444
+ :param _Conditions: 条件列表
1445
+ :type Conditions: list of ConditionInfo
1446
+ """
1447
+ self._Operations = None
1448
+ self._Conditions = None
1449
+
1450
+ @property
1451
+ def Operations(self):
1452
+ return self._Operations
1453
+
1454
+ @Operations.setter
1455
+ def Operations(self, Operations):
1456
+ self._Operations = Operations
1457
+
1458
+ @property
1459
+ def Conditions(self):
1460
+ return self._Conditions
1461
+
1462
+ @Conditions.setter
1463
+ def Conditions(self, Conditions):
1464
+ self._Conditions = Conditions
1465
+
1466
+
1467
+ def _deserialize(self, params):
1468
+ self._Operations = params.get("Operations")
1469
+ if params.get("Conditions") is not None:
1470
+ self._Conditions = []
1471
+ for item in params.get("Conditions"):
1472
+ obj = ConditionInfo()
1473
+ obj._deserialize(item)
1474
+ self._Conditions.append(obj)
1475
+ memeber_set = set(params.keys())
1476
+ for name, value in vars(self).items():
1477
+ property_name = name[1:]
1478
+ if property_name in memeber_set:
1479
+ memeber_set.remove(property_name)
1480
+ if len(memeber_set) > 0:
1481
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1482
+
1483
+
1484
+
1406
1485
  class ApplyConfigToMachineGroupRequest(AbstractModel):
1407
1486
  """ApplyConfigToMachineGroup请求参数结构体
1408
1487
 
@@ -2091,6 +2170,63 @@ class CompressInfo(AbstractModel):
2091
2170
 
2092
2171
 
2093
2172
 
2173
+ class ConditionInfo(AbstractModel):
2174
+ """免鉴权条件信息
2175
+
2176
+ """
2177
+
2178
+ def __init__(self):
2179
+ r"""
2180
+ :param _Attributes: 条件属性,目前只支持VpcID
2181
+ :type Attributes: str
2182
+ :param _Rule: 条件规则,1:等于,2:不等于
2183
+ :type Rule: int
2184
+ :param _ConditionValue: 对应条件属性的值
2185
+ :type ConditionValue: str
2186
+ """
2187
+ self._Attributes = None
2188
+ self._Rule = None
2189
+ self._ConditionValue = None
2190
+
2191
+ @property
2192
+ def Attributes(self):
2193
+ return self._Attributes
2194
+
2195
+ @Attributes.setter
2196
+ def Attributes(self, Attributes):
2197
+ self._Attributes = Attributes
2198
+
2199
+ @property
2200
+ def Rule(self):
2201
+ return self._Rule
2202
+
2203
+ @Rule.setter
2204
+ def Rule(self, Rule):
2205
+ self._Rule = Rule
2206
+
2207
+ @property
2208
+ def ConditionValue(self):
2209
+ return self._ConditionValue
2210
+
2211
+ @ConditionValue.setter
2212
+ def ConditionValue(self, ConditionValue):
2213
+ self._ConditionValue = ConditionValue
2214
+
2215
+
2216
+ def _deserialize(self, params):
2217
+ self._Attributes = params.get("Attributes")
2218
+ self._Rule = params.get("Rule")
2219
+ self._ConditionValue = params.get("ConditionValue")
2220
+ memeber_set = set(params.keys())
2221
+ for name, value in vars(self).items():
2222
+ property_name = name[1:]
2223
+ if property_name in memeber_set:
2224
+ memeber_set.remove(property_name)
2225
+ if len(memeber_set) > 0:
2226
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2227
+
2228
+
2229
+
2094
2230
  class ConfigExtraInfo(AbstractModel):
2095
2231
  """特殊采集规则配置信息
2096
2232
 
@@ -3545,7 +3681,7 @@ class CreateAlarmRequest(AbstractModel):
3545
3681
  :type AlarmTargets: list of AlarmTarget
3546
3682
  :param _MonitorTime: 监控任务运行时间点。
3547
3683
  :type MonitorTime: :class:`tencentcloud.cls.v20201016.models.MonitorTime`
3548
- :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10
3684
+ :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000
3549
3685
  :type TriggerCount: int
3550
3686
  :param _AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
3551
3687
  :type AlarmPeriod: int
@@ -6375,6 +6511,8 @@ class CreateTopicRequest(AbstractModel):
6375
6511
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
6376
6512
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
6377
6513
  :type IsWebTracking: bool
6514
+ :param _Extends: 日志主题扩展信息
6515
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
6378
6516
  """
6379
6517
  self._LogsetId = None
6380
6518
  self._TopicName = None
@@ -6387,6 +6525,7 @@ class CreateTopicRequest(AbstractModel):
6387
6525
  self._Describes = None
6388
6526
  self._HotPeriod = None
6389
6527
  self._IsWebTracking = None
6528
+ self._Extends = None
6390
6529
 
6391
6530
  @property
6392
6531
  def LogsetId(self):
@@ -6476,6 +6615,14 @@ class CreateTopicRequest(AbstractModel):
6476
6615
  def IsWebTracking(self, IsWebTracking):
6477
6616
  self._IsWebTracking = IsWebTracking
6478
6617
 
6618
+ @property
6619
+ def Extends(self):
6620
+ return self._Extends
6621
+
6622
+ @Extends.setter
6623
+ def Extends(self, Extends):
6624
+ self._Extends = Extends
6625
+
6479
6626
 
6480
6627
  def _deserialize(self, params):
6481
6628
  self._LogsetId = params.get("LogsetId")
@@ -6494,6 +6641,9 @@ class CreateTopicRequest(AbstractModel):
6494
6641
  self._Describes = params.get("Describes")
6495
6642
  self._HotPeriod = params.get("HotPeriod")
6496
6643
  self._IsWebTracking = params.get("IsWebTracking")
6644
+ if params.get("Extends") is not None:
6645
+ self._Extends = TopicExtendInfo()
6646
+ self._Extends._deserialize(params.get("Extends"))
6497
6647
  memeber_set = set(params.keys())
6498
6648
  for name, value in vars(self).items():
6499
6649
  property_name = name[1:]
@@ -11039,8 +11189,44 @@ class DescribeMachinesRequest(AbstractModel):
11039
11189
  r"""
11040
11190
  :param _GroupId: 查询的机器组ID
11041
11191
  :type GroupId: str
11192
+ :param _Filters: ip
11193
+ - 按照【ip】进行过滤。
11194
+ - 类型:String
11195
+ - 必选:否
11196
+
11197
+ instance
11198
+ - 按照【instance】进行过滤。
11199
+ - 类型:String
11200
+ - 必选:否
11201
+
11202
+ version
11203
+ - 按照【LogListener版本】进行过滤。
11204
+ - 类型:String
11205
+ - 必选:否
11206
+
11207
+ status
11208
+ - 按照【状态】进行过滤。
11209
+ - 类型:String
11210
+ - 必选:否
11211
+ - 可选值:0:离线,1:正常
11212
+
11213
+ offlineTime
11214
+ - 按照【机器离线时间】进行过滤。
11215
+ - 类型:String
11216
+ - 必选:否
11217
+ - - 可选值:0:无离线时间,12:12小时内,24:一天内,48:两天内,99:两天前
11218
+
11219
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
11220
+ :type Filters: list of Filter
11221
+ :param _Offset: 分页的偏移量。
11222
+ :type Offset: int
11223
+ :param _Limit: 分页单页限制数目。最大支持100
11224
+ :type Limit: int
11042
11225
  """
11043
11226
  self._GroupId = None
11227
+ self._Filters = None
11228
+ self._Offset = None
11229
+ self._Limit = None
11044
11230
 
11045
11231
  @property
11046
11232
  def GroupId(self):
@@ -11050,9 +11236,41 @@ class DescribeMachinesRequest(AbstractModel):
11050
11236
  def GroupId(self, GroupId):
11051
11237
  self._GroupId = GroupId
11052
11238
 
11239
+ @property
11240
+ def Filters(self):
11241
+ return self._Filters
11242
+
11243
+ @Filters.setter
11244
+ def Filters(self, Filters):
11245
+ self._Filters = Filters
11246
+
11247
+ @property
11248
+ def Offset(self):
11249
+ return self._Offset
11250
+
11251
+ @Offset.setter
11252
+ def Offset(self, Offset):
11253
+ self._Offset = Offset
11254
+
11255
+ @property
11256
+ def Limit(self):
11257
+ return self._Limit
11258
+
11259
+ @Limit.setter
11260
+ def Limit(self, Limit):
11261
+ self._Limit = Limit
11262
+
11053
11263
 
11054
11264
  def _deserialize(self, params):
11055
11265
  self._GroupId = params.get("GroupId")
11266
+ if params.get("Filters") is not None:
11267
+ self._Filters = []
11268
+ for item in params.get("Filters"):
11269
+ obj = Filter()
11270
+ obj._deserialize(item)
11271
+ self._Filters.append(obj)
11272
+ self._Offset = params.get("Offset")
11273
+ self._Limit = params.get("Limit")
11056
11274
  memeber_set = set(params.keys())
11057
11275
  for name, value in vars(self).items():
11058
11276
  property_name = name[1:]
@@ -11082,6 +11300,9 @@ class DescribeMachinesResponse(AbstractModel):
11082
11300
  :type LatestAgentVersion: str
11083
11301
  :param _ServiceLogging: 是否开启服务日志
11084
11302
  :type ServiceLogging: bool
11303
+ :param _TotalCount: 总数目
11304
+ 注意:此字段可能返回 null,表示取不到有效值。
11305
+ :type TotalCount: int
11085
11306
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11086
11307
  :type RequestId: str
11087
11308
  """
@@ -11091,6 +11312,7 @@ class DescribeMachinesResponse(AbstractModel):
11091
11312
  self._UpdateEndTime = None
11092
11313
  self._LatestAgentVersion = None
11093
11314
  self._ServiceLogging = None
11315
+ self._TotalCount = None
11094
11316
  self._RequestId = None
11095
11317
 
11096
11318
  @property
@@ -11141,6 +11363,14 @@ class DescribeMachinesResponse(AbstractModel):
11141
11363
  def ServiceLogging(self, ServiceLogging):
11142
11364
  self._ServiceLogging = ServiceLogging
11143
11365
 
11366
+ @property
11367
+ def TotalCount(self):
11368
+ return self._TotalCount
11369
+
11370
+ @TotalCount.setter
11371
+ def TotalCount(self, TotalCount):
11372
+ self._TotalCount = TotalCount
11373
+
11144
11374
  @property
11145
11375
  def RequestId(self):
11146
11376
  return self._RequestId
@@ -11162,6 +11392,7 @@ class DescribeMachinesResponse(AbstractModel):
11162
11392
  self._UpdateEndTime = params.get("UpdateEndTime")
11163
11393
  self._LatestAgentVersion = params.get("LatestAgentVersion")
11164
11394
  self._ServiceLogging = params.get("ServiceLogging")
11395
+ self._TotalCount = params.get("TotalCount")
11165
11396
  self._RequestId = params.get("RequestId")
11166
11397
 
11167
11398
 
@@ -11618,22 +11849,28 @@ class DescribeTopicsRequest(AbstractModel):
11618
11849
 
11619
11850
  def __init__(self):
11620
11851
  r"""
11621
- :param _Filters: <li> topicName按照【日志主题名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤,默认为模糊匹配,可使用PreciseSearch参数设置为精确匹配。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tagKey使用具体的标签键进行替换,例如tag:exampleKey。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
11852
+ :param _Filters: <ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
11853
+ <li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
11854
+ <li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>
11855
+ <li>logsetId 按照【日志集ID】进行过滤,可通过调用 DescribeLogsets 查询已创建的日志集列表或登录控制台进行查看;也可以调用 CreateLogset 创建新的日志集。类型:String。必选:否</li>
11856
+ <li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>
11857
+ <li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>
11858
+ <li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
11859
+ 注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
11622
11860
  :type Filters: list of Filter
11623
11861
  :param _Offset: 分页的偏移量,默认值为0。
11624
11862
  :type Offset: int
11625
11863
  :param _Limit: 分页单页限制数目,默认值为20,最大值100。
11626
11864
  :type Limit: int
11627
11865
  :param _PreciseSearch: 控制Filters相关字段是否为精确匹配。
11628
- - 0: 默认值,topicName和logsetName模糊匹配
11629
- - 1: topicName精确匹配
11630
- - 2: logsetName精确匹配
11631
- - 3: topicName和logsetName都精确匹配
11866
+ <ul><li>0: 默认值,topicName logsetName 模糊匹配</li>
11867
+ <li>1: topicName 精确匹配</li>
11868
+ <li>2: logsetName精确匹配</li>
11869
+ <li>3: topicName 和logsetName 都精确匹配</li></ul>
11632
11870
  :type PreciseSearch: int
11633
11871
  :param _BizType: 主题类型
11634
- - 0:日志主题,默认值
11635
- - 1:指标主题
11636
-
11872
+ <ul><li>0:日志主题,默认值</li>
11873
+ <li>1:指标主题</li></ul>
11637
11874
  :type BizType: int
11638
11875
  """
11639
11876
  self._Filters = None
@@ -15054,7 +15291,7 @@ class ModifyAlarmRequest(AbstractModel):
15054
15291
  注意:
15055
15292
  - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
15056
15293
  :type MultiConditions: list of MultiCondition
15057
- :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10
15294
+ :param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000
15058
15295
  :type TriggerCount: int
15059
15296
  :param _AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
15060
15297
  :type AlarmPeriod: int
@@ -17528,6 +17765,8 @@ class ModifyTopicRequest(AbstractModel):
17528
17765
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
17529
17766
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
17530
17767
  :type IsWebTracking: bool
17768
+ :param _Extends: 日志主题扩展信息
17769
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
17531
17770
  :param _PartitionCount: 日志主题分区数量
17532
17771
  :type PartitionCount: int
17533
17772
  """
@@ -17541,6 +17780,7 @@ class ModifyTopicRequest(AbstractModel):
17541
17780
  self._Describes = None
17542
17781
  self._HotPeriod = None
17543
17782
  self._IsWebTracking = None
17783
+ self._Extends = None
17544
17784
  self._PartitionCount = None
17545
17785
 
17546
17786
  @property
@@ -17623,6 +17863,14 @@ class ModifyTopicRequest(AbstractModel):
17623
17863
  def IsWebTracking(self, IsWebTracking):
17624
17864
  self._IsWebTracking = IsWebTracking
17625
17865
 
17866
+ @property
17867
+ def Extends(self):
17868
+ return self._Extends
17869
+
17870
+ @Extends.setter
17871
+ def Extends(self, Extends):
17872
+ self._Extends = Extends
17873
+
17626
17874
  @property
17627
17875
  def PartitionCount(self):
17628
17876
  return self._PartitionCount
@@ -17648,6 +17896,9 @@ class ModifyTopicRequest(AbstractModel):
17648
17896
  self._Describes = params.get("Describes")
17649
17897
  self._HotPeriod = params.get("HotPeriod")
17650
17898
  self._IsWebTracking = params.get("IsWebTracking")
17899
+ if params.get("Extends") is not None:
17900
+ self._Extends = TopicExtendInfo()
17901
+ self._Extends._deserialize(params.get("Extends"))
17651
17902
  self._PartitionCount = params.get("PartitionCount")
17652
17903
  memeber_set = set(params.keys())
17653
17904
  for name, value in vars(self).items():
@@ -17691,12 +17942,13 @@ class MonitorTime(AbstractModel):
17691
17942
 
17692
17943
  def __init__(self):
17693
17944
  r"""
17694
- :param _Type: 执行周期, 可选值:PeriodFixed
17945
+ :param _Type: 执行周期, 可选值:`Period`、`Fixed`。
17695
17946
 
17696
17947
  - Period:固定频率
17697
17948
  - Fixed:固定时间
17698
17949
  :type Type: str
17699
17950
  :param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
17951
+ 当type为`Period`,`Fixed`时,time字段生效。
17700
17952
  :type Time: int
17701
17953
  """
17702
17954
  self._Type = None
@@ -20904,6 +21156,42 @@ class Tag(AbstractModel):
20904
21156
 
20905
21157
 
20906
21158
 
21159
+ class TopicExtendInfo(AbstractModel):
21160
+ """日志主题扩展信息
21161
+
21162
+ """
21163
+
21164
+ def __init__(self):
21165
+ r"""
21166
+ :param _AnonymousAccess: 日志主题免鉴权配置信息
21167
+ 注意:此字段可能返回 null,表示取不到有效值。
21168
+ :type AnonymousAccess: :class:`tencentcloud.cls.v20201016.models.AnonymousInfo`
21169
+ """
21170
+ self._AnonymousAccess = None
21171
+
21172
+ @property
21173
+ def AnonymousAccess(self):
21174
+ return self._AnonymousAccess
21175
+
21176
+ @AnonymousAccess.setter
21177
+ def AnonymousAccess(self, AnonymousAccess):
21178
+ self._AnonymousAccess = AnonymousAccess
21179
+
21180
+
21181
+ def _deserialize(self, params):
21182
+ if params.get("AnonymousAccess") is not None:
21183
+ self._AnonymousAccess = AnonymousInfo()
21184
+ self._AnonymousAccess._deserialize(params.get("AnonymousAccess"))
21185
+ memeber_set = set(params.keys())
21186
+ for name, value in vars(self).items():
21187
+ property_name = name[1:]
21188
+ if property_name in memeber_set:
21189
+ memeber_set.remove(property_name)
21190
+ if len(memeber_set) > 0:
21191
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21192
+
21193
+
21194
+
20907
21195
  class TopicIdAndRegion(AbstractModel):
20908
21196
  """仪表盘 topic与地域信息
20909
21197
 
@@ -21033,6 +21321,9 @@ HotPeriod=0为没有开启日志沉降。
21033
21321
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
21034
21322
  注意:此字段可能返回 null,表示取不到有效值。
21035
21323
  :type IsWebTracking: bool
21324
+ :param _Extends: 日志主题扩展信息
21325
+ 注意:此字段可能返回 null,表示取不到有效值。
21326
+ :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
21036
21327
  """
21037
21328
  self._LogsetId = None
21038
21329
  self._TopicId = None
@@ -21052,6 +21343,7 @@ HotPeriod=0为没有开启日志沉降。
21052
21343
  self._HotPeriod = None
21053
21344
  self._BizType = None
21054
21345
  self._IsWebTracking = None
21346
+ self._Extends = None
21055
21347
 
21056
21348
  @property
21057
21349
  def LogsetId(self):
@@ -21197,6 +21489,14 @@ HotPeriod=0为没有开启日志沉降。
21197
21489
  def IsWebTracking(self, IsWebTracking):
21198
21490
  self._IsWebTracking = IsWebTracking
21199
21491
 
21492
+ @property
21493
+ def Extends(self):
21494
+ return self._Extends
21495
+
21496
+ @Extends.setter
21497
+ def Extends(self, Extends):
21498
+ self._Extends = Extends
21499
+
21200
21500
 
21201
21501
  def _deserialize(self, params):
21202
21502
  self._LogsetId = params.get("LogsetId")
@@ -21222,6 +21522,9 @@ HotPeriod=0为没有开启日志沉降。
21222
21522
  self._HotPeriod = params.get("HotPeriod")
21223
21523
  self._BizType = params.get("BizType")
21224
21524
  self._IsWebTracking = params.get("IsWebTracking")
21525
+ if params.get("Extends") is not None:
21526
+ self._Extends = TopicExtendInfo()
21527
+ self._Extends._deserialize(params.get("Extends"))
21225
21528
  memeber_set = set(params.keys())
21226
21529
  for name, value in vars(self).items():
21227
21530
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1168
3
+ Version: 3.0.1186
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.1186
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1168