Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EHPC SDK Auto Released By qianzheng.llc,Version:1.9.0
发布日志: 1, Better support for hybrid cluster.
- Loading branch information
Showing
7 changed files
with
109 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.8.0" | ||
__version__ = "1.9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
aliyun-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ListAvailableEcsTypesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
class ListAvailableEcsTypesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'EHPC', '2018-04-12', 'ListAvailableEcsTypes','ehs') | ||
|
||
def get_SpotStrategy(self): | ||
return self.get_query_params().get('SpotStrategy') | ||
|
||
def set_SpotStrategy(self,SpotStrategy): | ||
self.add_query_param('SpotStrategy',SpotStrategy) | ||
|
||
def get_ZoneId(self): | ||
return self.get_query_params().get('ZoneId') | ||
|
||
def set_ZoneId(self,ZoneId): | ||
self.add_query_param('ZoneId',ZoneId) | ||
|
||
def get_InstanceChargeType(self): | ||
return self.get_query_params().get('InstanceChargeType') | ||
|
||
def set_InstanceChargeType(self,InstanceChargeType): | ||
self.add_query_param('InstanceChargeType',InstanceChargeType) |
36 changes: 36 additions & 0 deletions
36
...-python-sdk-ehpc/aliyunsdkehpc/request/v20180412/ListFileSystemWithMountTargetsRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
class ListFileSystemWithMountTargetsRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'EHPC', '2018-04-12', 'ListFileSystemWithMountTargets','ehs') | ||
|
||
def get_PageSize(self): | ||
return self.get_query_params().get('PageSize') | ||
|
||
def set_PageSize(self,PageSize): | ||
self.add_query_param('PageSize',PageSize) | ||
|
||
def get_PageNumber(self): | ||
return self.get_query_params().get('PageNumber') | ||
|
||
def set_PageNumber(self,PageNumber): | ||
self.add_query_param('PageNumber',PageNumber) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters