tencentcloud-sdk-python-teo 3.1.78__tar.gz → 3.1.81__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.78 → tencentcloud_sdk_python_teo-3.1.81}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/models.py +106 -68
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.81/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.78/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.78 → tencentcloud_sdk_python_teo-3.1.81}/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.81
|
|
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.81
|
|
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.81,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -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:]
|
|
@@ -6574,59 +6619,7 @@ class CacheKeyHeader(AbstractModel):
|
|
|
6574
6619
|
|
|
6575
6620
|
|
|
6576
6621
|
class CacheKeyParameters(AbstractModel):
|
|
6577
|
-
r"""自定义 Cache Key
|
|
6578
|
-
- 查询字符串全部保留。开启忽略大小写。
|
|
6579
|
-
```
|
|
6580
|
-
{
|
|
6581
|
-
"CacheKey": {
|
|
6582
|
-
"FullURLCache": "on",
|
|
6583
|
-
"QueryString": {
|
|
6584
|
-
"Switch": "off"
|
|
6585
|
-
},
|
|
6586
|
-
"IgnoreCase": "on"
|
|
6587
|
-
}
|
|
6588
|
-
}
|
|
6589
|
-
```
|
|
6590
|
-
- 查询字符串全部忽略。开启忽略大小写。
|
|
6591
|
-
```
|
|
6592
|
-
{
|
|
6593
|
-
"CacheKey": {
|
|
6594
|
-
"FullURLCache": "off",
|
|
6595
|
-
"QueryString": {
|
|
6596
|
-
"Switch": "off"
|
|
6597
|
-
},
|
|
6598
|
-
"IgnoreCase": "on"
|
|
6599
|
-
}
|
|
6600
|
-
}
|
|
6601
|
-
```
|
|
6602
|
-
- 查询字符串保留指定参数。关闭忽略大小写。
|
|
6603
|
-
```
|
|
6604
|
-
{
|
|
6605
|
-
"CacheKey": {
|
|
6606
|
-
"FullURLCache": "off",
|
|
6607
|
-
"QueryString": {
|
|
6608
|
-
"Switch": "on",
|
|
6609
|
-
"Action": "includeCustom",
|
|
6610
|
-
"Values": ["name1","name2","name3"]
|
|
6611
|
-
},
|
|
6612
|
-
"IgnoreCase": "off"
|
|
6613
|
-
}
|
|
6614
|
-
}
|
|
6615
|
-
```
|
|
6616
|
-
- 查询字符串忽略指定参数。关闭忽略大小写。
|
|
6617
|
-
```
|
|
6618
|
-
{
|
|
6619
|
-
"CacheKey": {
|
|
6620
|
-
"FullURLCache": "off",
|
|
6621
|
-
"QueryString": {
|
|
6622
|
-
"Switch": "on",
|
|
6623
|
-
"Action": "excludeCustom",
|
|
6624
|
-
"Values": ["name1","name2","name3"]
|
|
6625
|
-
},
|
|
6626
|
-
"IgnoreCase": "off"
|
|
6627
|
-
}
|
|
6628
|
-
}
|
|
6629
|
-
```
|
|
6622
|
+
r"""自定义 Cache Key 配置参数。
|
|
6630
6623
|
|
|
6631
6624
|
"""
|
|
6632
6625
|
|
|
@@ -8069,10 +8062,13 @@ class ClientFiltering(AbstractModel):
|
|
|
8069
8062
|
r"""
|
|
8070
8063
|
:param _Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
8071
8064
|
:type Enabled: str
|
|
8065
|
+
:param _Id: 智能客户端过滤的规则 ID,仅作为出参返回。
|
|
8066
|
+
:type Id: str
|
|
8072
8067
|
:param _Action: 智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
8073
8068
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
8074
8069
|
"""
|
|
8075
8070
|
self._Enabled = None
|
|
8071
|
+
self._Id = None
|
|
8076
8072
|
self._Action = None
|
|
8077
8073
|
|
|
8078
8074
|
@property
|
|
@@ -8086,6 +8082,17 @@ class ClientFiltering(AbstractModel):
|
|
|
8086
8082
|
def Enabled(self, Enabled):
|
|
8087
8083
|
self._Enabled = Enabled
|
|
8088
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
|
+
|
|
8089
8096
|
@property
|
|
8090
8097
|
def Action(self):
|
|
8091
8098
|
r"""智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
@@ -8100,6 +8107,7 @@ class ClientFiltering(AbstractModel):
|
|
|
8100
8107
|
|
|
8101
8108
|
def _deserialize(self, params):
|
|
8102
8109
|
self._Enabled = params.get("Enabled")
|
|
8110
|
+
self._Id = params.get("Id")
|
|
8103
8111
|
if params.get("Action") is not None:
|
|
8104
8112
|
self._Action = SecurityAction()
|
|
8105
8113
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -33631,6 +33639,8 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33631
33639
|
r"""
|
|
33632
33640
|
:param _Enabled: 高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
|
|
33633
33641
|
:type Enabled: str
|
|
33642
|
+
:param _Id: 高频扫描防护的规则 ID,仅作为出参返回。
|
|
33643
|
+
:type Id: str
|
|
33634
33644
|
:param _Action: 高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
33635
33645
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
33636
33646
|
:param _CountBy: 请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
|
|
@@ -33643,6 +33653,7 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33643
33653
|
:type ActionDuration: str
|
|
33644
33654
|
"""
|
|
33645
33655
|
self._Enabled = None
|
|
33656
|
+
self._Id = None
|
|
33646
33657
|
self._Action = None
|
|
33647
33658
|
self._CountBy = None
|
|
33648
33659
|
self._BlockThreshold = None
|
|
@@ -33660,6 +33671,17 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33660
33671
|
def Enabled(self, Enabled):
|
|
33661
33672
|
self._Enabled = Enabled
|
|
33662
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
|
+
|
|
33663
33685
|
@property
|
|
33664
33686
|
def Action(self):
|
|
33665
33687
|
r"""高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
@@ -33718,6 +33740,7 @@ class FrequentScanningProtection(AbstractModel):
|
|
|
33718
33740
|
|
|
33719
33741
|
def _deserialize(self, params):
|
|
33720
33742
|
self._Enabled = params.get("Enabled")
|
|
33743
|
+
self._Id = params.get("Id")
|
|
33721
33744
|
if params.get("Action") is not None:
|
|
33722
33745
|
self._Action = SecurityAction()
|
|
33723
33746
|
self._Action._deserialize(params.get("Action"))
|
|
@@ -56693,6 +56716,8 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56693
56716
|
r"""
|
|
56694
56717
|
:param _Enabled: 慢速攻击防护是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
56695
56718
|
:type Enabled: str
|
|
56719
|
+
:param _Id: 慢速攻击防护的规则 ID,仅作为出参返回。
|
|
56720
|
+
:type Id: str
|
|
56696
56721
|
:param _Action: 慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
|
|
56697
56722
|
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
56698
56723
|
:param _MinimalRequestBodyTransferRate: 正文传输最小速率阈值的具体配置,当 Enabled 为 on 时,此字段必填。
|
|
@@ -56701,6 +56726,7 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56701
56726
|
:type RequestBodyTransferTimeout: :class:`tencentcloud.teo.v20220901.models.RequestBodyTransferTimeout`
|
|
56702
56727
|
"""
|
|
56703
56728
|
self._Enabled = None
|
|
56729
|
+
self._Id = None
|
|
56704
56730
|
self._Action = None
|
|
56705
56731
|
self._MinimalRequestBodyTransferRate = None
|
|
56706
56732
|
self._RequestBodyTransferTimeout = None
|
|
@@ -56716,6 +56742,17 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56716
56742
|
def Enabled(self, Enabled):
|
|
56717
56743
|
self._Enabled = Enabled
|
|
56718
56744
|
|
|
56745
|
+
@property
|
|
56746
|
+
def Id(self):
|
|
56747
|
+
r"""慢速攻击防护的规则 ID,仅作为出参返回。
|
|
56748
|
+
:rtype: str
|
|
56749
|
+
"""
|
|
56750
|
+
return self._Id
|
|
56751
|
+
|
|
56752
|
+
@Id.setter
|
|
56753
|
+
def Id(self, Id):
|
|
56754
|
+
self._Id = Id
|
|
56755
|
+
|
|
56719
56756
|
@property
|
|
56720
56757
|
def Action(self):
|
|
56721
56758
|
r"""慢速攻击防护的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li>
|
|
@@ -56752,6 +56789,7 @@ class SlowAttackDefense(AbstractModel):
|
|
|
56752
56789
|
|
|
56753
56790
|
def _deserialize(self, params):
|
|
56754
56791
|
self._Enabled = params.get("Enabled")
|
|
56792
|
+
self._Id = params.get("Id")
|
|
56755
56793
|
if params.get("Action") is not None:
|
|
56756
56794
|
self._Action = SecurityAction()
|
|
56757
56795
|
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.81
|
|
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.81
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.81
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.78
|
|
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
|
|
File without changes
|