Skip to content

Commit 20bc6aa

Browse files
committed
由智久发起的CDN SDK自动发布, BUILD_ID=273, 版本号:2.6.0
发布日志: 1, Add scdn API. 2, Update SetReqAuthConfig.
1 parent 237baca commit 20bc6aa

File tree

12 files changed

+245
-196
lines changed

12 files changed

+245
-196
lines changed

aliyun-python-sdk-cdn/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2017-12-15 Version: 2.6.0
2+
1, Add scdn API.
3+
2, Update SetReqAuthConfig.
4+
15
2017-11-01 Version: 2.5.1
26
1, 更新PurgeObjectCaches和PreloadObjectCaches接口,修复域名校验。
37
2, 更新DescribeCdnDomainLogs接口,修复错误码。

aliyun-python-sdk-cdn/aliyun_python_sdk_cdn.egg-info/PKG-INFO

Lines changed: 0 additions & 33 deletions
This file was deleted.

aliyun-python-sdk-cdn/aliyun_python_sdk_cdn.egg-info/SOURCES.txt

Lines changed: 0 additions & 159 deletions
This file was deleted.

aliyun-python-sdk-cdn/aliyun_python_sdk_cdn.egg-info/dependency_links.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

aliyun-python-sdk-cdn/aliyun_python_sdk_cdn.egg-info/requires.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

aliyun-python-sdk-cdn/aliyun_python_sdk_cdn.egg-info/top_level.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.5.1"
1+
__version__ = "2.6.0"
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DescribeDomainSlowRatioRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DescribeDomainSlowRatio')
25+
26+
def get_StartTime(self):
27+
return self.get_query_params().get('StartTime')
28+
29+
def set_StartTime(self,StartTime):
30+
self.add_query_param('StartTime',StartTime)
31+
32+
def get_PageNumber(self):
33+
return self.get_query_params().get('PageNumber')
34+
35+
def set_PageNumber(self,PageNumber):
36+
self.add_query_param('PageNumber',PageNumber)
37+
38+
def get_SecurityToken(self):
39+
return self.get_query_params().get('SecurityToken')
40+
41+
def set_SecurityToken(self,SecurityToken):
42+
self.add_query_param('SecurityToken',SecurityToken)
43+
44+
def get_PageSize(self):
45+
return self.get_query_params().get('PageSize')
46+
47+
def set_PageSize(self,PageSize):
48+
self.add_query_param('PageSize',PageSize)
49+
50+
def get_DomainName(self):
51+
return self.get_query_params().get('DomainName')
52+
53+
def set_DomainName(self,DomainName):
54+
self.add_query_param('DomainName',DomainName)
55+
56+
def get_EndTime(self):
57+
return self.get_query_params().get('EndTime')
58+
59+
def set_EndTime(self,EndTime):
60+
self.add_query_param('EndTime',EndTime)
61+
62+
def get_OwnerId(self):
63+
return self.get_query_params().get('OwnerId')
64+
65+
def set_OwnerId(self,OwnerId):
66+
self.add_query_param('OwnerId',OwnerId)
67+
68+
def get_Version(self):
69+
return self.get_query_params().get('Version')
70+
71+
def set_Version(self,Version):
72+
self.add_query_param('Version',Version)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class SetFileTypeForceTtlCodeConfigRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'SetFileTypeForceTtlCodeConfig')
25+
26+
def get_FileType(self):
27+
return self.get_query_params().get('FileType')
28+
29+
def set_FileType(self,FileType):
30+
self.add_query_param('FileType',FileType)
31+
32+
def get_DomainName(self):
33+
return self.get_query_params().get('DomainName')
34+
35+
def set_DomainName(self,DomainName):
36+
self.add_query_param('DomainName',DomainName)
37+
38+
def get_OwnerId(self):
39+
return self.get_query_params().get('OwnerId')
40+
41+
def set_OwnerId(self,OwnerId):
42+
self.add_query_param('OwnerId',OwnerId)
43+
44+
def get_Version(self):
45+
return self.get_query_params().get('Version')
46+
47+
def set_Version(self,Version):
48+
self.add_query_param('Version',Version)
49+
50+
def get_CodeString(self):
51+
return self.get_query_params().get('CodeString')
52+
53+
def set_CodeString(self,CodeString):
54+
self.add_query_param('CodeString',CodeString)
55+
56+
def get_SecurityToken(self):
57+
return self.get_query_params().get('SecurityToken')
58+
59+
def set_SecurityToken(self,SecurityToken):
60+
self.add_query_param('SecurityToken',SecurityToken)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class SetIpAllowListConfigRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'SetIpAllowListConfig')
25+
26+
def get_AllowIps(self):
27+
return self.get_query_params().get('AllowIps')
28+
29+
def set_AllowIps(self,AllowIps):
30+
self.add_query_param('AllowIps',AllowIps)
31+
32+
def get_SecurityToken(self):
33+
return self.get_query_params().get('SecurityToken')
34+
35+
def set_SecurityToken(self,SecurityToken):
36+
self.add_query_param('SecurityToken',SecurityToken)
37+
38+
def get_DomainName(self):
39+
return self.get_query_params().get('DomainName')
40+
41+
def set_DomainName(self,DomainName):
42+
self.add_query_param('DomainName',DomainName)
43+
44+
def get_OwnerId(self):
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self,OwnerId):
48+
self.add_query_param('OwnerId',OwnerId)

0 commit comments

Comments
 (0)