tencentcloud-sdk-python-cls 3.0.1175__tar.gz → 3.0.1177__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.1175 → tencentcloud-sdk-python-cls-3.0.1177}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/setup.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/cls/v20201016/models.py +190 -3
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cls-3.0.1177/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cls-3.0.1175/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/README.rst +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/cls/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/cls/v20201016/__init__.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/cls/v20201016/cls_client.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cls-3.0.1175 → tencentcloud-sdk-python-cls-3.0.1177}/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.1177"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cls SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1403,6 +1403,56 @@ class AnalysisDimensional(AbstractModel):
|
|
|
1403
1403
|
|
|
1404
1404
|
|
|
1405
1405
|
|
|
1406
|
+
class AnonymousInfo(AbstractModel):
|
|
1407
|
+
"""免鉴权信息
|
|
1408
|
+
|
|
1409
|
+
"""
|
|
1410
|
+
|
|
1411
|
+
def __init__(self):
|
|
1412
|
+
r"""
|
|
1413
|
+
:param _Operations: 操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)
|
|
1414
|
+
:type Operations: list of str
|
|
1415
|
+
:param _Conditions: 条件列表
|
|
1416
|
+
:type Conditions: list of ConditionInfo
|
|
1417
|
+
"""
|
|
1418
|
+
self._Operations = None
|
|
1419
|
+
self._Conditions = None
|
|
1420
|
+
|
|
1421
|
+
@property
|
|
1422
|
+
def Operations(self):
|
|
1423
|
+
return self._Operations
|
|
1424
|
+
|
|
1425
|
+
@Operations.setter
|
|
1426
|
+
def Operations(self, Operations):
|
|
1427
|
+
self._Operations = Operations
|
|
1428
|
+
|
|
1429
|
+
@property
|
|
1430
|
+
def Conditions(self):
|
|
1431
|
+
return self._Conditions
|
|
1432
|
+
|
|
1433
|
+
@Conditions.setter
|
|
1434
|
+
def Conditions(self, Conditions):
|
|
1435
|
+
self._Conditions = Conditions
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
def _deserialize(self, params):
|
|
1439
|
+
self._Operations = params.get("Operations")
|
|
1440
|
+
if params.get("Conditions") is not None:
|
|
1441
|
+
self._Conditions = []
|
|
1442
|
+
for item in params.get("Conditions"):
|
|
1443
|
+
obj = ConditionInfo()
|
|
1444
|
+
obj._deserialize(item)
|
|
1445
|
+
self._Conditions.append(obj)
|
|
1446
|
+
memeber_set = set(params.keys())
|
|
1447
|
+
for name, value in vars(self).items():
|
|
1448
|
+
property_name = name[1:]
|
|
1449
|
+
if property_name in memeber_set:
|
|
1450
|
+
memeber_set.remove(property_name)
|
|
1451
|
+
if len(memeber_set) > 0:
|
|
1452
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
|
|
1406
1456
|
class ApplyConfigToMachineGroupRequest(AbstractModel):
|
|
1407
1457
|
"""ApplyConfigToMachineGroup请求参数结构体
|
|
1408
1458
|
|
|
@@ -2091,6 +2141,63 @@ class CompressInfo(AbstractModel):
|
|
|
2091
2141
|
|
|
2092
2142
|
|
|
2093
2143
|
|
|
2144
|
+
class ConditionInfo(AbstractModel):
|
|
2145
|
+
"""免鉴权条件信息
|
|
2146
|
+
|
|
2147
|
+
"""
|
|
2148
|
+
|
|
2149
|
+
def __init__(self):
|
|
2150
|
+
r"""
|
|
2151
|
+
:param _Attributes: 条件属性,目前只支持VpcID
|
|
2152
|
+
:type Attributes: str
|
|
2153
|
+
:param _Rule: 条件规则,1:等于,2:不等于
|
|
2154
|
+
:type Rule: int
|
|
2155
|
+
:param _ConditionValue: 对应条件属性的值
|
|
2156
|
+
:type ConditionValue: str
|
|
2157
|
+
"""
|
|
2158
|
+
self._Attributes = None
|
|
2159
|
+
self._Rule = None
|
|
2160
|
+
self._ConditionValue = None
|
|
2161
|
+
|
|
2162
|
+
@property
|
|
2163
|
+
def Attributes(self):
|
|
2164
|
+
return self._Attributes
|
|
2165
|
+
|
|
2166
|
+
@Attributes.setter
|
|
2167
|
+
def Attributes(self, Attributes):
|
|
2168
|
+
self._Attributes = Attributes
|
|
2169
|
+
|
|
2170
|
+
@property
|
|
2171
|
+
def Rule(self):
|
|
2172
|
+
return self._Rule
|
|
2173
|
+
|
|
2174
|
+
@Rule.setter
|
|
2175
|
+
def Rule(self, Rule):
|
|
2176
|
+
self._Rule = Rule
|
|
2177
|
+
|
|
2178
|
+
@property
|
|
2179
|
+
def ConditionValue(self):
|
|
2180
|
+
return self._ConditionValue
|
|
2181
|
+
|
|
2182
|
+
@ConditionValue.setter
|
|
2183
|
+
def ConditionValue(self, ConditionValue):
|
|
2184
|
+
self._ConditionValue = ConditionValue
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
def _deserialize(self, params):
|
|
2188
|
+
self._Attributes = params.get("Attributes")
|
|
2189
|
+
self._Rule = params.get("Rule")
|
|
2190
|
+
self._ConditionValue = params.get("ConditionValue")
|
|
2191
|
+
memeber_set = set(params.keys())
|
|
2192
|
+
for name, value in vars(self).items():
|
|
2193
|
+
property_name = name[1:]
|
|
2194
|
+
if property_name in memeber_set:
|
|
2195
|
+
memeber_set.remove(property_name)
|
|
2196
|
+
if len(memeber_set) > 0:
|
|
2197
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
|
|
2094
2201
|
class ConfigExtraInfo(AbstractModel):
|
|
2095
2202
|
"""特殊采集规则配置信息
|
|
2096
2203
|
|
|
@@ -3545,7 +3652,7 @@ class CreateAlarmRequest(AbstractModel):
|
|
|
3545
3652
|
:type AlarmTargets: list of AlarmTarget
|
|
3546
3653
|
:param _MonitorTime: 监控任务运行时间点。
|
|
3547
3654
|
:type MonitorTime: :class:`tencentcloud.cls.v20201016.models.MonitorTime`
|
|
3548
|
-
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为
|
|
3655
|
+
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。
|
|
3549
3656
|
:type TriggerCount: int
|
|
3550
3657
|
:param _AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
|
|
3551
3658
|
:type AlarmPeriod: int
|
|
@@ -6375,6 +6482,8 @@ class CreateTopicRequest(AbstractModel):
|
|
|
6375
6482
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
|
|
6376
6483
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
6377
6484
|
:type IsWebTracking: bool
|
|
6485
|
+
:param _Extends: 日志主题扩展信息
|
|
6486
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
6378
6487
|
"""
|
|
6379
6488
|
self._LogsetId = None
|
|
6380
6489
|
self._TopicName = None
|
|
@@ -6387,6 +6496,7 @@ class CreateTopicRequest(AbstractModel):
|
|
|
6387
6496
|
self._Describes = None
|
|
6388
6497
|
self._HotPeriod = None
|
|
6389
6498
|
self._IsWebTracking = None
|
|
6499
|
+
self._Extends = None
|
|
6390
6500
|
|
|
6391
6501
|
@property
|
|
6392
6502
|
def LogsetId(self):
|
|
@@ -6476,6 +6586,14 @@ class CreateTopicRequest(AbstractModel):
|
|
|
6476
6586
|
def IsWebTracking(self, IsWebTracking):
|
|
6477
6587
|
self._IsWebTracking = IsWebTracking
|
|
6478
6588
|
|
|
6589
|
+
@property
|
|
6590
|
+
def Extends(self):
|
|
6591
|
+
return self._Extends
|
|
6592
|
+
|
|
6593
|
+
@Extends.setter
|
|
6594
|
+
def Extends(self, Extends):
|
|
6595
|
+
self._Extends = Extends
|
|
6596
|
+
|
|
6479
6597
|
|
|
6480
6598
|
def _deserialize(self, params):
|
|
6481
6599
|
self._LogsetId = params.get("LogsetId")
|
|
@@ -6494,6 +6612,9 @@ class CreateTopicRequest(AbstractModel):
|
|
|
6494
6612
|
self._Describes = params.get("Describes")
|
|
6495
6613
|
self._HotPeriod = params.get("HotPeriod")
|
|
6496
6614
|
self._IsWebTracking = params.get("IsWebTracking")
|
|
6615
|
+
if params.get("Extends") is not None:
|
|
6616
|
+
self._Extends = TopicExtendInfo()
|
|
6617
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
6497
6618
|
memeber_set = set(params.keys())
|
|
6498
6619
|
for name, value in vars(self).items():
|
|
6499
6620
|
property_name = name[1:]
|
|
@@ -15060,7 +15181,7 @@ class ModifyAlarmRequest(AbstractModel):
|
|
|
15060
15181
|
注意:
|
|
15061
15182
|
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
15062
15183
|
:type MultiConditions: list of MultiCondition
|
|
15063
|
-
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为
|
|
15184
|
+
:param _TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。
|
|
15064
15185
|
:type TriggerCount: int
|
|
15065
15186
|
:param _AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
|
|
15066
15187
|
:type AlarmPeriod: int
|
|
@@ -17534,6 +17655,8 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17534
17655
|
:param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
|
|
17535
17656
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
17536
17657
|
:type IsWebTracking: bool
|
|
17658
|
+
:param _Extends: 日志主题扩展信息
|
|
17659
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
17537
17660
|
:param _PartitionCount: 日志主题分区数量
|
|
17538
17661
|
:type PartitionCount: int
|
|
17539
17662
|
"""
|
|
@@ -17547,6 +17670,7 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17547
17670
|
self._Describes = None
|
|
17548
17671
|
self._HotPeriod = None
|
|
17549
17672
|
self._IsWebTracking = None
|
|
17673
|
+
self._Extends = None
|
|
17550
17674
|
self._PartitionCount = None
|
|
17551
17675
|
|
|
17552
17676
|
@property
|
|
@@ -17629,6 +17753,14 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17629
17753
|
def IsWebTracking(self, IsWebTracking):
|
|
17630
17754
|
self._IsWebTracking = IsWebTracking
|
|
17631
17755
|
|
|
17756
|
+
@property
|
|
17757
|
+
def Extends(self):
|
|
17758
|
+
return self._Extends
|
|
17759
|
+
|
|
17760
|
+
@Extends.setter
|
|
17761
|
+
def Extends(self, Extends):
|
|
17762
|
+
self._Extends = Extends
|
|
17763
|
+
|
|
17632
17764
|
@property
|
|
17633
17765
|
def PartitionCount(self):
|
|
17634
17766
|
return self._PartitionCount
|
|
@@ -17654,6 +17786,9 @@ class ModifyTopicRequest(AbstractModel):
|
|
|
17654
17786
|
self._Describes = params.get("Describes")
|
|
17655
17787
|
self._HotPeriod = params.get("HotPeriod")
|
|
17656
17788
|
self._IsWebTracking = params.get("IsWebTracking")
|
|
17789
|
+
if params.get("Extends") is not None:
|
|
17790
|
+
self._Extends = TopicExtendInfo()
|
|
17791
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
17657
17792
|
self._PartitionCount = params.get("PartitionCount")
|
|
17658
17793
|
memeber_set = set(params.keys())
|
|
17659
17794
|
for name, value in vars(self).items():
|
|
@@ -17697,12 +17832,13 @@ class MonitorTime(AbstractModel):
|
|
|
17697
17832
|
|
|
17698
17833
|
def __init__(self):
|
|
17699
17834
|
r"""
|
|
17700
|
-
:param _Type: 执行周期,
|
|
17835
|
+
:param _Type: 执行周期, 可选值:`Period`、`Fixed`。
|
|
17701
17836
|
|
|
17702
17837
|
- Period:固定频率
|
|
17703
17838
|
- Fixed:固定时间
|
|
17704
17839
|
:type Type: str
|
|
17705
17840
|
:param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
|
|
17841
|
+
当type为`Period`,`Fixed`时,time字段生效。
|
|
17706
17842
|
:type Time: int
|
|
17707
17843
|
"""
|
|
17708
17844
|
self._Type = None
|
|
@@ -20910,6 +21046,42 @@ class Tag(AbstractModel):
|
|
|
20910
21046
|
|
|
20911
21047
|
|
|
20912
21048
|
|
|
21049
|
+
class TopicExtendInfo(AbstractModel):
|
|
21050
|
+
"""日志主题扩展信息
|
|
21051
|
+
|
|
21052
|
+
"""
|
|
21053
|
+
|
|
21054
|
+
def __init__(self):
|
|
21055
|
+
r"""
|
|
21056
|
+
:param _AnonymousAccess: 日志主题免鉴权配置信息
|
|
21057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21058
|
+
:type AnonymousAccess: :class:`tencentcloud.cls.v20201016.models.AnonymousInfo`
|
|
21059
|
+
"""
|
|
21060
|
+
self._AnonymousAccess = None
|
|
21061
|
+
|
|
21062
|
+
@property
|
|
21063
|
+
def AnonymousAccess(self):
|
|
21064
|
+
return self._AnonymousAccess
|
|
21065
|
+
|
|
21066
|
+
@AnonymousAccess.setter
|
|
21067
|
+
def AnonymousAccess(self, AnonymousAccess):
|
|
21068
|
+
self._AnonymousAccess = AnonymousAccess
|
|
21069
|
+
|
|
21070
|
+
|
|
21071
|
+
def _deserialize(self, params):
|
|
21072
|
+
if params.get("AnonymousAccess") is not None:
|
|
21073
|
+
self._AnonymousAccess = AnonymousInfo()
|
|
21074
|
+
self._AnonymousAccess._deserialize(params.get("AnonymousAccess"))
|
|
21075
|
+
memeber_set = set(params.keys())
|
|
21076
|
+
for name, value in vars(self).items():
|
|
21077
|
+
property_name = name[1:]
|
|
21078
|
+
if property_name in memeber_set:
|
|
21079
|
+
memeber_set.remove(property_name)
|
|
21080
|
+
if len(memeber_set) > 0:
|
|
21081
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21082
|
+
|
|
21083
|
+
|
|
21084
|
+
|
|
20913
21085
|
class TopicIdAndRegion(AbstractModel):
|
|
20914
21086
|
"""仪表盘 topic与地域信息
|
|
20915
21087
|
|
|
@@ -21039,6 +21211,9 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21039
21211
|
开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
|
|
21040
21212
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
21041
21213
|
:type IsWebTracking: bool
|
|
21214
|
+
:param _Extends: 日志主题扩展信息
|
|
21215
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21216
|
+
:type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
|
|
21042
21217
|
"""
|
|
21043
21218
|
self._LogsetId = None
|
|
21044
21219
|
self._TopicId = None
|
|
@@ -21058,6 +21233,7 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21058
21233
|
self._HotPeriod = None
|
|
21059
21234
|
self._BizType = None
|
|
21060
21235
|
self._IsWebTracking = None
|
|
21236
|
+
self._Extends = None
|
|
21061
21237
|
|
|
21062
21238
|
@property
|
|
21063
21239
|
def LogsetId(self):
|
|
@@ -21203,6 +21379,14 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21203
21379
|
def IsWebTracking(self, IsWebTracking):
|
|
21204
21380
|
self._IsWebTracking = IsWebTracking
|
|
21205
21381
|
|
|
21382
|
+
@property
|
|
21383
|
+
def Extends(self):
|
|
21384
|
+
return self._Extends
|
|
21385
|
+
|
|
21386
|
+
@Extends.setter
|
|
21387
|
+
def Extends(self, Extends):
|
|
21388
|
+
self._Extends = Extends
|
|
21389
|
+
|
|
21206
21390
|
|
|
21207
21391
|
def _deserialize(self, params):
|
|
21208
21392
|
self._LogsetId = params.get("LogsetId")
|
|
@@ -21228,6 +21412,9 @@ HotPeriod=0为没有开启日志沉降。
|
|
|
21228
21412
|
self._HotPeriod = params.get("HotPeriod")
|
|
21229
21413
|
self._BizType = params.get("BizType")
|
|
21230
21414
|
self._IsWebTracking = params.get("IsWebTracking")
|
|
21415
|
+
if params.get("Extends") is not None:
|
|
21416
|
+
self._Extends = TopicExtendInfo()
|
|
21417
|
+
self._Extends._deserialize(params.get("Extends"))
|
|
21231
21418
|
memeber_set = set(params.keys())
|
|
21232
21419
|
for name, value in vars(self).items():
|
|
21233
21420
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1177
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1175
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|