Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6aa2d4

Browse files
committed
NAS SDK Auto Released By hanjie.ghj,Version:3.2.0
发布日志:1, Add new APIs for new feature of NAS Tiering
1 parent64e0db6 commitc6aa2d4

15 files changed

+646
-1
lines changed

‎aliyun-python-sdk-nas/ChangeLog.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-01-04 Version: 3.2.0
2+
1, Add new APIs for new feature of NAS Tiering
3+
14
2017-12-15 Version: 3.1.2
25
1, This is for Aliyun Location service.
36
2, User no longer need to addEndpoint in the initialization code.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__="3.1.2"
1+
__version__="3.2.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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCPFSCreateFileSystemRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CPFSCreateFileSystem','nas')
25+
26+
defget_FsSpec(self):
27+
returnself.get_query_params().get('FsSpec')
28+
29+
defset_FsSpec(self,FsSpec):
30+
self.add_query_param('FsSpec',FsSpec)
31+
32+
defget_VSwitchId(self):
33+
returnself.get_query_params().get('VSwitchId')
34+
35+
defset_VSwitchId(self,VSwitchId):
36+
self.add_query_param('VSwitchId',VSwitchId)
37+
38+
defget_Bandwidth(self):
39+
returnself.get_query_params().get('Bandwidth')
40+
41+
defset_Bandwidth(self,Bandwidth):
42+
self.add_query_param('Bandwidth',Bandwidth)
43+
44+
defget_VpcId(self):
45+
returnself.get_query_params().get('VpcId')
46+
47+
defset_VpcId(self,VpcId):
48+
self.add_query_param('VpcId',VpcId)
49+
50+
defget_ZoneId(self):
51+
returnself.get_query_params().get('ZoneId')
52+
53+
defset_ZoneId(self,ZoneId):
54+
self.add_query_param('ZoneId',ZoneId)
55+
56+
defget_NetworkType(self):
57+
returnself.get_query_params().get('NetworkType')
58+
59+
defset_NetworkType(self,NetworkType):
60+
self.add_query_param('NetworkType',NetworkType)
61+
62+
defget_FsDesc(self):
63+
returnself.get_query_params().get('FsDesc')
64+
65+
defset_FsDesc(self,FsDesc):
66+
self.add_query_param('FsDesc',FsDesc)
67+
68+
defget_Capacity(self):
69+
returnself.get_query_params().get('Capacity')
70+
71+
defset_Capacity(self,Capacity):
72+
self.add_query_param('Capacity',Capacity)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCPFSDeleteFileSystemRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CPFSDeleteFileSystem','nas')
25+
26+
defget_FsId(self):
27+
returnself.get_query_params().get('FsId')
28+
29+
defset_FsId(self,FsId):
30+
self.add_query_param('FsId',FsId)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCPFSDescribeFileSystemsRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CPFSDescribeFileSystems','nas')
25+
26+
defget_FsId(self):
27+
returnself.get_query_params().get('FsId')
28+
29+
defset_FsId(self,FsId):
30+
self.add_query_param('FsId',FsId)
31+
32+
defget_PageSize(self):
33+
returnself.get_query_params().get('PageSize')
34+
35+
defset_PageSize(self,PageSize):
36+
self.add_query_param('PageSize',PageSize)
37+
38+
defget_PageNumber(self):
39+
returnself.get_query_params().get('PageNumber')
40+
41+
defset_PageNumber(self,PageNumber):
42+
self.add_query_param('PageNumber',PageNumber)
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCPFSModifyFileSystemRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CPFSModifyFileSystem','nas')
25+
26+
defget_Bandwidth(self):
27+
returnself.get_query_params().get('Bandwidth')
28+
29+
defset_Bandwidth(self,Bandwidth):
30+
self.add_query_param('Bandwidth',Bandwidth)
31+
32+
defget_FsId(self):
33+
returnself.get_query_params().get('FsId')
34+
35+
defset_FsId(self,FsId):
36+
self.add_query_param('FsId',FsId)
37+
38+
defget_FsDesc(self):
39+
returnself.get_query_params().get('FsDesc')
40+
41+
defset_FsDesc(self,FsDesc):
42+
self.add_query_param('FsDesc',FsDesc)
43+
44+
defget_Capacity(self):
45+
returnself.get_query_params().get('Capacity')
46+
47+
defset_Capacity(self,Capacity):
48+
self.add_query_param('Capacity',Capacity)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCreateTieringJobRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CreateTieringJob','nas')
25+
26+
defget_Volume(self):
27+
returnself.get_query_params().get('Volume')
28+
29+
defset_Volume(self,Volume):
30+
self.add_query_param('Volume',Volume)
31+
32+
defget_Path(self):
33+
returnself.get_query_params().get('Path')
34+
35+
defset_Path(self,Path):
36+
self.add_query_param('Path',Path)
37+
38+
defget_Hour(self):
39+
returnself.get_query_params().get('Hour')
40+
41+
defset_Hour(self,Hour):
42+
self.add_query_param('Hour',Hour)
43+
44+
defget_Name(self):
45+
returnself.get_query_params().get('Name')
46+
47+
defset_Name(self,Name):
48+
self.add_query_param('Name',Name)
49+
50+
defget_Weekday(self):
51+
returnself.get_query_params().get('Weekday')
52+
53+
defset_Weekday(self,Weekday):
54+
self.add_query_param('Weekday',Weekday)
55+
56+
defget_Type(self):
57+
returnself.get_query_params().get('Type')
58+
59+
defset_Type(self,Type):
60+
self.add_query_param('Type',Type)
61+
62+
defget_Recursive(self):
63+
returnself.get_query_params().get('Recursive')
64+
65+
defset_Recursive(self,Recursive):
66+
self.add_query_param('Recursive',Recursive)
67+
68+
defget_Enabled(self):
69+
returnself.get_query_params().get('Enabled')
70+
71+
defset_Enabled(self,Enabled):
72+
self.add_query_param('Enabled',Enabled)
73+
74+
defget_Policy(self):
75+
returnself.get_query_params().get('Policy')
76+
77+
defset_Policy(self,Policy):
78+
self.add_query_param('Policy',Policy)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classCreateTieringPolicyRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'NAS','2017-06-26','CreateTieringPolicy','nas')
25+
26+
defget_Atime(self):
27+
returnself.get_query_params().get('Atime')
28+
29+
defset_Atime(self,Atime):
30+
self.add_query_param('Atime',Atime)
31+
32+
defget_FileName(self):
33+
returnself.get_query_params().get('FileName')
34+
35+
defset_FileName(self,FileName):
36+
self.add_query_param('FileName',FileName)
37+
38+
defget_Size(self):
39+
returnself.get_query_params().get('Size')
40+
41+
defset_Size(self,Size):
42+
self.add_query_param('Size',Size)
43+
44+
defget_RecallTime(self):
45+
returnself.get_query_params().get('RecallTime')
46+
47+
defset_RecallTime(self,RecallTime):
48+
self.add_query_param('RecallTime',RecallTime)
49+
50+
defget_Name(self):
51+
returnself.get_query_params().get('Name')
52+
53+
defset_Name(self,Name):
54+
self.add_query_param('Name',Name)
55+
56+
defget_Description(self):
57+
returnself.get_query_params().get('Description')
58+
59+
defset_Description(self,Description):
60+
self.add_query_param('Description',Description)
61+
62+
defget_Ctime(self):
63+
returnself.get_query_params().get('Ctime')
64+
65+
defset_Ctime(self,Ctime):
66+
self.add_query_param('Ctime',Ctime)
67+
68+
defget_Mtime(self):
69+
returnself.get_query_params().get('Mtime')
70+
71+
defset_Mtime(self,Mtime):
72+
self.add_query_param('Mtime',Mtime)
73+
74+
defget_CheckLimit(self):
75+
returnself.get_query_params().get('CheckLimit')
76+
77+
defset_CheckLimit(self,CheckLimit):
78+
self.add_query_param('CheckLimit',CheckLimit)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp