tencentcloud-sdk-python-teo 3.1.79__tar.gz → 3.1.82__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.79 → tencentcloud_sdk_python_teo-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220901/errorcodes.py +42 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220901/models.py +166 -19
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.82/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.79/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.79 → tencentcloud_sdk_python_teo-3.1.82}/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.82
|
|
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.82
|
|
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.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -602,6 +602,9 @@ INVALIDPARAMETER_INVALIDRULEPROTO = 'InvalidParameter.InvalidRuleProto'
|
|
|
602
602
|
# 无效的回源Host。
|
|
603
603
|
INVALIDPARAMETER_INVALIDSERVERNAME = 'InvalidParameter.InvalidServerName'
|
|
604
604
|
|
|
605
|
+
# 设置的匹配条件不支持EdgeOne Shield操作,请删除相关配置项或联系智能客服提交工单处理。
|
|
606
|
+
INVALIDPARAMETER_INVALIDSHIELDUNSUPPORTED = 'InvalidParameter.InvalidShieldUnsupported'
|
|
607
|
+
|
|
605
608
|
# 排序字段不合法。
|
|
606
609
|
INVALIDPARAMETER_INVALIDSORTBY = 'InvalidParameter.InvalidSortBy'
|
|
607
610
|
|
|
@@ -788,9 +791,30 @@ INVALIDPARAMETER_SECURITY = 'InvalidParameter.Security'
|
|
|
788
791
|
# 配置项参数错误。
|
|
789
792
|
INVALIDPARAMETER_SETTINGINVALIDPARAM = 'InvalidParameter.SettingInvalidParam'
|
|
790
793
|
|
|
794
|
+
# 当前域名不支持同时开启EdgeOne Shield和缓存预刷新。
|
|
795
|
+
INVALIDPARAMETER_SHIELDNOTSUPPORTHOSTCACHEPREFRESH = 'InvalidParameter.ShieldNotSupportHostCachePrefresh'
|
|
796
|
+
|
|
791
797
|
# 当前域名不支持同时开启EdgeOne Shield和源站防护。
|
|
792
798
|
INVALIDPARAMETER_SHIELDNOTSUPPORTHOSTORIGINWHITELIST = 'InvalidParameter.ShieldNotSupportHostOriginWhitelist'
|
|
793
799
|
|
|
800
|
+
# 当前域名不支持同时开启EdgeOne Shield和智能加速。
|
|
801
|
+
INVALIDPARAMETER_SHIELDNOTSUPPORTHOSTSMARTROUTING = 'InvalidParameter.ShieldNotSupportHostSmartRouting'
|
|
802
|
+
|
|
803
|
+
# 当前站点不支持同时开启EdgeOne Shield和缓存预刷新。
|
|
804
|
+
INVALIDPARAMETER_SHIELDNOTSUPPORTZONECACHEPREFRESH = 'InvalidParameter.ShieldNotSupportZoneCachePrefresh'
|
|
805
|
+
|
|
806
|
+
# 当前站点不支持同时开启EdgeOne Shield和智能加速。
|
|
807
|
+
INVALIDPARAMETER_SHIELDNOTSUPPORTZONESMARTROUTING = 'InvalidParameter.ShieldNotSupportZoneSmartRouting'
|
|
808
|
+
|
|
809
|
+
# EdgeOne Shield空间查询不到。
|
|
810
|
+
INVALIDPARAMETER_SHIELDSPACENOTFOUND = 'InvalidParameter.ShieldSpaceNotFound'
|
|
811
|
+
|
|
812
|
+
# EdgeOne Shield空间参数必填。
|
|
813
|
+
INVALIDPARAMETER_SHIELDSPACEREQUIREDERROR = 'InvalidParameter.ShieldSpaceRequiredError'
|
|
814
|
+
|
|
815
|
+
# EdgeOne Shield空间状态必须为在线。
|
|
816
|
+
INVALIDPARAMETER_SHIELDSPACESTATUSMUSTONLINE = 'InvalidParameter.ShieldSpaceStatusMustOnline'
|
|
817
|
+
|
|
794
818
|
# 一些绑定的源站组不存在。
|
|
795
819
|
INVALIDPARAMETER_SOMEORIGINGROUPNOTEXIST = 'InvalidParameter.SomeOriginGroupNotExist'
|
|
796
820
|
|
|
@@ -950,6 +974,9 @@ INVALIDPARAMETERVALUE_INVALIDKEYLESSSERVERID = 'InvalidParameterValue.InvalidKey
|
|
|
950
974
|
# DNS 代理域名源站错误。
|
|
951
975
|
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = 'InvalidParameterValue.InvalidProxyOrigin'
|
|
952
976
|
|
|
977
|
+
# 存在源站故障转移配置项配置在不支持的匹配条件下,请删除相关配置项或联系智能客服提交工单处理。
|
|
978
|
+
INVALIDPARAMETERVALUE_INVALIDSITEFAILOVERUNSUPPORTED = 'InvalidParameterValue.InvalidSiteFailoverUnsupported'
|
|
979
|
+
|
|
953
980
|
# 标签值存在不合法字符。
|
|
954
981
|
INVALIDPARAMETERVALUE_INVALIDTAGVALUE = 'InvalidParameterValue.InvalidTagValue'
|
|
955
982
|
|
|
@@ -989,6 +1016,15 @@ INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = 'InvalidParameterValue.Serv
|
|
|
989
1016
|
# 请输入合法的共享 CNAME 前缀,最大支持50个字符。
|
|
990
1017
|
INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = 'InvalidParameterValue.SharedCNAMEPrefixNotMatch'
|
|
991
1018
|
|
|
1019
|
+
# 不支持同时开启源站故障转移和回源限频。
|
|
1020
|
+
INVALIDPARAMETERVALUE_SITEFAILOVERNOTSUPPORTHOSTORIGINPULLRATELIMIT = 'InvalidParameterValue.SiteFailoverNotSupportHostOriginPullRateLimit'
|
|
1021
|
+
|
|
1022
|
+
# 源站故障转移不支持源站为VOD类型。
|
|
1023
|
+
INVALIDPARAMETERVALUE_SITEFAILOVERNOTSUPPORTHOSTORIGINTYPEVOD = 'InvalidParameterValue.SiteFailoverNotSupportHostOriginTypeVod'
|
|
1024
|
+
|
|
1025
|
+
# 不支持同时开启源站故障转移和回源双向认证/源站证书校验。
|
|
1026
|
+
INVALIDPARAMETERVALUE_SITEFAILOVERNOTSUPPORTHOSTUPSTREAMVERIFY = 'InvalidParameterValue.SiteFailoverNotSupportHostUpstreamVerify'
|
|
1027
|
+
|
|
992
1028
|
# 输入模板中包含不是自定义模板类型的模板。
|
|
993
1029
|
INVALIDPARAMETERVALUE_TEMPLATENOTCUSTOM = 'InvalidParameterValue.TemplateNotCustom'
|
|
994
1030
|
|
|
@@ -1241,6 +1277,12 @@ OPERATIONDENIED_NOTINKEYLESSWHITELIST = 'OperationDenied.NotInKeylessWhiteList'
|
|
|
1241
1277
|
# 不在预热回源限速配置白名单中,请提交工单。
|
|
1242
1278
|
OPERATIONDENIED_NOTINPREFETCHORIGINLIMITWHITELIST = 'OperationDenied.NotInPrefetchOriginLimitWhiteList'
|
|
1243
1279
|
|
|
1280
|
+
# 当前EdgeOne Shield功能仅针对白名单用户开放。
|
|
1281
|
+
OPERATIONDENIED_NOTINSHIELDSPACEWHITELIST = 'OperationDenied.NotInShieldSpaceWhiteList'
|
|
1282
|
+
|
|
1283
|
+
# 当前源站故障转移功能仅针对白名单用户开放。
|
|
1284
|
+
OPERATIONDENIED_NOTINSITEFAILOVERWHITELIST = 'OperationDenied.NotInSiteFailoverWhiteList'
|
|
1285
|
+
|
|
1244
1286
|
# 当前回源双向认证功能仅针对白名单用户开放。
|
|
1245
1287
|
OPERATIONDENIED_NOTINUPSTREAMMTLSWHITELIST = 'OperationDenied.NotInUpstreamMTLSWhiteList'
|
|
1246
1288
|
|
|
@@ -1547,12 +1547,15 @@ class AdaptiveFrequencyControl(AbstractModel):
|
|
|
1547
1547
|
r"""
|
|
1548
1548
|
:param _Enabled: 自适应频控是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
1549
1549
|
:type Enabled: str
|
|
1550
|
+
:param _Id: 自适应频控的规则 ID,仅作为出参返回。
|
|
1551
|
+
:type Id: str
|
|
1550
1552
|
:param _Sensitivity: 自适应频控的限制等级,当 Enabled 为 on 时,此字段必填。取值有:<li>Loose:宽松;</li><li>Moderate:适中;</li><li>Strict:严格。</li>
|
|
1551
1553
|
:type Sensitivity: str
|
|
1552
1554
|
:param _Action: 自适应频控的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
1553
1555
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
1554
1556
|
"""
|
|
1555
1557
|
self._Enabled = None
|
|
1558
|
+
self._Id = None
|
|
1556
1559
|
self._Sensitivity = None
|
|
1557
1560
|
self._Action = None
|
|
1558
1561
|
|
|
@@ -1567,6 +1570,17 @@ class AdaptiveFrequencyControl(AbstractModel):
|
|
|
1567
1570
|
def Enabled(self, Enabled):
|
|
1568
1571
|
self._Enabled = Enabled
|
|
1569
1572
|
|
|
1573
|
+
@property
|
|
1574
|
+
def Id(self):
|
|
1575
|
+
r"""自适应频控的规则 ID,仅作为出参返回。
|
|
1576
|
+
:rtype: str
|
|
1577
|
+
"""
|
|
1578
|
+
return self._Id
|
|
1579
|
+
|
|
1580
|
+
@Id.setter
|
|
1581
|
+
def Id(self, Id):
|
|
1582
|
+
self._Id = Id
|
|
1583
|
+
|
|
1570
1584
|
@property
|
|
1571
1585
|
def Sensitivity(self):
|
|
1572
1586
|
r"""自适应频控的限制等级,当 Enabled 为 on 时,此字段必填。取值有:<li>Loose:宽松;</li><li>Moderate:适中;</li><li>Strict:严格。</li>
|
|
@@ -1592,6 +1606,7 @@ class AdaptiveFrequencyControl(AbstractModel):
|
|
|
1592
1606
|
|
|
1593
1607
|
def _deserialize(self, params):
|
|
1594
1608
|
self._Enabled = params.get("Enabled")
|
|
1609
|
+
self._Id = params.get("Id")
|
|
1595
1610
|
self._Sensitivity = params.get("Sensitivity")
|
|
1596
1611
|
if params.get("Action") is not None:
|
|
1597
1612
|
self._Action = SecurityAction()
|
|
@@ -3427,10 +3442,13 @@ class BandwidthAbuseDefense(AbstractModel):
|
|
|
3427
3442
|
r"""
|
|
3428
3443
|
:param _Enabled: 流量防盗刷(仅适用中国大陆地区)是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
3429
3444
|
:type Enabled: str
|
|
3445
|
+
:param _Id: 流量防盗刷的规则 ID,仅作为出参返回。
|
|
3446
|
+
:type Id: str
|
|
3430
3447
|
:param _Action: 流量防盗刷(仅适用中国大陆地区)的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
3431
3448
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
3432
3449
|
"""
|
|
3433
3450
|
self._Enabled = None
|
|
3451
|
+
self._Id = None
|
|
3434
3452
|
self._Action = None
|
|
3435
3453
|
|
|
3436
3454
|
@property
|
|
@@ -3444,6 +3462,17 @@ class BandwidthAbuseDefense(AbstractModel):
|
|
|
3444
3462
|
def Enabled(self, Enabled):
|
|
3445
3463
|
self._Enabled = Enabled
|
|
3446
3464
|
|
|
3465
|
+
@property
|
|
3466
|
+
def Id(self):
|
|
3467
|
+
r"""流量防盗刷的规则 ID,仅作为出参返回。
|
|
3468
|
+
:rtype: str
|
|
3469
|
+
"""
|
|
3470
|
+
return self._Id
|
|
3471
|
+
|
|
3472
|
+
@Id.setter
|
|
3473
|
+
def Id(self, Id):
|
|
3474
|
+
self._Id = Id
|
|
3475
|
+
|
|
3447
3476
|
@property
|
|
3448
3477
|
def Action(self):
|
|
3449
3478
|
r"""流量防盗刷(仅适用中国大陆地区)的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
@@ -3458,6 +3487,7 @@ class BandwidthAbuseDefense(AbstractModel):
|
|
|
3458
3487
|
|
|
3459
3488
|
def _deserialize(self, params):
|
|
3460
3489
|
self._Enabled = params.get("Enabled")
|
|
3490
|
+
self._Id = params.get("Id")
|
|
3461
3491
|
if params.get("Action") is not None:
|
|
3462
3492
|
self._Action = SecurityAction()
|
|
3463
3493
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -4441,27 +4471,19 @@ class BotIntelligence(AbstractModel):
|
|
|
4441
4471
|
|
|
4442
4472
|
def __init__(self):
|
|
4443
4473
|
r"""
|
|
4444
|
-
:param _BotRatings: 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
4445
|
-
:type BotRatings: :class:`tencentcloud.teo.v20220901.models.BotRatings`
|
|
4446
4474
|
:param _Enabled: Bot 智能分析的具体配置开关。取值有:
|
|
4447
4475
|
|
|
4448
4476
|
on:开启;
|
|
4449
4477
|
off:关闭。
|
|
4450
4478
|
:type Enabled: str
|
|
4479
|
+
:param _Id: Bot 智能分析的规则 ID,仅作为出参返回。
|
|
4480
|
+
:type Id: str
|
|
4481
|
+
:param _BotRatings: 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
4482
|
+
:type BotRatings: :class:`tencentcloud.teo.v20220901.models.BotRatings`
|
|
4451
4483
|
"""
|
|
4452
|
-
self._BotRatings = None
|
|
4453
4484
|
self._Enabled = None
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
def BotRatings(self):
|
|
4457
|
-
r"""基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
4458
|
-
:rtype: :class:`tencentcloud.teo.v20220901.models.BotRatings`
|
|
4459
|
-
"""
|
|
4460
|
-
return self._BotRatings
|
|
4461
|
-
|
|
4462
|
-
@BotRatings.setter
|
|
4463
|
-
def BotRatings(self, BotRatings):
|
|
4464
|
-
self._BotRatings = BotRatings
|
|
4485
|
+
self._Id = None
|
|
4486
|
+
self._BotRatings = None
|
|
4465
4487
|
|
|
4466
4488
|
@property
|
|
4467
4489
|
def Enabled(self):
|
|
@@ -4477,12 +4499,35 @@ off:关闭。
|
|
|
4477
4499
|
def Enabled(self, Enabled):
|
|
4478
4500
|
self._Enabled = Enabled
|
|
4479
4501
|
|
|
4502
|
+
@property
|
|
4503
|
+
def Id(self):
|
|
4504
|
+
r"""Bot 智能分析的规则 ID,仅作为出参返回。
|
|
4505
|
+
:rtype: str
|
|
4506
|
+
"""
|
|
4507
|
+
return self._Id
|
|
4508
|
+
|
|
4509
|
+
@Id.setter
|
|
4510
|
+
def Id(self, Id):
|
|
4511
|
+
self._Id = Id
|
|
4512
|
+
|
|
4513
|
+
@property
|
|
4514
|
+
def BotRatings(self):
|
|
4515
|
+
r"""基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
4516
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.BotRatings`
|
|
4517
|
+
"""
|
|
4518
|
+
return self._BotRatings
|
|
4519
|
+
|
|
4520
|
+
@BotRatings.setter
|
|
4521
|
+
def BotRatings(self, BotRatings):
|
|
4522
|
+
self._BotRatings = BotRatings
|
|
4523
|
+
|
|
4480
4524
|
|
|
4481
4525
|
def _deserialize(self, params):
|
|
4526
|
+
self._Enabled = params.get("Enabled")
|
|
4527
|
+
self._Id = params.get("Id")
|
|
4482
4528
|
if params.get("BotRatings") is not None:
|
|
4483
4529
|
self._BotRatings = BotRatings()
|
|
4484
4530
|
self._BotRatings._deserialize(params.get("BotRatings"))
|
|
4485
|
-
self._Enabled = params.get("Enabled")
|
|
4486
4531
|
memeber_set = set(params.keys())
|
|
4487
4532
|
for name, value in vars(self).items():
|
|
4488
4533
|
property_name = name[1:]
|
|
@@ -8017,10 +8062,13 @@ class ClientFiltering(AbstractModel):
|
|
|
8017
8062
|
r"""
|
|
8018
8063
|
:param _Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
8019
8064
|
:type Enabled: str
|
|
8065
|
+
:param _Id: 智能客户端过滤的规则 ID,仅作为出参返回。
|
|
8066
|
+
:type Id: str
|
|
8020
8067
|
:param _Action: 智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
8021
8068
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
8022
8069
|
"""
|
|
8023
8070
|
self._Enabled = None
|
|
8071
|
+
self._Id = None
|
|
8024
8072
|
self._Action = None
|
|
8025
8073
|
|
|
8026
8074
|
@property
|
|
@@ -8034,6 +8082,17 @@ class ClientFiltering(AbstractModel):
|
|
|
8034
8082
|
def Enabled(self, Enabled):
|
|
8035
8083
|
self._Enabled = Enabled
|
|
8036
8084
|
|
|
8085
|
+
@property
|
|
8086
|
+
def Id(self):
|
|
8087
|
+
r"""智能客户端过滤的规则 ID,仅作为出参返回。
|
|
8088
|
+
:rtype: str
|
|
8089
|
+
"""
|
|
8090
|
+
return self._Id
|
|
8091
|
+
|
|
8092
|
+
@Id.setter
|
|
8093
|
+
def Id(self, Id):
|
|
8094
|
+
self._Id = Id
|
|
8095
|
+
|
|
8037
8096
|
@property
|
|
8038
8097
|
def Action(self):
|
|
8039
8098
|
r"""智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
@@ -8048,6 +8107,7 @@ class ClientFiltering(AbstractModel):
|
|
|
8048
8107
|
|
|
8049
8108
|
def _deserialize(self, params):
|
|
8050
8109
|
self._Enabled = params.get("Enabled")
|
|
8110
|
+
self._Id = params.get("Id")
|
|
8051
8111
|
if params.get("Action") is not None:
|
|
8052
8112
|
self._Action = SecurityAction()
|
|
8053
8113
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -33579,6 +33639,8 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33579
33639
|
r"""
|
|
33580
33640
|
:param _Enabled: 高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
|
|
33581
33641
|
:type Enabled: str
|
|
33642
|
+
:param _Id: 高频扫描防护的规则 ID,仅作为出参返回。
|
|
33643
|
+
:type Id: str
|
|
33582
33644
|
:param _Action: 高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
33583
33645
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
33584
33646
|
:param _CountBy: 请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
|
|
@@ -33591,6 +33653,7 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33591
33653
|
:type ActionDuration: str
|
|
33592
33654
|
"""
|
|
33593
33655
|
self._Enabled = None
|
|
33656
|
+
self._Id = None
|
|
33594
33657
|
self._Action = None
|
|
33595
33658
|
self._CountBy = None
|
|
33596
33659
|
self._BlockThreshold = None
|
|
@@ -33608,6 +33671,17 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33608
33671
|
def Enabled(self, Enabled):
|
|
33609
33672
|
self._Enabled = Enabled
|
|
33610
33673
|
|
|
33674
|
+
@property
|
|
33675
|
+
def Id(self):
|
|
33676
|
+
r"""高频扫描防护的规则 ID,仅作为出参返回。
|
|
33677
|
+
:rtype: str
|
|
33678
|
+
"""
|
|
33679
|
+
return self._Id
|
|
33680
|
+
|
|
33681
|
+
@Id.setter
|
|
33682
|
+
def Id(self, Id):
|
|
33683
|
+
self._Id = Id
|
|
33684
|
+
|
|
33611
33685
|
@property
|
|
33612
33686
|
def Action(self):
|
|
33613
33687
|
r"""高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
@@ -33666,6 +33740,7 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33666
33740
|
|
|
33667
33741
|
def _deserialize(self, params):
|
|
33668
33742
|
self._Enabled = params.get("Enabled")
|
|
33743
|
+
self._Id = params.get("Id")
|
|
33669
33744
|
if params.get("Action") is not None:
|
|
33670
33745
|
self._Action = SecurityAction()
|
|
33671
33746
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -43687,8 +43762,8 @@ class ModifyOriginParameters(AbstractModel):
|
|
|
43687
43762
|
<li>当 OriginType = IPDomain 时,该参数请填写 IPV4、IPV6 地址或域名;</li>
|
|
43688
43763
|
<li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
|
|
43689
43764
|
<li>当 OriginType = AWSS3,该参数请填写 S3 桶的访问域名;</li>
|
|
43690
|
-
<li>当 OriginType = OriginGroup 时,该参数请填写源站组 ID;</li>
|
|
43691
|
-
<li>当 OriginType = LoadBalance 时,该参数请填写负载均衡实例 ID
|
|
43765
|
+
<li>当 OriginType = OriginGroup 时,该参数请填写源站组 ID;当为出参的时候,如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy;</li>
|
|
43766
|
+
<li>当 OriginType = LoadBalance 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;当为出参的时候,如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy。</li>
|
|
43692
43767
|
:type Origin: str
|
|
43693
43768
|
:param _OriginProtocol: 回源协议配置。当 OriginType 取值为 IPDomain、OriginGroup、LoadBalance 时该参数必填。取值有:
|
|
43694
43769
|
<li>http:使用 HTTP 协议;</li>
|
|
@@ -43737,8 +43812,8 @@ class ModifyOriginParameters(AbstractModel):
|
|
|
43737
43812
|
<li>当 OriginType = IPDomain 时,该参数请填写 IPV4、IPV6 地址或域名;</li>
|
|
43738
43813
|
<li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
|
|
43739
43814
|
<li>当 OriginType = AWSS3,该参数请填写 S3 桶的访问域名;</li>
|
|
43740
|
-
<li>当 OriginType = OriginGroup 时,该参数请填写源站组 ID;</li>
|
|
43741
|
-
<li>当 OriginType = LoadBalance 时,该参数请填写负载均衡实例 ID
|
|
43815
|
+
<li>当 OriginType = OriginGroup 时,该参数请填写源站组 ID;当为出参的时候,如果引用了其它站点的源站组,格式为{源站组 ID}@{ZoneID}。例如:og-testorigin@zone-38moq1z10wwwy;</li>
|
|
43816
|
+
<li>当 OriginType = LoadBalance 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;当为出参的时候,如果引用了其它站点的负载均衡,格式为{负载均衡 ID}@{ZoneID}。例如:lb-2rxpamcyqfzg@zone-38moq1z10wwwy。</li>
|
|
43742
43817
|
:rtype: str
|
|
43743
43818
|
"""
|
|
43744
43819
|
return self._Origin
|
|
@@ -53440,6 +53515,7 @@ class RuleEngineAction(AbstractModel):
|
|
|
53440
53515
|
<li>ClientIPCountry:回源时携带客户端 IP 所属地域信息;</li>
|
|
53441
53516
|
<li>UpstreamFollowRedirect:回源跟随重定向参数配置;</li>
|
|
53442
53517
|
<li>UpstreamRequest:回源请求参数;</li>
|
|
53518
|
+
<li>Shield:源站卸载配置;</li>
|
|
53443
53519
|
<li>TLSConfig:SSL/TLS 安全;</li>
|
|
53444
53520
|
<li>ModifyOrigin:修改源站;</li>
|
|
53445
53521
|
<li>HTTPUpstreamTimeout:七层回源超时配置;</li>
|
|
@@ -53531,6 +53607,9 @@ class RuleEngineAction(AbstractModel):
|
|
|
53531
53607
|
:param _UpstreamRequestParameters: 回源请求参数配置参数,当 Name 取值为 UpstreamRequest 时,该参数必填。
|
|
53532
53608
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
53533
53609
|
:type UpstreamRequestParameters: :class:`tencentcloud.teo.v20220901.models.UpstreamRequestParameters`
|
|
53610
|
+
:param _ShieldParameters: 源站卸载配置参数,当 Name 取值为 Shield 时,该参数必填。
|
|
53611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
53612
|
+
:type ShieldParameters: :class:`tencentcloud.teo.v20220901.models.ShieldParameters`
|
|
53534
53613
|
:param _TLSConfigParameters: SSL/TLS 安全配置参数,当 Name 取值为 TLSConfig 时,该参数必填。
|
|
53535
53614
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
53536
53615
|
:type TLSConfigParameters: :class:`tencentcloud.teo.v20220901.models.TLSConfigParameters`
|
|
@@ -53593,6 +53672,7 @@ class RuleEngineAction(AbstractModel):
|
|
|
53593
53672
|
self._ClientIPCountryParameters = None
|
|
53594
53673
|
self._UpstreamFollowRedirectParameters = None
|
|
53595
53674
|
self._UpstreamRequestParameters = None
|
|
53675
|
+
self._ShieldParameters = None
|
|
53596
53676
|
self._TLSConfigParameters = None
|
|
53597
53677
|
self._ModifyOriginParameters = None
|
|
53598
53678
|
self._HTTPUpstreamTimeoutParameters = None
|
|
@@ -53635,6 +53715,7 @@ class RuleEngineAction(AbstractModel):
|
|
|
53635
53715
|
<li>ClientIPCountry:回源时携带客户端 IP 所属地域信息;</li>
|
|
53636
53716
|
<li>UpstreamFollowRedirect:回源跟随重定向参数配置;</li>
|
|
53637
53717
|
<li>UpstreamRequest:回源请求参数;</li>
|
|
53718
|
+
<li>Shield:源站卸载配置;</li>
|
|
53638
53719
|
<li>TLSConfig:SSL/TLS 安全;</li>
|
|
53639
53720
|
<li>ModifyOrigin:修改源站;</li>
|
|
53640
53721
|
<li>HTTPUpstreamTimeout:七层回源超时配置;</li>
|
|
@@ -53967,6 +54048,18 @@ class RuleEngineAction(AbstractModel):
|
|
|
53967
54048
|
def UpstreamRequestParameters(self, UpstreamRequestParameters):
|
|
53968
54049
|
self._UpstreamRequestParameters = UpstreamRequestParameters
|
|
53969
54050
|
|
|
54051
|
+
@property
|
|
54052
|
+
def ShieldParameters(self):
|
|
54053
|
+
r"""源站卸载配置参数,当 Name 取值为 Shield 时,该参数必填。
|
|
54054
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
54055
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ShieldParameters`
|
|
54056
|
+
"""
|
|
54057
|
+
return self._ShieldParameters
|
|
54058
|
+
|
|
54059
|
+
@ShieldParameters.setter
|
|
54060
|
+
def ShieldParameters(self, ShieldParameters):
|
|
54061
|
+
self._ShieldParameters = ShieldParameters
|
|
54062
|
+
|
|
53970
54063
|
@property
|
|
53971
54064
|
def TLSConfigParameters(self):
|
|
53972
54065
|
r"""SSL/TLS 安全配置参数,当 Name 取值为 TLSConfig 时,该参数必填。
|
|
@@ -54190,6 +54283,9 @@ class RuleEngineAction(AbstractModel):
|
|
|
54190
54283
|
if params.get("UpstreamRequestParameters") is not None:
|
|
54191
54284
|
self._UpstreamRequestParameters = UpstreamRequestParameters()
|
|
54192
54285
|
self._UpstreamRequestParameters._deserialize(params.get("UpstreamRequestParameters"))
|
|
54286
|
+
if params.get("ShieldParameters") is not None:
|
|
54287
|
+
self._ShieldParameters = ShieldParameters()
|
|
54288
|
+
self._ShieldParameters._deserialize(params.get("ShieldParameters"))
|
|
54193
54289
|
if params.get("TLSConfigParameters") is not None:
|
|
54194
54290
|
self._TLSConfigParameters = TLSConfigParameters()
|
|
54195
54291
|
self._TLSConfigParameters._deserialize(params.get("TLSConfigParameters"))
|
|
@@ -56487,6 +56583,42 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
56487
56583
|
|
|
56488
56584
|
|
|
56489
56585
|
|
|
56586
|
+
class ShieldParameters(AbstractModel):
|
|
56587
|
+
r"""源站卸载配置参数。
|
|
56588
|
+
|
|
56589
|
+
"""
|
|
56590
|
+
|
|
56591
|
+
def __init__(self):
|
|
56592
|
+
r"""
|
|
56593
|
+
:param _ShieldSpaceId: 源站卸载空间 ID。
|
|
56594
|
+
:type ShieldSpaceId: str
|
|
56595
|
+
"""
|
|
56596
|
+
self._ShieldSpaceId = None
|
|
56597
|
+
|
|
56598
|
+
@property
|
|
56599
|
+
def ShieldSpaceId(self):
|
|
56600
|
+
r"""源站卸载空间 ID。
|
|
56601
|
+
:rtype: str
|
|
56602
|
+
"""
|
|
56603
|
+
return self._ShieldSpaceId
|
|
56604
|
+
|
|
56605
|
+
@ShieldSpaceId.setter
|
|
56606
|
+
def ShieldSpaceId(self, ShieldSpaceId):
|
|
56607
|
+
self._ShieldSpaceId = ShieldSpaceId
|
|
56608
|
+
|
|
56609
|
+
|
|
56610
|
+
def _deserialize(self, params):
|
|
56611
|
+
self._ShieldSpaceId = params.get("ShieldSpaceId")
|
|
56612
|
+
memeber_set = set(params.keys())
|
|
56613
|
+
for name, value in vars(self).items():
|
|
56614
|
+
property_name = name[1:]
|
|
56615
|
+
if property_name in memeber_set:
|
|
56616
|
+
memeber_set.remove(property_name)
|
|
56617
|
+
if len(memeber_set) > 0:
|
|
56618
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
56619
|
+
|
|
56620
|
+
|
|
56621
|
+
|
|
56490
56622
|
class SkipCondition(AbstractModel):
|
|
56491
56623
|
r"""例外规则的跳过匹配条件,即在例外时根据本匹配条件,略过指定字段及内容。
|
|
56492
56624
|
|
|
@@ -56641,6 +56773,8 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56641
56773
|
r"""
|
|
56642
56774
|
:param _Enabled: 慢速攻击防护是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
56643
56775
|
:type Enabled: str
|
|
56776
|
+
:param _Id: 慢速攻击防护的规则 ID,仅作为出参返回。
|
|
56777
|
+
:type Id: str
|
|
56644
56778
|
:param _Action: 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
|
|
56645
56779
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
56646
56780
|
:param _MinimalRequestBodyTransferRate: 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。
|
|
@@ -56649,6 +56783,7 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56649
56783
|
:type RequestBodyTransferTimeout: :class:`tencentcloud.teo.v20220901.models.RequestBodyTransferTimeout`
|
|
56650
56784
|
"""
|
|
56651
56785
|
self._Enabled = None
|
|
56786
|
+
self._Id = None
|
|
56652
56787
|
self._Action = None
|
|
56653
56788
|
self._MinimalRequestBodyTransferRate = None
|
|
56654
56789
|
self._RequestBodyTransferTimeout = None
|
|
@@ -56664,6 +56799,17 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56664
56799
|
def Enabled(self, Enabled):
|
|
56665
56800
|
self._Enabled = Enabled
|
|
56666
56801
|
|
|
56802
|
+
@property
|
|
56803
|
+
def Id(self):
|
|
56804
|
+
r"""慢速攻击防护的规则 ID,仅作为出参返回。
|
|
56805
|
+
:rtype: str
|
|
56806
|
+
"""
|
|
56807
|
+
return self._Id
|
|
56808
|
+
|
|
56809
|
+
@Id.setter
|
|
56810
|
+
def Id(self, Id):
|
|
56811
|
+
self._Id = Id
|
|
56812
|
+
|
|
56667
56813
|
@property
|
|
56668
56814
|
def Action(self):
|
|
56669
56815
|
r"""慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
|
|
@@ -56700,6 +56846,7 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56700
56846
|
|
|
56701
56847
|
def _deserialize(self, params):
|
|
56702
56848
|
self._Enabled = params.get("Enabled")
|
|
56849
|
+
self._Id = params.get("Id")
|
|
56703
56850
|
if params.get("Action") is not None:
|
|
56704
56851
|
self._Action = SecurityAction()
|
|
56705
56852
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -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.82
|
|
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.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
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
|