tencentcloud-sdk-python-teo 3.0.1481__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 (20) hide show
  1. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220901/models.py +272 -10
  5. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220901/teo_client.py +58 -0
  6. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_teo-3.0.1484/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_teo-3.0.1481/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/README.rst +0 -0
  10. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/__init__.py +0 -0
  12. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220106/__init__.py +0 -0
  13. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220106/models.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220901/__init__.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud_sdk_python_teo-3.0.1481 → tencentcloud_sdk_python_teo-3.0.1484}/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.1481
3
+ Version: 3.0.1484
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.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
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.0.1481,<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 Teo 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.1481'
17
+ __version__ = '3.0.1484'
@@ -2952,6 +2952,140 @@ class ApplicationProxyRule(AbstractModel):
2952
2952
 
2953
2953
 
2954
2954
 
2955
+ class ApplyFreeCertificateRequest(AbstractModel):
2956
+ r"""ApplyFreeCertificate请求参数结构体
2957
+
2958
+ """
2959
+
2960
+ def __init__(self):
2961
+ r"""
2962
+ :param _ZoneId: 站点ID。
2963
+ :type ZoneId: str
2964
+ :param _Domain: 申请免费证书的目标域名。
2965
+ :type Domain: str
2966
+ :param _VerificationMethod: 申请免费证书时验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
2967
+ <li>http_challenge:HTTP 访问文件验证方式,通过 HTTP 访问域名指定 URL 获取文件信息以完成免费证书申请验证;</li>
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>接口为当前域名部署免费证书。
2970
+ :type VerificationMethod: str
2971
+ """
2972
+ self._ZoneId = None
2973
+ self._Domain = None
2974
+ self._VerificationMethod = None
2975
+
2976
+ @property
2977
+ def ZoneId(self):
2978
+ r"""站点ID。
2979
+ :rtype: str
2980
+ """
2981
+ return self._ZoneId
2982
+
2983
+ @ZoneId.setter
2984
+ def ZoneId(self, ZoneId):
2985
+ self._ZoneId = ZoneId
2986
+
2987
+ @property
2988
+ def Domain(self):
2989
+ r"""申请免费证书的目标域名。
2990
+ :rtype: str
2991
+ """
2992
+ return self._Domain
2993
+
2994
+ @Domain.setter
2995
+ def Domain(self, Domain):
2996
+ self._Domain = Domain
2997
+
2998
+ @property
2999
+ def VerificationMethod(self):
3000
+ r"""申请免费证书时验证方式,详细验证方式说明参考[免费证书申请方式说明文档](https://cloud.tencent.com/document/product/1552/90437) ,相关取值有:
3001
+ <li>http_challenge:HTTP 访问文件验证方式,通过 HTTP 访问域名指定 URL 获取文件信息以完成免费证书申请验证;</li>
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>接口为当前域名部署免费证书。
3004
+ :rtype: str
3005
+ """
3006
+ return self._VerificationMethod
3007
+
3008
+ @VerificationMethod.setter
3009
+ def VerificationMethod(self, VerificationMethod):
3010
+ self._VerificationMethod = VerificationMethod
3011
+
3012
+
3013
+ def _deserialize(self, params):
3014
+ self._ZoneId = params.get("ZoneId")
3015
+ self._Domain = params.get("Domain")
3016
+ self._VerificationMethod = params.get("VerificationMethod")
3017
+ memeber_set = set(params.keys())
3018
+ for name, value in vars(self).items():
3019
+ property_name = name[1:]
3020
+ if property_name in memeber_set:
3021
+ memeber_set.remove(property_name)
3022
+ if len(memeber_set) > 0:
3023
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3024
+
3025
+
3026
+
3027
+ class ApplyFreeCertificateResponse(AbstractModel):
3028
+ r"""ApplyFreeCertificate返回参数结构体
3029
+
3030
+ """
3031
+
3032
+ def __init__(self):
3033
+ r"""
3034
+ :param _DnsVerification: 当 VerificationMethod 为 dns_challenge 时,域名申请免费证书的相关验证信息。
3035
+ :type DnsVerification: :class:`tencentcloud.teo.v20220901.models.DnsVerification`
3036
+ :param _FileVerification: 当 VerificationMethod 为 http_challenge 时,域名申请免费证书的相关验证信息。
3037
+ :type FileVerification: :class:`tencentcloud.teo.v20220901.models.FileVerification`
3038
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3039
+ :type RequestId: str
3040
+ """
3041
+ self._DnsVerification = None
3042
+ self._FileVerification = None
3043
+ self._RequestId = None
3044
+
3045
+ @property
3046
+ def DnsVerification(self):
3047
+ r"""当 VerificationMethod 为 dns_challenge 时,域名申请免费证书的相关验证信息。
3048
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DnsVerification`
3049
+ """
3050
+ return self._DnsVerification
3051
+
3052
+ @DnsVerification.setter
3053
+ def DnsVerification(self, DnsVerification):
3054
+ self._DnsVerification = DnsVerification
3055
+
3056
+ @property
3057
+ def FileVerification(self):
3058
+ r"""当 VerificationMethod 为 http_challenge 时,域名申请免费证书的相关验证信息。
3059
+ :rtype: :class:`tencentcloud.teo.v20220901.models.FileVerification`
3060
+ """
3061
+ return self._FileVerification
3062
+
3063
+ @FileVerification.setter
3064
+ def FileVerification(self, FileVerification):
3065
+ self._FileVerification = FileVerification
3066
+
3067
+ @property
3068
+ def RequestId(self):
3069
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3070
+ :rtype: str
3071
+ """
3072
+ return self._RequestId
3073
+
3074
+ @RequestId.setter
3075
+ def RequestId(self, RequestId):
3076
+ self._RequestId = RequestId
3077
+
3078
+
3079
+ def _deserialize(self, params):
3080
+ if params.get("DnsVerification") is not None:
3081
+ self._DnsVerification = DnsVerification()
3082
+ self._DnsVerification._deserialize(params.get("DnsVerification"))
3083
+ if params.get("FileVerification") is not None:
3084
+ self._FileVerification = FileVerification()
3085
+ self._FileVerification._deserialize(params.get("FileVerification"))
3086
+ self._RequestId = params.get("RequestId")
3087
+
3088
+
2955
3089
  class AscriptionInfo(AbstractModel):
2956
3090
  r"""站点归属信息
2957
3091
 
@@ -7075,6 +7209,132 @@ class CheckCnameStatusResponse(AbstractModel):
7075
7209
  self._RequestId = params.get("RequestId")
7076
7210
 
7077
7211
 
7212
+ class CheckFreeCertificateVerificationRequest(AbstractModel):
7213
+ r"""CheckFreeCertificateVerification请求参数结构体
7214
+
7215
+ """
7216
+
7217
+ def __init__(self):
7218
+ r"""
7219
+ :param _ZoneId: 站点 ID。
7220
+ :type ZoneId: str
7221
+ :param _Domain: 加速域名,该域名为[申请免费证书](https://tcloud4api.woa.com/document/product/1657/927654?!preview&!document=1)时使用的域名。
7222
+ :type Domain: str
7223
+ """
7224
+ self._ZoneId = None
7225
+ self._Domain = None
7226
+
7227
+ @property
7228
+ def ZoneId(self):
7229
+ r"""站点 ID。
7230
+ :rtype: str
7231
+ """
7232
+ return self._ZoneId
7233
+
7234
+ @ZoneId.setter
7235
+ def ZoneId(self, ZoneId):
7236
+ self._ZoneId = ZoneId
7237
+
7238
+ @property
7239
+ def Domain(self):
7240
+ r"""加速域名,该域名为[申请免费证书](https://tcloud4api.woa.com/document/product/1657/927654?!preview&!document=1)时使用的域名。
7241
+ :rtype: str
7242
+ """
7243
+ return self._Domain
7244
+
7245
+ @Domain.setter
7246
+ def Domain(self, Domain):
7247
+ self._Domain = Domain
7248
+
7249
+
7250
+ def _deserialize(self, params):
7251
+ self._ZoneId = params.get("ZoneId")
7252
+ self._Domain = params.get("Domain")
7253
+ memeber_set = set(params.keys())
7254
+ for name, value in vars(self).items():
7255
+ property_name = name[1:]
7256
+ if property_name in memeber_set:
7257
+ memeber_set.remove(property_name)
7258
+ if len(memeber_set) > 0:
7259
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7260
+
7261
+
7262
+
7263
+ class CheckFreeCertificateVerificationResponse(AbstractModel):
7264
+ r"""CheckFreeCertificateVerification返回参数结构体
7265
+
7266
+ """
7267
+
7268
+ def __init__(self):
7269
+ r"""
7270
+ :param _CommonName: 免费证书申请成功时,该证书颁发给的域名。
7271
+ 注意:一个域名只允许申请一本免费证书, 如果已经有泛域名申请了免费证书的情况下,其子域名会匹配使用该泛域名证书。
7272
+ :type CommonName: str
7273
+ :param _SignatureAlgorithm: 免费证书申请成功时,该证书使用的签名算法,当前仅支持 RSA 2048。
7274
+ :type SignatureAlgorithm: str
7275
+ :param _ExpireTime: 免费证书申请成功时,该证书的过期时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
7276
+ :type ExpireTime: str
7277
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7278
+ :type RequestId: str
7279
+ """
7280
+ self._CommonName = None
7281
+ self._SignatureAlgorithm = None
7282
+ self._ExpireTime = None
7283
+ self._RequestId = None
7284
+
7285
+ @property
7286
+ def CommonName(self):
7287
+ r"""免费证书申请成功时,该证书颁发给的域名。
7288
+ 注意:一个域名只允许申请一本免费证书, 如果已经有泛域名申请了免费证书的情况下,其子域名会匹配使用该泛域名证书。
7289
+ :rtype: str
7290
+ """
7291
+ return self._CommonName
7292
+
7293
+ @CommonName.setter
7294
+ def CommonName(self, CommonName):
7295
+ self._CommonName = CommonName
7296
+
7297
+ @property
7298
+ def SignatureAlgorithm(self):
7299
+ r"""免费证书申请成功时,该证书使用的签名算法,当前仅支持 RSA 2048。
7300
+ :rtype: str
7301
+ """
7302
+ return self._SignatureAlgorithm
7303
+
7304
+ @SignatureAlgorithm.setter
7305
+ def SignatureAlgorithm(self, SignatureAlgorithm):
7306
+ self._SignatureAlgorithm = SignatureAlgorithm
7307
+
7308
+ @property
7309
+ def ExpireTime(self):
7310
+ r"""免费证书申请成功时,该证书的过期时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
7311
+ :rtype: str
7312
+ """
7313
+ return self._ExpireTime
7314
+
7315
+ @ExpireTime.setter
7316
+ def ExpireTime(self, ExpireTime):
7317
+ self._ExpireTime = ExpireTime
7318
+
7319
+ @property
7320
+ def RequestId(self):
7321
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7322
+ :rtype: str
7323
+ """
7324
+ return self._RequestId
7325
+
7326
+ @RequestId.setter
7327
+ def RequestId(self, RequestId):
7328
+ self._RequestId = RequestId
7329
+
7330
+
7331
+ def _deserialize(self, params):
7332
+ self._CommonName = params.get("CommonName")
7333
+ self._SignatureAlgorithm = params.get("SignatureAlgorithm")
7334
+ self._ExpireTime = params.get("ExpireTime")
7335
+ self._RequestId = params.get("RequestId")
7336
+
7337
+
7078
7338
  class CheckRegionHealthStatus(AbstractModel):
7079
7339
  r"""各个健康检查区域下源站的健康状态。
7080
7340
 
@@ -12436,6 +12696,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
12436
12696
  <li>cls: 推送到腾讯云 CLS;</li>
12437
12697
  <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li>
12438
12698
  <li>s3:推送到 AWS S3 兼容存储桶地址;</li>
12699
+ <li>log_analysis:推送到 EdgeOne 日志分析,该任务类型仅支持“站点加速日志”这一数据投递类型。</li>
12439
12700
  :type TaskType: str
12440
12701
  :param _EntityList: 实时日志投递任务对应的实体列表。取值示例如下:
12441
12702
  <li>七层域名:domain.example.com</li>
@@ -12468,7 +12729,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
12468
12729
  :type Sample: int
12469
12730
  :param _LogFormat: 日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下:
12470
12731
  <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
12471
- <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
12732
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
12472
12733
  :type LogFormat: :class:`tencentcloud.teo.v20220901.models.LogFormat`
12473
12734
  :param _CLS: CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。
12474
12735
  :type CLS: :class:`tencentcloud.teo.v20220901.models.CLSTopic`
@@ -12520,6 +12781,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
12520
12781
  <li>cls: 推送到腾讯云 CLS;</li>
12521
12782
  <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li>
12522
12783
  <li>s3:推送到 AWS S3 兼容存储桶地址;</li>
12784
+ <li>log_analysis:推送到 EdgeOne 日志分析,该任务类型仅支持“站点加速日志”这一数据投递类型。</li>
12523
12785
  :rtype: str
12524
12786
  """
12525
12787
  return self._TaskType
@@ -12624,7 +12886,7 @@ class CreateRealtimeLogDeliveryTaskRequest(AbstractModel):
12624
12886
  def LogFormat(self):
12625
12887
  r"""日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下:
12626
12888
  <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
12627
- <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
12889
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 或 log_analysis 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
12628
12890
  :rtype: :class:`tencentcloud.teo.v20220901.models.LogFormat`
12629
12891
  """
12630
12892
  return self._LogFormat
@@ -24311,7 +24573,7 @@ class DescribeRealtimeLogDeliveryTasksRequest(AbstractModel):
24311
24573
  <li>task-id:按照实时日志投递任务 ID进行过滤。不支持模糊查询。</li>
24312
24574
  <li>task-name:按照实时日志投递任务名称进行过滤。支持模糊查询,使用模糊查询时,仅支持填写一个实时日志投递任务名称。</li>
24313
24575
  <li>entity-list:按照实时日志投递任务对应的实体进行过滤。不支持模糊查询。示例值:domain.example.com 或者 sid-2s69eb5wcms7。</li>
24314
- <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br>   cls: 推送到腾讯云 CLS;<br>   custom_endpoint:推送到自定义 HTTP(S) 地址;<br>   s3:推送到 AWS S3 兼容存储桶地址。</li>
24576
+ <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br>   cls: 推送到腾讯云 CLS;<br>   custom_endpoint:推送到自定义 HTTP(S) 地址;<br>   s3:推送到 AWS S3 兼容存储桶地址;<br>   log_analysis:推送到 EdgeOne 日志分析。</li>
24315
24577
  :type Filters: list of AdvancedFilter
24316
24578
  """
24317
24579
  self._ZoneId = None
@@ -24358,7 +24620,7 @@ class DescribeRealtimeLogDeliveryTasksRequest(AbstractModel):
24358
24620
  <li>task-id:按照实时日志投递任务 ID进行过滤。不支持模糊查询。</li>
24359
24621
  <li>task-name:按照实时日志投递任务名称进行过滤。支持模糊查询,使用模糊查询时,仅支持填写一个实时日志投递任务名称。</li>
24360
24622
  <li>entity-list:按照实时日志投递任务对应的实体进行过滤。不支持模糊查询。示例值:domain.example.com 或者 sid-2s69eb5wcms7。</li>
24361
- <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br>   cls: 推送到腾讯云 CLS;<br>   custom_endpoint:推送到自定义 HTTP(S) 地址;<br>   s3:推送到 AWS S3 兼容存储桶地址。</li>
24623
+ <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br>   cls: 推送到腾讯云 CLS;<br>   custom_endpoint:推送到自定义 HTTP(S) 地址;<br>   s3:推送到 AWS S3 兼容存储桶地址;<br>   log_analysis:推送到 EdgeOne 日志分析。</li>
24362
24624
  :rtype: list of AdvancedFilter
24363
24625
  """
24364
24626
  return self._Filters
@@ -46338,7 +46600,7 @@ class PostMaxSize(AbstractModel):
46338
46600
  <li>on:开启限制;</li>
46339
46601
  <li>off:关闭限制。</li>
46340
46602
  :type Switch: str
46341
- :param _MaxSize: 最大限制,取值在1MB和500MB之间。单位字节。
46603
+ :param _MaxSize: 最大限制,该字段仅在 Switch 为 on 时生效,取值在 1MB 800MB 之间,单位字节。
46342
46604
  :type MaxSize: int
46343
46605
  """
46344
46606
  self._Switch = None
@@ -46359,7 +46621,7 @@ class PostMaxSize(AbstractModel):
46359
46621
 
46360
46622
  @property
46361
46623
  def MaxSize(self):
46362
- r"""最大限制,取值在1MB和500MB之间。单位字节。
46624
+ r"""最大限制,该字段仅在 Switch 为 on 时生效,取值在 1MB 800MB 之间,单位字节。
46363
46625
  :rtype: int
46364
46626
  """
46365
46627
  return self._MaxSize
@@ -46391,7 +46653,7 @@ class PostMaxSizeParameters(AbstractModel):
46391
46653
  r"""
46392
46654
  :param _Switch: 是否开启 POST 请求上传文件限制,单位为 Byte,平台默认为限制为 32 * 2<sup>20</sup> Byte,取值有:<li>on:开启限制;</li><li>off:关闭限制。</li>
46393
46655
  :type Switch: str
46394
- :param _MaxSize: POST 请求上传文件流式传输最大限制,单位为 Byte,取值:1 * 2<sup>20</sup> Byte~500 * 2<sup>20</sup> Byte。
46656
+ :param _MaxSize: POST 请求上传文件流式传输最大限制,该字段仅在 Switch on 时生效,取值在 1MB 800MB 之间,单位字节。
46395
46657
  :type MaxSize: int
46396
46658
  """
46397
46659
  self._Switch = None
@@ -46410,7 +46672,7 @@ class PostMaxSizeParameters(AbstractModel):
46410
46672
 
46411
46673
  @property
46412
46674
  def MaxSize(self):
46413
- r"""POST 请求上传文件流式传输最大限制,单位为 Byte,取值:1 * 2<sup>20</sup> Byte~500 * 2<sup>20</sup> Byte。
46675
+ r"""POST 请求上传文件流式传输最大限制,该字段仅在 Switch on 时生效,取值在 1MB 800MB 之间,单位字节。
46414
46676
  :rtype: int
46415
46677
  """
46416
46678
  return self._MaxSize
@@ -47847,7 +48109,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
47847
48109
  :type TaskName: str
47848
48110
  :param _DeliveryStatus: 实时日志投递任务的状态,取值有: <li>enabled: 已启用;</li> <li>disabled: 已停用;</li><li>deleted: 异常删除状态,请检查目的地腾讯云 CLS 日志集/日志主题是否已被删除。</li>
47849
48111
  :type DeliveryStatus: str
47850
- :param _TaskType: 实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址。</li>
48112
+ :param _TaskType: 实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li>
47851
48113
  :type TaskType: str
47852
48114
  :param _EntityList: 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: <li>七层域名:domain.example.com;</li> <li>四层代理实例:sid-2s69eb5wcms7。</li>
47853
48115
  :type EntityList: list of str
@@ -47935,7 +48197,7 @@ class RealtimeLogDeliveryTask(AbstractModel):
47935
48197
 
47936
48198
  @property
47937
48199
  def TaskType(self):
47938
- r"""实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址。</li>
48200
+ r"""实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址;</li><li>log_analysis:推送到 EdgeOne 日志分析。</li>
47939
48201
  :rtype: str
47940
48202
  """
47941
48203
  return self._TaskType
@@ -26,6 +26,39 @@ class TeoClient(AbstractClient):
26
26
  _service = 'teo'
27
27
 
28
28
 
29
+ def ApplyFreeCertificate(self, request):
30
+ r"""申请免费证书时,如果您需要通过使用 DNS 委派验证或者文件验证进行申请,您可以调用该接口来进行发起证书申请并根据申请方式来获取对应的验证内容。调用接口的顺序如下:
31
+ 第一步:调用 ApplyFreeCertificate,指定申请免费证书的校验方式,获取验证内容;
32
+ 第二步:为相应域名按照验证内容配置;
33
+ 第三步:调用CheckFreeCertificateVerification 验证,验证通过后即完成免费证书申请;
34
+ 第四步:调用ModifyHostsCertificate,下发域名证书为使用 EdgeOne 免费证书配置。
35
+
36
+ 申请方式的介绍可参考文档:[免费证书申请说明](https://cloud.tencent.com/document/product/1552/90437)
37
+ 说明:
38
+ - 仅 CNAME 接入模式可调用该接口来指定免费证书申请方式。NS/DNSPod 托管接入模式都是使用自动验证来申请免费证书,无需调用该接口。
39
+ - 如果您需要切换免费证书验证方式,您可以重新调用本接口通过修改 VerificationMethod 字段来进行变更。
40
+ - 同个域名只能申请一本免费证书,在调用本接口后,后台会触发申请免费证书相关任务,您需要在2 天内,完成域名验证信息的相关配置,然后完成证书验证。
41
+
42
+ :param request: Request instance for ApplyFreeCertificate.
43
+ :type request: :class:`tencentcloud.teo.v20220901.models.ApplyFreeCertificateRequest`
44
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ApplyFreeCertificateResponse`
45
+
46
+ """
47
+ try:
48
+ params = request._serialize()
49
+ headers = request.headers
50
+ body = self.call("ApplyFreeCertificate", params, headers=headers)
51
+ response = json.loads(body)
52
+ model = models.ApplyFreeCertificateResponse()
53
+ model._deserialize(response["Response"])
54
+ return model
55
+ except Exception as e:
56
+ if isinstance(e, TencentCloudSDKException):
57
+ raise
58
+ else:
59
+ raise TencentCloudSDKException(type(e).__name__, str(e))
60
+
61
+
29
62
  def BindSecurityTemplateToEntity(self, request):
30
63
  r"""操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
31
64
 
@@ -118,6 +151,30 @@ class TeoClient(AbstractClient):
118
151
  raise TencentCloudSDKException(type(e).__name__, str(e))
119
152
 
120
153
 
154
+ def CheckFreeCertificateVerification(self, request):
155
+ r"""该接口用于验证免费证书并获取免费证书申请结果。如果验证通过,可通过该接口查询到对应域名申请的免费证书信息,如果申请失败,该接口将返回对应的验证失败信息。
156
+ 在触发[申请免费证书接口](https://cloud.tencent.com/document/product/1552/90437)后,您可以通过本接口检查免费证书申请结果。在免费证书申请成功后, 还需要通过[配置域名证书](https://tcloud4api.woa.com/document/product/1657/80723?!preview)接口配置,才能将免费证书部署至加速域上。
157
+
158
+ :param request: Request instance for CheckFreeCertificateVerification.
159
+ :type request: :class:`tencentcloud.teo.v20220901.models.CheckFreeCertificateVerificationRequest`
160
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CheckFreeCertificateVerificationResponse`
161
+
162
+ """
163
+ try:
164
+ params = request._serialize()
165
+ headers = request.headers
166
+ body = self.call("CheckFreeCertificateVerification", params, headers=headers)
167
+ response = json.loads(body)
168
+ model = models.CheckFreeCertificateVerificationResponse()
169
+ model._deserialize(response["Response"])
170
+ return model
171
+ except Exception as e:
172
+ if isinstance(e, TencentCloudSDKException):
173
+ raise
174
+ else:
175
+ raise TencentCloudSDKException(type(e).__name__, str(e))
176
+
177
+
121
178
  def ConfirmMultiPathGatewayOriginACL(self, request):
122
179
  r"""本接口用于多通道安全加速网关回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。
123
180
 
@@ -731,6 +788,7 @@ class TeoClient(AbstractClient):
731
788
  - 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;
732
789
  - 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;
733
790
  - 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。
791
+ - 当实时日志投递任务类型(TaskType)为 EdgeOne 日志分析(log_analysis)时,只支持数据投递类型(LogType)为站点加速日志(domain);在同一站点(ZoneId)和数据投递区域(Area)的组合下,只能添加一个推送至 EdgeOne 日志分析的实时日志投递任务;。
734
792
 
735
793
  建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
736
794
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.1481
3
+ Version: 3.0.1484
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.1481
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1484
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1481