public class SenlinClusterServiceImpl extends BaseSenlinServices implements SenlinClusterService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
SenlinClusterServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ActionID |
action(String clusterID,
ClusterActionCreate newClusterAction)
Service implementation which provides methods for manipulation of action
|
Cluster |
create(ClusterCreate newCluster)
|
ActionResponse |
delete(String clusterID)
Deletes the specified
Cluster from the server. |
Cluster |
get(String clusterID)
returns details of a
Cluster. |
List<? extends Cluster> |
list()
Gets a list of currently existing
Clusters. |
Cluster |
update(String clusterID,
ClusterCreate newCluster)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Cluster> list()
SenlinClusterServiceClusters.list in interface SenlinClusterServiceClusterspublic Cluster get(String clusterID)
SenlinClusterServiceCluster.get in interface SenlinClusterServiceclusterID - Id of Clusterpublic Cluster create(ClusterCreate newCluster)
SenlinClusterServicecreate in interface SenlinClusterServicenewCluster - ClusterCreate object out of which cluster is to be createdCluster as returned from the serverpublic ActionResponse delete(String clusterID)
SenlinClusterServiceCluster from the server.delete in interface SenlinClusterServiceclusterID - Id of Clusterpublic Cluster update(String clusterID, ClusterCreate newCluster)
SenlinClusterServiceupdate in interface SenlinClusterServiceclusterID - Id of ClusternewCluster - ClusterCreate object out of which stack is to be updateCluster as returned from the serverpublic ActionID action(String clusterID, ClusterActionCreate newClusterAction)
SenlinClusterServiceaction in interface SenlinClusterServiceCopyright © 2017. All rights reserved.