public interface GlobalHostAsyncClient
GlobalHostClient
,
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Cluster> |
addCluster(String zoneId,
String clusterName,
Host.ClusterType clusterType,
String hypervisor,
AddClusterOptions... options)
Adds a new cluster.
|
com.google.common.util.concurrent.ListenableFuture<Host> |
addHost(String 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<String> |
cancelHostMaintenance(String hostId)
Cancels host maintenance.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteCluster(String clusterId)
Deletes a cluster.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
deleteHost(String 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<String> |
prepareHostForMaintenance(String hostId)
Prepares a host for maintenance.
|
com.google.common.util.concurrent.ListenableFuture<String> |
reconnectHost(String hostId)
Reconnects a host.
|
com.google.common.util.concurrent.ListenableFuture<Cluster> |
updateCluster(String clusterId,
UpdateClusterOptions... options)
Updates an existing cluster.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
updateClusterPassword(String clusterId,
String username,
String password)
Update password of a cluster on management server.
|
com.google.common.util.concurrent.ListenableFuture<Host> |
updateHost(String hostId,
UpdateHostOptions... options)
Updates a host.
|
com.google.common.util.concurrent.ListenableFuture<Void> |
updateHostPassword(String hostId,
String username,
String password)
Update password of a host on management server.
|
@Named(value="listHosts") com.google.common.util.concurrent.ListenableFuture<Set<Host>> listHosts(ListHostsOptions... options)
@Named(value="addHost") com.google.common.util.concurrent.ListenableFuture<Host> addHost(String 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@Named(value="updateHost") com.google.common.util.concurrent.ListenableFuture<Host> updateHost(String hostId, UpdateHostOptions... options)
hostId
- the ID of the host to updateoptions
- optional arguments@Named(value="updateHostPassword") com.google.common.util.concurrent.ListenableFuture<Void> updateHostPassword(String hostId, String username, String password)
hostId
- the host IDusername
- the username for the hostpassword
- the password for the host@Named(value="deleteHost") com.google.common.util.concurrent.ListenableFuture<Void> deleteHost(String hostId, DeleteHostOptions... options)
hostId
- the host IDoptions
- optional arguments@Named(value="prepareHostForMaintenance") com.google.common.util.concurrent.ListenableFuture<String> prepareHostForMaintenance(String hostId)
hostId
- the host ID@Named(value="cancelHostMaintenance") com.google.common.util.concurrent.ListenableFuture<String> cancelHostMaintenance(String hostId)
hostId
- the host ID@Named(value="reconnectHost") com.google.common.util.concurrent.ListenableFuture<String> reconnectHost(String hostId)
hostId
- @Named(value="addSecondaryStorage") com.google.common.util.concurrent.ListenableFuture<Host> addSecondaryStorage(String url, AddSecondaryStorageOptions... options)
url
- the URL for the secondary storageoptions
- optional arguments@Named(value="listClusters") com.google.common.util.concurrent.ListenableFuture<Set<Cluster>> listClusters(ListClustersOptions... options)
@Named(value="addCluster") com.google.common.util.concurrent.ListenableFuture<Cluster> addCluster(String 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@Named(value="updateCluster") com.google.common.util.concurrent.ListenableFuture<Cluster> updateCluster(String clusterId, UpdateClusterOptions... options)
clusterId
- the ID of the clusteroptions
- optional arguments@Named(value="updateHostPassword") com.google.common.util.concurrent.ListenableFuture<Void> updateClusterPassword(String clusterId, String username, String password)
clusterId
- the cluster IDusername
- the username for the clusterpassword
- the password for the clusterCopyright © 2009-2013 jclouds. All Rights Reserved.