The Image
class inherits from Resource
.
openstack.compute.v2.image.
Image
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
links
= None¶Links pertaining to this image. This is a list of dictionaries,
each including keys href
and rel
, and optionally type
.
name
= None¶The name of this image.
created_at
= None¶Timestamp when the image was created.
metadata
= None¶Metadata pertaining to this image. Type: dict
min_disk
= None¶The mimimum disk size. Type: int
min_ram
= None¶The minimum RAM size. Type: int
progress
= None¶If this image is still building, its progress is represented here. Once an image is created, progres will be 100. Type: int
status
= None¶The status of this image.
updated_at
= None¶Timestamp when the image was updated.
size
= None¶Size of the image in bytes. Type: int
The ImageDetail
class inherits from
Image
.
openstack.compute.v2.image.
ImageDetail
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.