tencentcloud-sdk-python-cls 3.0.1251__tar.gz → 3.0.1252__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.1251 → tencentcloud-sdk-python-cls-3.0.1252}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/cls/v20201016/cls_client.py +2 -1
  5. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/cls/v20201016/models.py +81 -3
  6. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cls-3.0.1252/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cls-3.0.1251/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/cls/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/cls/v20201016/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud/cls/v20201016/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1251 → tencentcloud-sdk-python-cls-3.0.1252}/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.1251
3
+ Version: 3.0.1252
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.1251"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1252"],
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.1251'
17
+ __version__ = '3.0.1252'
@@ -2259,7 +2259,8 @@ class ClsClient(AbstractClient):
2259
2259
 
2260
2260
 
2261
2261
  def QueryMetric(self, request):
2262
- """查询指定时刻指标的最新值
2262
+ """查询指定时刻指标的最新值。
2263
+ 如果该时刻向前推5分钟内均无指标数据,则无相应的查询结果。
2263
2264
 
2264
2265
  :param request: Request instance for QueryMetric.
2265
2266
  :type request: :class:`tencentcloud.cls.v20201016.models.QueryMetricRequest`
@@ -18994,6 +18994,8 @@ class ModifyTopicRequest(AbstractModel):
18994
18994
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
18995
18995
  :param _PartitionCount: 日志主题分区数量
18996
18996
  :type PartitionCount: int
18997
+ :param _CancelTopicAsyncTaskID: 取消切换存储任务的id
18998
+ :type CancelTopicAsyncTaskID: str
18997
18999
  """
18998
19000
  self._TopicId = None
18999
19001
  self._TopicName = None
@@ -19007,6 +19009,7 @@ class ModifyTopicRequest(AbstractModel):
19007
19009
  self._IsWebTracking = None
19008
19010
  self._Extends = None
19009
19011
  self._PartitionCount = None
19012
+ self._CancelTopicAsyncTaskID = None
19010
19013
 
19011
19014
  @property
19012
19015
  def TopicId(self):
@@ -19104,6 +19107,14 @@ class ModifyTopicRequest(AbstractModel):
19104
19107
  def PartitionCount(self, PartitionCount):
19105
19108
  self._PartitionCount = PartitionCount
19106
19109
 
19110
+ @property
19111
+ def CancelTopicAsyncTaskID(self):
19112
+ return self._CancelTopicAsyncTaskID
19113
+
19114
+ @CancelTopicAsyncTaskID.setter
19115
+ def CancelTopicAsyncTaskID(self, CancelTopicAsyncTaskID):
19116
+ self._CancelTopicAsyncTaskID = CancelTopicAsyncTaskID
19117
+
19107
19118
 
19108
19119
  def _deserialize(self, params):
19109
19120
  self._TopicId = params.get("TopicId")
@@ -19125,6 +19136,7 @@ class ModifyTopicRequest(AbstractModel):
19125
19136
  self._Extends = TopicExtendInfo()
19126
19137
  self._Extends._deserialize(params.get("Extends"))
19127
19138
  self._PartitionCount = params.get("PartitionCount")
19139
+ self._CancelTopicAsyncTaskID = params.get("CancelTopicAsyncTaskID")
19128
19140
  memeber_set = set(params.keys())
19129
19141
  for name, value in vars(self).items():
19130
19142
  property_name = name[1:]
@@ -20435,7 +20447,8 @@ class QueryMetricRequest(AbstractModel):
20435
20447
  :type Query: str
20436
20448
  :param _TopicId: 指标主题ID
20437
20449
  :type TopicId: str
20438
- :param _Time: 查询时间,秒级Unix时间戳
20450
+ :param _Time: 查询时间,秒级Unix时间戳。为空时代表当前时间戳。
20451
+
20439
20452
  :type Time: int
20440
20453
  """
20441
20454
  self._Query = None
@@ -22872,6 +22885,15 @@ HotPeriod=0为没有开启日志沉降。
22872
22885
  :param _Extends: 日志主题扩展信息
22873
22886
  注意:此字段可能返回 null,表示取不到有效值。
22874
22887
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
22888
+ :param _TopicAsyncTaskID: 异步迁移任务ID
22889
+ 注意:此字段可能返回 null,表示取不到有效值。
22890
+ :type TopicAsyncTaskID: str
22891
+ :param _MigrationStatus: 异步迁移状态
22892
+ 注意:此字段可能返回 null,表示取不到有效值。
22893
+ :type MigrationStatus: int
22894
+ :param _EffectiveDate: 异步迁移完成后,预计生效日期
22895
+ 注意:此字段可能返回 null,表示取不到有效值。
22896
+ :type EffectiveDate: str
22875
22897
  """
22876
22898
  self._LogsetId = None
22877
22899
  self._TopicId = None
@@ -22892,6 +22914,9 @@ HotPeriod=0为没有开启日志沉降。
22892
22914
  self._BizType = None
22893
22915
  self._IsWebTracking = None
22894
22916
  self._Extends = None
22917
+ self._TopicAsyncTaskID = None
22918
+ self._MigrationStatus = None
22919
+ self._EffectiveDate = None
22895
22920
 
22896
22921
  @property
22897
22922
  def LogsetId(self):
@@ -23045,6 +23070,30 @@ HotPeriod=0为没有开启日志沉降。
23045
23070
  def Extends(self, Extends):
23046
23071
  self._Extends = Extends
23047
23072
 
23073
+ @property
23074
+ def TopicAsyncTaskID(self):
23075
+ return self._TopicAsyncTaskID
23076
+
23077
+ @TopicAsyncTaskID.setter
23078
+ def TopicAsyncTaskID(self, TopicAsyncTaskID):
23079
+ self._TopicAsyncTaskID = TopicAsyncTaskID
23080
+
23081
+ @property
23082
+ def MigrationStatus(self):
23083
+ return self._MigrationStatus
23084
+
23085
+ @MigrationStatus.setter
23086
+ def MigrationStatus(self, MigrationStatus):
23087
+ self._MigrationStatus = MigrationStatus
23088
+
23089
+ @property
23090
+ def EffectiveDate(self):
23091
+ return self._EffectiveDate
23092
+
23093
+ @EffectiveDate.setter
23094
+ def EffectiveDate(self, EffectiveDate):
23095
+ self._EffectiveDate = EffectiveDate
23096
+
23048
23097
 
23049
23098
  def _deserialize(self, params):
23050
23099
  self._LogsetId = params.get("LogsetId")
@@ -23073,6 +23122,9 @@ HotPeriod=0为没有开启日志沉降。
23073
23122
  if params.get("Extends") is not None:
23074
23123
  self._Extends = TopicExtendInfo()
23075
23124
  self._Extends._deserialize(params.get("Extends"))
23125
+ self._TopicAsyncTaskID = params.get("TopicAsyncTaskID")
23126
+ self._MigrationStatus = params.get("MigrationStatus")
23127
+ self._EffectiveDate = params.get("EffectiveDate")
23076
23128
  memeber_set = set(params.keys())
23077
23129
  for name, value in vars(self).items():
23078
23130
  property_name = name[1:]
@@ -23266,17 +23318,23 @@ class WebCallback(AbstractModel):
23266
23318
  注意:此字段可能返回 null,表示取不到有效值。
23267
23319
  :type Method: str
23268
23320
  :param _Headers: 请求头。
23269
- 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求头。
23321
+ 注意:该参数已废弃,请使用NoticeContentId。
23270
23322
  注意:此字段可能返回 null,表示取不到有效值。
23271
23323
  :type Headers: list of str
23272
23324
  :param _Body: 请求内容。
23273
- 注意:该参数已废弃,请在<a href="https://cloud.tencent.com/document/product/614/56466">创建告警策略</a>接口CallBack参数中指定请求内容。
23325
+ 注意:该参数已废弃,请使用NoticeContentId。
23274
23326
  注意:此字段可能返回 null,表示取不到有效值。
23275
23327
  :type Body: str
23276
23328
  :param _Index: 序号。
23277
23329
  - 入参无效。
23278
23330
  - 出参有效。
23279
23331
  :type Index: int
23332
+ :param _NoticeContentId: 通知内容模板ID。
23333
+ 注意:此字段可能返回 null,表示取不到有效值。
23334
+ :type NoticeContentId: str
23335
+ :param _WebCallbackId: 集成配置ID。
23336
+ 注意:此字段可能返回 null,表示取不到有效值。
23337
+ :type WebCallbackId: str
23280
23338
  """
23281
23339
  self._Url = None
23282
23340
  self._CallbackType = None
@@ -23284,6 +23342,8 @@ class WebCallback(AbstractModel):
23284
23342
  self._Headers = None
23285
23343
  self._Body = None
23286
23344
  self._Index = None
23345
+ self._NoticeContentId = None
23346
+ self._WebCallbackId = None
23287
23347
 
23288
23348
  @property
23289
23349
  def Url(self):
@@ -23333,6 +23393,22 @@ class WebCallback(AbstractModel):
23333
23393
  def Index(self, Index):
23334
23394
  self._Index = Index
23335
23395
 
23396
+ @property
23397
+ def NoticeContentId(self):
23398
+ return self._NoticeContentId
23399
+
23400
+ @NoticeContentId.setter
23401
+ def NoticeContentId(self, NoticeContentId):
23402
+ self._NoticeContentId = NoticeContentId
23403
+
23404
+ @property
23405
+ def WebCallbackId(self):
23406
+ return self._WebCallbackId
23407
+
23408
+ @WebCallbackId.setter
23409
+ def WebCallbackId(self, WebCallbackId):
23410
+ self._WebCallbackId = WebCallbackId
23411
+
23336
23412
 
23337
23413
  def _deserialize(self, params):
23338
23414
  self._Url = params.get("Url")
@@ -23341,6 +23417,8 @@ class WebCallback(AbstractModel):
23341
23417
  self._Headers = params.get("Headers")
23342
23418
  self._Body = params.get("Body")
23343
23419
  self._Index = params.get("Index")
23420
+ self._NoticeContentId = params.get("NoticeContentId")
23421
+ self._WebCallbackId = params.get("WebCallbackId")
23344
23422
  memeber_set = set(params.keys())
23345
23423
  for name, value in vars(self).items():
23346
23424
  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.1251
3
+ Version: 3.0.1252
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.1252
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1251