azure-servicemanagement-legacy/azure/servicemanagement/servicemanagementservice.py
def delete_os_image(self, image_name, delete_vhd=False):
        '''
        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.
        '''
        _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, as_async=True)
def delete_os_image(self, image_name, delete_vhd=False):
        '''
        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.
        '''
        _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, as_async=True)
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 , as_async = True )
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.
Deletes the specified OS image from your image repository .