|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GlobalHostAsyncClient
Provides asynchronous access to cloudstack via their REST API.
GlobalHostClient,
| Method Summary | |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Cluster> |
addCluster(long zoneId,
String clusterName,
Host.ClusterType clusterType,
String hypervisor,
AddClusterOptions... options)
Adds a new cluster. |
com.google.common.util.concurrent.ListenableFuture<Host> |
addHost(long zoneId,
String url,
String hypervisor,
String username,
String password,
AddHostOptions... options)
Adds a new host. |
com.google.common.util.concurrent.ListenableFuture<Host> |
addSecondaryStorage(String url,
AddSecondaryStorageOptions... options)
Adds secondary storage. |
com.google.common.util.concurrent.ListenableFuture<Long> |
cancelHostMaintenance(long hostId)
Cancels host maintenance. |
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteCluster(long clusterId)
Deletes a cluster. |
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteHost(long hostId,
DeleteHostOptions... options)
Deletes a host. |
com.google.common.util.concurrent.ListenableFuture<Set<Cluster>> |
listClusters(ListClustersOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Set<Host>> |
listHosts(ListHostsOptions... options)
|
com.google.common.util.concurrent.ListenableFuture<Long> |
prepareHostForMaintenance(long hostId)
Prepares a host for maintenance. |
com.google.common.util.concurrent.ListenableFuture<Long> |
reconnectHost(long hostId)
Reconnects a host. |
com.google.common.util.concurrent.ListenableFuture<Cluster> |
updateCluster(long clusterId,
UpdateClusterOptions... options)
Updates an existing cluster. |
com.google.common.util.concurrent.ListenableFuture<Void> |
updateClusterPassword(long clusterId,
String username,
String password)
Update password of a cluster on management server. |
com.google.common.util.concurrent.ListenableFuture<Host> |
updateHost(long hostId,
UpdateHostOptions... options)
Updates a host. |
com.google.common.util.concurrent.ListenableFuture<Void> |
updateHostPassword(long hostId,
String username,
String password)
Update password of a host on management server. |
| Method Detail |
|---|
com.google.common.util.concurrent.ListenableFuture<Set<Host>> listHosts(ListHostsOptions... options)
GlobalHostClient.listHosts(org.jclouds.cloudstack.options.ListHostsOptions...)
com.google.common.util.concurrent.ListenableFuture<Host> addHost(long zoneId,
String url,
String hypervisor,
String username,
String password,
AddHostOptions... options)
zoneId - the Zone ID for the hosturl - the host URLhypervisor - hypervisor type of the hostusername - the username for the hostpassword - the password for the hostoptions - optional arguments
com.google.common.util.concurrent.ListenableFuture<Host> updateHost(long hostId,
UpdateHostOptions... options)
hostId - the ID of the host to updateoptions - optional arguments
com.google.common.util.concurrent.ListenableFuture<Void> updateHostPassword(long hostId,
String username,
String password)
hostId - the host IDusername - the username for the hostpassword - the password for the host
com.google.common.util.concurrent.ListenableFuture<Void> deleteHost(long hostId,
DeleteHostOptions... options)
hostId - the host IDoptions - optional argumentscom.google.common.util.concurrent.ListenableFuture<Long> prepareHostForMaintenance(long hostId)
hostId - the host ID
com.google.common.util.concurrent.ListenableFuture<Long> cancelHostMaintenance(long hostId)
hostId - the host ID
com.google.common.util.concurrent.ListenableFuture<Long> reconnectHost(long hostId)
hostId -
com.google.common.util.concurrent.ListenableFuture<Host> addSecondaryStorage(String url,
AddSecondaryStorageOptions... options)
url - the URL for the secondary storageoptions - optional arguments
com.google.common.util.concurrent.ListenableFuture<Set<Cluster>> listClusters(ListClustersOptions... options)
GlobalHostClient.listClusters(org.jclouds.cloudstack.options.ListClustersOptions...)
com.google.common.util.concurrent.ListenableFuture<Cluster> addCluster(long zoneId,
String clusterName,
Host.ClusterType clusterType,
String hypervisor,
AddClusterOptions... options)
zoneId - the Zone ID for the clusterclusterName - the cluster nameclusterType - type of the clusterhypervisor - hypervisor type of the clusteroptions - optional arguments
com.google.common.util.concurrent.ListenableFuture<Cluster> updateCluster(long clusterId,
UpdateClusterOptions... options)
clusterId - the ID of the clusteroptions - optional arguments
com.google.common.util.concurrent.ListenableFuture<Void> updateClusterPassword(long clusterId,
String username,
String password)
clusterId - the cluster IDusername - the username for the clusterpassword - the password for the clustercom.google.common.util.concurrent.ListenableFuture<Void> deleteCluster(long clusterId)
clusterId - the cluster ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||