tencentcloud-sdk-python-waf 3.0.1469__tar.gz → 3.0.1490__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_waf-3.0.1490/PKG-INFO +46 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/waf/v20180125/models.py +517 -2
- tencentcloud_sdk_python_waf-3.0.1490/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_waf-3.0.1490/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1469/PKG-INFO +0 -45
- tencentcloud-sdk-python-waf-3.0.1469/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-waf-3.0.1469/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud/waf/v20180125/waf_client.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1469 → tencentcloud_sdk_python_waf-3.0.1490}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-waf
|
|
3
|
+
Version: 3.0.1490
|
|
4
|
+
Summary: Tencent Cloud Waf SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Waf SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-waf
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common waf
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1490,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -6743,6 +6743,22 @@ class CCRuleItems(AbstractModel):
|
|
|
6743
6743
|
:type PageId: str
|
|
6744
6744
|
:param _ActionRatio: 动作灰度比例,默认值100
|
|
6745
6745
|
:type ActionRatio: int
|
|
6746
|
+
:param _Domains: 批量cc规则配置的批量域名
|
|
6747
|
+
:type Domains: list of str
|
|
6748
|
+
:param _GroupIds: 批量cc规则使用的批量防护组
|
|
6749
|
+
:type GroupIds: list of int non-negative
|
|
6750
|
+
:param _JobType: 定时任务类型
|
|
6751
|
+
:type JobType: str
|
|
6752
|
+
:param _JobDateTime: 定时任务配置
|
|
6753
|
+
:type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
|
6754
|
+
:param _CronType: 定时任务类型:month or week
|
|
6755
|
+
:type CronType: str
|
|
6756
|
+
:param _ExpireTime: 过期时间
|
|
6757
|
+
:type ExpireTime: int
|
|
6758
|
+
:param _ValidStatus: 是否生效
|
|
6759
|
+
:type ValidStatus: int
|
|
6760
|
+
:param _Source: 来源:批量还是单个规则
|
|
6761
|
+
:type Source: str
|
|
6746
6762
|
"""
|
|
6747
6763
|
self._Name = None
|
|
6748
6764
|
self._Status = None
|
|
@@ -6765,6 +6781,14 @@ class CCRuleItems(AbstractModel):
|
|
|
6765
6781
|
self._LogicalOp = None
|
|
6766
6782
|
self._PageId = None
|
|
6767
6783
|
self._ActionRatio = None
|
|
6784
|
+
self._Domains = None
|
|
6785
|
+
self._GroupIds = None
|
|
6786
|
+
self._JobType = None
|
|
6787
|
+
self._JobDateTime = None
|
|
6788
|
+
self._CronType = None
|
|
6789
|
+
self._ExpireTime = None
|
|
6790
|
+
self._ValidStatus = None
|
|
6791
|
+
self._Source = None
|
|
6768
6792
|
|
|
6769
6793
|
@property
|
|
6770
6794
|
def Name(self):
|
|
@@ -6997,6 +7021,94 @@ class CCRuleItems(AbstractModel):
|
|
|
6997
7021
|
def ActionRatio(self, ActionRatio):
|
|
6998
7022
|
self._ActionRatio = ActionRatio
|
|
6999
7023
|
|
|
7024
|
+
@property
|
|
7025
|
+
def Domains(self):
|
|
7026
|
+
r"""批量cc规则配置的批量域名
|
|
7027
|
+
:rtype: list of str
|
|
7028
|
+
"""
|
|
7029
|
+
return self._Domains
|
|
7030
|
+
|
|
7031
|
+
@Domains.setter
|
|
7032
|
+
def Domains(self, Domains):
|
|
7033
|
+
self._Domains = Domains
|
|
7034
|
+
|
|
7035
|
+
@property
|
|
7036
|
+
def GroupIds(self):
|
|
7037
|
+
r"""批量cc规则使用的批量防护组
|
|
7038
|
+
:rtype: list of int non-negative
|
|
7039
|
+
"""
|
|
7040
|
+
return self._GroupIds
|
|
7041
|
+
|
|
7042
|
+
@GroupIds.setter
|
|
7043
|
+
def GroupIds(self, GroupIds):
|
|
7044
|
+
self._GroupIds = GroupIds
|
|
7045
|
+
|
|
7046
|
+
@property
|
|
7047
|
+
def JobType(self):
|
|
7048
|
+
r"""定时任务类型
|
|
7049
|
+
:rtype: str
|
|
7050
|
+
"""
|
|
7051
|
+
return self._JobType
|
|
7052
|
+
|
|
7053
|
+
@JobType.setter
|
|
7054
|
+
def JobType(self, JobType):
|
|
7055
|
+
self._JobType = JobType
|
|
7056
|
+
|
|
7057
|
+
@property
|
|
7058
|
+
def JobDateTime(self):
|
|
7059
|
+
r"""定时任务配置
|
|
7060
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
|
7061
|
+
"""
|
|
7062
|
+
return self._JobDateTime
|
|
7063
|
+
|
|
7064
|
+
@JobDateTime.setter
|
|
7065
|
+
def JobDateTime(self, JobDateTime):
|
|
7066
|
+
self._JobDateTime = JobDateTime
|
|
7067
|
+
|
|
7068
|
+
@property
|
|
7069
|
+
def CronType(self):
|
|
7070
|
+
r"""定时任务类型:month or week
|
|
7071
|
+
:rtype: str
|
|
7072
|
+
"""
|
|
7073
|
+
return self._CronType
|
|
7074
|
+
|
|
7075
|
+
@CronType.setter
|
|
7076
|
+
def CronType(self, CronType):
|
|
7077
|
+
self._CronType = CronType
|
|
7078
|
+
|
|
7079
|
+
@property
|
|
7080
|
+
def ExpireTime(self):
|
|
7081
|
+
r"""过期时间
|
|
7082
|
+
:rtype: int
|
|
7083
|
+
"""
|
|
7084
|
+
return self._ExpireTime
|
|
7085
|
+
|
|
7086
|
+
@ExpireTime.setter
|
|
7087
|
+
def ExpireTime(self, ExpireTime):
|
|
7088
|
+
self._ExpireTime = ExpireTime
|
|
7089
|
+
|
|
7090
|
+
@property
|
|
7091
|
+
def ValidStatus(self):
|
|
7092
|
+
r"""是否生效
|
|
7093
|
+
:rtype: int
|
|
7094
|
+
"""
|
|
7095
|
+
return self._ValidStatus
|
|
7096
|
+
|
|
7097
|
+
@ValidStatus.setter
|
|
7098
|
+
def ValidStatus(self, ValidStatus):
|
|
7099
|
+
self._ValidStatus = ValidStatus
|
|
7100
|
+
|
|
7101
|
+
@property
|
|
7102
|
+
def Source(self):
|
|
7103
|
+
r"""来源:批量还是单个规则
|
|
7104
|
+
:rtype: str
|
|
7105
|
+
"""
|
|
7106
|
+
return self._Source
|
|
7107
|
+
|
|
7108
|
+
@Source.setter
|
|
7109
|
+
def Source(self, Source):
|
|
7110
|
+
self._Source = Source
|
|
7111
|
+
|
|
7000
7112
|
|
|
7001
7113
|
def _deserialize(self, params):
|
|
7002
7114
|
self._Name = params.get("Name")
|
|
@@ -7020,6 +7132,16 @@ class CCRuleItems(AbstractModel):
|
|
|
7020
7132
|
self._LogicalOp = params.get("LogicalOp")
|
|
7021
7133
|
self._PageId = params.get("PageId")
|
|
7022
7134
|
self._ActionRatio = params.get("ActionRatio")
|
|
7135
|
+
self._Domains = params.get("Domains")
|
|
7136
|
+
self._GroupIds = params.get("GroupIds")
|
|
7137
|
+
self._JobType = params.get("JobType")
|
|
7138
|
+
if params.get("JobDateTime") is not None:
|
|
7139
|
+
self._JobDateTime = JobDateTime()
|
|
7140
|
+
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
|
7141
|
+
self._CronType = params.get("CronType")
|
|
7142
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
7143
|
+
self._ValidStatus = params.get("ValidStatus")
|
|
7144
|
+
self._Source = params.get("Source")
|
|
7023
7145
|
memeber_set = set(params.keys())
|
|
7024
7146
|
for name, value in vars(self).items():
|
|
7025
7147
|
property_name = name[1:]
|
|
@@ -7041,9 +7163,15 @@ class CCRuleLists(AbstractModel):
|
|
|
7041
7163
|
:type TotalCount: int
|
|
7042
7164
|
:param _Res: 规则
|
|
7043
7165
|
:type Res: list of CCRuleItems
|
|
7166
|
+
:param _Limit: 规则限制总数
|
|
7167
|
+
:type Limit: int
|
|
7168
|
+
:param _Available: 规则剩余多少可用
|
|
7169
|
+
:type Available: int
|
|
7044
7170
|
"""
|
|
7045
7171
|
self._TotalCount = None
|
|
7046
7172
|
self._Res = None
|
|
7173
|
+
self._Limit = None
|
|
7174
|
+
self._Available = None
|
|
7047
7175
|
|
|
7048
7176
|
@property
|
|
7049
7177
|
def TotalCount(self):
|
|
@@ -7067,6 +7195,28 @@ class CCRuleLists(AbstractModel):
|
|
|
7067
7195
|
def Res(self, Res):
|
|
7068
7196
|
self._Res = Res
|
|
7069
7197
|
|
|
7198
|
+
@property
|
|
7199
|
+
def Limit(self):
|
|
7200
|
+
r"""规则限制总数
|
|
7201
|
+
:rtype: int
|
|
7202
|
+
"""
|
|
7203
|
+
return self._Limit
|
|
7204
|
+
|
|
7205
|
+
@Limit.setter
|
|
7206
|
+
def Limit(self, Limit):
|
|
7207
|
+
self._Limit = Limit
|
|
7208
|
+
|
|
7209
|
+
@property
|
|
7210
|
+
def Available(self):
|
|
7211
|
+
r"""规则剩余多少可用
|
|
7212
|
+
:rtype: int
|
|
7213
|
+
"""
|
|
7214
|
+
return self._Available
|
|
7215
|
+
|
|
7216
|
+
@Available.setter
|
|
7217
|
+
def Available(self, Available):
|
|
7218
|
+
self._Available = Available
|
|
7219
|
+
|
|
7070
7220
|
|
|
7071
7221
|
def _deserialize(self, params):
|
|
7072
7222
|
self._TotalCount = params.get("TotalCount")
|
|
@@ -7076,6 +7226,8 @@ class CCRuleLists(AbstractModel):
|
|
|
7076
7226
|
obj = CCRuleItems()
|
|
7077
7227
|
obj._deserialize(item)
|
|
7078
7228
|
self._Res.append(obj)
|
|
7229
|
+
self._Limit = params.get("Limit")
|
|
7230
|
+
self._Available = params.get("Available")
|
|
7079
7231
|
memeber_set = set(params.keys())
|
|
7080
7232
|
for name, value in vars(self).items():
|
|
7081
7233
|
property_name = name[1:]
|
|
@@ -9792,6 +9944,8 @@ class CreateOwaspWhiteRuleRequest(AbstractModel):
|
|
|
9792
9944
|
:type ExpireTime: int
|
|
9793
9945
|
:param _Status: 规则状态,0:关闭、1:开启,默认为开启
|
|
9794
9946
|
:type Status: int
|
|
9947
|
+
:param _LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
9948
|
+
:type LogicalOp: str
|
|
9795
9949
|
"""
|
|
9796
9950
|
self._Name = None
|
|
9797
9951
|
self._Domain = None
|
|
@@ -9802,6 +9956,7 @@ class CreateOwaspWhiteRuleRequest(AbstractModel):
|
|
|
9802
9956
|
self._JobDateTime = None
|
|
9803
9957
|
self._ExpireTime = None
|
|
9804
9958
|
self._Status = None
|
|
9959
|
+
self._LogicalOp = None
|
|
9805
9960
|
|
|
9806
9961
|
@property
|
|
9807
9962
|
def Name(self):
|
|
@@ -9902,6 +10057,17 @@ class CreateOwaspWhiteRuleRequest(AbstractModel):
|
|
|
9902
10057
|
def Status(self, Status):
|
|
9903
10058
|
self._Status = Status
|
|
9904
10059
|
|
|
10060
|
+
@property
|
|
10061
|
+
def LogicalOp(self):
|
|
10062
|
+
r"""匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
10063
|
+
:rtype: str
|
|
10064
|
+
"""
|
|
10065
|
+
return self._LogicalOp
|
|
10066
|
+
|
|
10067
|
+
@LogicalOp.setter
|
|
10068
|
+
def LogicalOp(self, LogicalOp):
|
|
10069
|
+
self._LogicalOp = LogicalOp
|
|
10070
|
+
|
|
9905
10071
|
|
|
9906
10072
|
def _deserialize(self, params):
|
|
9907
10073
|
self._Name = params.get("Name")
|
|
@@ -9920,6 +10086,7 @@ class CreateOwaspWhiteRuleRequest(AbstractModel):
|
|
|
9920
10086
|
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
|
9921
10087
|
self._ExpireTime = params.get("ExpireTime")
|
|
9922
10088
|
self._Status = params.get("Status")
|
|
10089
|
+
self._LogicalOp = params.get("LogicalOp")
|
|
9923
10090
|
memeber_set = set(params.keys())
|
|
9924
10091
|
for name, value in vars(self).items():
|
|
9925
10092
|
property_name = name[1:]
|
|
@@ -24674,7 +24841,21 @@ cdc-clb-waf:CDC环境下负载均衡型WAF实例
|
|
|
24674
24841
|
:type LoadBalancerSet: list of LoadBalancerPackageNew
|
|
24675
24842
|
:param _AppId: 用户id
|
|
24676
24843
|
:type AppId: int
|
|
24677
|
-
:param _State:
|
|
24844
|
+
:param _State: SAAS型WAF域名状态:
|
|
24845
|
+
-2:配置下发失败
|
|
24846
|
+
-1:配置下发中
|
|
24847
|
+
0:DNS解析中
|
|
24848
|
+
1:无DNS解析记录,请接入WAF
|
|
24849
|
+
10:DNS解析未知,域名启用了代理
|
|
24850
|
+
11:DNS解析异常,使用A记录接入WAF IP
|
|
24851
|
+
200:检测源站不可达
|
|
24852
|
+
220:源站不支持长连接
|
|
24853
|
+
311:证书过期
|
|
24854
|
+
312:证书即将过期
|
|
24855
|
+
310:证书异常
|
|
24856
|
+
316:备案异常
|
|
24857
|
+
5:WAF回源已变更
|
|
24858
|
+
负载均衡型WAF域名LB监听器状态:
|
|
24678
24859
|
0:操作成功
|
|
24679
24860
|
4:正在绑定LB
|
|
24680
24861
|
6:正在解绑LB
|
|
@@ -25016,7 +25197,21 @@ cdc-clb-waf:CDC环境下负载均衡型WAF实例
|
|
|
25016
25197
|
|
|
25017
25198
|
@property
|
|
25018
25199
|
def State(self):
|
|
25019
|
-
r"""
|
|
25200
|
+
r"""SAAS型WAF域名状态:
|
|
25201
|
+
-2:配置下发失败
|
|
25202
|
+
-1:配置下发中
|
|
25203
|
+
0:DNS解析中
|
|
25204
|
+
1:无DNS解析记录,请接入WAF
|
|
25205
|
+
10:DNS解析未知,域名启用了代理
|
|
25206
|
+
11:DNS解析异常,使用A记录接入WAF IP
|
|
25207
|
+
200:检测源站不可达
|
|
25208
|
+
220:源站不支持长连接
|
|
25209
|
+
311:证书过期
|
|
25210
|
+
312:证书即将过期
|
|
25211
|
+
310:证书异常
|
|
25212
|
+
316:备案异常
|
|
25213
|
+
5:WAF回源已变更
|
|
25214
|
+
负载均衡型WAF域名LB监听器状态:
|
|
25020
25215
|
0:操作成功
|
|
25021
25216
|
4:正在绑定LB
|
|
25022
25217
|
6:正在解绑LB
|
|
@@ -25691,6 +25886,28 @@ https:使用https协议回源
|
|
|
25691
25886
|
:type UseCase: int
|
|
25692
25887
|
:param _Gzip: gzip开关。0:关闭 1:默认值,打开。
|
|
25693
25888
|
:type Gzip: int
|
|
25889
|
+
:param _State: SAAS型WAF域名状态:
|
|
25890
|
+
-2:配置下发失败
|
|
25891
|
+
-1:配置下发中
|
|
25892
|
+
0:DNS解析中
|
|
25893
|
+
1:无DNS解析记录,请接入WAF
|
|
25894
|
+
10:DNS解析未知,域名启用了代理
|
|
25895
|
+
11:DNS解析异常,使用A记录接入WAF IP
|
|
25896
|
+
200:检测源站不可达
|
|
25897
|
+
220:源站不支持长连接
|
|
25898
|
+
311:证书过期
|
|
25899
|
+
312:证书即将过期
|
|
25900
|
+
310:证书异常
|
|
25901
|
+
316:备案异常
|
|
25902
|
+
5:WAF回源已变更
|
|
25903
|
+
负载均衡型WAF域名LB监听器状态:
|
|
25904
|
+
0:操作成功
|
|
25905
|
+
4:正在绑定LB
|
|
25906
|
+
6:正在解绑LB
|
|
25907
|
+
7:解绑LB失败
|
|
25908
|
+
8:绑定LB失败
|
|
25909
|
+
10:内部错误
|
|
25910
|
+
:type State: int
|
|
25694
25911
|
"""
|
|
25695
25912
|
self._Domain = None
|
|
25696
25913
|
self._DomainId = None
|
|
@@ -25748,6 +25965,7 @@ https:使用https协议回源
|
|
|
25748
25965
|
self._UpstreamRules = None
|
|
25749
25966
|
self._UseCase = None
|
|
25750
25967
|
self._Gzip = None
|
|
25968
|
+
self._State = None
|
|
25751
25969
|
|
|
25752
25970
|
@property
|
|
25753
25971
|
def Domain(self):
|
|
@@ -26416,6 +26634,37 @@ https:使用https协议回源
|
|
|
26416
26634
|
def Gzip(self, Gzip):
|
|
26417
26635
|
self._Gzip = Gzip
|
|
26418
26636
|
|
|
26637
|
+
@property
|
|
26638
|
+
def State(self):
|
|
26639
|
+
r"""SAAS型WAF域名状态:
|
|
26640
|
+
-2:配置下发失败
|
|
26641
|
+
-1:配置下发中
|
|
26642
|
+
0:DNS解析中
|
|
26643
|
+
1:无DNS解析记录,请接入WAF
|
|
26644
|
+
10:DNS解析未知,域名启用了代理
|
|
26645
|
+
11:DNS解析异常,使用A记录接入WAF IP
|
|
26646
|
+
200:检测源站不可达
|
|
26647
|
+
220:源站不支持长连接
|
|
26648
|
+
311:证书过期
|
|
26649
|
+
312:证书即将过期
|
|
26650
|
+
310:证书异常
|
|
26651
|
+
316:备案异常
|
|
26652
|
+
5:WAF回源已变更
|
|
26653
|
+
负载均衡型WAF域名LB监听器状态:
|
|
26654
|
+
0:操作成功
|
|
26655
|
+
4:正在绑定LB
|
|
26656
|
+
6:正在解绑LB
|
|
26657
|
+
7:解绑LB失败
|
|
26658
|
+
8:绑定LB失败
|
|
26659
|
+
10:内部错误
|
|
26660
|
+
:rtype: int
|
|
26661
|
+
"""
|
|
26662
|
+
return self._State
|
|
26663
|
+
|
|
26664
|
+
@State.setter
|
|
26665
|
+
def State(self, State):
|
|
26666
|
+
self._State = State
|
|
26667
|
+
|
|
26419
26668
|
|
|
26420
26669
|
def _deserialize(self, params):
|
|
26421
26670
|
self._Domain = params.get("Domain")
|
|
@@ -26484,6 +26733,7 @@ https:使用https协议回源
|
|
|
26484
26733
|
self._UpstreamRules.append(obj)
|
|
26485
26734
|
self._UseCase = params.get("UseCase")
|
|
26486
26735
|
self._Gzip = params.get("Gzip")
|
|
26736
|
+
self._State = params.get("State")
|
|
26487
26737
|
memeber_set = set(params.keys())
|
|
26488
26738
|
for name, value in vars(self).items():
|
|
26489
26739
|
property_name = name[1:]
|
|
@@ -30677,6 +30927,10 @@ class InstanceInfo(AbstractModel):
|
|
|
30677
30927
|
:type LLMPkg: :class:`tencentcloud.waf.v20180125.models.LLMPkg`
|
|
30678
30928
|
:param _ElasticResourceId: 弹性资源Id
|
|
30679
30929
|
:type ElasticResourceId: str
|
|
30930
|
+
:param _LLMMonPkg: 预付费大模型安全信息包
|
|
30931
|
+
:type LLMMonPkg: :class:`tencentcloud.waf.v20180125.models.LLMMonPkg`
|
|
30932
|
+
:param _RegionId: 地域id
|
|
30933
|
+
:type RegionId: int
|
|
30680
30934
|
"""
|
|
30681
30935
|
self._InstanceId = None
|
|
30682
30936
|
self._InstanceName = None
|
|
@@ -30728,6 +30982,8 @@ class InstanceInfo(AbstractModel):
|
|
|
30728
30982
|
self._ExceedPolicy = None
|
|
30729
30983
|
self._LLMPkg = None
|
|
30730
30984
|
self._ElasticResourceId = None
|
|
30985
|
+
self._LLMMonPkg = None
|
|
30986
|
+
self._RegionId = None
|
|
30731
30987
|
|
|
30732
30988
|
@property
|
|
30733
30989
|
def InstanceId(self):
|
|
@@ -31290,6 +31546,28 @@ class InstanceInfo(AbstractModel):
|
|
|
31290
31546
|
def ElasticResourceId(self, ElasticResourceId):
|
|
31291
31547
|
self._ElasticResourceId = ElasticResourceId
|
|
31292
31548
|
|
|
31549
|
+
@property
|
|
31550
|
+
def LLMMonPkg(self):
|
|
31551
|
+
r"""预付费大模型安全信息包
|
|
31552
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.LLMMonPkg`
|
|
31553
|
+
"""
|
|
31554
|
+
return self._LLMMonPkg
|
|
31555
|
+
|
|
31556
|
+
@LLMMonPkg.setter
|
|
31557
|
+
def LLMMonPkg(self, LLMMonPkg):
|
|
31558
|
+
self._LLMMonPkg = LLMMonPkg
|
|
31559
|
+
|
|
31560
|
+
@property
|
|
31561
|
+
def RegionId(self):
|
|
31562
|
+
r"""地域id
|
|
31563
|
+
:rtype: int
|
|
31564
|
+
"""
|
|
31565
|
+
return self._RegionId
|
|
31566
|
+
|
|
31567
|
+
@RegionId.setter
|
|
31568
|
+
def RegionId(self, RegionId):
|
|
31569
|
+
self._RegionId = RegionId
|
|
31570
|
+
|
|
31293
31571
|
|
|
31294
31572
|
def _deserialize(self, params):
|
|
31295
31573
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -31370,6 +31648,10 @@ class InstanceInfo(AbstractModel):
|
|
|
31370
31648
|
self._LLMPkg = LLMPkg()
|
|
31371
31649
|
self._LLMPkg._deserialize(params.get("LLMPkg"))
|
|
31372
31650
|
self._ElasticResourceId = params.get("ElasticResourceId")
|
|
31651
|
+
if params.get("LLMMonPkg") is not None:
|
|
31652
|
+
self._LLMMonPkg = LLMMonPkg()
|
|
31653
|
+
self._LLMMonPkg._deserialize(params.get("LLMMonPkg"))
|
|
31654
|
+
self._RegionId = params.get("RegionId")
|
|
31373
31655
|
memeber_set = set(params.keys())
|
|
31374
31656
|
for name, value in vars(self).items():
|
|
31375
31657
|
property_name = name[1:]
|
|
@@ -32102,6 +32384,164 @@ class KVInt(AbstractModel):
|
|
|
32102
32384
|
|
|
32103
32385
|
|
|
32104
32386
|
|
|
32387
|
+
class LLMMonPkg(AbstractModel):
|
|
32388
|
+
r"""有效预付费大模型安全包信息
|
|
32389
|
+
|
|
32390
|
+
"""
|
|
32391
|
+
|
|
32392
|
+
def __init__(self):
|
|
32393
|
+
r"""
|
|
32394
|
+
:param _ResourceIds: 资源id
|
|
32395
|
+
:type ResourceIds: str
|
|
32396
|
+
:param _Status: 状态
|
|
32397
|
+
:type Status: int
|
|
32398
|
+
:param _Region: 地域
|
|
32399
|
+
:type Region: int
|
|
32400
|
+
:param _BeginTime: 开始时间
|
|
32401
|
+
:type BeginTime: str
|
|
32402
|
+
:param _EndTime: 结束时间
|
|
32403
|
+
:type EndTime: str
|
|
32404
|
+
:param _InquireKey: 计费项
|
|
32405
|
+
:type InquireKey: str
|
|
32406
|
+
:param _RenewFlag: 预付费大模型安全续费标识
|
|
32407
|
+
0 手动续费;1自动续费;2 到期不续
|
|
32408
|
+
:type RenewFlag: int
|
|
32409
|
+
:param _UseToken: 大模型安全Token使用量
|
|
32410
|
+
:type UseToken: int
|
|
32411
|
+
:param _InstanceId: 实例id
|
|
32412
|
+
:type InstanceId: str
|
|
32413
|
+
"""
|
|
32414
|
+
self._ResourceIds = None
|
|
32415
|
+
self._Status = None
|
|
32416
|
+
self._Region = None
|
|
32417
|
+
self._BeginTime = None
|
|
32418
|
+
self._EndTime = None
|
|
32419
|
+
self._InquireKey = None
|
|
32420
|
+
self._RenewFlag = None
|
|
32421
|
+
self._UseToken = None
|
|
32422
|
+
self._InstanceId = None
|
|
32423
|
+
|
|
32424
|
+
@property
|
|
32425
|
+
def ResourceIds(self):
|
|
32426
|
+
r"""资源id
|
|
32427
|
+
:rtype: str
|
|
32428
|
+
"""
|
|
32429
|
+
return self._ResourceIds
|
|
32430
|
+
|
|
32431
|
+
@ResourceIds.setter
|
|
32432
|
+
def ResourceIds(self, ResourceIds):
|
|
32433
|
+
self._ResourceIds = ResourceIds
|
|
32434
|
+
|
|
32435
|
+
@property
|
|
32436
|
+
def Status(self):
|
|
32437
|
+
r"""状态
|
|
32438
|
+
:rtype: int
|
|
32439
|
+
"""
|
|
32440
|
+
return self._Status
|
|
32441
|
+
|
|
32442
|
+
@Status.setter
|
|
32443
|
+
def Status(self, Status):
|
|
32444
|
+
self._Status = Status
|
|
32445
|
+
|
|
32446
|
+
@property
|
|
32447
|
+
def Region(self):
|
|
32448
|
+
r"""地域
|
|
32449
|
+
:rtype: int
|
|
32450
|
+
"""
|
|
32451
|
+
return self._Region
|
|
32452
|
+
|
|
32453
|
+
@Region.setter
|
|
32454
|
+
def Region(self, Region):
|
|
32455
|
+
self._Region = Region
|
|
32456
|
+
|
|
32457
|
+
@property
|
|
32458
|
+
def BeginTime(self):
|
|
32459
|
+
r"""开始时间
|
|
32460
|
+
:rtype: str
|
|
32461
|
+
"""
|
|
32462
|
+
return self._BeginTime
|
|
32463
|
+
|
|
32464
|
+
@BeginTime.setter
|
|
32465
|
+
def BeginTime(self, BeginTime):
|
|
32466
|
+
self._BeginTime = BeginTime
|
|
32467
|
+
|
|
32468
|
+
@property
|
|
32469
|
+
def EndTime(self):
|
|
32470
|
+
r"""结束时间
|
|
32471
|
+
:rtype: str
|
|
32472
|
+
"""
|
|
32473
|
+
return self._EndTime
|
|
32474
|
+
|
|
32475
|
+
@EndTime.setter
|
|
32476
|
+
def EndTime(self, EndTime):
|
|
32477
|
+
self._EndTime = EndTime
|
|
32478
|
+
|
|
32479
|
+
@property
|
|
32480
|
+
def InquireKey(self):
|
|
32481
|
+
r"""计费项
|
|
32482
|
+
:rtype: str
|
|
32483
|
+
"""
|
|
32484
|
+
return self._InquireKey
|
|
32485
|
+
|
|
32486
|
+
@InquireKey.setter
|
|
32487
|
+
def InquireKey(self, InquireKey):
|
|
32488
|
+
self._InquireKey = InquireKey
|
|
32489
|
+
|
|
32490
|
+
@property
|
|
32491
|
+
def RenewFlag(self):
|
|
32492
|
+
r"""预付费大模型安全续费标识
|
|
32493
|
+
0 手动续费;1自动续费;2 到期不续
|
|
32494
|
+
:rtype: int
|
|
32495
|
+
"""
|
|
32496
|
+
return self._RenewFlag
|
|
32497
|
+
|
|
32498
|
+
@RenewFlag.setter
|
|
32499
|
+
def RenewFlag(self, RenewFlag):
|
|
32500
|
+
self._RenewFlag = RenewFlag
|
|
32501
|
+
|
|
32502
|
+
@property
|
|
32503
|
+
def UseToken(self):
|
|
32504
|
+
r"""大模型安全Token使用量
|
|
32505
|
+
:rtype: int
|
|
32506
|
+
"""
|
|
32507
|
+
return self._UseToken
|
|
32508
|
+
|
|
32509
|
+
@UseToken.setter
|
|
32510
|
+
def UseToken(self, UseToken):
|
|
32511
|
+
self._UseToken = UseToken
|
|
32512
|
+
|
|
32513
|
+
@property
|
|
32514
|
+
def InstanceId(self):
|
|
32515
|
+
r"""实例id
|
|
32516
|
+
:rtype: str
|
|
32517
|
+
"""
|
|
32518
|
+
return self._InstanceId
|
|
32519
|
+
|
|
32520
|
+
@InstanceId.setter
|
|
32521
|
+
def InstanceId(self, InstanceId):
|
|
32522
|
+
self._InstanceId = InstanceId
|
|
32523
|
+
|
|
32524
|
+
|
|
32525
|
+
def _deserialize(self, params):
|
|
32526
|
+
self._ResourceIds = params.get("ResourceIds")
|
|
32527
|
+
self._Status = params.get("Status")
|
|
32528
|
+
self._Region = params.get("Region")
|
|
32529
|
+
self._BeginTime = params.get("BeginTime")
|
|
32530
|
+
self._EndTime = params.get("EndTime")
|
|
32531
|
+
self._InquireKey = params.get("InquireKey")
|
|
32532
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
32533
|
+
self._UseToken = params.get("UseToken")
|
|
32534
|
+
self._InstanceId = params.get("InstanceId")
|
|
32535
|
+
memeber_set = set(params.keys())
|
|
32536
|
+
for name, value in vars(self).items():
|
|
32537
|
+
property_name = name[1:]
|
|
32538
|
+
if property_name in memeber_set:
|
|
32539
|
+
memeber_set.remove(property_name)
|
|
32540
|
+
if len(memeber_set) > 0:
|
|
32541
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32542
|
+
|
|
32543
|
+
|
|
32544
|
+
|
|
32105
32545
|
class LLMPkg(AbstractModel):
|
|
32106
32546
|
r"""有效大模型安全包信息
|
|
32107
32547
|
|
|
@@ -38813,6 +39253,8 @@ class ModifyOwaspWhiteRuleRequest(AbstractModel):
|
|
|
38813
39253
|
:type ExpireTime: int
|
|
38814
39254
|
:param _Status: 规则状态,0:关闭、1:开启,默认为开启
|
|
38815
39255
|
:type Status: int
|
|
39256
|
+
:param _LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
39257
|
+
:type LogicalOp: str
|
|
38816
39258
|
"""
|
|
38817
39259
|
self._RuleId = None
|
|
38818
39260
|
self._Name = None
|
|
@@ -38824,6 +39266,7 @@ class ModifyOwaspWhiteRuleRequest(AbstractModel):
|
|
|
38824
39266
|
self._JobDateTime = None
|
|
38825
39267
|
self._ExpireTime = None
|
|
38826
39268
|
self._Status = None
|
|
39269
|
+
self._LogicalOp = None
|
|
38827
39270
|
|
|
38828
39271
|
@property
|
|
38829
39272
|
def RuleId(self):
|
|
@@ -38935,6 +39378,17 @@ class ModifyOwaspWhiteRuleRequest(AbstractModel):
|
|
|
38935
39378
|
def Status(self, Status):
|
|
38936
39379
|
self._Status = Status
|
|
38937
39380
|
|
|
39381
|
+
@property
|
|
39382
|
+
def LogicalOp(self):
|
|
39383
|
+
r"""匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
39384
|
+
:rtype: str
|
|
39385
|
+
"""
|
|
39386
|
+
return self._LogicalOp
|
|
39387
|
+
|
|
39388
|
+
@LogicalOp.setter
|
|
39389
|
+
def LogicalOp(self, LogicalOp):
|
|
39390
|
+
self._LogicalOp = LogicalOp
|
|
39391
|
+
|
|
38938
39392
|
|
|
38939
39393
|
def _deserialize(self, params):
|
|
38940
39394
|
self._RuleId = params.get("RuleId")
|
|
@@ -38954,6 +39408,7 @@ class ModifyOwaspWhiteRuleRequest(AbstractModel):
|
|
|
38954
39408
|
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
|
38955
39409
|
self._ExpireTime = params.get("ExpireTime")
|
|
38956
39410
|
self._Status = params.get("Status")
|
|
39411
|
+
self._LogicalOp = params.get("LogicalOp")
|
|
38957
39412
|
memeber_set = set(params.keys())
|
|
38958
39413
|
for name, value in vars(self).items():
|
|
38959
39414
|
property_name = name[1:]
|
|
@@ -41304,6 +41759,8 @@ class OwaspWhiteRule(AbstractModel):
|
|
|
41304
41759
|
:type CronType: str
|
|
41305
41760
|
:param _ValidStatus: 当前是否有效
|
|
41306
41761
|
:type ValidStatus: bool
|
|
41762
|
+
:param _LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
41763
|
+
:type LogicalOp: str
|
|
41307
41764
|
"""
|
|
41308
41765
|
self._RuleId = None
|
|
41309
41766
|
self._Name = None
|
|
@@ -41317,6 +41774,7 @@ class OwaspWhiteRule(AbstractModel):
|
|
|
41317
41774
|
self._JobDateTime = None
|
|
41318
41775
|
self._CronType = None
|
|
41319
41776
|
self._ValidStatus = None
|
|
41777
|
+
self._LogicalOp = None
|
|
41320
41778
|
|
|
41321
41779
|
@property
|
|
41322
41780
|
def RuleId(self):
|
|
@@ -41450,6 +41908,17 @@ class OwaspWhiteRule(AbstractModel):
|
|
|
41450
41908
|
def ValidStatus(self, ValidStatus):
|
|
41451
41909
|
self._ValidStatus = ValidStatus
|
|
41452
41910
|
|
|
41911
|
+
@property
|
|
41912
|
+
def LogicalOp(self):
|
|
41913
|
+
r"""匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
|
41914
|
+
:rtype: str
|
|
41915
|
+
"""
|
|
41916
|
+
return self._LogicalOp
|
|
41917
|
+
|
|
41918
|
+
@LogicalOp.setter
|
|
41919
|
+
def LogicalOp(self, LogicalOp):
|
|
41920
|
+
self._LogicalOp = LogicalOp
|
|
41921
|
+
|
|
41453
41922
|
|
|
41454
41923
|
def _deserialize(self, params):
|
|
41455
41924
|
self._RuleId = params.get("RuleId")
|
|
@@ -41471,6 +41940,7 @@ class OwaspWhiteRule(AbstractModel):
|
|
|
41471
41940
|
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
|
41472
41941
|
self._CronType = params.get("CronType")
|
|
41473
41942
|
self._ValidStatus = params.get("ValidStatus")
|
|
41943
|
+
self._LogicalOp = params.get("LogicalOp")
|
|
41474
41944
|
memeber_set = set(params.keys())
|
|
41475
41945
|
for name, value in vars(self).items():
|
|
41476
41946
|
property_name = name[1:]
|
|
@@ -47192,6 +47662,8 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
47192
47662
|
:type PageId: str
|
|
47193
47663
|
:param _ActionRatio: 动作灰度比例,默认值100
|
|
47194
47664
|
:type ActionRatio: int
|
|
47665
|
+
:param _Source: 规则来源
|
|
47666
|
+
:type Source: str
|
|
47195
47667
|
"""
|
|
47196
47668
|
self._Domain = None
|
|
47197
47669
|
self._Name = None
|
|
@@ -47217,6 +47689,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
47217
47689
|
self._LogicalOp = None
|
|
47218
47690
|
self._PageId = None
|
|
47219
47691
|
self._ActionRatio = None
|
|
47692
|
+
self._Source = None
|
|
47220
47693
|
|
|
47221
47694
|
@property
|
|
47222
47695
|
def Domain(self):
|
|
@@ -47482,6 +47955,17 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
47482
47955
|
def ActionRatio(self, ActionRatio):
|
|
47483
47956
|
self._ActionRatio = ActionRatio
|
|
47484
47957
|
|
|
47958
|
+
@property
|
|
47959
|
+
def Source(self):
|
|
47960
|
+
r"""规则来源
|
|
47961
|
+
:rtype: str
|
|
47962
|
+
"""
|
|
47963
|
+
return self._Source
|
|
47964
|
+
|
|
47965
|
+
@Source.setter
|
|
47966
|
+
def Source(self, Source):
|
|
47967
|
+
self._Source = Source
|
|
47968
|
+
|
|
47485
47969
|
|
|
47486
47970
|
def _deserialize(self, params):
|
|
47487
47971
|
self._Domain = params.get("Domain")
|
|
@@ -47508,6 +47992,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
|
47508
47992
|
self._LogicalOp = params.get("LogicalOp")
|
|
47509
47993
|
self._PageId = params.get("PageId")
|
|
47510
47994
|
self._ActionRatio = params.get("ActionRatio")
|
|
47995
|
+
self._Source = params.get("Source")
|
|
47511
47996
|
memeber_set = set(params.keys())
|
|
47512
47997
|
for name, value in vars(self).items():
|
|
47513
47998
|
property_name = name[1:]
|
|
@@ -49037,6 +49522,10 @@ class WafRuleLimit(AbstractModel):
|
|
|
49037
49522
|
:type ClientMsg: int
|
|
49038
49523
|
:param _TrafficMarking: 流量标记的规格
|
|
49039
49524
|
:type TrafficMarking: int
|
|
49525
|
+
:param _BatchCC: 批量cc
|
|
49526
|
+
:type BatchCC: int
|
|
49527
|
+
:param _BatchSession: 批量session
|
|
49528
|
+
:type BatchSession: int
|
|
49040
49529
|
"""
|
|
49041
49530
|
self._CC = None
|
|
49042
49531
|
self._CustomRule = None
|
|
@@ -49051,6 +49540,8 @@ class WafRuleLimit(AbstractModel):
|
|
|
49051
49540
|
self._ApiSecurity = None
|
|
49052
49541
|
self._ClientMsg = None
|
|
49053
49542
|
self._TrafficMarking = None
|
|
49543
|
+
self._BatchCC = None
|
|
49544
|
+
self._BatchSession = None
|
|
49054
49545
|
|
|
49055
49546
|
@property
|
|
49056
49547
|
def CC(self):
|
|
@@ -49195,6 +49686,28 @@ class WafRuleLimit(AbstractModel):
|
|
|
49195
49686
|
def TrafficMarking(self, TrafficMarking):
|
|
49196
49687
|
self._TrafficMarking = TrafficMarking
|
|
49197
49688
|
|
|
49689
|
+
@property
|
|
49690
|
+
def BatchCC(self):
|
|
49691
|
+
r"""批量cc
|
|
49692
|
+
:rtype: int
|
|
49693
|
+
"""
|
|
49694
|
+
return self._BatchCC
|
|
49695
|
+
|
|
49696
|
+
@BatchCC.setter
|
|
49697
|
+
def BatchCC(self, BatchCC):
|
|
49698
|
+
self._BatchCC = BatchCC
|
|
49699
|
+
|
|
49700
|
+
@property
|
|
49701
|
+
def BatchSession(self):
|
|
49702
|
+
r"""批量session
|
|
49703
|
+
:rtype: int
|
|
49704
|
+
"""
|
|
49705
|
+
return self._BatchSession
|
|
49706
|
+
|
|
49707
|
+
@BatchSession.setter
|
|
49708
|
+
def BatchSession(self, BatchSession):
|
|
49709
|
+
self._BatchSession = BatchSession
|
|
49710
|
+
|
|
49198
49711
|
|
|
49199
49712
|
def _deserialize(self, params):
|
|
49200
49713
|
self._CC = params.get("CC")
|
|
@@ -49210,6 +49723,8 @@ class WafRuleLimit(AbstractModel):
|
|
|
49210
49723
|
self._ApiSecurity = params.get("ApiSecurity")
|
|
49211
49724
|
self._ClientMsg = params.get("ClientMsg")
|
|
49212
49725
|
self._TrafficMarking = params.get("TrafficMarking")
|
|
49726
|
+
self._BatchCC = params.get("BatchCC")
|
|
49727
|
+
self._BatchSession = params.get("BatchSession")
|
|
49213
49728
|
memeber_set = set(params.keys())
|
|
49214
49729
|
for name, value in vars(self).items():
|
|
49215
49730
|
property_name = name[1:]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-waf
|
|
3
|
+
Version: 3.0.1490
|
|
4
|
+
Summary: Tencent Cloud Waf SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Waf SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-waf
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common waf
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1490
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.0.1469
|
|
4
|
-
Summary: Tencent Cloud Waf SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Waf SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-waf
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common waf
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.0.1469
|
|
4
|
-
Summary: Tencent Cloud Waf SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Waf SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-waf
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common waf
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1469
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|