# Functions

WaitForCapsuleStatus will poll a capsule's status until it either matches the specified status or the status becomes Failed.