| Modifier and Type | Method and Description |
|---|---|
Cluster |
addCluster(String zoneId,
String clusterName,
Host.ClusterType clusterType,
String hypervisor,
AddClusterOptions... options)
Adds a new cluster.
|
Host |
addHost(String zoneId,
String url,
String hypervisor,
String username,
String password,
AddHostOptions... options)
Adds a new host.
|
Host |
addSecondaryStorage(String url,
AddSecondaryStorageOptions... options)
Adds secondary storage.
|
String |
cancelHostMaintenance(String hostId)
Cancels host maintenance.
|
void |
deleteCluster(String clusterId)
Deletes a cluster.
|
void |
deleteHost(String hostId,
DeleteHostOptions... options)
Deletes a host.
|
Set<Cluster> |
listClusters(ListClustersOptions... options) |
Set<Host> |
listHosts(ListHostsOptions... options)
Lists hosts
|
String |
prepareHostForMaintenance(String hostId)
Prepares a host for maintenance.
|
String |
reconnectHost(String hostId)
Reconnects a host.
|
Cluster |
updateCluster(String clusterId,
UpdateClusterOptions... options)
Updates an existing cluster.
|
void |
updateClusterPassword(String clusterId,
String username,
String password)
Update password of a cluster on management server.
|
Host |
updateHost(String hostId,
UpdateHostOptions... options)
Updates a host.
|
void |
updateHostPassword(String hostId,
String username,
String password)
Update password of a host on management server.
|
@Named(value="listHosts") @GET @Consumes(value="application/json") Set<Host> listHosts(ListHostsOptions... options)
options - if present, how to constrain the list.@Named(value="addHost") @GET @Consumes(value="application/json") Host addHost(@QueryParam(value="zoneid") String zoneId, @QueryParam(value="url") String url, @QueryParam(value="hypervisor") String hypervisor, @QueryParam(value="username") String username, @QueryParam(value="password") 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") @GET @Consumes(value="application/json") Host updateHost(@QueryParam(value="id") String hostId, UpdateHostOptions... options)
hostId - the ID of the host to updateoptions - optional arguments@Named(value="updateHostPassword")
@GET
@Consumes(value="application/json")
void updateHostPassword(@QueryParam(value="hostid")
String hostId,
@QueryParam(value="username")
String username,
@QueryParam(value="password")
String password)
hostId - the host IDusername - the username for the hostpassword - the password for the host@Named(value="deleteHost")
@GET
@Consumes(value="application/json")
void deleteHost(@QueryParam(value="id")
String hostId,
DeleteHostOptions... options)
hostId - the host IDoptions - optional arguments@Named(value="prepareHostForMaintenance") @GET @Consumes(value="application/json") String prepareHostForMaintenance(@QueryParam(value="id") String hostId)
hostId - the host ID@Named(value="cancelHostMaintenance") @GET @Consumes(value="application/json") String cancelHostMaintenance(@QueryParam(value="id") String hostId)
hostId - the host ID@Named(value="reconnectHost") @GET @Consumes(value="application/json") String reconnectHost(@QueryParam(value="id") String hostId)
hostId - @Named(value="addSecondaryStorage") @GET @Consumes(value="application/json") Host addSecondaryStorage(@QueryParam(value="url") String url, AddSecondaryStorageOptions... options)
url - the URL for the secondary storageoptions - optional arguments@Named(value="listClusters") @GET @Consumes(value="application/json") Set<Cluster> listClusters(ListClustersOptions... options)
@Named(value="addCluster") @GET @Consumes(value="application/json") Cluster addCluster(@QueryParam(value="zoneid") String zoneId, @QueryParam(value="clustername") String clusterName, @QueryParam(value="clustertype") Host.ClusterType clusterType, @QueryParam(value="hypervisor") 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") @GET @Consumes(value="application/json") Cluster updateCluster(@QueryParam(value="id") String clusterId, UpdateClusterOptions... options)
clusterId - the ID of the clusteroptions - optional arguments@Named(value="updateHostPassword")
@GET
@Consumes(value="application/json")
void updateClusterPassword(@QueryParam(value="clusterid")
String clusterId,
@QueryParam(value="username")
String username,
@QueryParam(value="password")
String password)
clusterId - the cluster IDusername - the username for the clusterpassword - the password for the cluster@Named(value="deleteCluster")
@GET
@Consumes(value="application/json")
void deleteCluster(@QueryParam(value="id")
String clusterId)
clusterId - the cluster IDCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.