tencentcloud-sdk-python-teo 3.0.1459__tar.gz → 3.0.1460__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.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220901/errorcodes.py +3 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220901/models.py +218 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220901/teo_client.py +23 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.1460/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.1459/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1459 → tencentcloud-sdk-python-teo-3.0.1460}/tencentcloud_sdk_python_teo.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-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1460,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1139,6 +1139,9 @@ OPERATIONDENIED_ORIGINGROUPLBUSED = 'OperationDenied.OriginGroupLBUsed'
|
|
|
1139
1139
|
# 规则引擎使用中,无法删除。
|
|
1140
1140
|
OPERATIONDENIED_ORIGINGROUPRULEENGINEUSED = 'OperationDenied.OriginGroupRuleEngineUsed'
|
|
1141
1141
|
|
|
1142
|
+
# 当前主账号不具备回源数据查询接口权限,请联系售后服务。
|
|
1143
|
+
OPERATIONDENIED_ORIGINPULLDATANOTSUPPORTED = 'OperationDenied.OriginPullDataNotSupported'
|
|
1144
|
+
|
|
1142
1145
|
# 归属权校验未通过,请先完成站点归属权校验。
|
|
1143
1146
|
OPERATIONDENIED_OWNERSHIPVERIFICATIONNOTPASSED = 'OperationDenied.OwnershipVerificationNotPassed'
|
|
1144
1147
|
|
|
@@ -25075,6 +25075,207 @@ class DescribeTimingL7CacheDataResponse(AbstractModel):
|
|
|
25075
25075
|
self._RequestId = params.get("RequestId")
|
|
25076
25076
|
|
|
25077
25077
|
|
|
25078
|
+
class DescribeTimingL7OriginPullDataRequest(AbstractModel):
|
|
25079
|
+
r"""DescribeTimingL7OriginPullData请求参数结构体
|
|
25080
|
+
|
|
25081
|
+
"""
|
|
25082
|
+
|
|
25083
|
+
def __init__(self):
|
|
25084
|
+
r"""
|
|
25085
|
+
:param _StartTime: 开始时间。
|
|
25086
|
+
:type StartTime: str
|
|
25087
|
+
:param _EndTime: 结束时间。查询时间范围(`EndTime` - `StartTime`)需小于等于 31 天。
|
|
25088
|
+
:type EndTime: str
|
|
25089
|
+
:param _MetricNames: 指标列表,取值有:
|
|
25090
|
+
<li>l7Flow_outFlux_hy: EdgeOne 节点至源站方向的请求流量,单位:Byte;</li>
|
|
25091
|
+
<li>l7Flow_outBandwidth_hy: EdgeOne 节点至源站方向的请求带宽,单位:bps;</li>
|
|
25092
|
+
<li>l7Flow_request_hy: EdgeOne 节点至源站方向的请求数,单位:次。</li>
|
|
25093
|
+
<li>l7Flow_inFlux_hy: 源站至 EdgeOne 节点方向的响应流量,单位:Byte;</li>
|
|
25094
|
+
<li>l7Flow_inBandwidth_hy: 源站至 EdgeOne 节点方向的响应带宽,单位:bps;</li>
|
|
25095
|
+
|
|
25096
|
+
:type MetricNames: list of str
|
|
25097
|
+
:param _ZoneIds: 站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
25098
|
+
:type ZoneIds: list of str
|
|
25099
|
+
:param _Interval: 查询时间粒度,取值有:
|
|
25100
|
+
<li>min: 1分钟;</li>
|
|
25101
|
+
<li>5min: 5分钟;</li>
|
|
25102
|
+
<li>hour: 1小时;</li>
|
|
25103
|
+
<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
25104
|
+
:type Interval: str
|
|
25105
|
+
:param _Filters: 过滤条件,详细的过滤条件如下:
|
|
25106
|
+
<li>domain:客户端请求的域名。若按泛域名接入 EdgeOne,则数据中记录为泛域名,而不是具体域名。</li>
|
|
25107
|
+
:type Filters: list of QueryCondition
|
|
25108
|
+
"""
|
|
25109
|
+
self._StartTime = None
|
|
25110
|
+
self._EndTime = None
|
|
25111
|
+
self._MetricNames = None
|
|
25112
|
+
self._ZoneIds = None
|
|
25113
|
+
self._Interval = None
|
|
25114
|
+
self._Filters = None
|
|
25115
|
+
|
|
25116
|
+
@property
|
|
25117
|
+
def StartTime(self):
|
|
25118
|
+
r"""开始时间。
|
|
25119
|
+
:rtype: str
|
|
25120
|
+
"""
|
|
25121
|
+
return self._StartTime
|
|
25122
|
+
|
|
25123
|
+
@StartTime.setter
|
|
25124
|
+
def StartTime(self, StartTime):
|
|
25125
|
+
self._StartTime = StartTime
|
|
25126
|
+
|
|
25127
|
+
@property
|
|
25128
|
+
def EndTime(self):
|
|
25129
|
+
r"""结束时间。查询时间范围(`EndTime` - `StartTime`)需小于等于 31 天。
|
|
25130
|
+
:rtype: str
|
|
25131
|
+
"""
|
|
25132
|
+
return self._EndTime
|
|
25133
|
+
|
|
25134
|
+
@EndTime.setter
|
|
25135
|
+
def EndTime(self, EndTime):
|
|
25136
|
+
self._EndTime = EndTime
|
|
25137
|
+
|
|
25138
|
+
@property
|
|
25139
|
+
def MetricNames(self):
|
|
25140
|
+
r"""指标列表,取值有:
|
|
25141
|
+
<li>l7Flow_outFlux_hy: EdgeOne 节点至源站方向的请求流量,单位:Byte;</li>
|
|
25142
|
+
<li>l7Flow_outBandwidth_hy: EdgeOne 节点至源站方向的请求带宽,单位:bps;</li>
|
|
25143
|
+
<li>l7Flow_request_hy: EdgeOne 节点至源站方向的请求数,单位:次。</li>
|
|
25144
|
+
<li>l7Flow_inFlux_hy: 源站至 EdgeOne 节点方向的响应流量,单位:Byte;</li>
|
|
25145
|
+
<li>l7Flow_inBandwidth_hy: 源站至 EdgeOne 节点方向的响应带宽,单位:bps;</li>
|
|
25146
|
+
|
|
25147
|
+
:rtype: list of str
|
|
25148
|
+
"""
|
|
25149
|
+
return self._MetricNames
|
|
25150
|
+
|
|
25151
|
+
@MetricNames.setter
|
|
25152
|
+
def MetricNames(self, MetricNames):
|
|
25153
|
+
self._MetricNames = MetricNames
|
|
25154
|
+
|
|
25155
|
+
@property
|
|
25156
|
+
def ZoneIds(self):
|
|
25157
|
+
r"""站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
25158
|
+
:rtype: list of str
|
|
25159
|
+
"""
|
|
25160
|
+
return self._ZoneIds
|
|
25161
|
+
|
|
25162
|
+
@ZoneIds.setter
|
|
25163
|
+
def ZoneIds(self, ZoneIds):
|
|
25164
|
+
self._ZoneIds = ZoneIds
|
|
25165
|
+
|
|
25166
|
+
@property
|
|
25167
|
+
def Interval(self):
|
|
25168
|
+
r"""查询时间粒度,取值有:
|
|
25169
|
+
<li>min: 1分钟;</li>
|
|
25170
|
+
<li>5min: 5分钟;</li>
|
|
25171
|
+
<li>hour: 1小时;</li>
|
|
25172
|
+
<li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。
|
|
25173
|
+
:rtype: str
|
|
25174
|
+
"""
|
|
25175
|
+
return self._Interval
|
|
25176
|
+
|
|
25177
|
+
@Interval.setter
|
|
25178
|
+
def Interval(self, Interval):
|
|
25179
|
+
self._Interval = Interval
|
|
25180
|
+
|
|
25181
|
+
@property
|
|
25182
|
+
def Filters(self):
|
|
25183
|
+
r"""过滤条件,详细的过滤条件如下:
|
|
25184
|
+
<li>domain:客户端请求的域名。若按泛域名接入 EdgeOne,则数据中记录为泛域名,而不是具体域名。</li>
|
|
25185
|
+
:rtype: list of QueryCondition
|
|
25186
|
+
"""
|
|
25187
|
+
return self._Filters
|
|
25188
|
+
|
|
25189
|
+
@Filters.setter
|
|
25190
|
+
def Filters(self, Filters):
|
|
25191
|
+
self._Filters = Filters
|
|
25192
|
+
|
|
25193
|
+
|
|
25194
|
+
def _deserialize(self, params):
|
|
25195
|
+
self._StartTime = params.get("StartTime")
|
|
25196
|
+
self._EndTime = params.get("EndTime")
|
|
25197
|
+
self._MetricNames = params.get("MetricNames")
|
|
25198
|
+
self._ZoneIds = params.get("ZoneIds")
|
|
25199
|
+
self._Interval = params.get("Interval")
|
|
25200
|
+
if params.get("Filters") is not None:
|
|
25201
|
+
self._Filters = []
|
|
25202
|
+
for item in params.get("Filters"):
|
|
25203
|
+
obj = QueryCondition()
|
|
25204
|
+
obj._deserialize(item)
|
|
25205
|
+
self._Filters.append(obj)
|
|
25206
|
+
memeber_set = set(params.keys())
|
|
25207
|
+
for name, value in vars(self).items():
|
|
25208
|
+
property_name = name[1:]
|
|
25209
|
+
if property_name in memeber_set:
|
|
25210
|
+
memeber_set.remove(property_name)
|
|
25211
|
+
if len(memeber_set) > 0:
|
|
25212
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25213
|
+
|
|
25214
|
+
|
|
25215
|
+
|
|
25216
|
+
class DescribeTimingL7OriginPullDataResponse(AbstractModel):
|
|
25217
|
+
r"""DescribeTimingL7OriginPullData返回参数结构体
|
|
25218
|
+
|
|
25219
|
+
"""
|
|
25220
|
+
|
|
25221
|
+
def __init__(self):
|
|
25222
|
+
r"""
|
|
25223
|
+
:param _TotalCount: 查询结果的总条数。
|
|
25224
|
+
:type TotalCount: int
|
|
25225
|
+
:param _TimingDataRecords: 回源时序数据列表。
|
|
25226
|
+
:type TimingDataRecords: list of TimingDataRecord
|
|
25227
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25228
|
+
:type RequestId: str
|
|
25229
|
+
"""
|
|
25230
|
+
self._TotalCount = None
|
|
25231
|
+
self._TimingDataRecords = None
|
|
25232
|
+
self._RequestId = None
|
|
25233
|
+
|
|
25234
|
+
@property
|
|
25235
|
+
def TotalCount(self):
|
|
25236
|
+
r"""查询结果的总条数。
|
|
25237
|
+
:rtype: int
|
|
25238
|
+
"""
|
|
25239
|
+
return self._TotalCount
|
|
25240
|
+
|
|
25241
|
+
@TotalCount.setter
|
|
25242
|
+
def TotalCount(self, TotalCount):
|
|
25243
|
+
self._TotalCount = TotalCount
|
|
25244
|
+
|
|
25245
|
+
@property
|
|
25246
|
+
def TimingDataRecords(self):
|
|
25247
|
+
r"""回源时序数据列表。
|
|
25248
|
+
:rtype: list of TimingDataRecord
|
|
25249
|
+
"""
|
|
25250
|
+
return self._TimingDataRecords
|
|
25251
|
+
|
|
25252
|
+
@TimingDataRecords.setter
|
|
25253
|
+
def TimingDataRecords(self, TimingDataRecords):
|
|
25254
|
+
self._TimingDataRecords = TimingDataRecords
|
|
25255
|
+
|
|
25256
|
+
@property
|
|
25257
|
+
def RequestId(self):
|
|
25258
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25259
|
+
:rtype: str
|
|
25260
|
+
"""
|
|
25261
|
+
return self._RequestId
|
|
25262
|
+
|
|
25263
|
+
@RequestId.setter
|
|
25264
|
+
def RequestId(self, RequestId):
|
|
25265
|
+
self._RequestId = RequestId
|
|
25266
|
+
|
|
25267
|
+
|
|
25268
|
+
def _deserialize(self, params):
|
|
25269
|
+
self._TotalCount = params.get("TotalCount")
|
|
25270
|
+
if params.get("TimingDataRecords") is not None:
|
|
25271
|
+
self._TimingDataRecords = []
|
|
25272
|
+
for item in params.get("TimingDataRecords"):
|
|
25273
|
+
obj = TimingDataRecord()
|
|
25274
|
+
obj._deserialize(item)
|
|
25275
|
+
self._TimingDataRecords.append(obj)
|
|
25276
|
+
self._RequestId = params.get("RequestId")
|
|
25277
|
+
|
|
25278
|
+
|
|
25078
25279
|
class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
25079
25280
|
r"""DescribeTopL7AnalysisData请求参数结构体
|
|
25080
25281
|
|
|
@@ -36962,6 +37163,8 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
36962
37163
|
:type ApplyType: str
|
|
36963
37164
|
:param _ClientCertInfo: 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 节点内,用于客户端对 EO 节点进行认证。默认关闭,不填写表示保持原有配置。
|
|
36964
37165
|
:type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
|
37166
|
+
:param _UpstreamCertInfo: 用于配置 EO 节点回源时携带的证书,用于回源双向认证握手,默认关闭,不填写表示保持原有配置。该配置当前为白名单内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service)。
|
|
37167
|
+
:type UpstreamCertInfo: :class:`tencentcloud.teo.v20220901.models.UpstreamCertInfo`
|
|
36965
37168
|
"""
|
|
36966
37169
|
self._ZoneId = None
|
|
36967
37170
|
self._Hosts = None
|
|
@@ -36969,6 +37172,7 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
36969
37172
|
self._ServerCertInfo = None
|
|
36970
37173
|
self._ApplyType = None
|
|
36971
37174
|
self._ClientCertInfo = None
|
|
37175
|
+
self._UpstreamCertInfo = None
|
|
36972
37176
|
|
|
36973
37177
|
@property
|
|
36974
37178
|
def ZoneId(self):
|
|
@@ -37047,6 +37251,17 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
37047
37251
|
def ClientCertInfo(self, ClientCertInfo):
|
|
37048
37252
|
self._ClientCertInfo = ClientCertInfo
|
|
37049
37253
|
|
|
37254
|
+
@property
|
|
37255
|
+
def UpstreamCertInfo(self):
|
|
37256
|
+
r"""用于配置 EO 节点回源时携带的证书,用于回源双向认证握手,默认关闭,不填写表示保持原有配置。该配置当前为白名单内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service)。
|
|
37257
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.UpstreamCertInfo`
|
|
37258
|
+
"""
|
|
37259
|
+
return self._UpstreamCertInfo
|
|
37260
|
+
|
|
37261
|
+
@UpstreamCertInfo.setter
|
|
37262
|
+
def UpstreamCertInfo(self, UpstreamCertInfo):
|
|
37263
|
+
self._UpstreamCertInfo = UpstreamCertInfo
|
|
37264
|
+
|
|
37050
37265
|
|
|
37051
37266
|
def _deserialize(self, params):
|
|
37052
37267
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -37062,6 +37277,9 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
37062
37277
|
if params.get("ClientCertInfo") is not None:
|
|
37063
37278
|
self._ClientCertInfo = MutualTLS()
|
|
37064
37279
|
self._ClientCertInfo._deserialize(params.get("ClientCertInfo"))
|
|
37280
|
+
if params.get("UpstreamCertInfo") is not None:
|
|
37281
|
+
self._UpstreamCertInfo = UpstreamCertInfo()
|
|
37282
|
+
self._UpstreamCertInfo._deserialize(params.get("UpstreamCertInfo"))
|
|
37065
37283
|
memeber_set = set(params.keys())
|
|
37066
37284
|
for name, value in vars(self).items():
|
|
37067
37285
|
property_name = name[1:]
|
|
@@ -2932,6 +2932,29 @@ class TeoClient(AbstractClient):
|
|
|
2932
2932
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2933
2933
|
|
|
2934
2934
|
|
|
2935
|
+
def DescribeTimingL7OriginPullData(self, request):
|
|
2936
|
+
r"""本接口用以查询七层域名业务的回源时序数据。
|
|
2937
|
+
|
|
2938
|
+
:param request: Request instance for DescribeTimingL7OriginPullData.
|
|
2939
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeTimingL7OriginPullDataRequest`
|
|
2940
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeTimingL7OriginPullDataResponse`
|
|
2941
|
+
|
|
2942
|
+
"""
|
|
2943
|
+
try:
|
|
2944
|
+
params = request._serialize()
|
|
2945
|
+
headers = request.headers
|
|
2946
|
+
body = self.call("DescribeTimingL7OriginPullData", params, headers=headers)
|
|
2947
|
+
response = json.loads(body)
|
|
2948
|
+
model = models.DescribeTimingL7OriginPullDataResponse()
|
|
2949
|
+
model._deserialize(response["Response"])
|
|
2950
|
+
return model
|
|
2951
|
+
except Exception as e:
|
|
2952
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2953
|
+
raise
|
|
2954
|
+
else:
|
|
2955
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2956
|
+
|
|
2957
|
+
|
|
2935
2958
|
def DescribeTopL7AnalysisData(self, request):
|
|
2936
2959
|
r"""本接口用于查询七层域名业务按照指定维度的 topN 数据。
|
|
2937
2960
|
注意:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1460
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
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
|