tencentcloud-sdk-python-teo 3.0.1482__tar.gz → 3.0.1485__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.1482 → tencentcloud_sdk_python_teo-3.0.1485}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220901/models.py +266 -6
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220901/teo_client.py +57 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.0.1485/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.0.1482/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.0.1482 → tencentcloud_sdk_python_teo-3.0.1485}/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.
|
|
3
|
+
Version: 3.0.1485
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1485
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1485,<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(),
|
|
@@ -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
|
|
|
@@ -38971,9 +39231,9 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
38971
39231
|
<li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
38972
39232
|
|
|
38973
39233
|
- 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
38974
|
-
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://
|
|
38975
|
-
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://
|
|
38976
|
-
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://
|
|
39234
|
+
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
39235
|
+
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://cloud.tencent.com/document/product/1552/124807'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
39236
|
+
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
38977
39237
|
</ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
38978
39238
|
:type Mode: str
|
|
38979
39239
|
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
@@ -39025,9 +39285,9 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
39025
39285
|
<li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
39026
39286
|
|
|
39027
39287
|
- 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
39028
|
-
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://
|
|
39029
|
-
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://
|
|
39030
|
-
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://
|
|
39288
|
+
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
39289
|
+
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://cloud.tencent.com/document/product/1552/124807'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
39290
|
+
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://cloud.tencent.com/document/product/1552/124806'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
39031
39291
|
</ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
39032
39292
|
:rtype: str
|
|
39033
39293
|
"""
|
|
@@ -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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1485
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1485
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1485
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
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
|