Interface ConsolesApi


@Beta @Consumes("application/json") public interface ConsolesApi
Provides access to the OpenStack Compute (Nova) Consoles Extension API.

  • Method Summary

    Modifier and Type
    Method
    Description
    getConsole(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 id
      type - see Console.Type
      Returns:
      a Console object containing the console url and type.