Skip to content

Commit ceec094

Browse files
committed
publish jdcloud-sdk-python 1.6.97
1 parent c59311a commit ceec094

78 files changed

Lines changed: 2336 additions & 40 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# 更新历史 #
2-
API版本:1.0.1
2+
API版本:1.0.2
33

44
|发布时间|版本号|更新|说明|
55
|---|---|---|---|
66
|2019-09-20|1.0.1|初始版本|* API及分组定义基础接口|
7+
|2021-03-26|1.0.2|版本1|* API及分组定义基础接口|
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DelRiskEventVarsRequest(JDCloudRequest):
23+
"""
24+
删除事件及所属的策略、变量信息
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DelRiskEventVarsRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:delRiskEventVars', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DelRiskEventVarsParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DelRiskEventsRequest(JDCloudRequest):
23+
"""
24+
删除事件信息
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DelRiskEventsRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:delRiskEvents', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DelRiskEventsParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DelRiskPolicysRequest(JDCloudRequest):
23+
"""
24+
删除网站风险控制策略
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DelRiskPolicysRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:delRiskPolicys', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DelRiskPolicysParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DelRiskUsrListsRequest(JDCloudRequest):
23+
"""
24+
删除风险控制用户自定义名单
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DelRiskUsrListsRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:delRiskUsrLists', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DelRiskUsrListsParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DelRiskVarsRequest(JDCloudRequest):
23+
"""
24+
删除风险控制变量
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DelRiskVarsRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:delRiskVars', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DelRiskVarsParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class EnableBotThreatIpRequest(JDCloudRequest):
23+
"""
24+
激活bot 威胁情报库
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(EnableBotThreatIpRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/bot:setThreatIpBot', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class EnableBotThreatIpParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class EnableRiskAccountRequest(JDCloudRequest):
23+
"""
24+
使能账号安全
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(EnableRiskAccountRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:enableAccount', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class EnableRiskAccountParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class EnableRiskCtlRequest(JDCloudRequest):
23+
"""
24+
使能数据风控风险控制功能
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(EnableRiskCtlRequest, self).__init__(
29+
'/regions/{regionId}/wafInstanceIds/{wafInstanceId}/risk:enableRiskCtl', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class EnableRiskCtlParameters(object):
34+
35+
def __init__(self, regionId, wafInstanceId, req):
36+
"""
37+
:param regionId: 实例所属的地域ID
38+
:param wafInstanceId: 实例Id
39+
:param req: 请求
40+
"""
41+
42+
self.regionId = regionId
43+
self.wafInstanceId = wafInstanceId
44+
self.req = req
45+

jdcloud_sdk/services/waf/apis/EnableRiskRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class EnableRiskRequest(JDCloudRequest):
2323
"""
24-
使能risk
24+
使能数据风控
2525
"""
2626

2727
def __init__(self, parameters, header=None, version="v1"):

0 commit comments

Comments
 (0)