def machine(self, machine_id, credentials=False):
if isinstance(machine_id, dict):<EOL><INDENT>machine_id = machine_id['<STR_LIT:id>']<EOL><DEDENT>elif isinstance(machine_id, Machine):<EOL><INDENT>machine_id = machine_id.id<EOL><DEDENT>return Machine(datacenter=self, machine_id=machine_id, <EOL>credentials=credentials)<EOL>
::

    GET /:login/machines/:id

:param machine_id: unique identifier for a machine to be found in the 
    datacenter
:type machine_id: :py:class:`basestring`

:rtype: :py:class:`smartdc.machine.Machine`