tencentcloud-sdk-python-cls 3.0.1166__tar.gz → 3.0.1179__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.1166 → tencentcloud-sdk-python-cls-3.0.1179}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/cls_client.py +3 -3
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/models.py +245 -11
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1179/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1166/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1166 → tencentcloud-sdk-python-cls-3.0.1179}/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.1179"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -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
|
-
"""
|
|
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,最大值为
|
|
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:]
|
|
@@ -11618,22 +11768,28 @@ class DescribeTopicsRequest(AbstractModel):
|
|
|
11618
11768
|
|
|
11619
11769
|
def __init__(self):
|
|
11620
11770
|
r"""
|
|
11621
|
-
:param _Filters: <li>
|
|
11771
|
+
:param _Filters: <ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
|
|
11772
|
+
<li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
|
|
11773
|
+
<li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>
|
|
11774
|
+
<li>logsetId 按照【日志集ID】进行过滤,可通过调用 DescribeLogsets 查询已创建的日志集列表或登录控制台进行查看;也可以调用 CreateLogset 创建新的日志集。类型:String。必选:否</li>
|
|
11775
|
+
<li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>
|
|
11776
|
+
<li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>
|
|
11777
|
+
<li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
|
|
11778
|
+
注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
|
|
11622
11779
|
:type Filters: list of Filter
|
|
11623
11780
|
:param _Offset: 分页的偏移量,默认值为0。
|
|
11624
11781
|
:type Offset: int
|
|
11625
11782
|
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
|
11626
11783
|
:type Limit: int
|
|
11627
11784
|
:param _PreciseSearch: 控制Filters相关字段是否为精确匹配。
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11785
|
+
<ul><li>0: 默认值,topicName 和 logsetName 模糊匹配</li>
|
|
11786
|
+
<li>1: topicName 精确匹配</li>
|
|
11787
|
+
<li>2: logsetName精确匹配</li>
|
|
11788
|
+
<li>3: topicName 和logsetName 都精确匹配</li></ul>
|
|
11632
11789
|
:type PreciseSearch: int
|
|
11633
11790
|
:param _BizType: 主题类型
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11791
|
+
<ul><li>0:日志主题,默认值</li>
|
|
11792
|
+
<li>1:指标主题</li></ul>
|
|
11637
11793
|
:type BizType: int
|
|
11638
11794
|
"""
|
|
11639
11795
|
self._Filters = None
|
|
@@ -15054,7 +15210,7 @@ class ModifyAlarmRequest(AbstractModel):
|
|
|
15054
15210
|
注意:
|
|
15055
15211
|
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
15056
15212
|
:type MultiConditions: list of MultiCondition
|
|
15057
|
-
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为
|
|
15213
|
+
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。
|
|
15058
15214
|
:type TriggerCount: int
|
|
15059
15215
|
:param _AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
|
|
15060
15216
|
:type AlarmPeriod: int
|
|
@@ -17528,6 +17684,10 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17528
17684
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
|
|
17529
17685
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
17530
17686
|
:type IsWebTracking: bool
|
|
17687
|
+
:param _Extends: 日志主题扩展信息
|
|
17688
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
17689
|
+
:param _PartitionCount: 日志主题分区数量
|
|
17690
|
+
:type PartitionCount: int
|
|
17531
17691
|
"""
|
|
17532
17692
|
self._TopicId = None
|
|
17533
17693
|
self._TopicName = None
|
|
@@ -17539,6 +17699,8 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17539
17699
|
self._Describes = None
|
|
17540
17700
|
self._HotPeriod = None
|
|
17541
17701
|
self._IsWebTracking = None
|
|
17702
|
+
self._Extends = None
|
|
17703
|
+
self._PartitionCount = None
|
|
17542
17704
|
|
|
17543
17705
|
@property
|
|
17544
17706
|
def TopicId(self):
|
|
@@ -17620,6 +17782,22 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17620
17782
|
def IsWebTracking(self, IsWebTracking):
|
|
17621
17783
|
self._IsWebTracking = IsWebTracking
|
|
17622
17784
|
|
|
17785
|
+
@property
|
|
17786
|
+
def Extends(self):
|
|
17787
|
+
return self._Extends
|
|
17788
|
+
|
|
17789
|
+
@Extends.setter
|
|
17790
|
+
def Extends(self, Extends):
|
|
17791
|
+
self._Extends = Extends
|
|
17792
|
+
|
|
17793
|
+
@property
|
|
17794
|
+
def PartitionCount(self):
|
|
17795
|
+
return self._PartitionCount
|
|
17796
|
+
|
|
17797
|
+
@PartitionCount.setter
|
|
17798
|
+
def PartitionCount(self, PartitionCount):
|
|
17799
|
+
self._PartitionCount = PartitionCount
|
|
17800
|
+
|
|
17623
17801
|
|
|
17624
17802
|
def _deserialize(self, params):
|
|
17625
17803
|
self._TopicId = params.get("TopicId")
|
|
@@ -17637,6 +17815,10 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17637
17815
|
self._Describes = params.get("Describes")
|
|
17638
17816
|
self._HotPeriod = params.get("HotPeriod")
|
|
17639
17817
|
self._IsWebTracking = params.get("IsWebTracking")
|
|
17818
|
+
if params.get("Extends") is not None:
|
|
17819
|
+
self._Extends = TopicExtendInfo()
|
|
17820
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
17821
|
+
self._PartitionCount = params.get("PartitionCount")
|
|
17640
17822
|
memeber_set = set(params.keys())
|
|
17641
17823
|
for name, value in vars(self).items():
|
|
17642
17824
|
property_name = name[1:]
|
|
@@ -17679,12 +17861,13 @@ class MonitorTime(AbstractModel):
|
|
|
17679
17861
|
|
|
17680
17862
|
def __init__(self):
|
|
17681
17863
|
r"""
|
|
17682
|
-
:param _Type: 执行周期,
|
|
17864
|
+
:param _Type: 执行周期, 可选值:`Period`、`Fixed`。
|
|
17683
17865
|
|
|
17684
17866
|
- Period:固定频率
|
|
17685
17867
|
- Fixed:固定时间
|
|
17686
17868
|
:type Type: str
|
|
17687
17869
|
:param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
|
|
17870
|
+
当type为`Period`,`Fixed`时,time字段生效。
|
|
17688
17871
|
:type Time: int
|
|
17689
17872
|
"""
|
|
17690
17873
|
self._Type = None
|
|
@@ -20892,6 +21075,42 @@ class Tag(AbstractModel):
|
|
|
20892
21075
|
|
|
20893
21076
|
|
|
20894
21077
|
|
|
21078
|
+
class TopicExtendInfo(AbstractModel):
|
|
21079
|
+
"""日志主题扩展信息
|
|
21080
|
+
|
|
21081
|
+
"""
|
|
21082
|
+
|
|
21083
|
+
def __init__(self):
|
|
21084
|
+
r"""
|
|
21085
|
+
:param _AnonymousAccess: 日志主题免鉴权配置信息
|
|
21086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21087
|
+
:type AnonymousAccess: :class:`tencentcloud.cls.v20201016.models.AnonymousInfo`
|
|
21088
|
+
"""
|
|
21089
|
+
self._AnonymousAccess = None
|
|
21090
|
+
|
|
21091
|
+
@property
|
|
21092
|
+
def AnonymousAccess(self):
|
|
21093
|
+
return self._AnonymousAccess
|
|
21094
|
+
|
|
21095
|
+
@AnonymousAccess.setter
|
|
21096
|
+
def AnonymousAccess(self, AnonymousAccess):
|
|
21097
|
+
self._AnonymousAccess = AnonymousAccess
|
|
21098
|
+
|
|
21099
|
+
|
|
21100
|
+
def _deserialize(self, params):
|
|
21101
|
+
if params.get("AnonymousAccess") is not None:
|
|
21102
|
+
self._AnonymousAccess = AnonymousInfo()
|
|
21103
|
+
self._AnonymousAccess._deserialize(params.get("AnonymousAccess"))
|
|
21104
|
+
memeber_set = set(params.keys())
|
|
21105
|
+
for name, value in vars(self).items():
|
|
21106
|
+
property_name = name[1:]
|
|
21107
|
+
if property_name in memeber_set:
|
|
21108
|
+
memeber_set.remove(property_name)
|
|
21109
|
+
if len(memeber_set) > 0:
|
|
21110
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21111
|
+
|
|
21112
|
+
|
|
21113
|
+
|
|
20895
21114
|
class TopicIdAndRegion(AbstractModel):
|
|
20896
21115
|
"""仪表盘 topic与地域信息
|
|
20897
21116
|
|
|
@@ -21021,6 +21240,9 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21021
21240
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
21022
21241
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21023
21242
|
:type IsWebTracking: bool
|
|
21243
|
+
:param _Extends: 日志主题扩展信息
|
|
21244
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21245
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
21024
21246
|
"""
|
|
21025
21247
|
self._LogsetId = None
|
|
21026
21248
|
self._TopicId = None
|
|
@@ -21040,6 +21262,7 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21040
21262
|
self._HotPeriod = None
|
|
21041
21263
|
self._BizType = None
|
|
21042
21264
|
self._IsWebTracking = None
|
|
21265
|
+
self._Extends = None
|
|
21043
21266
|
|
|
21044
21267
|
@property
|
|
21045
21268
|
def LogsetId(self):
|
|
@@ -21185,6 +21408,14 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21185
21408
|
def IsWebTracking(self, IsWebTracking):
|
|
21186
21409
|
self._IsWebTracking = IsWebTracking
|
|
21187
21410
|
|
|
21411
|
+
@property
|
|
21412
|
+
def Extends(self):
|
|
21413
|
+
return self._Extends
|
|
21414
|
+
|
|
21415
|
+
@Extends.setter
|
|
21416
|
+
def Extends(self, Extends):
|
|
21417
|
+
self._Extends = Extends
|
|
21418
|
+
|
|
21188
21419
|
|
|
21189
21420
|
def _deserialize(self, params):
|
|
21190
21421
|
self._LogsetId = params.get("LogsetId")
|
|
@@ -21210,6 +21441,9 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21210
21441
|
self._HotPeriod = params.get("HotPeriod")
|
|
21211
21442
|
self._BizType = params.get("BizType")
|
|
21212
21443
|
self._IsWebTracking = params.get("IsWebTracking")
|
|
21444
|
+
if params.get("Extends") is not None:
|
|
21445
|
+
self._Extends = TopicExtendInfo()
|
|
21446
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
21213
21447
|
memeber_set = set(params.keys())
|
|
21214
21448
|
for name, value in vars(self).items():
|
|
21215
21449
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1179
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1166
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|