For details on how to use image, see Using OpenStack Image
The image high-level interface is available through the image
member of a
Connection
object. The image
member will
only be added if the service is detected.
Upload a new image from attributes
Delete an image
image – The value can be either the ID of an image or a
Image
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the image does not exist.
When set to True
, no exception will be set when
attempting to delete a nonexistent image.
None
Find a single image
name_or_id – The name or ID of a image.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One Image
or None
Get a single image
Return a generator of images
query (kwargs) – Optional query parameters to be sent to limit the resources being returned.
A generator of image objects
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.