def GetInstanceConsole(r, instance):
    """
    Request information for connecting to instance's console.

    @type instance: string
    @param instance: Instance name
    """
    return r.request('get', '/2/instances/%s/console' % instance)
