In yā ʿabda llāhi, ʿabda is accusative and Allāhi genitive.

Vocative Particles: Five Forms, Uses and Parsing