def terminate(self):
        """
        Terminate the instance
        """
        rs = self.connection.terminate_instances([self.id])
        if len(rs) > 0:
            self._update(rs[0])
def terminate ( self ) : rs = self . connection . terminate_instances ( [ self . id ] ) if len ( rs ) > 0 : self . _update ( rs [ 0 ] )
Terminate the instance