Interface ConsolesApi
@Beta
@Consumes("application/json")
public interface ConsolesApi
Provides access to the OpenStack Compute (Nova) Consoles Extension API.
-
Method Summary
Modifier and TypeMethodDescriptiongetConsole
(String serverId, Console.Type type) Gets the specified server Console.
-
Method Details
-
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.
-