tencentcloud-sdk-python-teo 3.1.145__tar.gz → 3.1.149__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.1.145 → tencentcloud_sdk_python_teo-3.1.149}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/errorcodes.py +3 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/models.py +82 -80
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.149/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.145/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.145 → tencentcloud_sdk_python_teo-3.1.149}/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.1.
|
|
3
|
+
Version: 3.1.149
|
|
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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.149,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -1319,6 +1319,9 @@ OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYAREAANDALIASZONENAME = 'Opera
|
|
|
1319
1319
|
# 无域名接入站点不支持除切换为CNAME接入类型以外的任何修改动作。
|
|
1320
1320
|
OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = 'OperationDenied.NoDomainAccessZoneOnlySupportModifyType'
|
|
1321
1321
|
|
|
1322
|
+
# 当前站点下存在域名关联了专属加速IP,如需关闭「中国大陆网络优化」请先解绑专属IP后重试。
|
|
1323
|
+
OPERATIONDENIED_NOTALLOWCLOSEACCELERATEMAINLANDWHENDOMAINBOUNDEXCLUSIVEIP = 'OperationDenied.NotAllowCloseAccelerateMainlandWhenDomainBoundExclusiveIP'
|
|
1324
|
+
|
|
1322
1325
|
# 当前高级回源优化功能仅针对白名单用户开放。
|
|
1323
1326
|
OPERATIONDENIED_NOTINADVANCEDORIGINROUTINGWHITELIST = 'OperationDenied.NotInAdvancedOriginRoutingWhiteList'
|
|
1324
1327
|
|
|
@@ -389,54 +389,41 @@ class AccelerationDomain(AbstractModel):
|
|
|
389
389
|
|
|
390
390
|
def __init__(self):
|
|
391
391
|
r"""
|
|
392
|
-
:param _ZoneId:
|
|
392
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
393
393
|
:type ZoneId: str
|
|
394
|
-
:param _DomainName:
|
|
394
|
+
:param _DomainName: <p>加速域名名称。</p>
|
|
395
395
|
:type DomainName: str
|
|
396
|
-
:param _DomainStatus:
|
|
397
|
-
<li>online:已生效;</li>
|
|
398
|
-
<li>process:部署中;</li>
|
|
399
|
-
<li>offline:已停用;</li>
|
|
400
|
-
<li>forbidden:已封禁;</li>
|
|
401
|
-
<li>init:未生效,待激活站点。</li>
|
|
396
|
+
:param _DomainStatus: <p>加速域名状态</p><p>枚举值:</p><ul><li>online: 已生效</li><li>process: 部署中</li><li>offline: 已停用</li><li>init: 未生效,待激活站点</li></ul>
|
|
402
397
|
:type DomainStatus: str
|
|
403
|
-
:param _Cname: CNAME
|
|
398
|
+
:param _Cname: <p>CNAME 地址。</p>
|
|
404
399
|
:type Cname: str
|
|
405
|
-
:param _IPv6Status: IPv6
|
|
406
|
-
<li>follow:遵循站点IPv6配置;</li>
|
|
407
|
-
<li>on:开启状态;</li>
|
|
408
|
-
<li>off:关闭状态。</li>
|
|
400
|
+
:param _IPv6Status: <p>IPv6 状态,取值有:</p><li>follow:遵循站点IPv6配置;</li><li>on:开启状态;</li><li>off:关闭状态。</li>
|
|
409
401
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
410
402
|
:type IPv6Status: str
|
|
411
|
-
:param _IdentificationStatus:
|
|
412
|
-
<li>pending:待验证;</li>
|
|
413
|
-
<li>finished:已完成验证。</li>
|
|
403
|
+
:param _IdentificationStatus: <p>加速域名归属权验证状态,取值有: </p><li>pending:待验证;</li><li>finished:已完成验证。</li>
|
|
414
404
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
415
405
|
:type IdentificationStatus: str
|
|
416
|
-
:param _OwnershipVerification:
|
|
406
|
+
:param _OwnershipVerification: <p>加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。</p>
|
|
417
407
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
418
408
|
:type OwnershipVerification: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
419
|
-
:param _OriginDetail:
|
|
409
|
+
:param _OriginDetail: <p>源站信息。</p>
|
|
420
410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
421
411
|
:type OriginDetail: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
|
|
422
|
-
:param _OriginProtocol:
|
|
423
|
-
<li>FOLLOW:协议跟随;</li>
|
|
424
|
-
<li>HTTP:HTTP协议回源;</li>
|
|
425
|
-
<li>HTTPS:HTTPS协议回源。</li>
|
|
412
|
+
:param _OriginProtocol: <p>回源协议,取值有:</p><li>FOLLOW:协议跟随;</li><li>HTTP:HTTP协议回源;</li><li>HTTPS:HTTPS协议回源。</li>
|
|
426
413
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
427
414
|
:type OriginProtocol: str
|
|
428
|
-
:param _HttpOriginPort: HTTP
|
|
415
|
+
:param _HttpOriginPort: <p>HTTP 回源端口。</p>
|
|
429
416
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
430
417
|
:type HttpOriginPort: int
|
|
431
|
-
:param _HttpsOriginPort: HTTPS
|
|
418
|
+
:param _HttpsOriginPort: <p>HTTPS 回源端口。</p>
|
|
432
419
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
433
420
|
:type HttpsOriginPort: int
|
|
434
|
-
:param _Certificate:
|
|
421
|
+
:param _Certificate: <p>加速域名证书信息。</p>
|
|
435
422
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
436
423
|
:type Certificate: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
|
|
437
|
-
:param _CreatedOn:
|
|
424
|
+
:param _CreatedOn: <p>创建时间。</p>
|
|
438
425
|
:type CreatedOn: str
|
|
439
|
-
:param _ModifiedOn:
|
|
426
|
+
:param _ModifiedOn: <p>修改时间。</p>
|
|
440
427
|
:type ModifiedOn: str
|
|
441
428
|
"""
|
|
442
429
|
self._ZoneId = None
|
|
@@ -456,7 +443,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
456
443
|
|
|
457
444
|
@property
|
|
458
445
|
def ZoneId(self):
|
|
459
|
-
r"""
|
|
446
|
+
r"""<p>站点 ID。</p>
|
|
460
447
|
:rtype: str
|
|
461
448
|
"""
|
|
462
449
|
return self._ZoneId
|
|
@@ -467,7 +454,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
467
454
|
|
|
468
455
|
@property
|
|
469
456
|
def DomainName(self):
|
|
470
|
-
r"""
|
|
457
|
+
r"""<p>加速域名名称。</p>
|
|
471
458
|
:rtype: str
|
|
472
459
|
"""
|
|
473
460
|
return self._DomainName
|
|
@@ -478,12 +465,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
478
465
|
|
|
479
466
|
@property
|
|
480
467
|
def DomainStatus(self):
|
|
481
|
-
r"""
|
|
482
|
-
<li>online:已生效;</li>
|
|
483
|
-
<li>process:部署中;</li>
|
|
484
|
-
<li>offline:已停用;</li>
|
|
485
|
-
<li>forbidden:已封禁;</li>
|
|
486
|
-
<li>init:未生效,待激活站点。</li>
|
|
468
|
+
r"""<p>加速域名状态</p><p>枚举值:</p><ul><li>online: 已生效</li><li>process: 部署中</li><li>offline: 已停用</li><li>init: 未生效,待激活站点</li></ul>
|
|
487
469
|
:rtype: str
|
|
488
470
|
"""
|
|
489
471
|
return self._DomainStatus
|
|
@@ -494,7 +476,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
494
476
|
|
|
495
477
|
@property
|
|
496
478
|
def Cname(self):
|
|
497
|
-
r"""CNAME
|
|
479
|
+
r"""<p>CNAME 地址。</p>
|
|
498
480
|
:rtype: str
|
|
499
481
|
"""
|
|
500
482
|
return self._Cname
|
|
@@ -505,10 +487,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
505
487
|
|
|
506
488
|
@property
|
|
507
489
|
def IPv6Status(self):
|
|
508
|
-
r"""IPv6
|
|
509
|
-
<li>follow:遵循站点IPv6配置;</li>
|
|
510
|
-
<li>on:开启状态;</li>
|
|
511
|
-
<li>off:关闭状态。</li>
|
|
490
|
+
r"""<p>IPv6 状态,取值有:</p><li>follow:遵循站点IPv6配置;</li><li>on:开启状态;</li><li>off:关闭状态。</li>
|
|
512
491
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
513
492
|
:rtype: str
|
|
514
493
|
"""
|
|
@@ -520,9 +499,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
520
499
|
|
|
521
500
|
@property
|
|
522
501
|
def IdentificationStatus(self):
|
|
523
|
-
r"""
|
|
524
|
-
<li>pending:待验证;</li>
|
|
525
|
-
<li>finished:已完成验证。</li>
|
|
502
|
+
r"""<p>加速域名归属权验证状态,取值有: </p><li>pending:待验证;</li><li>finished:已完成验证。</li>
|
|
526
503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
527
504
|
:rtype: str
|
|
528
505
|
"""
|
|
@@ -534,7 +511,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
534
511
|
|
|
535
512
|
@property
|
|
536
513
|
def OwnershipVerification(self):
|
|
537
|
-
r"""
|
|
514
|
+
r"""<p>加速域名需进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。</p>
|
|
538
515
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
539
516
|
:rtype: :class:`tencentcloud.teo.v20220901.models.OwnershipVerification`
|
|
540
517
|
"""
|
|
@@ -546,7 +523,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
546
523
|
|
|
547
524
|
@property
|
|
548
525
|
def OriginDetail(self):
|
|
549
|
-
r"""
|
|
526
|
+
r"""<p>源站信息。</p>
|
|
550
527
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
551
528
|
:rtype: :class:`tencentcloud.teo.v20220901.models.OriginDetail`
|
|
552
529
|
"""
|
|
@@ -558,10 +535,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
558
535
|
|
|
559
536
|
@property
|
|
560
537
|
def OriginProtocol(self):
|
|
561
|
-
r"""
|
|
562
|
-
<li>FOLLOW:协议跟随;</li>
|
|
563
|
-
<li>HTTP:HTTP协议回源;</li>
|
|
564
|
-
<li>HTTPS:HTTPS协议回源。</li>
|
|
538
|
+
r"""<p>回源协议,取值有:</p><li>FOLLOW:协议跟随;</li><li>HTTP:HTTP协议回源;</li><li>HTTPS:HTTPS协议回源。</li>
|
|
565
539
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
566
540
|
:rtype: str
|
|
567
541
|
"""
|
|
@@ -573,7 +547,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
573
547
|
|
|
574
548
|
@property
|
|
575
549
|
def HttpOriginPort(self):
|
|
576
|
-
r"""HTTP
|
|
550
|
+
r"""<p>HTTP 回源端口。</p>
|
|
577
551
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
578
552
|
:rtype: int
|
|
579
553
|
"""
|
|
@@ -585,7 +559,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
585
559
|
|
|
586
560
|
@property
|
|
587
561
|
def HttpsOriginPort(self):
|
|
588
|
-
r"""HTTPS
|
|
562
|
+
r"""<p>HTTPS 回源端口。</p>
|
|
589
563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
590
564
|
:rtype: int
|
|
591
565
|
"""
|
|
@@ -597,7 +571,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
597
571
|
|
|
598
572
|
@property
|
|
599
573
|
def Certificate(self):
|
|
600
|
-
r"""
|
|
574
|
+
r"""<p>加速域名证书信息。</p>
|
|
601
575
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
602
576
|
:rtype: :class:`tencentcloud.teo.v20220901.models.AccelerationDomainCertificate`
|
|
603
577
|
"""
|
|
@@ -609,7 +583,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
609
583
|
|
|
610
584
|
@property
|
|
611
585
|
def CreatedOn(self):
|
|
612
|
-
r"""
|
|
586
|
+
r"""<p>创建时间。</p>
|
|
613
587
|
:rtype: str
|
|
614
588
|
"""
|
|
615
589
|
return self._CreatedOn
|
|
@@ -620,7 +594,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
620
594
|
|
|
621
595
|
@property
|
|
622
596
|
def ModifiedOn(self):
|
|
623
|
-
r"""
|
|
597
|
+
r"""<p>修改时间。</p>
|
|
624
598
|
:rtype: str
|
|
625
599
|
"""
|
|
626
600
|
return self._ModifiedOn
|
|
@@ -35167,17 +35141,19 @@ class ExceptionRule(AbstractModel):
|
|
|
35167
35141
|
:type Name: str
|
|
35168
35142
|
:param _Condition: 例外规则的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
35169
35143
|
:type Condition: str
|
|
35170
|
-
:param _SkipScope: 例外规则执行选项,取值有:<li>WebSecurityModules:
|
|
35144
|
+
:param _SkipScope: 例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块,需配合 WebSecurityModulesForException 使用;</li><li>WebSecuritySubmodules: 指定例外规则的安全防护子模块,需配合 WebSecuritySubmodulesForException 使用;</li><li>ManagedRules:指定例外规则的具体托管规则,需配合 ManagedRulesForException 使用;</li><li>ManagedRuleGroups:指定例外规则的托管规则组,需配合 ManagedRuleGroupsForException 使用。</li>
|
|
35171
35145
|
:type SkipScope: str
|
|
35172
|
-
:param _SkipOption: 跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 时有效。
|
|
35146
|
+
:param _SkipOption: 跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 时有效。
|
|
35173
35147
|
:type SkipOption: str
|
|
35174
|
-
:param _WebSecurityModulesForException: 指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules
|
|
35148
|
+
:param _WebSecurityModulesForException: 指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效,取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
|
|
35175
35149
|
:type WebSecurityModulesForException: list of str
|
|
35176
|
-
:param
|
|
35150
|
+
:param _WebSecuritySubmodulesForException: 指定例外规则的安全防护子模块,仅当 SkipScope 为 WebSecuritySubmodules 时有效,取值有:<ul><li>托管规则(ManagedRules)模块功能:<ul><li>websec-mod-managed-rules/managed-rule-groups:规则集;</li><li>websec-mod-managed-rules/frequent-scanning-protection:高频扫描防护;</li></ul></li><li>速率限制(RateLimitingRules)模块功能:<ul><li>websec-mod-rate-limiting-rules:速率限制规则;</li></ul></li><li>自定义规则(CustomRules)模块功能:<ul><li>websec-mod-custom-rules:自定义规则;</li></ul></li><li>HTTP DDoS 防护(HttpDDoSProtection)模块功能:<ul><li>websec-mod-http-ddos-protection/adaptive-frequency-control:自适应频控;</li><li>websec-mod-http-ddos-protection/client-filtering:智能客户端过滤;</li><li>websec-mod-http-ddos-protection/bandwidth-abuse-defense:流量盗刷防护;</li></ul></li><li>高级 Bot 管理(BotManagement)模块功能:<ul><li>websec-mod-bot-management/basic-feature:基础特征管理;</li><li>websec-mod-bot-management/ip-reputation:客户端画像分析;</li><li>websec-mod-bot-management/bot-intelligence:智能 Bot 分析;</li><li>websec-mod-bot-management/custom-rules:自定义规则;</li><li>websec-mod-bot-management/browser-impersonation-detection:主动特征识别;</li><li>websec-mod-bot-management/client-attestation-rules:客户端认证;</li></ul></li><li>基础 Bot 管理(BotManagementLite)模块功能:<ul><li>websec-mod-bot-management-lite/ai-crawler-detection:AI 爬虫处置;</li><li>websec-mod-bot-management-lite/captcha-page-challenge:人机校验页。</li></ul></li></ul>
|
|
35151
|
+
:type WebSecuritySubmodulesForException: list of str
|
|
35152
|
+
:param _ManagedRulesForException: 指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效。
|
|
35177
35153
|
:type ManagedRulesForException: list of str
|
|
35178
|
-
:param _ManagedRuleGroupsForException: 指定例外规则的托管规则组,仅当 SkipScope 为
|
|
35154
|
+
:param _ManagedRuleGroupsForException: 指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRuleGroups 时有效。
|
|
35179
35155
|
:type ManagedRuleGroupsForException: list of str
|
|
35180
|
-
:param _RequestFieldsForException: 指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
|
|
35156
|
+
:param _RequestFieldsForException: 指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
|
|
35181
35157
|
:type RequestFieldsForException: list of RequestFieldsForException
|
|
35182
35158
|
:param _Enabled: 例外规则是否开启。取值有:<li>on:开启</li><li>off:关闭</li>
|
|
35183
35159
|
:type Enabled: str
|
|
@@ -35188,6 +35164,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35188
35164
|
self._SkipScope = None
|
|
35189
35165
|
self._SkipOption = None
|
|
35190
35166
|
self._WebSecurityModulesForException = None
|
|
35167
|
+
self._WebSecuritySubmodulesForException = None
|
|
35191
35168
|
self._ManagedRulesForException = None
|
|
35192
35169
|
self._ManagedRuleGroupsForException = None
|
|
35193
35170
|
self._RequestFieldsForException = None
|
|
@@ -35228,7 +35205,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35228
35205
|
|
|
35229
35206
|
@property
|
|
35230
35207
|
def SkipScope(self):
|
|
35231
|
-
r"""例外规则执行选项,取值有:<li>WebSecurityModules:
|
|
35208
|
+
r"""例外规则执行选项,取值有:<li>WebSecurityModules: 指定例外规则的安全防护模块,需配合 WebSecurityModulesForException 使用;</li><li>WebSecuritySubmodules: 指定例外规则的安全防护子模块,需配合 WebSecuritySubmodulesForException 使用;</li><li>ManagedRules:指定例外规则的具体托管规则,需配合 ManagedRulesForException 使用;</li><li>ManagedRuleGroups:指定例外规则的托管规则组,需配合 ManagedRuleGroupsForException 使用。</li>
|
|
35232
35209
|
:rtype: str
|
|
35233
35210
|
"""
|
|
35234
35211
|
return self._SkipScope
|
|
@@ -35239,7 +35216,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35239
35216
|
|
|
35240
35217
|
@property
|
|
35241
35218
|
def SkipOption(self):
|
|
35242
|
-
r"""跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 时有效。
|
|
35219
|
+
r"""跳过请求的具体类型,取值有:<li>SkipOnAllRequestFields: 跳过所有请求;</li><li>SkipOnSpecifiedRequestFields: 跳过指定请求字段。</li>仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 时有效。
|
|
35243
35220
|
:rtype: str
|
|
35244
35221
|
"""
|
|
35245
35222
|
return self._SkipOption
|
|
@@ -35250,7 +35227,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35250
35227
|
|
|
35251
35228
|
@property
|
|
35252
35229
|
def WebSecurityModulesForException(self):
|
|
35253
|
-
r"""指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules
|
|
35230
|
+
r"""指定例外规则的安全防护模块,仅当 SkipScope 为 WebSecurityModules 时有效,取值有:<li>websec-mod-managed-rules:托管规则;</li><li>websec-mod-rate-limiting:速率限制;</li><li>websec-mod-custom-rules:自定义规则;</li><li>websec-mod-adaptive-control:自适应频控、智能客户端过滤、慢速攻击防护、流量盗刷防护;</li><li>websec-mod-bot:Bot管理。</li>
|
|
35254
35231
|
:rtype: list of str
|
|
35255
35232
|
"""
|
|
35256
35233
|
return self._WebSecurityModulesForException
|
|
@@ -35259,9 +35236,20 @@ class ExceptionRule(AbstractModel):
|
|
|
35259
35236
|
def WebSecurityModulesForException(self, WebSecurityModulesForException):
|
|
35260
35237
|
self._WebSecurityModulesForException = WebSecurityModulesForException
|
|
35261
35238
|
|
|
35239
|
+
@property
|
|
35240
|
+
def WebSecuritySubmodulesForException(self):
|
|
35241
|
+
r"""指定例外规则的安全防护子模块,仅当 SkipScope 为 WebSecuritySubmodules 时有效,取值有:<ul><li>托管规则(ManagedRules)模块功能:<ul><li>websec-mod-managed-rules/managed-rule-groups:规则集;</li><li>websec-mod-managed-rules/frequent-scanning-protection:高频扫描防护;</li></ul></li><li>速率限制(RateLimitingRules)模块功能:<ul><li>websec-mod-rate-limiting-rules:速率限制规则;</li></ul></li><li>自定义规则(CustomRules)模块功能:<ul><li>websec-mod-custom-rules:自定义规则;</li></ul></li><li>HTTP DDoS 防护(HttpDDoSProtection)模块功能:<ul><li>websec-mod-http-ddos-protection/adaptive-frequency-control:自适应频控;</li><li>websec-mod-http-ddos-protection/client-filtering:智能客户端过滤;</li><li>websec-mod-http-ddos-protection/bandwidth-abuse-defense:流量盗刷防护;</li></ul></li><li>高级 Bot 管理(BotManagement)模块功能:<ul><li>websec-mod-bot-management/basic-feature:基础特征管理;</li><li>websec-mod-bot-management/ip-reputation:客户端画像分析;</li><li>websec-mod-bot-management/bot-intelligence:智能 Bot 分析;</li><li>websec-mod-bot-management/custom-rules:自定义规则;</li><li>websec-mod-bot-management/browser-impersonation-detection:主动特征识别;</li><li>websec-mod-bot-management/client-attestation-rules:客户端认证;</li></ul></li><li>基础 Bot 管理(BotManagementLite)模块功能:<ul><li>websec-mod-bot-management-lite/ai-crawler-detection:AI 爬虫处置;</li><li>websec-mod-bot-management-lite/captcha-page-challenge:人机校验页。</li></ul></li></ul>
|
|
35242
|
+
:rtype: list of str
|
|
35243
|
+
"""
|
|
35244
|
+
return self._WebSecuritySubmodulesForException
|
|
35245
|
+
|
|
35246
|
+
@WebSecuritySubmodulesForException.setter
|
|
35247
|
+
def WebSecuritySubmodulesForException(self, WebSecuritySubmodulesForException):
|
|
35248
|
+
self._WebSecuritySubmodulesForException = WebSecuritySubmodulesForException
|
|
35249
|
+
|
|
35262
35250
|
@property
|
|
35263
35251
|
def ManagedRulesForException(self):
|
|
35264
|
-
r"""指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules
|
|
35252
|
+
r"""指定例外规则的具体托管规则,仅当 SkipScope 为 ManagedRules 时有效。
|
|
35265
35253
|
:rtype: list of str
|
|
35266
35254
|
"""
|
|
35267
35255
|
return self._ManagedRulesForException
|
|
@@ -35272,7 +35260,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35272
35260
|
|
|
35273
35261
|
@property
|
|
35274
35262
|
def ManagedRuleGroupsForException(self):
|
|
35275
|
-
r"""指定例外规则的托管规则组,仅当 SkipScope 为
|
|
35263
|
+
r"""指定例外规则的托管规则组,仅当 SkipScope 为 ManagedRuleGroups 时有效。
|
|
35276
35264
|
:rtype: list of str
|
|
35277
35265
|
"""
|
|
35278
35266
|
return self._ManagedRuleGroupsForException
|
|
@@ -35283,7 +35271,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35283
35271
|
|
|
35284
35272
|
@property
|
|
35285
35273
|
def RequestFieldsForException(self):
|
|
35286
|
-
r"""指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
|
|
35274
|
+
r"""指定例外规则跳过指定请求字段的具体配置,仅当 SkipScope 为 ManagedRules 或 ManagedRuleGroups 并且 SkipOption 为 SkipOnSpecifiedRequestFields 时有效。
|
|
35287
35275
|
:rtype: list of RequestFieldsForException
|
|
35288
35276
|
"""
|
|
35289
35277
|
return self._RequestFieldsForException
|
|
@@ -35311,6 +35299,7 @@ class ExceptionRule(AbstractModel):
|
|
|
35311
35299
|
self._SkipScope = params.get("SkipScope")
|
|
35312
35300
|
self._SkipOption = params.get("SkipOption")
|
|
35313
35301
|
self._WebSecurityModulesForException = params.get("WebSecurityModulesForException")
|
|
35302
|
+
self._WebSecuritySubmodulesForException = params.get("WebSecuritySubmodulesForException")
|
|
35314
35303
|
self._ManagedRulesForException = params.get("ManagedRulesForException")
|
|
35315
35304
|
self._ManagedRuleGroupsForException = params.get("ManagedRuleGroupsForException")
|
|
35316
35305
|
if params.get("RequestFieldsForException") is not None:
|
|
@@ -38750,22 +38739,34 @@ class IPSSLConfig(AbstractModel):
|
|
|
38750
38739
|
|
|
38751
38740
|
def __init__(self):
|
|
38752
38741
|
r"""
|
|
38753
|
-
:param
|
|
38742
|
+
:param _ZoneId: <p>IP SSL 关联域名所属站点ID。如果Status值为 unbound 时,该字段为空值。</p>
|
|
38743
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38744
|
+
:type ZoneId: str
|
|
38745
|
+
:param _AssociatedDomain: <p>IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。</p>
|
|
38754
38746
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
38755
38747
|
:type AssociatedDomain: str
|
|
38756
|
-
:param _Status:
|
|
38757
|
-
<li>bound:IP SSL配置已绑定</li>
|
|
38758
|
-
<li>binding:IP SSL配置绑定中</li>
|
|
38759
|
-
<li>unbinding:IP SSL配置解绑中</li>
|
|
38760
|
-
<li>unbound:IP SSL配置未绑定</li>
|
|
38748
|
+
:param _Status: <p>关联状态, 取值如下:</p><li>bound:IP SSL配置已绑定</li><li>binding:IP SSL配置绑定中</li><li>unbinding:IP SSL配置解绑中</li><li>unbound:IP SSL配置未绑定</li>
|
|
38761
38749
|
:type Status: str
|
|
38762
38750
|
"""
|
|
38751
|
+
self._ZoneId = None
|
|
38763
38752
|
self._AssociatedDomain = None
|
|
38764
38753
|
self._Status = None
|
|
38765
38754
|
|
|
38755
|
+
@property
|
|
38756
|
+
def ZoneId(self):
|
|
38757
|
+
r"""<p>IP SSL 关联域名所属站点ID。如果Status值为 unbound 时,该字段为空值。</p>
|
|
38758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38759
|
+
:rtype: str
|
|
38760
|
+
"""
|
|
38761
|
+
return self._ZoneId
|
|
38762
|
+
|
|
38763
|
+
@ZoneId.setter
|
|
38764
|
+
def ZoneId(self, ZoneId):
|
|
38765
|
+
self._ZoneId = ZoneId
|
|
38766
|
+
|
|
38766
38767
|
@property
|
|
38767
38768
|
def AssociatedDomain(self):
|
|
38768
|
-
r"""IP SSL关联的域名。如果Status值为 unbound
|
|
38769
|
+
r"""<p>IP SSL关联的域名。如果Status值为 unbound 时,该字段为空值。</p>
|
|
38769
38770
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
38770
38771
|
:rtype: str
|
|
38771
38772
|
"""
|
|
@@ -38777,11 +38778,7 @@ class IPSSLConfig(AbstractModel):
|
|
|
38777
38778
|
|
|
38778
38779
|
@property
|
|
38779
38780
|
def Status(self):
|
|
38780
|
-
r"""
|
|
38781
|
-
<li>bound:IP SSL配置已绑定</li>
|
|
38782
|
-
<li>binding:IP SSL配置绑定中</li>
|
|
38783
|
-
<li>unbinding:IP SSL配置解绑中</li>
|
|
38784
|
-
<li>unbound:IP SSL配置未绑定</li>
|
|
38781
|
+
r"""<p>关联状态, 取值如下:</p><li>bound:IP SSL配置已绑定</li><li>binding:IP SSL配置绑定中</li><li>unbinding:IP SSL配置解绑中</li><li>unbound:IP SSL配置未绑定</li>
|
|
38785
38782
|
:rtype: str
|
|
38786
38783
|
"""
|
|
38787
38784
|
return self._Status
|
|
@@ -38792,6 +38789,7 @@ class IPSSLConfig(AbstractModel):
|
|
|
38792
38789
|
|
|
38793
38790
|
|
|
38794
38791
|
def _deserialize(self, params):
|
|
38792
|
+
self._ZoneId = params.get("ZoneId")
|
|
38795
38793
|
self._AssociatedDomain = params.get("AssociatedDomain")
|
|
38796
38794
|
self._Status = params.get("Status")
|
|
38797
38795
|
memeber_set = set(params.keys())
|
|
@@ -52903,8 +52901,10 @@ class OriginDetail(AbstractModel):
|
|
|
52903
52901
|
<li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
|
|
52904
52902
|
<li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
|
|
52905
52903
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
|
52906
|
-
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID
|
|
52904
|
+
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy</li>
|
|
52907
52905
|
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
|
52906
|
+
<li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy</li>
|
|
52907
|
+
<li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
|
|
52908
52908
|
:type Origin: str
|
|
52909
52909
|
:param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
|
|
52910
52910
|
:type BackupOrigin: str
|
|
@@ -52972,8 +52972,10 @@ class OriginDetail(AbstractModel):
|
|
|
52972
52972
|
<li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
|
|
52973
52973
|
<li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
|
|
52974
52974
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
|
52975
|
-
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID
|
|
52975
|
+
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy</li>
|
|
52976
52976
|
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
|
52977
|
+
<li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy</li>
|
|
52978
|
+
<li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
|
|
52977
52979
|
:rtype: str
|
|
52978
52980
|
"""
|
|
52979
52981
|
return self._Origin
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.149
|
|
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.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.149
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
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
|
|
File without changes
|
|
File without changes
|