public interface ClusterService extends RestService
Modifier and Type | Method and Description |
---|---|
Cluster |
addNodeGroup(String clusterId,
NodeGroup nodeGroup)
Add a new node group in the specified cluster
|
Cluster |
create(Cluster cluster)
Create a new cluster
|
ActionResponse |
delete(String clusterId)
Delete the specified cluster
|
Cluster |
get(String clusterId)
Get a cluster by ID
|
List<? extends Cluster> |
list()
List all clusters
|
Cluster |
resizeNodeGroup(String clusterId,
String groupName,
int count)
Resize a node group in the specified cluster
|
Cluster get(String clusterId)
clusterId
- the cluster identifierCluster create(Cluster cluster)
cluster
- the cluster to createActionResponse delete(String clusterId)
clusterId
- the cluster identifierCluster resizeNodeGroup(String clusterId, String groupName, int count)
clusterId
- the cluster identifiergroupName
- the name of the node groupcount
- the number of instances in the node groupCopyright © 2017. All rights reserved.