org.jclouds.openstack.nova.v2_0.features
Interface ImageApi


public interface ImageApi

Provides synchronous access to Images.

Author:
Adrian Cole
See Also:
ImageAsyncApi,

Method Summary
 void deleteImage(String id)
          Delete the specified image
 Image getImage(String id)
          List details of the specified image
 Set<Resource> listImages()
          List all images (IDs, names, links)
 Set<Image> listImagesInDetail()
          List all images (all details)
 

Method Detail

listImages

Set<Resource> listImages()
List all images (IDs, names, links)

Returns:
all images (IDs, names, links)

listImagesInDetail

Set<Image> listImagesInDetail()
List all images (all details)

Returns:
all images (all details)

getImage

Image getImage(String id)
List details of the specified image

Parameters:
id - id of the server
Returns:
server or null if not found

deleteImage

void deleteImage(String id)
Delete the specified image

Parameters:
id - id of the image


Copyright © 2009-2012 jclouds. All Rights Reserved.