def delete_os_image(self, image_name, delete_vhd=False):
_validate_not_none('<STR_LIT>', image_name)<EOL>path = self._get_image_path(image_name)<EOL>if delete_vhd:<EOL><INDENT>path += '<STR_LIT>'<EOL><DEDENT>return self._perform_delete(path, as_async=True)<EOL>
Deletes the specified OS image from your image repository.

image_name:
    The name of the image.
delete_vhd:
    Deletes the underlying vhd blob in Azure storage.