Skip to content

Commit 2a8c4fc

Browse files
committed
publish jdcloud-sdk-python 1.6.71
1 parent 95abaea commit 2a8c4fc

81 files changed

Lines changed: 3316 additions & 13 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.

jdcloud_sdk/services/cdn/ChangeLog.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,34 @@
11
# 更新历史 #
2-
API版本:0.9.6
2+
API版本:0.10.19
33

44

55

66

77
| 发布时间 | 版本号 | 更新 | 说明 |
88
| ---------- | ------ | ---------------------------------------------------------- | ---- |
9+
| 2020-07-24 | 0.10.19 |海外配置增加修改加速区域接口,刷新预热任务增加是否包含海外或全球域名字段 |
10+
| 2020-07-22 | 0.10.18 |修改ssl证书详情返回字段,修改查询证书列表说明信息 |
11+
| 2020-07-20 | 0.10.17 |增加topIp查询接口 |
12+
| 2020-07-15 | 0.10.16 |增加回源改写、url改写、http2及回源多path的配置与查询接口 |
13+
| 2020-07-08 | 0.10.15 |增加解封任务id返回及状态查询接口 |
14+
| 2020-06-23 | 0.10.14 |增加PCdn带宽查询接口 | |
15+
| 2020-06-15 | 0.10.13 |增加支持Gzip压缩配置 | |
16+
| 2020-06-08 | 0.10.12 |直播通用统计查询接口增加cacheLevel参数 | |
17+
| 2020-05-29 | 0.10.11 |PCdn刷新预热接口 | |
18+
| 2020-05-27 | 0.10.10 |增加自定义错误页面接口 | |
19+
| 2020-05-25 | 0.10.9 |设置源站信息时增加加速区域字段accelerateRegion | |
20+
| 2020-05-14 | 0.10.8 |域名url封禁删除接口入参更改 | |
21+
| 2020-05-13 | 0.10.7 |增加刷新预热封禁余量查询接口 | |
22+
| 2020-05-07 | 0.10.6 |增加异常码缓存时间的设置查询和删除接口 | |
23+
| 2020-04-29 | 0.10.5 |增加报表数据查询及服务通知相关接口 | |
24+
| 2020-04-27 | 0.10.4 |增加视频云查询带宽查询相关接口 | |
25+
| 2020-04-22 | 0.10.3 |增加域名url封禁、封禁查询、封禁删除接口 | |
26+
| 2020-04-03 | 0.10.2 |查询域名组列表接口增加域名组id返回字段 | |
27+
| 2020-03-05 | 0.10.1 |增加目录基本统计数据查询接口 | |
28+
| 2020-03-05 | 0.10.0 |增加域名模板相关接口 | |
29+
| 2020-02-26 | 0.9.9 |增加域名迁移、域名删除恢复、域名配置复制恢复接口 | |
30+
| 2020-02-21 | 0.9.8 |直播点播增加ip白名单设置查询接口 | |
31+
| 2020-01-10 | 0.9.7 | 增加查询域名调度IP接口
932
| 2019-12-10 | 0.9.6 | 日志删除接口,增加logFileFullPath参数 | |
1033
| 2019-12-10 | 0.9.5 | IP查询接口增加city字段 | |
1134
| 2019-12-10 | 0.9.4 | 移除多余的接口 | |
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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 BatCreatePrefetchTaskRequest(JDCloudRequest):
23+
"""
24+
创建预热任务接口
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(BatCreatePrefetchTaskRequest, self).__init__(
29+
'/prefetchTask:batCreate', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class BatCreatePrefetchTaskParameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.tasks = None
40+
41+
def setTasks(self, tasks):
42+
"""
43+
:param tasks: (Optional)
44+
"""
45+
self.tasks = tasks
46+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 BatchSetExtraCacheTimeRequest(JDCloudRequest):
23+
"""
24+
批量设置异常码缓存时间
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(BatchSetExtraCacheTimeRequest, self).__init__(
29+
'/domain/{domain}/extraCacheTime:batchSet', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class BatchSetExtraCacheTimeParameters(object):
34+
35+
def __init__(self, domain, ):
36+
"""
37+
:param domain: 用户域名
38+
"""
39+
40+
self.domain = domain
41+
self.content = None
42+
43+
def setContent(self, content):
44+
"""
45+
:param content: (Optional) 状态码和过期时间,多个用英文分号分隔,如404:3;500:10;异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个,缓存时间(单位:秒)
46+
"""
47+
self.content = content
48+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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 CheckWhetherIpBelongToJCloudV2Request(JDCloudRequest):
23+
"""
24+
获取所有上层节点的ip
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CheckWhetherIpBelongToJCloudV2Request, self).__init__(
29+
'/ip:whetherBelongToJCloudV2', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CheckWhetherIpBelongToJCloudV2Parameters(object):
34+
35+
def __init__(self, ):
36+
"""
37+
"""
38+
39+
self.ips = None
40+
41+
def setIps(self, ips):
42+
"""
43+
:param ips: (Optional)
44+
"""
45+
self.ips = ips
46+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 ConfigBackSourcePathRequest(JDCloudRequest):
23+
"""
24+
多path回源配置
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(ConfigBackSourcePathRequest, self).__init__(
29+
'/domain/{domain}/configBackSourcePath', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class ConfigBackSourcePathParameters(object):
34+
35+
def __init__(self, domain, ):
36+
"""
37+
:param domain: 用户域名
38+
"""
39+
40+
self.domain = domain
41+
self.configs = None
42+
43+
def setConfigs(self, configs):
44+
"""
45+
:param configs: (Optional)
46+
"""
47+
self.configs = configs
48+
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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 ConfigBackSourceRuleRequest(JDCloudRequest):
23+
"""
24+
回源改写配置
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(ConfigBackSourceRuleRequest, self).__init__(
29+
'/domain/{domain}/configBackSourceRule', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class ConfigBackSourceRuleParameters(object):
34+
35+
def __init__(self, domain, ):
36+
"""
37+
:param domain: 用户域名
38+
"""
39+
40+
self.domain = domain
41+
self.beforeRegex = None
42+
self.afterRegex = None
43+
44+
def setBeforeRegex(self, beforeRegex):
45+
"""
46+
:param beforeRegex: (Optional) 回源改写之前的正则表达式
47+
"""
48+
self.beforeRegex = beforeRegex
49+
50+
def setAfterRegex(self, afterRegex):
51+
"""
52+
:param afterRegex: (Optional) 回源改写之后的正则表达式
53+
"""
54+
self.afterRegex = afterRegex
55+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 ConfigHttp2Request(JDCloudRequest):
23+
"""
24+
http2配置
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(ConfigHttp2Request, self).__init__(
29+
'/domain/{domain}/configHttp2', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class ConfigHttp2Parameters(object):
34+
35+
def __init__(self, domain, ):
36+
"""
37+
:param domain: 用户域名
38+
"""
39+
40+
self.domain = domain
41+
self.status = None
42+
43+
def setStatus(self, status):
44+
"""
45+
:param status: (Optional) HTTP2功能开关,取值on/off
46+
"""
47+
self.status = status
48+

0 commit comments

Comments
 (0)