tencentcloud-sdk-python-teo 3.1.90__tar.gz → 3.1.91__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.90 → tencentcloud_sdk_python_teo-3.1.91}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220901/models.py +8 -8
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220901/teo_client.py +2 -60
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220901/teo_client_async.py +2 -60
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.91/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.90/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.90 → tencentcloud_sdk_python_teo-3.1.91}/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.91
|
|
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.91
|
|
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.91,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -2493,7 +2493,7 @@ class ApplicationProxy(AbstractModel):
|
|
|
2493
2493
|
<li>0:关闭加速;</li>
|
|
2494
2494
|
<li>1:开启加速。</li>
|
|
2495
2495
|
:type AccelerateType: int
|
|
2496
|
-
:param _SessionPersistTime:
|
|
2496
|
+
:param _SessionPersistTime: 会话保持时间,单位为秒。
|
|
2497
2497
|
:type SessionPersistTime: int
|
|
2498
2498
|
:param _Status: 状态,取值有:
|
|
2499
2499
|
<li>online:启用;</li>
|
|
@@ -2654,7 +2654,7 @@ class ApplicationProxy(AbstractModel):
|
|
|
2654
2654
|
|
|
2655
2655
|
@property
|
|
2656
2656
|
def SessionPersistTime(self):
|
|
2657
|
-
r"""
|
|
2657
|
+
r"""会话保持时间,单位为秒。
|
|
2658
2658
|
:rtype: int
|
|
2659
2659
|
"""
|
|
2660
2660
|
return self._SessionPersistTime
|
|
@@ -2823,7 +2823,7 @@ class ApplicationProxyRule(AbstractModel):
|
|
|
2823
2823
|
:type OriginType: str
|
|
2824
2824
|
:param _OriginValue: 源站信息:
|
|
2825
2825
|
<li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
|
|
2826
|
-
<li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-
|
|
2826
|
+
<li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-3pbiw4d9iqz0"]`;</li>
|
|
2827
2827
|
<li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
|
|
2828
2828
|
:type OriginValue: list of str
|
|
2829
2829
|
:param _RuleId: 规则ID。
|
|
@@ -2845,7 +2845,7 @@ class ApplicationProxyRule(AbstractModel):
|
|
|
2845
2845
|
<li>true:开启;</li>
|
|
2846
2846
|
<li>false:关闭。</li>默认值:false。
|
|
2847
2847
|
:type SessionPersist: bool
|
|
2848
|
-
:param _SessionPersistTime:
|
|
2848
|
+
:param _SessionPersistTime: 会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
|
|
2849
2849
|
:type SessionPersistTime: int
|
|
2850
2850
|
:param _OriginPort: 源站端口,支持格式:
|
|
2851
2851
|
<li>单端口,如:80。</li>
|
|
@@ -2911,7 +2911,7 @@ class ApplicationProxyRule(AbstractModel):
|
|
|
2911
2911
|
def OriginValue(self):
|
|
2912
2912
|
r"""源站信息:
|
|
2913
2913
|
<li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
|
|
2914
|
-
<li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-
|
|
2914
|
+
<li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-3pbiw4d9iqz0"]`;</li>
|
|
2915
2915
|
<li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
|
|
2916
2916
|
:rtype: list of str
|
|
2917
2917
|
"""
|
|
@@ -2978,7 +2978,7 @@ class ApplicationProxyRule(AbstractModel):
|
|
|
2978
2978
|
|
|
2979
2979
|
@property
|
|
2980
2980
|
def SessionPersistTime(self):
|
|
2981
|
-
r"""
|
|
2981
|
+
r"""会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
|
|
2982
2982
|
:rtype: int
|
|
2983
2983
|
"""
|
|
2984
2984
|
return self._SessionPersistTime
|
|
@@ -9888,7 +9888,7 @@ class CreateApplicationProxyRuleRequest(AbstractModel):
|
|
|
9888
9888
|
<li>true:开启;</li>
|
|
9889
9889
|
<li>false:关闭。</li>默认值:false。
|
|
9890
9890
|
:type SessionPersist: bool
|
|
9891
|
-
:param _SessionPersistTime:
|
|
9891
|
+
:param _SessionPersistTime: 会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
|
|
9892
9892
|
:type SessionPersistTime: int
|
|
9893
9893
|
:param _OriginPort: 源站端口,支持格式:
|
|
9894
9894
|
<li>单端口:80;</li>
|
|
@@ -10015,7 +10015,7 @@ class CreateApplicationProxyRuleRequest(AbstractModel):
|
|
|
10015
10015
|
|
|
10016
10016
|
@property
|
|
10017
10017
|
def SessionPersistTime(self):
|
|
10018
|
-
r"""
|
|
10018
|
+
r"""会话保持的时间,单位为秒,只有当SessionPersist为true时,该值才会生效。
|
|
10019
10019
|
:rtype: int
|
|
10020
10020
|
"""
|
|
10021
10021
|
return self._SessionPersistTime
|
|
@@ -3176,66 +3176,8 @@ class TeoClient(AbstractClient):
|
|
|
3176
3176
|
|
|
3177
3177
|
|
|
3178
3178
|
def DescribeTimingL7OriginPullData(self, request):
|
|
3179
|
-
r"""
|
|
3180
|
-
|
|
3181
|
-
<p>单次请求最多返回 <strong>50,000</strong> 个数据项<code> TimingDataItem </code>。数据项总数的计算规则如下:</p>
|
|
3182
|
-
<pre>
|
|
3183
|
-
指标个数 * 时间点个数 * 维度值个数 = 数据项总数
|
|
3184
|
-
</pre>
|
|
3185
|
-
<ul>
|
|
3186
|
-
<li>
|
|
3187
|
-
<strong>指标个数</strong>:<code>MetricNames</code> 的列表长度。
|
|
3188
|
-
</li>
|
|
3189
|
-
<li>
|
|
3190
|
-
<strong>时间点个数</strong>:<code>(EndTime - StartTime) / Interval</code>。
|
|
3191
|
-
</li>
|
|
3192
|
-
<li>
|
|
3193
|
-
<strong>维度值个数</strong>:
|
|
3194
|
-
<ul>
|
|
3195
|
-
<li>当未指定 <code>DimensionName</code> 时,默认按账号维度汇总数据,维度值个数为 1。</li>
|
|
3196
|
-
<li>当 <code>DimensionName = domain</code> 时,维度值个数为 <code>Filters</code> 中 <code>domain</code> 过滤条件指定的域名列表长度。</li>
|
|
3197
|
-
<li>当 <code>DimensionName = origin-status-code-category</code> 时,维度值个数默认为 <code>6</code>。</li>
|
|
3198
|
-
<li>当 <code>DimensionName = origin-status-code</code> 时,维度值个数默认为 <code>600</code>。</li>
|
|
3199
|
-
</ul>
|
|
3200
|
-
</li>
|
|
3201
|
-
</ul>
|
|
3202
|
-
|
|
3203
|
-
<p><code>DimensionName</code> 可以与 <code>Filters</code> 组合使用,通过在 <code>Filters</code> 中指定 <code>DimensionName</code> 对应的过滤条件以限制维度值个数。</p>
|
|
3204
|
-
|
|
3205
|
-
<h3>示例</h3>
|
|
3206
|
-
<p>以查询某一小时的具体状态码维度的时序数据为例,假设查询条件如下:</p>
|
|
3207
|
-
<ul>
|
|
3208
|
-
<li><code>MetricNames = ["l7Flow_request_hy"]</code>(指标个数 = 1)</li>
|
|
3209
|
-
<li><code>StartTime = 2025-10-01T06:00:00+08:00</code>,<code>EndTime = 2025-10-01T06:59:59+08:00</code>,<code>Interval = "min"</code>(时间点个数 = 60)</li>
|
|
3210
|
-
<li><code>DimensionName = origin-status-code</code>,<code>Filters = [{"originStatusCode": ["0", "4xx", "5xx"]}]</code>(维度值个数 = 201)</li>
|
|
3211
|
-
</ul>
|
|
3212
|
-
<p>则数据项总数为:</p>
|
|
3213
|
-
<pre>1 × 60 × 201 = 12060 </pre>
|
|
3214
|
-
<p>未超过限制。</p>
|
|
3215
|
-
|
|
3216
|
-
<p><strong>注意</strong>:若查询的数据项总数超过 <strong>50,000</strong>,系统会返回错误 <strong>LimitExceeded.TimingDataItemLimitExceeded</strong>。</p>
|
|
3217
|
-
<p>此时,请通过调整入参减少单次查询的数据项至 50,000 以内,可采取的做法有:</p>
|
|
3218
|
-
<ol>
|
|
3219
|
-
<li>
|
|
3220
|
-
<strong>减少时间点个数</strong>:
|
|
3221
|
-
<ul>
|
|
3222
|
-
<li>缩短查询时间范围(<code>StartTime</code> 到 <code>EndTime</code> 之间的时间跨度)。</li>
|
|
3223
|
-
<li>选择更大的时间间隔(<code>Interval</code>)。</li>
|
|
3224
|
-
</ul>
|
|
3225
|
-
</li>
|
|
3226
|
-
<li>
|
|
3227
|
-
<strong>减少维度值个数</strong>:
|
|
3228
|
-
<ul>
|
|
3229
|
-
<li>调整 <code>Filters</code>,指定更少的 <code>domain</code> 或 <code>originStatusCode</code> 列表。</li>
|
|
3230
|
-
</ul>
|
|
3231
|
-
</li>
|
|
3232
|
-
<li>
|
|
3233
|
-
<strong>减少指标值个数</strong>:
|
|
3234
|
-
<ul>
|
|
3235
|
-
<li>调整 <code>MetricNames</code>,指定更少的查询指标。</li>
|
|
3236
|
-
</ul>
|
|
3237
|
-
</li>
|
|
3238
|
-
</ol>
|
|
3179
|
+
r"""本接口用以查询七层域名业务的回源时序数据。
|
|
3180
|
+
您可以选择通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据,详细指引与使用限制请参考 [如何使用 API 实现单次调用中的分组查询](https://cloud.tencent.com/document/product/1552/127501)。
|
|
3239
3181
|
|
|
3240
3182
|
:param request: Request instance for DescribeTimingL7OriginPullData.
|
|
3241
3183
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeTimingL7OriginPullDataRequest`
|
|
@@ -2505,66 +2505,8 @@ class TeoClient(AbstractClient):
|
|
|
2505
2505
|
opts: Dict = None,
|
|
2506
2506
|
) -> models.DescribeTimingL7OriginPullDataResponse:
|
|
2507
2507
|
"""
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
<p>单次请求最多返回 <strong>50,000</strong> 个数据项<code> TimingDataItem </code>。数据项总数的计算规则如下:</p>
|
|
2511
|
-
<pre>
|
|
2512
|
-
指标个数 * 时间点个数 * 维度值个数 = 数据项总数
|
|
2513
|
-
</pre>
|
|
2514
|
-
<ul>
|
|
2515
|
-
<li>
|
|
2516
|
-
<strong>指标个数</strong>:<code>MetricNames</code> 的列表长度。
|
|
2517
|
-
</li>
|
|
2518
|
-
<li>
|
|
2519
|
-
<strong>时间点个数</strong>:<code>(EndTime - StartTime) / Interval</code>。
|
|
2520
|
-
</li>
|
|
2521
|
-
<li>
|
|
2522
|
-
<strong>维度值个数</strong>:
|
|
2523
|
-
<ul>
|
|
2524
|
-
<li>当未指定 <code>DimensionName</code> 时,默认按账号维度汇总数据,维度值个数为 1。</li>
|
|
2525
|
-
<li>当 <code>DimensionName = domain</code> 时,维度值个数为 <code>Filters</code> 中 <code>domain</code> 过滤条件指定的域名列表长度。</li>
|
|
2526
|
-
<li>当 <code>DimensionName = origin-status-code-category</code> 时,维度值个数默认为 <code>6</code>。</li>
|
|
2527
|
-
<li>当 <code>DimensionName = origin-status-code</code> 时,维度值个数默认为 <code>600</code>。</li>
|
|
2528
|
-
</ul>
|
|
2529
|
-
</li>
|
|
2530
|
-
</ul>
|
|
2531
|
-
|
|
2532
|
-
<p><code>DimensionName</code> 可以与 <code>Filters</code> 组合使用,通过在 <code>Filters</code> 中指定 <code>DimensionName</code> 对应的过滤条件以限制维度值个数。</p>
|
|
2533
|
-
|
|
2534
|
-
<h3>示例</h3>
|
|
2535
|
-
<p>以查询某一小时的具体状态码维度的时序数据为例,假设查询条件如下:</p>
|
|
2536
|
-
<ul>
|
|
2537
|
-
<li><code>MetricNames = ["l7Flow_request_hy"]</code>(指标个数 = 1)</li>
|
|
2538
|
-
<li><code>StartTime = 2025-10-01T06:00:00+08:00</code>,<code>EndTime = 2025-10-01T06:59:59+08:00</code>,<code>Interval = "min"</code>(时间点个数 = 60)</li>
|
|
2539
|
-
<li><code>DimensionName = origin-status-code</code>,<code>Filters = [{"originStatusCode": ["0", "4xx", "5xx"]}]</code>(维度值个数 = 201)</li>
|
|
2540
|
-
</ul>
|
|
2541
|
-
<p>则数据项总数为:</p>
|
|
2542
|
-
<pre>1 × 60 × 201 = 12060 </pre>
|
|
2543
|
-
<p>未超过限制。</p>
|
|
2544
|
-
|
|
2545
|
-
<p><strong>注意</strong>:若查询的数据项总数超过 <strong>50,000</strong>,系统会返回错误 <strong>LimitExceeded.TimingDataItemLimitExceeded</strong>。</p>
|
|
2546
|
-
<p>此时,请通过调整入参减少单次查询的数据项至 50,000 以内,可采取的做法有:</p>
|
|
2547
|
-
<ol>
|
|
2548
|
-
<li>
|
|
2549
|
-
<strong>减少时间点个数</strong>:
|
|
2550
|
-
<ul>
|
|
2551
|
-
<li>缩短查询时间范围(<code>StartTime</code> 到 <code>EndTime</code> 之间的时间跨度)。</li>
|
|
2552
|
-
<li>选择更大的时间间隔(<code>Interval</code>)。</li>
|
|
2553
|
-
</ul>
|
|
2554
|
-
</li>
|
|
2555
|
-
<li>
|
|
2556
|
-
<strong>减少维度值个数</strong>:
|
|
2557
|
-
<ul>
|
|
2558
|
-
<li>调整 <code>Filters</code>,指定更少的 <code>domain</code> 或 <code>originStatusCode</code> 列表。</li>
|
|
2559
|
-
</ul>
|
|
2560
|
-
</li>
|
|
2561
|
-
<li>
|
|
2562
|
-
<strong>减少指标值个数</strong>:
|
|
2563
|
-
<ul>
|
|
2564
|
-
<li>调整 <code>MetricNames</code>,指定更少的查询指标。</li>
|
|
2565
|
-
</ul>
|
|
2566
|
-
</li>
|
|
2567
|
-
</ol>
|
|
2508
|
+
本接口用以查询七层域名业务的回源时序数据。
|
|
2509
|
+
您可以选择通过指定查询维度 <code>DimensionName</code> 进行分组查询,返回多组时序数据,详细指引与使用限制请参考 [如何使用 API 实现单次调用中的分组查询](https://cloud.tencent.com/document/product/1552/127501)。
|
|
2568
2510
|
"""
|
|
2569
2511
|
|
|
2570
2512
|
kwargs = {}
|
|
@@ -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.91
|
|
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.91
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.91
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.90
|
|
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
|