|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GlobalHostClient
Provides synchronous access to CloudStack host features.
GlobalOfferingAsyncClient,
| Method Summary | |
|---|---|
Cluster |
addCluster(long zoneId,
String clusterName,
Host.ClusterType clusterType,
String hypervisor,
AddClusterOptions... options)
Adds a new cluster. |
Host |
addHost(long zoneId,
String url,
String hypervisor,
String username,
String password,
AddHostOptions... options)
Adds a new host. |
Host |
addSecondaryStorage(String url,
AddSecondaryStorageOptions... options)
Adds secondary storage. |
Long |
cancelHostMaintenance(long hostId)
Cancels host maintenance. |
void |
deleteCluster(long clusterId)
Deletes a cluster. |
void |
deleteHost(long hostId,
DeleteHostOptions... options)
Deletes a host. |
Set<Cluster> |
listClusters(ListClustersOptions... options)
Lists clusters |
Set<Host> |
listHosts(ListHostsOptions... options)
Lists hosts |
Long |
prepareHostForMaintenance(long hostId)
Prepares a host for maintenance. |
Long |
reconnectHost(long hostId)
Reconnects a host. |
Cluster |
updateCluster(long clusterId,
UpdateClusterOptions... options)
Updates an existing cluster. |
void |
updateClusterPassword(long clusterId,
String username,
String password)
Update password of a cluster on management server. |
Host |
updateHost(long hostId,
UpdateHostOptions... options)
Updates a host. |
void |
updateHostPassword(long hostId,
String username,
String password)
Update password of a host on management server. |
| Method Detail |
|---|
Set<Host> listHosts(ListHostsOptions... options)
options - if present, how to constrain the list.
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
Host updateHost(long hostId,
UpdateHostOptions... options)
hostId - the ID of the host to updateoptions - optional arguments
void updateHostPassword(long hostId,
String username,
String password)
hostId - the host IDusername - the username for the hostpassword - the password for the host
void deleteHost(long hostId,
DeleteHostOptions... options)
hostId - the host IDoptions - optional argumentsLong prepareHostForMaintenance(long hostId)
hostId - the host ID
Long cancelHostMaintenance(long hostId)
hostId - the host ID
Long reconnectHost(long hostId)
hostId -
Host addSecondaryStorage(String url,
AddSecondaryStorageOptions... options)
url - the URL for the secondary storageoptions - optional arguments
Set<Cluster> listClusters(ListClustersOptions... options)
options - if present, how to constrain the list
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
Cluster updateCluster(long clusterId,
UpdateClusterOptions... options)
clusterId - the ID of the clusteroptions - optional arguments
void updateClusterPassword(long clusterId,
String username,
String password)
hostId - the cluster IDusername - the username for the clusterpassword - the password for the clustervoid deleteCluster(long clusterId)
clusterId - the cluster ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||