'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.'

def delete_os_image(self, image_name, delete_vhd=False):

    _validate_not_none('image_name', image_name)
    path = self._get_image_path(image_name)
    if delete_vhd:
        path += '?comp=media'
    return self._perform_delete(path, async=True)
