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
Cluster s. |
Cluster |
update(String clusterID,
ClusterCreate newCluster)
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Cluster> list()
SenlinClusterService
Cluster
s.list
in interface SenlinClusterService
Cluster
spublic Cluster get(String clusterID)
SenlinClusterService
Cluster
.get
in interface SenlinClusterService
clusterID
- Id of Cluster
public Cluster create(ClusterCreate newCluster)
SenlinClusterService
create
in interface SenlinClusterService
newCluster
- ClusterCreate
object out of which cluster is to be createdCluster
as returned from the serverpublic ActionResponse delete(String clusterID)
SenlinClusterService
Cluster
from the server.delete
in interface SenlinClusterService
clusterID
- Id of Cluster
public Cluster update(String clusterID, ClusterCreate newCluster)
SenlinClusterService
update
in interface SenlinClusterService
clusterID
- Id of Cluster
newCluster
- ClusterCreate
object out of which stack is to be updateCluster
as returned from the serverpublic ActionID action(String clusterID, ClusterActionCreate newClusterAction)
SenlinClusterService
action
in interface SenlinClusterService
Copyright © 2017. All rights reserved.