tencentcloud-sdk-python-cls 3.0.1467__tar.gz → 3.0.1484__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 (18) hide show
  1. tencentcloud_sdk_python_cls-3.0.1484/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/cls/v20201016/cls_client.py +4 -4
  5. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/cls/v20201016/errorcodes.py +9 -0
  6. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/cls/v20201016/models.py +105 -69
  7. tencentcloud_sdk_python_cls-3.0.1484/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +46 -0
  8. tencentcloud_sdk_python_cls-3.0.1484/tencentcloud_sdk_python_cls.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-cls-3.0.1467/PKG-INFO +0 -45
  10. tencentcloud-sdk-python-cls-3.0.1467/tencentcloud_sdk_python_cls.egg-info/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-cls-3.0.1467/tencentcloud_sdk_python_cls.egg-info/requires.txt +0 -1
  12. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/README.rst +0 -0
  13. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/setup.cfg +0 -0
  14. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/cls/__init__.py +0 -0
  15. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud/cls/v20201016/__init__.py +0 -0
  16. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud_sdk_python_cls.egg-info/SOURCES.txt +0 -0
  17. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud_sdk_python_cls.egg-info/dependency_links.txt +0 -0
  18. {tencentcloud-sdk-python-cls-3.0.1467 → tencentcloud_sdk_python_cls-3.0.1484}/tencentcloud_sdk_python_cls.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cls
3
+ Version: 3.0.1484
4
+ Summary: Tencent Cloud Cls SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Cls SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-cls
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common cls
46
+
@@ -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.1467,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1484,<4.0.0"],
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.1467'
17
+ __version__ = '3.0.1484'
@@ -609,7 +609,7 @@ class ClsClient(AbstractClient):
609
609
 
610
610
 
611
611
  def CreateTopic(self, request):
612
- r"""本接口用于创建日志主题。
612
+ r"""本接口用于创建日志或指标主题。
613
613
 
614
614
  :param request: Request instance for CreateTopic.
615
615
  :type request: :class:`tencentcloud.cls.v20201016.models.CreateTopicRequest`
@@ -1138,7 +1138,7 @@ class ClsClient(AbstractClient):
1138
1138
 
1139
1139
 
1140
1140
  def DeleteTopic(self, request):
1141
- r"""本接口用于删除日志主题。
1141
+ r"""本接口用于删除日志或指标主题。
1142
1142
 
1143
1143
  :param request: Request instance for DeleteTopic.
1144
1144
  :type request: :class:`tencentcloud.cls.v20201016.models.DeleteTopicRequest`
@@ -1898,7 +1898,7 @@ class ClsClient(AbstractClient):
1898
1898
 
1899
1899
 
1900
1900
  def DescribeTopics(self, request):
1901
- r"""本接口用于获取日志主题列表,支持分页
1901
+ r"""本接口用于获取日志或指标主题列表,支持分页
1902
1902
 
1903
1903
  :param request: Request instance for DescribeTopics.
1904
1904
  :type request: :class:`tencentcloud.cls.v20201016.models.DescribeTopicsRequest`
@@ -2451,7 +2451,7 @@ class ClsClient(AbstractClient):
2451
2451
 
2452
2452
 
2453
2453
  def ModifyTopic(self, request):
2454
- r"""本接口用于修改日志主题。
2454
+ r"""本接口用于修改日志或指标主题。
2455
2455
 
2456
2456
  :param request: Request instance for ModifyTopic.
2457
2457
  :type request: :class:`tencentcloud.cls.v20201016.models.ModifyTopicRequest`
@@ -188,6 +188,12 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
188
188
  # 超过配额限制。
189
189
  LIMITEXCEEDED = 'LimitExceeded'
190
190
 
191
+ # 一个billing topic只能创建一个cos采集配置
192
+ LIMITEXCEEDED_BILLINGCOSRECHARGEOUTOFLIMIT = 'LimitExceeded.BillingCosRechargeOutOfLimit'
193
+
194
+ # 一个uin只能创建一个billing topic
195
+ LIMITEXCEEDED_BILLINGTOPICOUTOFLIMIT = 'LimitExceeded.BillingTopicOutOfLimit'
196
+
191
197
  # 采集规则配置超过最大值限制。
192
198
  LIMITEXCEEDED_CONFIG = 'LimitExceeded.Config'
193
199
 
@@ -343,3 +349,6 @@ UNKNOWNPARAMETER = 'UnknownParameter'
343
349
 
344
350
  # 操作不支持。
345
351
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
352
+
353
+ # billing topic不允许修改cos导入配置
354
+ UNSUPPORTEDOPERATION_MODIFYBILLINGCOSRECHARGENOSUPPORT = 'UnsupportedOperation.ModifyBillingCosRechargeNoSupport'
@@ -348,7 +348,7 @@ class AlarmInfo(AbstractModel):
348
348
  :param _MultiConditions: 多触发条件。与
349
349
  Condition互斥。
350
350
  :type MultiConditions: list of MultiCondition
351
- :param _MonitorNotice: 云监控通知渠道相关信息,和AlarmNoticeIds互斥
351
+ :param _MonitorNotice: 腾讯云可观测平台通知渠道相关信息,和AlarmNoticeIds互斥
352
352
  :type MonitorNotice: :class:`tencentcloud.cls.v20201016.models.MonitorNotice`
353
353
  """
354
354
  self._Name = None
@@ -609,7 +609,7 @@ Condition互斥。
609
609
 
610
610
  @property
611
611
  def MonitorNotice(self):
612
- r"""云监控通知渠道相关信息,和AlarmNoticeIds互斥
612
+ r"""腾讯云可观测平台通知渠道相关信息,和AlarmNoticeIds互斥
613
613
  :rtype: :class:`tencentcloud.cls.v20201016.models.MonitorNotice`
614
614
  """
615
615
  return self._MonitorNotice
@@ -1572,7 +1572,7 @@ class AlertHistoryRecord(AbstractModel):
1572
1572
  :param _MonitorObjectType: 监控对象类型。
1573
1573
  0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。
1574
1574
  :type MonitorObjectType: int
1575
- :param _SendType: 通知渠道类型,0默认代表cls内部通知渠道,1代表云监控通知渠道
1575
+ :param _SendType: 通知渠道类型,0默认代表cls内部通知渠道,1代表腾讯云可观测平台通知渠道
1576
1576
  :type SendType: int
1577
1577
  """
1578
1578
  self._RecordId = None
@@ -1772,7 +1772,7 @@ class AlertHistoryRecord(AbstractModel):
1772
1772
 
1773
1773
  @property
1774
1774
  def SendType(self):
1775
- r"""通知渠道类型,0默认代表cls内部通知渠道,1代表云监控通知渠道
1775
+ r"""通知渠道类型,0默认代表cls内部通知渠道,1代表腾讯云可观测平台通知渠道
1776
1776
  :rtype: int
1777
1777
  """
1778
1778
  return self._SendType
@@ -6096,7 +6096,7 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
6096
6096
  - DCDB所有日志类型:gz
6097
6097
  - MariaDB所有日志类型:gz
6098
6098
  - PostgreSQL所有日志类型:gz
6099
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
6099
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
6100
6100
  - APIS所有日志类型:gz
6101
6101
  :type CloudProductRegion: str
6102
6102
  :param _ClsRegion: CLS目标地域
@@ -6173,7 +6173,7 @@ class CreateCloudProductLogCollectionRequest(AbstractModel):
6173
6173
  - DCDB所有日志类型:gz
6174
6174
  - MariaDB所有日志类型:gz
6175
6175
  - PostgreSQL所有日志类型:gz
6176
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
6176
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
6177
6177
  - APIS所有日志类型:gz
6178
6178
  :rtype: str
6179
6179
  """
@@ -9695,43 +9695,50 @@ class CreateTopicRequest(AbstractModel):
9695
9695
  :param _LogsetId: 日志集ID
9696
9696
  - 通过[获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
9697
9697
  :type LogsetId: str
9698
- :param _TopicName: 日志主题名称
9698
+ :param _TopicName: 主题名称
9699
9699
  名称限制
9700
9700
  - 不能为空字符串
9701
9701
  - 不能包含字符'|'
9702
9702
  - 不能使用以下名称["cls_service_log","loglistener_status","loglistener_alarm","loglistener_business","cls_service_metric"]
9703
9703
 
9704
9704
  :type TopicName: str
9705
- :param _PartitionCount: 日志主题分区个数。默认创建1个,最大支持创建10个分区。
9705
+ :param _PartitionCount: 主题分区个数。默认创建1个,最大支持创建10个分区。
9706
9706
  :type PartitionCount: int
9707
- :param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
9707
+ :param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
9708
9708
  :type Tags: list of Tag
9709
9709
  :param _AutoSplit: 是否开启自动分裂,默认值为true
9710
9710
  :type AutoSplit: bool
9711
9711
  :param _MaxSplitPartitions: 开启自动分裂后,每个主题能够允许的最大分区数,默认值为50
9712
9712
  :type MaxSplitPartitions: int
9713
- :param _StorageType: 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot
9713
+ :param _StorageType: 日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。指标主题不支持该配置。
9714
9714
  :type StorageType: str
9715
9715
  :param _Period: 存储时间,单位天。
9716
- - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9717
- - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9716
+ - 日志主题:日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9717
+ - 日志主题:日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9718
+ - 指标主题:支持1至3600天,值为3640时代表永久保存。
9718
9719
  :type Period: int
9719
- :param _Describes: 日志主题描述
9720
+ :param _Describes: 主题描述
9720
9721
  :type Describes: str
9721
- :param _HotPeriod: 0:关闭日志沉降。
9722
- 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9723
- 仅在StorageType为 hot 时生效。
9722
+ :param _HotPeriod: 0:日志主题关闭日志沉降。
9723
+ 非0:日志主题开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9724
+ 仅在StorageType为 hot 时生效,指标主题不支持该配置。
9724
9725
  :type HotPeriod: int
9726
+ :param _BizType: 主题类型
9727
+ - 0:日志主题,默认值
9728
+ - 1:指标主题
9729
+ :type BizType: int
9725
9730
  :param _TopicId: 主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
9726
9731
  - 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符
9727
9732
  - 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。
9728
9733
  - 如果指定该字段,需保证全地域唯一
9729
9734
  :type TopicId: str
9730
9735
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。默认为false。
9731
- 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)
9736
+ 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。指标主题不支持该配置。
9732
9737
  :type IsWebTracking: bool
9733
- :param _Extends: 日志主题扩展信息
9738
+ :param _Extends: 主题扩展信息
9734
9739
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
9740
+ :param _IsSourceFrom: 开启记录公网来源ip和服务端接收时间
9741
+ :type IsSourceFrom: bool
9735
9742
  """
9736
9743
  self._LogsetId = None
9737
9744
  self._TopicName = None
@@ -9743,9 +9750,11 @@ class CreateTopicRequest(AbstractModel):
9743
9750
  self._Period = None
9744
9751
  self._Describes = None
9745
9752
  self._HotPeriod = None
9753
+ self._BizType = None
9746
9754
  self._TopicId = None
9747
9755
  self._IsWebTracking = None
9748
9756
  self._Extends = None
9757
+ self._IsSourceFrom = None
9749
9758
 
9750
9759
  @property
9751
9760
  def LogsetId(self):
@@ -9761,7 +9770,7 @@ class CreateTopicRequest(AbstractModel):
9761
9770
 
9762
9771
  @property
9763
9772
  def TopicName(self):
9764
- r"""日志主题名称
9773
+ r"""主题名称
9765
9774
  名称限制
9766
9775
  - 不能为空字符串
9767
9776
  - 不能包含字符'|'
@@ -9777,7 +9786,7 @@ class CreateTopicRequest(AbstractModel):
9777
9786
 
9778
9787
  @property
9779
9788
  def PartitionCount(self):
9780
- r"""日志主题分区个数。默认创建1个,最大支持创建10个分区。
9789
+ r"""主题分区个数。默认创建1个,最大支持创建10个分区。
9781
9790
  :rtype: int
9782
9791
  """
9783
9792
  return self._PartitionCount
@@ -9788,7 +9797,7 @@ class CreateTopicRequest(AbstractModel):
9788
9797
 
9789
9798
  @property
9790
9799
  def Tags(self):
9791
- r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
9800
+ r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
9792
9801
  :rtype: list of Tag
9793
9802
  """
9794
9803
  return self._Tags
@@ -9821,7 +9830,7 @@ class CreateTopicRequest(AbstractModel):
9821
9830
 
9822
9831
  @property
9823
9832
  def StorageType(self):
9824
- r"""日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot
9833
+ r"""日志主题的存储类型,可选值 hot(标准存储),cold(低频存储);默认为hot。指标主题不支持该配置。
9825
9834
  :rtype: str
9826
9835
  """
9827
9836
  return self._StorageType
@@ -9833,8 +9842,9 @@ class CreateTopicRequest(AbstractModel):
9833
9842
  @property
9834
9843
  def Period(self):
9835
9844
  r"""存储时间,单位天。
9836
- - 日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9837
- - 日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9845
+ - 日志主题:日志接入标准存储时,支持1至3600天,值为3640时代表永久保存。
9846
+ - 日志主题:日志接入低频存储时,支持7至3600天,值为3640时代表永久保存。
9847
+ - 指标主题:支持1至3600天,值为3640时代表永久保存。
9838
9848
  :rtype: int
9839
9849
  """
9840
9850
  return self._Period
@@ -9845,7 +9855,7 @@ class CreateTopicRequest(AbstractModel):
9845
9855
 
9846
9856
  @property
9847
9857
  def Describes(self):
9848
- r"""日志主题描述
9858
+ r"""主题描述
9849
9859
  :rtype: str
9850
9860
  """
9851
9861
  return self._Describes
@@ -9856,9 +9866,9 @@ class CreateTopicRequest(AbstractModel):
9856
9866
 
9857
9867
  @property
9858
9868
  def HotPeriod(self):
9859
- r"""0:关闭日志沉降。
9860
- 非0:开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9861
- 仅在StorageType为 hot 时生效。
9869
+ r"""0:日志主题关闭日志沉降。
9870
+ 非0:日志主题开启日志沉降后标准存储的天数,HotPeriod需要大于等于7,且小于Period。
9871
+ 仅在StorageType为 hot 时生效,指标主题不支持该配置。
9862
9872
  :rtype: int
9863
9873
  """
9864
9874
  return self._HotPeriod
@@ -9867,6 +9877,19 @@ class CreateTopicRequest(AbstractModel):
9867
9877
  def HotPeriod(self, HotPeriod):
9868
9878
  self._HotPeriod = HotPeriod
9869
9879
 
9880
+ @property
9881
+ def BizType(self):
9882
+ r"""主题类型
9883
+ - 0:日志主题,默认值
9884
+ - 1:指标主题
9885
+ :rtype: int
9886
+ """
9887
+ return self._BizType
9888
+
9889
+ @BizType.setter
9890
+ def BizType(self, BizType):
9891
+ self._BizType = BizType
9892
+
9870
9893
  @property
9871
9894
  def TopicId(self):
9872
9895
  r"""主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。
@@ -9884,7 +9907,7 @@ class CreateTopicRequest(AbstractModel):
9884
9907
  @property
9885
9908
  def IsWebTracking(self):
9886
9909
  r"""免鉴权开关。 false:关闭; true:开启。默认为false。
9887
- 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)
9910
+ 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。指标主题不支持该配置。
9888
9911
  :rtype: bool
9889
9912
  """
9890
9913
  return self._IsWebTracking
@@ -9895,7 +9918,7 @@ class CreateTopicRequest(AbstractModel):
9895
9918
 
9896
9919
  @property
9897
9920
  def Extends(self):
9898
- r"""日志主题扩展信息
9921
+ r"""主题扩展信息
9899
9922
  :rtype: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
9900
9923
  """
9901
9924
  return self._Extends
@@ -9904,6 +9927,17 @@ class CreateTopicRequest(AbstractModel):
9904
9927
  def Extends(self, Extends):
9905
9928
  self._Extends = Extends
9906
9929
 
9930
+ @property
9931
+ def IsSourceFrom(self):
9932
+ r"""开启记录公网来源ip和服务端接收时间
9933
+ :rtype: bool
9934
+ """
9935
+ return self._IsSourceFrom
9936
+
9937
+ @IsSourceFrom.setter
9938
+ def IsSourceFrom(self, IsSourceFrom):
9939
+ self._IsSourceFrom = IsSourceFrom
9940
+
9907
9941
 
9908
9942
  def _deserialize(self, params):
9909
9943
  self._LogsetId = params.get("LogsetId")
@@ -9921,11 +9955,13 @@ class CreateTopicRequest(AbstractModel):
9921
9955
  self._Period = params.get("Period")
9922
9956
  self._Describes = params.get("Describes")
9923
9957
  self._HotPeriod = params.get("HotPeriod")
9958
+ self._BizType = params.get("BizType")
9924
9959
  self._TopicId = params.get("TopicId")
9925
9960
  self._IsWebTracking = params.get("IsWebTracking")
9926
9961
  if params.get("Extends") is not None:
9927
9962
  self._Extends = TopicExtendInfo()
9928
9963
  self._Extends._deserialize(params.get("Extends"))
9964
+ self._IsSourceFrom = params.get("IsSourceFrom")
9929
9965
  memeber_set = set(params.keys())
9930
9966
  for name, value in vars(self).items():
9931
9967
  property_name = name[1:]
@@ -9943,7 +9979,7 @@ class CreateTopicResponse(AbstractModel):
9943
9979
 
9944
9980
  def __init__(self):
9945
9981
  r"""
9946
- :param _TopicId: 日志主题ID
9982
+ :param _TopicId: 主题ID
9947
9983
  :type TopicId: str
9948
9984
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9949
9985
  :type RequestId: str
@@ -9953,7 +9989,7 @@ class CreateTopicResponse(AbstractModel):
9953
9989
 
9954
9990
  @property
9955
9991
  def TopicId(self):
9956
- r"""日志主题ID
9992
+ r"""主题ID
9957
9993
  :rtype: str
9958
9994
  """
9959
9995
  return self._TopicId
@@ -11575,7 +11611,7 @@ class DeleteCloudProductLogCollectionRequest(AbstractModel):
11575
11611
  - DCDB所有日志类型:gz
11576
11612
  - MariaDB所有日志类型:gz
11577
11613
  - PostgreSQL所有日志类型:gz
11578
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
11614
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
11579
11615
  - APIS所有日志类型:gz
11580
11616
  :type CloudProductRegion: str
11581
11617
  """
@@ -11630,7 +11666,7 @@ class DeleteCloudProductLogCollectionRequest(AbstractModel):
11630
11666
  - DCDB所有日志类型:gz
11631
11667
  - MariaDB所有日志类型:gz
11632
11668
  - PostgreSQL所有日志类型:gz
11633
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
11669
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
11634
11670
  - APIS所有日志类型:gz
11635
11671
  :rtype: str
11636
11672
  """
@@ -12913,16 +12949,14 @@ class DeleteTopicRequest(AbstractModel):
12913
12949
 
12914
12950
  def __init__(self):
12915
12951
  r"""
12916
- :param _TopicId: 日志主题ID
12917
- - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
12952
+ :param _TopicId: 主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
12918
12953
  :type TopicId: str
12919
12954
  """
12920
12955
  self._TopicId = None
12921
12956
 
12922
12957
  @property
12923
12958
  def TopicId(self):
12924
- r"""日志主题ID
12925
- - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
12959
+ r"""主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
12926
12960
  :rtype: str
12927
12961
  """
12928
12962
  return self._TopicId
@@ -18247,13 +18281,13 @@ class DescribeTopicsRequest(AbstractModel):
18247
18281
 
18248
18282
  def __init__(self):
18249
18283
  r"""
18250
- :param _Filters: <ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18284
+ :param _Filters: <ul><li>topicName 按照【主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18251
18285
  <li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18252
- <li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>
18286
+ <li>topicId 按照【主题ID】进行过滤。类型:String。必选:否</li>
18253
18287
  <li>logsetId 按照【日志集ID】进行过滤,可通过调用 <a href="https://cloud.tencent.com/document/product/614/58624">DescribeLogsets</a> 查询已创建的日志集列表或登录控制台进行查看;也可以调用<a href="https://cloud.tencent.com/document/product/614/58626">CreateLogset</a> 创建新的日志集。类型:String。必选:否</li>
18254
18288
  <li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>
18255
18289
  <li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>
18256
- <li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
18290
+ <li>storageType 按照【主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
18257
18291
  注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
18258
18292
  :type Filters: list of Filter
18259
18293
  :param _Offset: 分页的偏移量,默认值为0。
@@ -18279,13 +18313,13 @@ class DescribeTopicsRequest(AbstractModel):
18279
18313
 
18280
18314
  @property
18281
18315
  def Filters(self):
18282
- r"""<ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18316
+ r"""<ul><li>topicName 按照【主题名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18283
18317
  <li>logsetName 按照【日志集名称】进行过滤,默认为模糊匹配,可使用 PreciseSearch 参数设置为精确匹配。类型:String。必选:否</li>
18284
- <li>topicId 按照【日志主题ID】进行过滤。类型:String。必选:否</li>
18318
+ <li>topicId 按照【主题ID】进行过滤。类型:String。必选:否</li>
18285
18319
  <li>logsetId 按照【日志集ID】进行过滤,可通过调用 <a href="https://cloud.tencent.com/document/product/614/58624">DescribeLogsets</a> 查询已创建的日志集列表或登录控制台进行查看;也可以调用<a href="https://cloud.tencent.com/document/product/614/58626">CreateLogset</a> 创建新的日志集。类型:String。必选:否</li>
18286
18320
  <li>tagKey 按照【标签键】进行过滤。类型:String。必选:否</li>
18287
18321
  <li>tag:tagKey 按照【标签键值对】进行过滤。tagKey 使用具体的标签键进行替换,例如 tag:exampleKey。类型:String。必选:否</li>
18288
- <li>storageType 按照【日志主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
18322
+ <li>storageType 按照【主题的存储类型】进行过滤。可选值 hot(标准存储),cold(低频存储)类型:String。必选:否</li></ul>
18289
18323
  注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
18290
18324
  :rtype: list of Filter
18291
18325
  """
@@ -18374,7 +18408,7 @@ class DescribeTopicsResponse(AbstractModel):
18374
18408
 
18375
18409
  def __init__(self):
18376
18410
  r"""
18377
- :param _Topics: 日志主题列表
18411
+ :param _Topics: 主题列表
18378
18412
  :type Topics: list of TopicInfo
18379
18413
  :param _TotalCount: 总数目
18380
18414
  :type TotalCount: int
@@ -18387,7 +18421,7 @@ class DescribeTopicsResponse(AbstractModel):
18387
18421
 
18388
18422
  @property
18389
18423
  def Topics(self):
18390
- r"""日志主题列表
18424
+ r"""主题列表
18391
18425
  :rtype: list of TopicInfo
18392
18426
  """
18393
18427
  return self._Topics
@@ -23706,7 +23740,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
23706
23740
  - DCDB所有日志类型:gz
23707
23741
  - MariaDB所有日志类型:gz
23708
23742
  - PostgreSQL所有日志类型:gz
23709
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
23743
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
23710
23744
  - APIS所有日志类型:gz
23711
23745
  :type CloudProductRegion: str
23712
23746
  :param _Extend: 日志配置拓展信息, 一般用于存储额外的日志投递配置
@@ -23764,7 +23798,7 @@ class ModifyCloudProductLogCollectionRequest(AbstractModel):
23764
23798
  - DCDB所有日志类型:gz
23765
23799
  - MariaDB所有日志类型:gz
23766
23800
  - PostgreSQL所有日志类型:gz
23767
- - BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
23801
+ - BH所有日志类型:overseas-polaris(中国香港地区和其他)/fsi-polaris(金融区)/general-polaris(普通区)/intl-sg-prod(国际站)
23768
23802
  - APIS所有日志类型:gz
23769
23803
  :rtype: str
23770
23804
  """
@@ -26716,38 +26750,39 @@ class ModifyTopicRequest(AbstractModel):
26716
26750
 
26717
26751
  def __init__(self):
26718
26752
  r"""
26719
- :param _TopicId: 日志主题ID
26720
- - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
26753
+ :param _TopicId: 主题ID
26754
+ - 通过[获取主题列表](https://cloud.tencent.com/document/product/614/56454)获取主题Id。
26721
26755
  :type TopicId: str
26722
- :param _TopicName: 日志主题名称
26756
+ :param _TopicName: 主题名称
26723
26757
  输入限制:
26724
26758
  - 不能为空字符串
26725
26759
  - 不能包含字符'|'
26726
26760
  - 不能使用以下名称["cls_service_log","loglistener_status","loglistener_alarm","loglistener_business","cls_service_metric"]
26727
26761
  :type TopicName: str
26728
- :param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。
26762
+ :param _Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的主题。最大支持10个标签键值对,并且不能有重复的键值对。
26729
26763
  :type Tags: list of Tag
26730
26764
  :param _Status: 主题是否开启采集,true:开启采集;false:关闭采集。
26731
26765
  控制台目前不支持修改此参数。
26732
26766
  :type Status: bool
26733
26767
  :param _AutoSplit: 是否开启自动分裂
26734
26768
  :type AutoSplit: bool
26735
- :param _MaxSplitPartitions: 若开启最大分裂,该主题能够能够允许的最大分区数;
26769
+ :param _MaxSplitPartitions: 若开启最大分裂,该主题能够允许的最大分区数;
26736
26770
  默认为50;必须为正数
26737
26771
  :type MaxSplitPartitions: int
26738
26772
  :param _Period: 生命周期,单位天,标准存储取值范围1\~3600,低频存储取值范围7\~3600。取值为3640时代表永久保存
26739
26773
  :type Period: int
26740
- :param _Describes: 日志主题描述
26774
+ :param _Describes: 主题描述
26741
26775
  :type Describes: str
26742
- :param _HotPeriod: 0:关闭日志沉降。
26743
- 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效
26776
+ :param _HotPeriod: 0:日志主题关闭日志沉降。
26777
+ 非0:日志主题开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period
26778
+ 仅在StorageType为 hot 时生效,指标主题不支持该配置。
26744
26779
  :type HotPeriod: int
26745
26780
  :param _IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
26746
26781
  开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
26747
26782
  :type IsWebTracking: bool
26748
- :param _Extends: 日志主题扩展信息
26783
+ :param _Extends: 主题扩展信息
26749
26784
  :type Extends: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
26750
- :param _PartitionCount: 日志主题分区数量。
26785
+ :param _PartitionCount: 主题分区数量。
26751
26786
  默认为1;
26752
26787
  取值范围及约束:
26753
26788
  - 当输入值<=0,系统自动调整为1。
@@ -26774,8 +26809,8 @@ class ModifyTopicRequest(AbstractModel):
26774
26809
 
26775
26810
  @property
26776
26811
  def TopicId(self):
26777
- r"""日志主题ID
26778
- - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
26812
+ r"""主题ID
26813
+ - 通过[获取主题列表](https://cloud.tencent.com/document/product/614/56454)获取主题Id。
26779
26814
  :rtype: str
26780
26815
  """
26781
26816
  return self._TopicId
@@ -26786,7 +26821,7 @@ class ModifyTopicRequest(AbstractModel):
26786
26821
 
26787
26822
  @property
26788
26823
  def TopicName(self):
26789
- r"""日志主题名称
26824
+ r"""主题名称
26790
26825
  输入限制:
26791
26826
  - 不能为空字符串
26792
26827
  - 不能包含字符'|'
@@ -26801,7 +26836,7 @@ class ModifyTopicRequest(AbstractModel):
26801
26836
 
26802
26837
  @property
26803
26838
  def Tags(self):
26804
- r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,并且不能有重复的键值对。
26839
+ r"""标签描述列表,通过指定该参数可以同时绑定标签到相应的主题。最大支持10个标签键值对,并且不能有重复的键值对。
26805
26840
  :rtype: list of Tag
26806
26841
  """
26807
26842
  return self._Tags
@@ -26835,7 +26870,7 @@ class ModifyTopicRequest(AbstractModel):
26835
26870
 
26836
26871
  @property
26837
26872
  def MaxSplitPartitions(self):
26838
- r"""若开启最大分裂,该主题能够能够允许的最大分区数;
26873
+ r"""若开启最大分裂,该主题能够允许的最大分区数;
26839
26874
  默认为50;必须为正数
26840
26875
  :rtype: int
26841
26876
  """
@@ -26858,7 +26893,7 @@ class ModifyTopicRequest(AbstractModel):
26858
26893
 
26859
26894
  @property
26860
26895
  def Describes(self):
26861
- r"""日志主题描述
26896
+ r"""主题描述
26862
26897
  :rtype: str
26863
26898
  """
26864
26899
  return self._Describes
@@ -26869,8 +26904,9 @@ class ModifyTopicRequest(AbstractModel):
26869
26904
 
26870
26905
  @property
26871
26906
  def HotPeriod(self):
26872
- r"""0:关闭日志沉降。
26873
- 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效
26907
+ r"""0:日志主题关闭日志沉降。
26908
+ 非0:日志主题开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period
26909
+ 仅在StorageType为 hot 时生效,指标主题不支持该配置。
26874
26910
  :rtype: int
26875
26911
  """
26876
26912
  return self._HotPeriod
@@ -26893,7 +26929,7 @@ class ModifyTopicRequest(AbstractModel):
26893
26929
 
26894
26930
  @property
26895
26931
  def Extends(self):
26896
- r"""日志主题扩展信息
26932
+ r"""主题扩展信息
26897
26933
  :rtype: :class:`tencentcloud.cls.v20201016.models.TopicExtendInfo`
26898
26934
  """
26899
26935
  return self._Extends
@@ -26904,7 +26940,7 @@ class ModifyTopicRequest(AbstractModel):
26904
26940
 
26905
26941
  @property
26906
26942
  def PartitionCount(self):
26907
- r"""日志主题分区数量。
26943
+ r"""主题分区数量。
26908
26944
  默认为1;
26909
26945
  取值范围及约束:
26910
26946
  - 当输入值<=0,系统自动调整为1。
@@ -27183,7 +27219,7 @@ class MonitorNotice(AbstractModel):
27183
27219
 
27184
27220
 
27185
27221
  class MonitorNoticeRule(AbstractModel):
27186
- r"""云监控通知渠道组信息
27222
+ r"""腾讯云可观测平台通知渠道组信息
27187
27223
 
27188
27224
  """
27189
27225
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-cls
3
+ Version: 3.0.1484
4
+ Summary: Tencent Cloud Cls SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Cls SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-cls
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common cls
46
+
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1467
4
- Summary: Tencent Cloud Cls SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Cls SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-cls
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common cls
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-cls
3
- Version: 3.0.1467
4
- Summary: Tencent Cloud Cls SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Cls SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-cls
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common cls
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1467