openstack.image.v1.image

openstack.image.v1.image

The Image Class

The Image class inherits from Resource.

class openstack.image.v1.image.Image(_synchronized=False, **attrs)

The base resource

Parameters:_synchronized (bool) – This is not intended to be used directly. See new() and existing().
checksum = None

Hash of the image data used. The Image service uses this value for verification.

container_format = None

The container format refers to whether the VM image is in a file format that also contains metadata about the actual VM. Container formats include OVF and Amazon AMI. In addition, a VM image might not have a container format - instead, the image is just a blob of unstructured data.

copy_from = None

A URL to copy an image from

created_at = None

The timestamp when this image was created.

disk_format = None

Valid values are: aki, ari, ami, raw, iso, vhd, vdi, qcow2, or vmdk. The disk format of a VM image is the format of the underlying disk image. Virtual appliance vendors have different formats for laying out the information contained in a VM disk image.

is_protected = None

Defines whether the image can be deleted. Type: bool

is_public = None

True if this is a public image. Type: bool

location = None

A location for the image identified by a URI

min_disk = None

The minimum disk size in GB that is required to boot the image.

min_ram = None

The minimum amount of RAM in MB that is required to boot the image.

name = None

Name for the image. Note that the name of an image is not unique to a Glance node. The API cannot expect users to know the names of images owned by others.

owner_id = None

The ID of the owner, or project, of the image.

properties = None

Properties, if any, that are associated with the image.

size = None

The size of the image data, in bytes.

status = None

The image status.

updated_at = None

The timestamp when this image was last updated.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.