tencentcloud-sdk-python-teo 3.0.1179__tar.gz → 3.0.1181__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.1179 → tencentcloud-sdk-python-teo-3.0.1181}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220901/errorcodes.py +15 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220901/models.py +91 -8
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.1181/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.1179/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1179 → tencentcloud-sdk-python-teo-3.0.1181}/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.1181"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -674,6 +674,15 @@ INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
|
674
674
|
# 该站点域名已被禁用。
|
|
675
675
|
INVALIDPARAMETERVALUE_ACCESSBLACKLIST = 'InvalidParameterValue.AccessBlacklist'
|
|
676
676
|
|
|
677
|
+
# 边缘双向认证配置中的客户端证书必须是CA证书。
|
|
678
|
+
INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = 'InvalidParameterValue.CertificateVerifyClientMustCa'
|
|
679
|
+
|
|
680
|
+
# 边缘双向认证配置至少需要配置一本证书。
|
|
681
|
+
INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = 'InvalidParameterValue.CertificateVerifyClientNeedCert'
|
|
682
|
+
|
|
683
|
+
# 边缘双向认证配置中的客户端 CA 证书最多允许配置20本。
|
|
684
|
+
INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = 'InvalidParameterValue.ClientCertInfoQuotaLimit'
|
|
685
|
+
|
|
677
686
|
# 与已经添加的记录冲突。
|
|
678
687
|
INVALIDPARAMETERVALUE_CONFLICTRECORD = 'InvalidParameterValue.ConflictRecord'
|
|
679
688
|
|
|
@@ -746,6 +755,12 @@ INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = 'InvalidParameterValue.PageNameAlre
|
|
|
746
755
|
# 不符合指定的正则表达式。
|
|
747
756
|
INVALIDPARAMETERVALUE_REGEXMISMATCH = 'InvalidParameterValue.RegExMismatch'
|
|
748
757
|
|
|
758
|
+
# 已开启双向认证,客户端使用 RSA 或者 ECC 算法证书时,HTTPS 证书必须也配置有相同算法证书。
|
|
759
|
+
INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = 'InvalidParameterValue.ServerCertInfoNeedContainRSAorECC'
|
|
760
|
+
|
|
761
|
+
# 已开启双向认证,客户端使用国密算法 CA 证书时,HTTPS 证书必须也配置有国密证书。
|
|
762
|
+
INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = 'InvalidParameterValue.ServerCertInfoNeedContainSM2'
|
|
763
|
+
|
|
749
764
|
# 请输入合法的共享 CNAME 前缀,最大支持50个字符。
|
|
750
765
|
INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = 'InvalidParameterValue.SharedCNAMEPrefixNotMatch'
|
|
751
766
|
|
|
@@ -311,12 +311,15 @@ class AccelerationDomainCertificate(AbstractModel):
|
|
|
311
311
|
r"""
|
|
312
312
|
:param _Mode: 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li>
|
|
313
313
|
:type Mode: str
|
|
314
|
-
:param _List:
|
|
314
|
+
:param _List: 服务端证书列表。
|
|
315
315
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
316
316
|
:type List: list of CertificateInfo
|
|
317
|
+
:param _ClientCertInfo: 边缘双向认证配置。
|
|
318
|
+
:type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
|
317
319
|
"""
|
|
318
320
|
self._Mode = None
|
|
319
321
|
self._List = None
|
|
322
|
+
self._ClientCertInfo = None
|
|
320
323
|
|
|
321
324
|
@property
|
|
322
325
|
def Mode(self):
|
|
@@ -334,6 +337,14 @@ class AccelerationDomainCertificate(AbstractModel):
|
|
|
334
337
|
def List(self, List):
|
|
335
338
|
self._List = List
|
|
336
339
|
|
|
340
|
+
@property
|
|
341
|
+
def ClientCertInfo(self):
|
|
342
|
+
return self._ClientCertInfo
|
|
343
|
+
|
|
344
|
+
@ClientCertInfo.setter
|
|
345
|
+
def ClientCertInfo(self, ClientCertInfo):
|
|
346
|
+
self._ClientCertInfo = ClientCertInfo
|
|
347
|
+
|
|
337
348
|
|
|
338
349
|
def _deserialize(self, params):
|
|
339
350
|
self._Mode = params.get("Mode")
|
|
@@ -343,6 +354,9 @@ class AccelerationDomainCertificate(AbstractModel):
|
|
|
343
354
|
obj = CertificateInfo()
|
|
344
355
|
obj._deserialize(item)
|
|
345
356
|
self._List.append(obj)
|
|
357
|
+
if params.get("ClientCertInfo") is not None:
|
|
358
|
+
self._ClientCertInfo = MutualTLS()
|
|
359
|
+
self._ClientCertInfo._deserialize(params.get("ClientCertInfo"))
|
|
346
360
|
memeber_set = set(params.keys())
|
|
347
361
|
for name, value in vars(self).items():
|
|
348
362
|
property_name = name[1:]
|
|
@@ -3345,13 +3359,13 @@ class CacheTag(AbstractModel):
|
|
|
3345
3359
|
|
|
3346
3360
|
|
|
3347
3361
|
class CertificateInfo(AbstractModel):
|
|
3348
|
-
"""https
|
|
3362
|
+
"""https 证书配置。
|
|
3349
3363
|
|
|
3350
3364
|
"""
|
|
3351
3365
|
|
|
3352
3366
|
def __init__(self):
|
|
3353
3367
|
r"""
|
|
3354
|
-
:param _CertId:
|
|
3368
|
+
:param _CertId: 证书 ID。
|
|
3355
3369
|
:type CertId: str
|
|
3356
3370
|
:param _Alias: 证书备注名。
|
|
3357
3371
|
:type Alias: str
|
|
@@ -18532,24 +18546,29 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
18532
18546
|
:type ZoneId: str
|
|
18533
18547
|
:param _Hosts: 需要修改证书配置的加速域名。
|
|
18534
18548
|
:type Hosts: list of str
|
|
18535
|
-
:param _Mode:
|
|
18536
|
-
<li>disable
|
|
18537
|
-
<li>eofreecert:配置 EdgeOne
|
|
18538
|
-
<li>sslcert:配置 SSL
|
|
18549
|
+
:param _Mode: 配置服务端证书的模式,取值有:
|
|
18550
|
+
<li>disable:不配置服务端证书;</li>
|
|
18551
|
+
<li>eofreecert:配置 EdgeOne 免费服务端证书;</li>
|
|
18552
|
+
<li>sslcert:配置 SSL 托管服务端证书;</li>
|
|
18553
|
+
不填写表示服务端证书保持原有配置。
|
|
18539
18554
|
:type Mode: str
|
|
18540
|
-
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode
|
|
18555
|
+
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
|
|
18541
18556
|
:type ServerCertInfo: list of ServerCertInfo
|
|
18542
18557
|
:param _ApplyType: 托管类型,取值有:
|
|
18543
18558
|
<li>none:不托管EO;</li>
|
|
18544
18559
|
<li>apply:托管EO</li>
|
|
18545
18560
|
不填,默认取值为none。
|
|
18546
18561
|
:type ApplyType: str
|
|
18562
|
+
:param _ClientCertInfo: 边缘双向认证配置。
|
|
18563
|
+
不填写表示边缘双向认证保持原有配置。
|
|
18564
|
+
:type ClientCertInfo: :class:`tencentcloud.teo.v20220901.models.MutualTLS`
|
|
18547
18565
|
"""
|
|
18548
18566
|
self._ZoneId = None
|
|
18549
18567
|
self._Hosts = None
|
|
18550
18568
|
self._Mode = None
|
|
18551
18569
|
self._ServerCertInfo = None
|
|
18552
18570
|
self._ApplyType = None
|
|
18571
|
+
self._ClientCertInfo = None
|
|
18553
18572
|
|
|
18554
18573
|
@property
|
|
18555
18574
|
def ZoneId(self):
|
|
@@ -18595,6 +18614,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
18595
18614
|
|
|
18596
18615
|
self._ApplyType = ApplyType
|
|
18597
18616
|
|
|
18617
|
+
@property
|
|
18618
|
+
def ClientCertInfo(self):
|
|
18619
|
+
return self._ClientCertInfo
|
|
18620
|
+
|
|
18621
|
+
@ClientCertInfo.setter
|
|
18622
|
+
def ClientCertInfo(self, ClientCertInfo):
|
|
18623
|
+
self._ClientCertInfo = ClientCertInfo
|
|
18624
|
+
|
|
18598
18625
|
|
|
18599
18626
|
def _deserialize(self, params):
|
|
18600
18627
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -18607,6 +18634,9 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
18607
18634
|
obj._deserialize(item)
|
|
18608
18635
|
self._ServerCertInfo.append(obj)
|
|
18609
18636
|
self._ApplyType = params.get("ApplyType")
|
|
18637
|
+
if params.get("ClientCertInfo") is not None:
|
|
18638
|
+
self._ClientCertInfo = MutualTLS()
|
|
18639
|
+
self._ClientCertInfo._deserialize(params.get("ClientCertInfo"))
|
|
18610
18640
|
memeber_set = set(params.keys())
|
|
18611
18641
|
for name, value in vars(self).items():
|
|
18612
18642
|
property_name = name[1:]
|
|
@@ -20297,6 +20327,59 @@ class ModifyZoneStatusResponse(AbstractModel):
|
|
|
20297
20327
|
self._RequestId = params.get("RequestId")
|
|
20298
20328
|
|
|
20299
20329
|
|
|
20330
|
+
class MutualTLS(AbstractModel):
|
|
20331
|
+
"""HTTPS 双向认证。
|
|
20332
|
+
|
|
20333
|
+
"""
|
|
20334
|
+
|
|
20335
|
+
def __init__(self):
|
|
20336
|
+
r"""
|
|
20337
|
+
:param _Switch: 双向认证配置开关,取值有:
|
|
20338
|
+
<li>on:开启;</li>
|
|
20339
|
+
<li>off:关闭。</li>
|
|
20340
|
+
:type Switch: str
|
|
20341
|
+
:param _CertInfos: 双向认证证书列表。
|
|
20342
|
+
注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
|
|
20343
|
+
:type CertInfos: list of CertificateInfo
|
|
20344
|
+
"""
|
|
20345
|
+
self._Switch = None
|
|
20346
|
+
self._CertInfos = None
|
|
20347
|
+
|
|
20348
|
+
@property
|
|
20349
|
+
def Switch(self):
|
|
20350
|
+
return self._Switch
|
|
20351
|
+
|
|
20352
|
+
@Switch.setter
|
|
20353
|
+
def Switch(self, Switch):
|
|
20354
|
+
self._Switch = Switch
|
|
20355
|
+
|
|
20356
|
+
@property
|
|
20357
|
+
def CertInfos(self):
|
|
20358
|
+
return self._CertInfos
|
|
20359
|
+
|
|
20360
|
+
@CertInfos.setter
|
|
20361
|
+
def CertInfos(self, CertInfos):
|
|
20362
|
+
self._CertInfos = CertInfos
|
|
20363
|
+
|
|
20364
|
+
|
|
20365
|
+
def _deserialize(self, params):
|
|
20366
|
+
self._Switch = params.get("Switch")
|
|
20367
|
+
if params.get("CertInfos") is not None:
|
|
20368
|
+
self._CertInfos = []
|
|
20369
|
+
for item in params.get("CertInfos"):
|
|
20370
|
+
obj = CertificateInfo()
|
|
20371
|
+
obj._deserialize(item)
|
|
20372
|
+
self._CertInfos.append(obj)
|
|
20373
|
+
memeber_set = set(params.keys())
|
|
20374
|
+
for name, value in vars(self).items():
|
|
20375
|
+
property_name = name[1:]
|
|
20376
|
+
if property_name in memeber_set:
|
|
20377
|
+
memeber_set.remove(property_name)
|
|
20378
|
+
if len(memeber_set) > 0:
|
|
20379
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20380
|
+
|
|
20381
|
+
|
|
20382
|
+
|
|
20300
20383
|
class NoCache(AbstractModel):
|
|
20301
20384
|
"""不缓存配置
|
|
20302
20385
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1181
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1179
|
|
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
|