Class ComputeImageServiceImpl

    • Constructor Detail

      • ComputeImageServiceImpl

        public ComputeImageServiceImpl()
        Deprecated.
    • Method Detail

      • list

        public List<? extends Image> list()
        Deprecated.
        Lists Images on an OpenStack Compute EndPoint. By default this method lists in "Detail" which means all major fields are populated for each image. This is equivalent to calling ComputeImageService.list(boolean) with {code}true{code}
        Specified by:
        list in interface ComputeImageService
        Returns:
        List of Image
      • list

        public List<? extends Image> list​(boolean detailed)
        Deprecated.
        Lists Images on an OpenStack Compute EndPoint. If detailed is false then only Image.getId(), Image.getName() and
        Specified by:
        list in interface ComputeImageService
        Parameters:
        detailed - true to populate all properties within each Image, false to include Id, Name and Links only (all other properties will be null)
        Returns:
        List of Image Image.getLinks() will be populated. True will populate all fields
      • get

        public Image get​(String imageId)
        Deprecated.
        Finds an Image by the given imageId.
        Specified by:
        get in interface ComputeImageService
        Parameters:
        imageId - the image identifier
        Returns:
        the specified Image
      • delete

        public ActionResponse delete​(String imageId)
        Deprecated.
        Deletes an Image based on it's identifiers. Images created by another user typically cannot be deleted
        Specified by:
        delete in interface ComputeImageService
        Parameters:
        imageId - the image identifier
        Returns:
        the action response
      • deleteMetaData

        public ActionResponse deleteMetaData​(String imageId,
                                             String... keys)
        Deprecated.
        Delete a metadata item from an image
        Specified by:
        deleteMetaData in interface ComputeImageService
        Parameters:
        imageId - the image identifier
        keys - one or more keys/metadata names to remove
        Returns:
        the action response