UNITED NATIONS — The United Nations Security Council voted Thursday to authorize military action, including airstrikes against Libyan tanks and heavy artillery and a no-fly zone, a risky foreign intervention aimed at averting a bloody rout of rebels by forces loyal to Col. Muammar el-Qaddafi.