openstack.compute.v2.image¶
The Image Class¶
The Image
class inherits from Resource
.
- class openstack.compute.v2.image.Image(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- links¶
Links pertaining to this image. This is a list of dictionaries, each including keys
href
andrel
, and optionallytype
.
- name¶
The name of this image.
- created_at¶
Timestamp when the image was created.
- min_disk¶
The mimimum disk size. Type: int
- min_ram¶
The minimum RAM size. Type: int
- progress¶
If this image is still building, its progress is represented here. Once an image is created, progres will be 100. Type: int
- status¶
The status of this image.
- updated_at¶
Timestamp when the image was updated.
- size¶
Size of the image in bytes. Type: int
The ImageDetail Class¶
The ImageDetail
class inherits from
Image
.
- openstack.compute.v2.image.ImageDetail¶
alias of
openstack.compute.v2.image.Image