Interface ConsolesApi
-
@Beta @Consumes("application/json") public interface ConsolesApi
Provides access to the OpenStack Compute (Nova) Consoles Extension API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Console
getConsole(String serverId, Console.Type type)
Gets the specified server Console.
-
-
-
Method Detail
-
getConsole
@Named("consoles:getConsole") @POST @Path("/servers/{serverId}/action") @Produces("application/json") Console getConsole(@PathParam("serverId") String serverId, Console.Type type)
Gets the specified server Console.- Parameters:
serverId
- Server idtype
- seeConsole.Type
- Returns:
- a Console object containing the console url and type.
-
-