Make the ensure availability a bulk API call.

Please drop the blank lines unless they're separating code blocks.