@Path(value="/host")
@Produces(value="application/json;charset=UTF-8")
@Consumes(value="application/json;charset=UTF-8")
public interface IHost
| Modifier and Type | Method and Description |
|---|---|
void |
deleteHost(java.lang.String hostUuid) |
Host |
getHost(java.lang.String hostUuid) |
Host[] |
getHosts() |
SimpleHost[] |
getSimpleHosts() |
void |
moveHost(java.lang.String hostUuid,
java.lang.String newTemplate) |
void |
setServiceState(ChangeServiceState changeServiceState) |
@GET
@RolesAllowed(value={"VIEW_HOST","EDIT_HOST"})
Host[] getHosts()
@GET @Path(value="/simple") SimpleHost[] getSimpleHosts()
@GET
@Path(value="/{host}")
@RolesAllowed(value={"VIEW_HOST","EDIT_HOST"})
Host getHost(@PathParam(value="host")
java.lang.String hostUuid)
hostUuid - the host uuid@DELETE
@Path(value="/{host}")
@RolesAllowed(value="EDIT_HOST")
void deleteHost(@PathParam(value="host")
java.lang.String hostUuid)
hostUuid - the host uuid@PUT @Path(value="/changeservicestate") @RolesAllowed(value="EDIT_HOST") void setServiceState(ChangeServiceState changeServiceState)
changeServiceState - the change service state object@GET
@Path(value="/{host}/changetemplate/{template}")
@RolesAllowed(value="EDIT_HOST")
void moveHost(@PathParam(value="host")
java.lang.String hostUuid,
@PathParam(value="template")
java.lang.String newTemplate)
hostUuid - the host uuidnewTemplate - the new template of the hostCopyright © 2017-2018 Cinovo AG. All Rights Reserved.