tencentcloud-sdk-python-teo 3.0.1489__tar.gz → 3.1.1__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 (22) hide show
  1. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/setup.py +2 -1
  3. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/__init__.py +1 -1
  4. tencentcloud_sdk_python_teo-3.1.1/tencentcloud/teo/v20220106/teo_client_async.py +120 -0
  5. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220901/models.py +141 -6
  6. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220901/teo_client.py +1 -1
  7. tencentcloud_sdk_python_teo-3.1.1/tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
  8. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  9. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +2 -0
  10. tencentcloud_sdk_python_teo-3.1.1/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  11. tencentcloud_sdk_python_teo-3.0.1489/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  12. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/README.rst +0 -0
  13. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/setup.cfg +0 -0
  14. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/__init__.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220106/__init__.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220106/models.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220901/__init__.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  21. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.0.1489 → tencentcloud_sdk_python_teo-3.1.1}/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.0.1489
3
+ Version: 3.1.1
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.0.1489
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.1
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,8 @@ 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.1489,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.1,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Teo SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1489'
17
+ __version__ = '3.1.1'
@@ -0,0 +1,120 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.teo.v20220106 import models
20
+ from typing import Dict
21
+
22
+
23
+ class TeoClient(AbstractClient):
24
+ _apiVersion = '2022-01-06'
25
+ _endpoint = 'teo.tencentcloudapi.com'
26
+ _service = 'teo'
27
+
28
+ async def CreatePrefetchTask(
29
+ self,
30
+ request: models.CreatePrefetchTaskRequest,
31
+ opts: Dict = None,
32
+ ) -> models.CreatePrefetchTaskResponse:
33
+ """
34
+ 老版本接口,最近一次调用时23年11月了
35
+
36
+ 创建预热任务
37
+ """
38
+
39
+ kwargs = {}
40
+ kwargs["action"] = "CreatePrefetchTask"
41
+ kwargs["params"] = request._serialize()
42
+ kwargs["resp_cls"] = models.CreatePrefetchTaskResponse
43
+ kwargs["headers"] = request.headers
44
+ kwargs["opts"] = opts or {}
45
+
46
+ return await self.call_and_deserialize(**kwargs)
47
+
48
+ async def CreatePurgeTask(
49
+ self,
50
+ request: models.CreatePurgeTaskRequest,
51
+ opts: Dict = None,
52
+ ) -> models.CreatePurgeTaskResponse:
53
+ """
54
+ 老版本接口,老版本pod的最近一次调用在23年11月
55
+
56
+ 创建清除缓存任务
57
+ """
58
+
59
+ kwargs = {}
60
+ kwargs["action"] = "CreatePurgeTask"
61
+ kwargs["params"] = request._serialize()
62
+ kwargs["resp_cls"] = models.CreatePurgeTaskResponse
63
+ kwargs["headers"] = request.headers
64
+ kwargs["opts"] = opts or {}
65
+
66
+ return await self.call_and_deserialize(**kwargs)
67
+
68
+ async def DescribePrefetchTasks(
69
+ self,
70
+ request: models.DescribePrefetchTasksRequest,
71
+ opts: Dict = None,
72
+ ) -> models.DescribePrefetchTasksResponse:
73
+ """
74
+ 查询预热任务状态
75
+ """
76
+
77
+ kwargs = {}
78
+ kwargs["action"] = "DescribePrefetchTasks"
79
+ kwargs["params"] = request._serialize()
80
+ kwargs["resp_cls"] = models.DescribePrefetchTasksResponse
81
+ kwargs["headers"] = request.headers
82
+ kwargs["opts"] = opts or {}
83
+
84
+ return await self.call_and_deserialize(**kwargs)
85
+
86
+ async def DescribePurgeTasks(
87
+ self,
88
+ request: models.DescribePurgeTasksRequest,
89
+ opts: Dict = None,
90
+ ) -> models.DescribePurgeTasksResponse:
91
+ """
92
+ 查询清除缓存历史记录
93
+ """
94
+
95
+ kwargs = {}
96
+ kwargs["action"] = "DescribePurgeTasks"
97
+ kwargs["params"] = request._serialize()
98
+ kwargs["resp_cls"] = models.DescribePurgeTasksResponse
99
+ kwargs["headers"] = request.headers
100
+ kwargs["opts"] = opts or {}
101
+
102
+ return await self.call_and_deserialize(**kwargs)
103
+
104
+ async def DescribeZones(
105
+ self,
106
+ request: models.DescribeZonesRequest,
107
+ opts: Dict = None,
108
+ ) -> models.DescribeZonesResponse:
109
+ """
110
+ 用户查询用户站点信息列表,支持分页
111
+ """
112
+
113
+ kwargs = {}
114
+ kwargs["action"] = "DescribeZones"
115
+ kwargs["params"] = request._serialize()
116
+ kwargs["resp_cls"] = models.DescribeZonesResponse
117
+ kwargs["headers"] = request.headers
118
+ kwargs["opts"] = opts or {}
119
+
120
+ return await self.call_and_deserialize(**kwargs)
@@ -2963,10 +2963,10 @@ class ApplyFreeCertificateRequest(AbstractModel):
2963
2963
  :type ZoneId: str
2964
2964
  :param _Domain: 申请免费证书的目标域名。
2965
2965
  :type Domain: str
2966
- :param _VerificationMethod: 申请免费证书时验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
2966
+ :param _VerificationMethod: 申请免费证书的验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
2967
2967
  <li>http_challenge:HTTP 访问文件验证方式,通过 HTTP 访问域名指定 URL 获取文件信息以完成免费证书申请验证;</li>
2968
2968
  <li>dns_challenge:DNS 委派验证方式,通过添加指定的主机记录解析指向 EdgeOne 以完成免费证书申请验证。</li>
2969
- 注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口进行验证,验证通过后,即可申请成功。在免费证书申请成功后,你可以调用<a href = 'https://cloud.tencent.com/document/product/1552/80764'>配置域名证书</a>接口为当前域名部署免费证书。
2969
+ 注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口进行验证,验证通过后,即可申请成功。在免费证书申请成功后,你可以调用<a href = 'https://cloud.tencent.com/document/product/1552/80764'>配置域名证书</a>接口为当前域名部署免费证书。
2970
2970
  :type VerificationMethod: str
2971
2971
  """
2972
2972
  self._ZoneId = None
@@ -2997,10 +2997,10 @@ class ApplyFreeCertificateRequest(AbstractModel):
2997
2997
 
2998
2998
  @property
2999
2999
  def VerificationMethod(self):
3000
- r"""申请免费证书时验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
3000
+ r"""申请免费证书的验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
3001
3001
  <li>http_challenge:HTTP 访问文件验证方式,通过 HTTP 访问域名指定 URL 获取文件信息以完成免费证书申请验证;</li>
3002
3002
  <li>dns_challenge:DNS 委派验证方式,通过添加指定的主机记录解析指向 EdgeOne 以完成免费证书申请验证。</li>
3003
- 注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口进行验证,验证通过后,即可申请成功。在免费证书申请成功后,你可以调用<a href = 'https://cloud.tencent.com/document/product/1552/80764'>配置域名证书</a>接口为当前域名部署免费证书。
3003
+ 注意:在触发本接口后,你需要根据返回的验证信息,完成验证内容配置。配置完成后,还需要通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口进行验证,验证通过后,即可申请成功。在免费证书申请成功后,你可以调用<a href = 'https://cloud.tencent.com/document/product/1552/80764'>配置域名证书</a>接口为当前域名部署免费证书。
3004
3004
  :rtype: str
3005
3005
  """
3006
3006
  return self._VerificationMethod
@@ -21757,7 +21757,7 @@ class DescribeJustInTimeTranscodeTemplatesRequest(AbstractModel):
21757
21757
  r"""
21758
21758
  :param _ZoneId: 站点ID。
21759
21759
  :type ZoneId: str
21760
- :param _Filters: 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模版名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
21760
+ :param _Filters: 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模板名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
21761
21761
  :type Filters: list of Filter
21762
21762
  :param _SortBy: 排序字段,取值有:<li>createTime:模板创建时间。</li>默认值为:createTime。
21763
21763
  :type SortBy: str
@@ -21788,7 +21788,7 @@ class DescribeJustInTimeTranscodeTemplatesRequest(AbstractModel):
21788
21788
 
21789
21789
  @property
21790
21790
  def Filters(self):
21791
- r"""过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模版名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
21791
+ r"""过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模板名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
21792
21792
  :rtype: list of Filter
21793
21793
  """
21794
21794
  return self._Filters
@@ -42587,6 +42587,8 @@ class ModifyZoneSettingRequest(AbstractModel):
42587
42587
  :param _Grpc: Grpc 协议支持配置。
42588
42588
  不填写表示保持原有配置。
42589
42589
  :type Grpc: :class:`tencentcloud.teo.v20220901.models.Grpc`
42590
+ :param _NetworkErrorLogging: 网络错误日志记录配置。不填写表示保持原有配置。
42591
+ :type NetworkErrorLogging: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLogging`
42590
42592
  :param _ImageOptimize: 图片优化配置。
42591
42593
  不填写表示关闭。
42592
42594
  :type ImageOptimize: :class:`tencentcloud.teo.v20220901.models.ImageOptimize`
@@ -42614,6 +42616,7 @@ class ModifyZoneSettingRequest(AbstractModel):
42614
42616
  self._Ipv6 = None
42615
42617
  self._ClientIpCountry = None
42616
42618
  self._Grpc = None
42619
+ self._NetworkErrorLogging = None
42617
42620
  self._ImageOptimize = None
42618
42621
  self._StandardDebug = None
42619
42622
  self._JITVideoProcess = None
@@ -42845,6 +42848,17 @@ class ModifyZoneSettingRequest(AbstractModel):
42845
42848
  def Grpc(self, Grpc):
42846
42849
  self._Grpc = Grpc
42847
42850
 
42851
+ @property
42852
+ def NetworkErrorLogging(self):
42853
+ r"""网络错误日志记录配置。不填写表示保持原有配置。
42854
+ :rtype: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLogging`
42855
+ """
42856
+ return self._NetworkErrorLogging
42857
+
42858
+ @NetworkErrorLogging.setter
42859
+ def NetworkErrorLogging(self, NetworkErrorLogging):
42860
+ self._NetworkErrorLogging = NetworkErrorLogging
42861
+
42848
42862
  @property
42849
42863
  def ImageOptimize(self):
42850
42864
  r"""图片优化配置。
@@ -42936,6 +42950,9 @@ class ModifyZoneSettingRequest(AbstractModel):
42936
42950
  if params.get("Grpc") is not None:
42937
42951
  self._Grpc = Grpc()
42938
42952
  self._Grpc._deserialize(params.get("Grpc"))
42953
+ if params.get("NetworkErrorLogging") is not None:
42954
+ self._NetworkErrorLogging = NetworkErrorLogging()
42955
+ self._NetworkErrorLogging._deserialize(params.get("NetworkErrorLogging"))
42939
42956
  if params.get("ImageOptimize") is not None:
42940
42957
  self._ImageOptimize = ImageOptimize()
42941
42958
  self._ImageOptimize._deserialize(params.get("ImageOptimize"))
@@ -43785,6 +43802,86 @@ class NSDetail(AbstractModel):
43785
43802
 
43786
43803
 
43787
43804
 
43805
+ class NetworkErrorLogging(AbstractModel):
43806
+ r"""网络错误日志记录配置项
43807
+
43808
+ """
43809
+
43810
+ def __init__(self):
43811
+ r"""
43812
+ :param _Switch: 是否开启网络错误日志记录配置,取值有:
43813
+ <li>on:开启;</li>
43814
+ <li>off:关闭。</li>
43815
+ :type Switch: str
43816
+ """
43817
+ self._Switch = None
43818
+
43819
+ @property
43820
+ def Switch(self):
43821
+ r"""是否开启网络错误日志记录配置,取值有:
43822
+ <li>on:开启;</li>
43823
+ <li>off:关闭。</li>
43824
+ :rtype: str
43825
+ """
43826
+ return self._Switch
43827
+
43828
+ @Switch.setter
43829
+ def Switch(self, Switch):
43830
+ self._Switch = Switch
43831
+
43832
+
43833
+ def _deserialize(self, params):
43834
+ self._Switch = params.get("Switch")
43835
+ memeber_set = set(params.keys())
43836
+ for name, value in vars(self).items():
43837
+ property_name = name[1:]
43838
+ if property_name in memeber_set:
43839
+ memeber_set.remove(property_name)
43840
+ if len(memeber_set) > 0:
43841
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43842
+
43843
+
43844
+
43845
+ class NetworkErrorLoggingParameters(AbstractModel):
43846
+ r"""网络错误日志记录配置项。
43847
+
43848
+ """
43849
+
43850
+ def __init__(self):
43851
+ r"""
43852
+ :param _Switch: 网络错误日志记录配置开关,取值有:
43853
+ <li>on:开启;</li>
43854
+ <li>off:关闭。</li>
43855
+ :type Switch: str
43856
+ """
43857
+ self._Switch = None
43858
+
43859
+ @property
43860
+ def Switch(self):
43861
+ r"""网络错误日志记录配置开关,取值有:
43862
+ <li>on:开启;</li>
43863
+ <li>off:关闭。</li>
43864
+ :rtype: str
43865
+ """
43866
+ return self._Switch
43867
+
43868
+ @Switch.setter
43869
+ def Switch(self, Switch):
43870
+ self._Switch = Switch
43871
+
43872
+
43873
+ def _deserialize(self, params):
43874
+ self._Switch = params.get("Switch")
43875
+ memeber_set = set(params.keys())
43876
+ for name, value in vars(self).items():
43877
+ property_name = name[1:]
43878
+ if property_name in memeber_set:
43879
+ memeber_set.remove(property_name)
43880
+ if len(memeber_set) > 0:
43881
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
43882
+
43883
+
43884
+
43788
43885
  class NextOriginACL(AbstractModel):
43789
43886
  r"""当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前生效的回源 IP 网段的对比。
43790
43887
 
@@ -56701,6 +56798,9 @@ class ZoneConfig(AbstractModel):
56701
56798
  :param _Grpc: gRPC 协议支持配置。
56702
56799
  注意:此字段可能返回 null,表示取不到有效值。
56703
56800
  :type Grpc: :class:`tencentcloud.teo.v20220901.models.GrpcParameters`
56801
+ :param _NetworkErrorLogging: 网络错误日志记录配置。
56802
+ 注意:此字段可能返回 null,表示取不到有效值。
56803
+ :type NetworkErrorLogging: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLoggingParameters`
56704
56804
  :param _AccelerateMainland: 中国大陆加速优化配置。
56705
56805
  注意:此字段可能返回 null,表示取不到有效值。
56706
56806
  :type AccelerateMainland: :class:`tencentcloud.teo.v20220901.models.AccelerateMainlandParameters`
@@ -56728,6 +56828,7 @@ class ZoneConfig(AbstractModel):
56728
56828
  self._ClientIPHeader = None
56729
56829
  self._ClientIPCountry = None
56730
56830
  self._Grpc = None
56831
+ self._NetworkErrorLogging = None
56731
56832
  self._AccelerateMainland = None
56732
56833
  self._StandardDebug = None
56733
56834
 
@@ -56971,6 +57072,18 @@ class ZoneConfig(AbstractModel):
56971
57072
  def Grpc(self, Grpc):
56972
57073
  self._Grpc = Grpc
56973
57074
 
57075
+ @property
57076
+ def NetworkErrorLogging(self):
57077
+ r"""网络错误日志记录配置。
57078
+ 注意:此字段可能返回 null,表示取不到有效值。
57079
+ :rtype: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLoggingParameters`
57080
+ """
57081
+ return self._NetworkErrorLogging
57082
+
57083
+ @NetworkErrorLogging.setter
57084
+ def NetworkErrorLogging(self, NetworkErrorLogging):
57085
+ self._NetworkErrorLogging = NetworkErrorLogging
57086
+
56974
57087
  @property
56975
57088
  def AccelerateMainland(self):
56976
57089
  r"""中国大陆加速优化配置。
@@ -57057,6 +57170,9 @@ class ZoneConfig(AbstractModel):
57057
57170
  if params.get("Grpc") is not None:
57058
57171
  self._Grpc = GrpcParameters()
57059
57172
  self._Grpc._deserialize(params.get("Grpc"))
57173
+ if params.get("NetworkErrorLogging") is not None:
57174
+ self._NetworkErrorLogging = NetworkErrorLoggingParameters()
57175
+ self._NetworkErrorLogging._deserialize(params.get("NetworkErrorLogging"))
57060
57176
  if params.get("AccelerateMainland") is not None:
57061
57177
  self._AccelerateMainland = AccelerateMainlandParameters()
57062
57178
  self._AccelerateMainland._deserialize(params.get("AccelerateMainland"))
@@ -57263,6 +57379,9 @@ class ZoneSetting(AbstractModel):
57263
57379
  :param _Grpc: Grpc协议支持配置。
57264
57380
  注意:此字段可能返回 null,表示取不到有效值。
57265
57381
  :type Grpc: :class:`tencentcloud.teo.v20220901.models.Grpc`
57382
+ :param _NetworkErrorLogging: 网络错误日志记录配置。
57383
+ 注意:此字段可能返回 null,表示取不到有效值。
57384
+ :type NetworkErrorLogging: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLogging`
57266
57385
  :param _ImageOptimize: 图片优化相关配置。
57267
57386
  注意:此字段可能返回 null,表示取不到有效值。
57268
57387
  :type ImageOptimize: :class:`tencentcloud.teo.v20220901.models.ImageOptimize`
@@ -57296,6 +57415,7 @@ class ZoneSetting(AbstractModel):
57296
57415
  self._Https = None
57297
57416
  self._ClientIpCountry = None
57298
57417
  self._Grpc = None
57418
+ self._NetworkErrorLogging = None
57299
57419
  self._ImageOptimize = None
57300
57420
  self._AccelerateMainland = None
57301
57421
  self._StandardDebug = None
@@ -57541,6 +57661,18 @@ class ZoneSetting(AbstractModel):
57541
57661
  def Grpc(self, Grpc):
57542
57662
  self._Grpc = Grpc
57543
57663
 
57664
+ @property
57665
+ def NetworkErrorLogging(self):
57666
+ r"""网络错误日志记录配置。
57667
+ 注意:此字段可能返回 null,表示取不到有效值。
57668
+ :rtype: :class:`tencentcloud.teo.v20220901.models.NetworkErrorLogging`
57669
+ """
57670
+ return self._NetworkErrorLogging
57671
+
57672
+ @NetworkErrorLogging.setter
57673
+ def NetworkErrorLogging(self, NetworkErrorLogging):
57674
+ self._NetworkErrorLogging = NetworkErrorLogging
57675
+
57544
57676
  @property
57545
57677
  def ImageOptimize(self):
57546
57678
  r"""图片优化相关配置。
@@ -57647,6 +57779,9 @@ class ZoneSetting(AbstractModel):
57647
57779
  if params.get("Grpc") is not None:
57648
57780
  self._Grpc = Grpc()
57649
57781
  self._Grpc._deserialize(params.get("Grpc"))
57782
+ if params.get("NetworkErrorLogging") is not None:
57783
+ self._NetworkErrorLogging = NetworkErrorLogging()
57784
+ self._NetworkErrorLogging._deserialize(params.get("NetworkErrorLogging"))
57650
57785
  if params.get("ImageOptimize") is not None:
57651
57786
  self._ImageOptimize = ImageOptimize()
57652
57787
  self._ImageOptimize._deserialize(params.get("ImageOptimize"))
@@ -153,7 +153,7 @@ class TeoClient(AbstractClient):
153
153
 
154
154
  def CheckFreeCertificateVerification(self, request):
155
155
  r"""该接口用于验证免费证书并获取免费证书申请结果。如果验证通过,可通过该接口查询到对应域名申请的免费证书信息,如果申请失败,该接口将返回对应的验证失败信息。
156
- 在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://tcloud4api.woa.com/document/product/1657/80723?!preview)接口配置,才能将免费证书部署至加速域上。
156
+ 在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://cloud.tencent.com/document/product/1552/80764)接口配置,才能将免费证书部署至加速域上。
157
157
 
158
158
  :param request: Request instance for CheckFreeCertificateVerification.
159
159
  :type request: :class:`tencentcloud.teo.v20220901.models.CheckFreeCertificateVerificationRequest`