tencentcloud-sdk-python-teo 3.1.203__tar.gz → 3.1.205__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_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220901/models.py +403 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220901/teo_client.py +46 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220901/teo_client_async.py +36 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.205/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.203/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.203 → tencentcloud_sdk_python_teo-3.1.205}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.205
|
|
4
4
|
Summary: Tencent Cloud Teo SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.205,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -31911,6 +31911,200 @@ class DescribeSharedCNAMEResponse(AbstractModel):
|
|
|
31911
31911
|
self._RequestId = params.get("RequestId")
|
|
31912
31912
|
|
|
31913
31913
|
|
|
31914
|
+
class DescribeTimingFunctionAnalysisDataRequest(AbstractModel):
|
|
31915
|
+
r"""DescribeTimingFunctionAnalysisData请求参数结构体
|
|
31916
|
+
|
|
31917
|
+
"""
|
|
31918
|
+
|
|
31919
|
+
def __init__(self):
|
|
31920
|
+
r"""
|
|
31921
|
+
:param _ZoneIds: <p>站点 ID 集合,至少填入1个站点 ID。</p>
|
|
31922
|
+
:type ZoneIds: list of str
|
|
31923
|
+
:param _StartTime: <p>开始时间。</p>
|
|
31924
|
+
:type StartTime: str
|
|
31925
|
+
:param _EndTime: <p>结束时间。查询时间范围(<code>EndTime</code> - <code>StartTime</code>)需小于等于 7 天。</p>
|
|
31926
|
+
:type EndTime: str
|
|
31927
|
+
:param _MetricNames: <p>指标列表,取值有:</p><li>function_requestCount: 边缘函数请求数,为累计值;</li><li>function_cpuCostTime: 边缘函数执行的平均 CPU 耗时,单位为微秒;</li><li>function_wallClockTime: 边缘函数执行的平均墙上时钟耗时,单位为微秒。</li>
|
|
31928
|
+
:type MetricNames: list of str
|
|
31929
|
+
:param _Interval: <p>查询时间粒度,取值有:</p><li>min: 1分钟;</li><li>5min: 5分钟;</li><li>hour: 1小时;</li><li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
31930
|
+
:type Interval: str
|
|
31931
|
+
:param _Filters: <p>过滤条件,Filters.Value 的集合数量上限为20,详细的过滤条件 Key 值如下:</p><li>domain:按照子域名进行过滤,示例值: www.example.com。</li><li>function-name:按照边缘函数名称进行过滤,示例值: test051301-zone-2r2fdoxxxx-130000000。</li><li>function-result:按照边缘函数执行结果进行过滤。对应 Value 的可选项如下:<br> success:成功;<br> fail:失败。</li>
|
|
31932
|
+
:type Filters: list of QueryCondition
|
|
31933
|
+
:param _Area: <p>数据归属地区,取值有:</p><li>overseas:全球(除中国大陆地区)数据;</li><li>mainland:中国大陆地区数据;</li><li>global:全球数据。</li>不填默认取值为 global。
|
|
31934
|
+
:type Area: str
|
|
31935
|
+
"""
|
|
31936
|
+
self._ZoneIds = None
|
|
31937
|
+
self._StartTime = None
|
|
31938
|
+
self._EndTime = None
|
|
31939
|
+
self._MetricNames = None
|
|
31940
|
+
self._Interval = None
|
|
31941
|
+
self._Filters = None
|
|
31942
|
+
self._Area = None
|
|
31943
|
+
|
|
31944
|
+
@property
|
|
31945
|
+
def ZoneIds(self):
|
|
31946
|
+
r"""<p>站点 ID 集合,至少填入1个站点 ID。</p>
|
|
31947
|
+
:rtype: list of str
|
|
31948
|
+
"""
|
|
31949
|
+
return self._ZoneIds
|
|
31950
|
+
|
|
31951
|
+
@ZoneIds.setter
|
|
31952
|
+
def ZoneIds(self, ZoneIds):
|
|
31953
|
+
self._ZoneIds = ZoneIds
|
|
31954
|
+
|
|
31955
|
+
@property
|
|
31956
|
+
def StartTime(self):
|
|
31957
|
+
r"""<p>开始时间。</p>
|
|
31958
|
+
:rtype: str
|
|
31959
|
+
"""
|
|
31960
|
+
return self._StartTime
|
|
31961
|
+
|
|
31962
|
+
@StartTime.setter
|
|
31963
|
+
def StartTime(self, StartTime):
|
|
31964
|
+
self._StartTime = StartTime
|
|
31965
|
+
|
|
31966
|
+
@property
|
|
31967
|
+
def EndTime(self):
|
|
31968
|
+
r"""<p>结束时间。查询时间范围(<code>EndTime</code> - <code>StartTime</code>)需小于等于 7 天。</p>
|
|
31969
|
+
:rtype: str
|
|
31970
|
+
"""
|
|
31971
|
+
return self._EndTime
|
|
31972
|
+
|
|
31973
|
+
@EndTime.setter
|
|
31974
|
+
def EndTime(self, EndTime):
|
|
31975
|
+
self._EndTime = EndTime
|
|
31976
|
+
|
|
31977
|
+
@property
|
|
31978
|
+
def MetricNames(self):
|
|
31979
|
+
r"""<p>指标列表,取值有:</p><li>function_requestCount: 边缘函数请求数,为累计值;</li><li>function_cpuCostTime: 边缘函数执行的平均 CPU 耗时,单位为微秒;</li><li>function_wallClockTime: 边缘函数执行的平均墙上时钟耗时,单位为微秒。</li>
|
|
31980
|
+
:rtype: list of str
|
|
31981
|
+
"""
|
|
31982
|
+
return self._MetricNames
|
|
31983
|
+
|
|
31984
|
+
@MetricNames.setter
|
|
31985
|
+
def MetricNames(self, MetricNames):
|
|
31986
|
+
self._MetricNames = MetricNames
|
|
31987
|
+
|
|
31988
|
+
@property
|
|
31989
|
+
def Interval(self):
|
|
31990
|
+
r"""<p>查询时间粒度,取值有:</p><li>min: 1分钟;</li><li>5min: 5分钟;</li><li>hour: 1小时;</li><li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
31991
|
+
:rtype: str
|
|
31992
|
+
"""
|
|
31993
|
+
return self._Interval
|
|
31994
|
+
|
|
31995
|
+
@Interval.setter
|
|
31996
|
+
def Interval(self, Interval):
|
|
31997
|
+
self._Interval = Interval
|
|
31998
|
+
|
|
31999
|
+
@property
|
|
32000
|
+
def Filters(self):
|
|
32001
|
+
r"""<p>过滤条件,Filters.Value 的集合数量上限为20,详细的过滤条件 Key 值如下:</p><li>domain:按照子域名进行过滤,示例值: www.example.com。</li><li>function-name:按照边缘函数名称进行过滤,示例值: test051301-zone-2r2fdoxxxx-130000000。</li><li>function-result:按照边缘函数执行结果进行过滤。对应 Value 的可选项如下:<br> success:成功;<br> fail:失败。</li>
|
|
32002
|
+
:rtype: list of QueryCondition
|
|
32003
|
+
"""
|
|
32004
|
+
return self._Filters
|
|
32005
|
+
|
|
32006
|
+
@Filters.setter
|
|
32007
|
+
def Filters(self, Filters):
|
|
32008
|
+
self._Filters = Filters
|
|
32009
|
+
|
|
32010
|
+
@property
|
|
32011
|
+
def Area(self):
|
|
32012
|
+
r"""<p>数据归属地区,取值有:</p><li>overseas:全球(除中国大陆地区)数据;</li><li>mainland:中国大陆地区数据;</li><li>global:全球数据。</li>不填默认取值为 global。
|
|
32013
|
+
:rtype: str
|
|
32014
|
+
"""
|
|
32015
|
+
return self._Area
|
|
32016
|
+
|
|
32017
|
+
@Area.setter
|
|
32018
|
+
def Area(self, Area):
|
|
32019
|
+
self._Area = Area
|
|
32020
|
+
|
|
32021
|
+
|
|
32022
|
+
def _deserialize(self, params):
|
|
32023
|
+
self._ZoneIds = params.get("ZoneIds")
|
|
32024
|
+
self._StartTime = params.get("StartTime")
|
|
32025
|
+
self._EndTime = params.get("EndTime")
|
|
32026
|
+
self._MetricNames = params.get("MetricNames")
|
|
32027
|
+
self._Interval = params.get("Interval")
|
|
32028
|
+
if params.get("Filters") is not None:
|
|
32029
|
+
self._Filters = []
|
|
32030
|
+
for item in params.get("Filters"):
|
|
32031
|
+
obj = QueryCondition()
|
|
32032
|
+
obj._deserialize(item)
|
|
32033
|
+
self._Filters.append(obj)
|
|
32034
|
+
self._Area = params.get("Area")
|
|
32035
|
+
memeber_set = set(params.keys())
|
|
32036
|
+
for name, value in vars(self).items():
|
|
32037
|
+
property_name = name[1:]
|
|
32038
|
+
if property_name in memeber_set:
|
|
32039
|
+
memeber_set.remove(property_name)
|
|
32040
|
+
if len(memeber_set) > 0:
|
|
32041
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32042
|
+
|
|
32043
|
+
|
|
32044
|
+
|
|
32045
|
+
class DescribeTimingFunctionAnalysisDataResponse(AbstractModel):
|
|
32046
|
+
r"""DescribeTimingFunctionAnalysisData返回参数结构体
|
|
32047
|
+
|
|
32048
|
+
"""
|
|
32049
|
+
|
|
32050
|
+
def __init__(self):
|
|
32051
|
+
r"""
|
|
32052
|
+
:param _TotalCount: <p>查询结果的总条数。</p>
|
|
32053
|
+
:type TotalCount: int
|
|
32054
|
+
:param _Data: <p>时序数据列表。</p>
|
|
32055
|
+
:type Data: list of TimingDataRecord
|
|
32056
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32057
|
+
:type RequestId: str
|
|
32058
|
+
"""
|
|
32059
|
+
self._TotalCount = None
|
|
32060
|
+
self._Data = None
|
|
32061
|
+
self._RequestId = None
|
|
32062
|
+
|
|
32063
|
+
@property
|
|
32064
|
+
def TotalCount(self):
|
|
32065
|
+
r"""<p>查询结果的总条数。</p>
|
|
32066
|
+
:rtype: int
|
|
32067
|
+
"""
|
|
32068
|
+
return self._TotalCount
|
|
32069
|
+
|
|
32070
|
+
@TotalCount.setter
|
|
32071
|
+
def TotalCount(self, TotalCount):
|
|
32072
|
+
self._TotalCount = TotalCount
|
|
32073
|
+
|
|
32074
|
+
@property
|
|
32075
|
+
def Data(self):
|
|
32076
|
+
r"""<p>时序数据列表。</p>
|
|
32077
|
+
:rtype: list of TimingDataRecord
|
|
32078
|
+
"""
|
|
32079
|
+
return self._Data
|
|
32080
|
+
|
|
32081
|
+
@Data.setter
|
|
32082
|
+
def Data(self, Data):
|
|
32083
|
+
self._Data = Data
|
|
32084
|
+
|
|
32085
|
+
@property
|
|
32086
|
+
def RequestId(self):
|
|
32087
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32088
|
+
:rtype: str
|
|
32089
|
+
"""
|
|
32090
|
+
return self._RequestId
|
|
32091
|
+
|
|
32092
|
+
@RequestId.setter
|
|
32093
|
+
def RequestId(self, RequestId):
|
|
32094
|
+
self._RequestId = RequestId
|
|
32095
|
+
|
|
32096
|
+
|
|
32097
|
+
def _deserialize(self, params):
|
|
32098
|
+
self._TotalCount = params.get("TotalCount")
|
|
32099
|
+
if params.get("Data") is not None:
|
|
32100
|
+
self._Data = []
|
|
32101
|
+
for item in params.get("Data"):
|
|
32102
|
+
obj = TimingDataRecord()
|
|
32103
|
+
obj._deserialize(item)
|
|
32104
|
+
self._Data.append(obj)
|
|
32105
|
+
self._RequestId = params.get("RequestId")
|
|
32106
|
+
|
|
32107
|
+
|
|
31914
32108
|
class DescribeTimingL4DataRequest(AbstractModel):
|
|
31915
32109
|
r"""DescribeTimingL4Data请求参数结构体
|
|
31916
32110
|
|
|
@@ -32796,6 +32990,215 @@ class DescribeTimingL7OriginPullDataResponse(AbstractModel):
|
|
|
32796
32990
|
self._RequestId = params.get("RequestId")
|
|
32797
32991
|
|
|
32798
32992
|
|
|
32993
|
+
class DescribeTopFunctionAnalysisDataRequest(AbstractModel):
|
|
32994
|
+
r"""DescribeTopFunctionAnalysisData请求参数结构体
|
|
32995
|
+
|
|
32996
|
+
"""
|
|
32997
|
+
|
|
32998
|
+
def __init__(self):
|
|
32999
|
+
r"""
|
|
33000
|
+
:param _ZoneIds: <p>站点 ID 集合,至少填入1个站点 ID。</p>
|
|
33001
|
+
:type ZoneIds: list of str
|
|
33002
|
+
:param _StartTime: <p>开始时间。</p>
|
|
33003
|
+
:type StartTime: str
|
|
33004
|
+
:param _EndTime: <p>结束时间。查询时间范围(<code>EndTime</code> - <code>StartTime</code>)需小于等于 7 天。</p>
|
|
33005
|
+
:type EndTime: str
|
|
33006
|
+
:param _MetricName: <p>查询的指标,取值有:</p><li>function_requestCount_functionResult: 按照执行结果的维度统计边缘函数的请求数;</li><li>function_requestCount_functionName: 按照函数名称的维度统计边缘函数的请求数;</li><li>function_requestCount_domain: 按照域名的维度统计边缘函数的请求数。</li>
|
|
33007
|
+
:type MetricName: str
|
|
33008
|
+
:param _Limit: <p>查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。</p>
|
|
33009
|
+
:type Limit: int
|
|
33010
|
+
:param _Filters: <p>过滤条件,Filters.Value 的集合数量上限为20,详细的过滤条件 Key 值如下:</p><li>domain:按照子域名进行过滤,示例值: www.example.com。</li><li>function-name:按照边缘函数名称进行过滤,示例值: test051301-zone-2r2fdoxxxx-130000000。</li><li>function-result:按照边缘函数执行结果进行过滤。对应 Value 的可选项如下:<br> success:成功;<br> fail:失败。</li>
|
|
33011
|
+
:type Filters: list of QueryCondition
|
|
33012
|
+
:param _Interval: <p>查询时间粒度,取值有:</p><li>min: 1分钟;</li><li>5min: 5分钟;</li><li>hour: 1小时;</li><li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
33013
|
+
:type Interval: str
|
|
33014
|
+
:param _Area: <p>数据归属地区,取值有:</p><li>overseas:全球(除中国大陆地区)数据;</li><li>mainland:中国大陆地区数据;</li><li>global:全球数据。</li>不填默认取值为global。
|
|
33015
|
+
:type Area: str
|
|
33016
|
+
"""
|
|
33017
|
+
self._ZoneIds = None
|
|
33018
|
+
self._StartTime = None
|
|
33019
|
+
self._EndTime = None
|
|
33020
|
+
self._MetricName = None
|
|
33021
|
+
self._Limit = None
|
|
33022
|
+
self._Filters = None
|
|
33023
|
+
self._Interval = None
|
|
33024
|
+
self._Area = None
|
|
33025
|
+
|
|
33026
|
+
@property
|
|
33027
|
+
def ZoneIds(self):
|
|
33028
|
+
r"""<p>站点 ID 集合,至少填入1个站点 ID。</p>
|
|
33029
|
+
:rtype: list of str
|
|
33030
|
+
"""
|
|
33031
|
+
return self._ZoneIds
|
|
33032
|
+
|
|
33033
|
+
@ZoneIds.setter
|
|
33034
|
+
def ZoneIds(self, ZoneIds):
|
|
33035
|
+
self._ZoneIds = ZoneIds
|
|
33036
|
+
|
|
33037
|
+
@property
|
|
33038
|
+
def StartTime(self):
|
|
33039
|
+
r"""<p>开始时间。</p>
|
|
33040
|
+
:rtype: str
|
|
33041
|
+
"""
|
|
33042
|
+
return self._StartTime
|
|
33043
|
+
|
|
33044
|
+
@StartTime.setter
|
|
33045
|
+
def StartTime(self, StartTime):
|
|
33046
|
+
self._StartTime = StartTime
|
|
33047
|
+
|
|
33048
|
+
@property
|
|
33049
|
+
def EndTime(self):
|
|
33050
|
+
r"""<p>结束时间。查询时间范围(<code>EndTime</code> - <code>StartTime</code>)需小于等于 7 天。</p>
|
|
33051
|
+
:rtype: str
|
|
33052
|
+
"""
|
|
33053
|
+
return self._EndTime
|
|
33054
|
+
|
|
33055
|
+
@EndTime.setter
|
|
33056
|
+
def EndTime(self, EndTime):
|
|
33057
|
+
self._EndTime = EndTime
|
|
33058
|
+
|
|
33059
|
+
@property
|
|
33060
|
+
def MetricName(self):
|
|
33061
|
+
r"""<p>查询的指标,取值有:</p><li>function_requestCount_functionResult: 按照执行结果的维度统计边缘函数的请求数;</li><li>function_requestCount_functionName: 按照函数名称的维度统计边缘函数的请求数;</li><li>function_requestCount_domain: 按照域名的维度统计边缘函数的请求数。</li>
|
|
33062
|
+
:rtype: str
|
|
33063
|
+
"""
|
|
33064
|
+
return self._MetricName
|
|
33065
|
+
|
|
33066
|
+
@MetricName.setter
|
|
33067
|
+
def MetricName(self, MetricName):
|
|
33068
|
+
self._MetricName = MetricName
|
|
33069
|
+
|
|
33070
|
+
@property
|
|
33071
|
+
def Limit(self):
|
|
33072
|
+
r"""<p>查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。</p>
|
|
33073
|
+
:rtype: int
|
|
33074
|
+
"""
|
|
33075
|
+
return self._Limit
|
|
33076
|
+
|
|
33077
|
+
@Limit.setter
|
|
33078
|
+
def Limit(self, Limit):
|
|
33079
|
+
self._Limit = Limit
|
|
33080
|
+
|
|
33081
|
+
@property
|
|
33082
|
+
def Filters(self):
|
|
33083
|
+
r"""<p>过滤条件,Filters.Value 的集合数量上限为20,详细的过滤条件 Key 值如下:</p><li>domain:按照子域名进行过滤,示例值: www.example.com。</li><li>function-name:按照边缘函数名称进行过滤,示例值: test051301-zone-2r2fdoxxxx-130000000。</li><li>function-result:按照边缘函数执行结果进行过滤。对应 Value 的可选项如下:<br> success:成功;<br> fail:失败。</li>
|
|
33084
|
+
:rtype: list of QueryCondition
|
|
33085
|
+
"""
|
|
33086
|
+
return self._Filters
|
|
33087
|
+
|
|
33088
|
+
@Filters.setter
|
|
33089
|
+
def Filters(self, Filters):
|
|
33090
|
+
self._Filters = Filters
|
|
33091
|
+
|
|
33092
|
+
@property
|
|
33093
|
+
def Interval(self):
|
|
33094
|
+
r"""<p>查询时间粒度,取值有:</p><li>min: 1分钟;</li><li>5min: 5分钟;</li><li>hour: 1小时;</li><li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
33095
|
+
:rtype: str
|
|
33096
|
+
"""
|
|
33097
|
+
return self._Interval
|
|
33098
|
+
|
|
33099
|
+
@Interval.setter
|
|
33100
|
+
def Interval(self, Interval):
|
|
33101
|
+
self._Interval = Interval
|
|
33102
|
+
|
|
33103
|
+
@property
|
|
33104
|
+
def Area(self):
|
|
33105
|
+
r"""<p>数据归属地区,取值有:</p><li>overseas:全球(除中国大陆地区)数据;</li><li>mainland:中国大陆地区数据;</li><li>global:全球数据。</li>不填默认取值为global。
|
|
33106
|
+
:rtype: str
|
|
33107
|
+
"""
|
|
33108
|
+
return self._Area
|
|
33109
|
+
|
|
33110
|
+
@Area.setter
|
|
33111
|
+
def Area(self, Area):
|
|
33112
|
+
self._Area = Area
|
|
33113
|
+
|
|
33114
|
+
|
|
33115
|
+
def _deserialize(self, params):
|
|
33116
|
+
self._ZoneIds = params.get("ZoneIds")
|
|
33117
|
+
self._StartTime = params.get("StartTime")
|
|
33118
|
+
self._EndTime = params.get("EndTime")
|
|
33119
|
+
self._MetricName = params.get("MetricName")
|
|
33120
|
+
self._Limit = params.get("Limit")
|
|
33121
|
+
if params.get("Filters") is not None:
|
|
33122
|
+
self._Filters = []
|
|
33123
|
+
for item in params.get("Filters"):
|
|
33124
|
+
obj = QueryCondition()
|
|
33125
|
+
obj._deserialize(item)
|
|
33126
|
+
self._Filters.append(obj)
|
|
33127
|
+
self._Interval = params.get("Interval")
|
|
33128
|
+
self._Area = params.get("Area")
|
|
33129
|
+
memeber_set = set(params.keys())
|
|
33130
|
+
for name, value in vars(self).items():
|
|
33131
|
+
property_name = name[1:]
|
|
33132
|
+
if property_name in memeber_set:
|
|
33133
|
+
memeber_set.remove(property_name)
|
|
33134
|
+
if len(memeber_set) > 0:
|
|
33135
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33136
|
+
|
|
33137
|
+
|
|
33138
|
+
|
|
33139
|
+
class DescribeTopFunctionAnalysisDataResponse(AbstractModel):
|
|
33140
|
+
r"""DescribeTopFunctionAnalysisData返回参数结构体
|
|
33141
|
+
|
|
33142
|
+
"""
|
|
33143
|
+
|
|
33144
|
+
def __init__(self):
|
|
33145
|
+
r"""
|
|
33146
|
+
:param _TotalCount: <p>查询结果的总条数。</p>
|
|
33147
|
+
:type TotalCount: int
|
|
33148
|
+
:param _Data: <p>按照 MetricName 指定统计维度的前 topN 数据列表。</p>
|
|
33149
|
+
:type Data: list of TopDataRecord
|
|
33150
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33151
|
+
:type RequestId: str
|
|
33152
|
+
"""
|
|
33153
|
+
self._TotalCount = None
|
|
33154
|
+
self._Data = None
|
|
33155
|
+
self._RequestId = None
|
|
33156
|
+
|
|
33157
|
+
@property
|
|
33158
|
+
def TotalCount(self):
|
|
33159
|
+
r"""<p>查询结果的总条数。</p>
|
|
33160
|
+
:rtype: int
|
|
33161
|
+
"""
|
|
33162
|
+
return self._TotalCount
|
|
33163
|
+
|
|
33164
|
+
@TotalCount.setter
|
|
33165
|
+
def TotalCount(self, TotalCount):
|
|
33166
|
+
self._TotalCount = TotalCount
|
|
33167
|
+
|
|
33168
|
+
@property
|
|
33169
|
+
def Data(self):
|
|
33170
|
+
r"""<p>按照 MetricName 指定统计维度的前 topN 数据列表。</p>
|
|
33171
|
+
:rtype: list of TopDataRecord
|
|
33172
|
+
"""
|
|
33173
|
+
return self._Data
|
|
33174
|
+
|
|
33175
|
+
@Data.setter
|
|
33176
|
+
def Data(self, Data):
|
|
33177
|
+
self._Data = Data
|
|
33178
|
+
|
|
33179
|
+
@property
|
|
33180
|
+
def RequestId(self):
|
|
33181
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33182
|
+
:rtype: str
|
|
33183
|
+
"""
|
|
33184
|
+
return self._RequestId
|
|
33185
|
+
|
|
33186
|
+
@RequestId.setter
|
|
33187
|
+
def RequestId(self, RequestId):
|
|
33188
|
+
self._RequestId = RequestId
|
|
33189
|
+
|
|
33190
|
+
|
|
33191
|
+
def _deserialize(self, params):
|
|
33192
|
+
self._TotalCount = params.get("TotalCount")
|
|
33193
|
+
if params.get("Data") is not None:
|
|
33194
|
+
self._Data = []
|
|
33195
|
+
for item in params.get("Data"):
|
|
33196
|
+
obj = TopDataRecord()
|
|
33197
|
+
obj._deserialize(item)
|
|
33198
|
+
self._Data.append(obj)
|
|
33199
|
+
self._RequestId = params.get("RequestId")
|
|
33200
|
+
|
|
33201
|
+
|
|
32799
33202
|
class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
32800
33203
|
r"""DescribeTopL7AnalysisData请求参数结构体
|
|
32801
33204
|
|
|
@@ -3619,6 +3619,29 @@ class TeoClient(AbstractClient):
|
|
|
3619
3619
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3620
3620
|
|
|
3621
3621
|
|
|
3622
|
+
def DescribeTimingFunctionAnalysisData(self, request):
|
|
3623
|
+
r"""本接口查询边缘函数分析的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
|
|
3624
|
+
|
|
3625
|
+
:param request: Request instance for DescribeTimingFunctionAnalysisData.
|
|
3626
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeTimingFunctionAnalysisDataRequest`
|
|
3627
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeTimingFunctionAnalysisDataResponse`
|
|
3628
|
+
|
|
3629
|
+
"""
|
|
3630
|
+
try:
|
|
3631
|
+
params = request._serialize()
|
|
3632
|
+
headers = request.headers
|
|
3633
|
+
body = self.call("DescribeTimingFunctionAnalysisData", params, headers=headers)
|
|
3634
|
+
response = json.loads(body)
|
|
3635
|
+
model = models.DescribeTimingFunctionAnalysisDataResponse()
|
|
3636
|
+
model._deserialize(response["Response"])
|
|
3637
|
+
return model
|
|
3638
|
+
except Exception as e:
|
|
3639
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3640
|
+
raise
|
|
3641
|
+
else:
|
|
3642
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3643
|
+
|
|
3644
|
+
|
|
3622
3645
|
def DescribeTimingL4Data(self, request):
|
|
3623
3646
|
r"""<p>本接口(<code>DescribeTimingL4Data</code>)用于查询四层时序数据列表。</p>
|
|
3624
3647
|
|
|
@@ -3715,6 +3738,29 @@ class TeoClient(AbstractClient):
|
|
|
3715
3738
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3716
3739
|
|
|
3717
3740
|
|
|
3741
|
+
def DescribeTopFunctionAnalysisData(self, request):
|
|
3742
|
+
r"""本接口用于查询边缘函数按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
|
|
3743
|
+
|
|
3744
|
+
:param request: Request instance for DescribeTopFunctionAnalysisData.
|
|
3745
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeTopFunctionAnalysisDataRequest`
|
|
3746
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeTopFunctionAnalysisDataResponse`
|
|
3747
|
+
|
|
3748
|
+
"""
|
|
3749
|
+
try:
|
|
3750
|
+
params = request._serialize()
|
|
3751
|
+
headers = request.headers
|
|
3752
|
+
body = self.call("DescribeTopFunctionAnalysisData", params, headers=headers)
|
|
3753
|
+
response = json.loads(body)
|
|
3754
|
+
model = models.DescribeTopFunctionAnalysisDataResponse()
|
|
3755
|
+
model._deserialize(response["Response"])
|
|
3756
|
+
return model
|
|
3757
|
+
except Exception as e:
|
|
3758
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3759
|
+
raise
|
|
3760
|
+
else:
|
|
3761
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3762
|
+
|
|
3763
|
+
|
|
3718
3764
|
def DescribeTopL7AnalysisData(self, request):
|
|
3719
3765
|
r"""本接口用于查询七层域名业务按照指定维度的 topN 数据。
|
|
3720
3766
|
注意:
|
|
@@ -2853,6 +2853,24 @@ class TeoClient(AbstractClient):
|
|
|
2853
2853
|
|
|
2854
2854
|
return await self.call_and_deserialize(**kwargs)
|
|
2855
2855
|
|
|
2856
|
+
async def DescribeTimingFunctionAnalysisData(
|
|
2857
|
+
self,
|
|
2858
|
+
request: models.DescribeTimingFunctionAnalysisDataRequest,
|
|
2859
|
+
opts: Dict = None,
|
|
2860
|
+
) -> models.DescribeTimingFunctionAnalysisDataResponse:
|
|
2861
|
+
"""
|
|
2862
|
+
本接口查询边缘函数分析的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
|
|
2863
|
+
"""
|
|
2864
|
+
|
|
2865
|
+
kwargs = {}
|
|
2866
|
+
kwargs["action"] = "DescribeTimingFunctionAnalysisData"
|
|
2867
|
+
kwargs["params"] = request._serialize()
|
|
2868
|
+
kwargs["resp_cls"] = models.DescribeTimingFunctionAnalysisDataResponse
|
|
2869
|
+
kwargs["headers"] = request.headers
|
|
2870
|
+
kwargs["opts"] = opts or {}
|
|
2871
|
+
|
|
2872
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2873
|
+
|
|
2856
2874
|
async def DescribeTimingL4Data(
|
|
2857
2875
|
self,
|
|
2858
2876
|
request: models.DescribeTimingL4DataRequest,
|
|
@@ -2929,6 +2947,24 @@ class TeoClient(AbstractClient):
|
|
|
2929
2947
|
|
|
2930
2948
|
return await self.call_and_deserialize(**kwargs)
|
|
2931
2949
|
|
|
2950
|
+
async def DescribeTopFunctionAnalysisData(
|
|
2951
|
+
self,
|
|
2952
|
+
request: models.DescribeTopFunctionAnalysisDataRequest,
|
|
2953
|
+
opts: Dict = None,
|
|
2954
|
+
) -> models.DescribeTopFunctionAnalysisDataResponse:
|
|
2955
|
+
"""
|
|
2956
|
+
本接口用于查询边缘函数按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
|
|
2957
|
+
"""
|
|
2958
|
+
|
|
2959
|
+
kwargs = {}
|
|
2960
|
+
kwargs["action"] = "DescribeTopFunctionAnalysisData"
|
|
2961
|
+
kwargs["params"] = request._serialize()
|
|
2962
|
+
kwargs["resp_cls"] = models.DescribeTopFunctionAnalysisDataResponse
|
|
2963
|
+
kwargs["headers"] = request.headers
|
|
2964
|
+
kwargs["opts"] = opts or {}
|
|
2965
|
+
|
|
2966
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2967
|
+
|
|
2932
2968
|
async def DescribeTopL7AnalysisData(
|
|
2933
2969
|
self,
|
|
2934
2970
|
request: models.DescribeTopL7AnalysisDataRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.205
|
|
4
4
|
Summary: Tencent Cloud Teo SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.205
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.203
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|