# Class Image

A collection of files for a specific operating system (OS) that you use to create or rebuild a server. Rackspace provides pre-built images. You can also create custom images from servers that you have launched. Custom images can be used for data backups or as "gold" images for additional servers.

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Common\Resource\PersistentResource
  OpenCloud\Common\PersistentObject
  OpenCloud\Compute\Resource\Image implements OpenCloud\Image\Resource\ImageInterface

Namespace: OpenCloud\Compute\Resource
Note: In the future, this may be abstracted to access Glance (the OpenStack image store) directly, but it is currently not available to Rackspace customers, so we're using the /images resource on the servers API endpoint.
Located at OpenCloud/Compute/Resource/Image.php

Methods summary
`public` | # `setId( mixed $id )` Set the image ID Set the image ID #### Parameters $id `mixed` $id #### Implementation of `OpenCloud\Image\Resource\ImageInterface::setId()`
`public string` | # `getId( )` Get the image ID Get the image ID #### Returns `string` #### Implementation of `OpenCloud\Image\Resource\ImageInterface::getId()`
`public Guzzle\Http\Message\Response` | # `create( array $params = array() )` Create a new resource Create a new resource #### Parameters $params `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::create()`
`public Guzzle\Http\Message\Response` | # `update( array $params = array() )` Update a resource Update a resource #### Parameters $params `array` $params #### Returns `Guzzle\Http\Message\Response` #### Overrides `OpenCloud\Common\Resource\PersistentResource::update()`

Methods inherited from OpenCloud\Common\Resource\PersistentResource
`checkExtension(), createJson(), delete(), getAlias(), noCreate(), noDelete(), noUpdate(), refresh(), refreshFromLocationUrl(), updateJson(), waitFor()`

Methods inherited from OpenCloud\Common\Resource\BaseResource
`__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()`

Methods inherited from OpenCloud\Common\Base
`__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()`

Properties summary
`public mixed` | $status | `` | #
`public mixed` | $updated | `` | #
`public mixed` | $links | `` | #
`public mixed` | $minDisk | `` | #
`public mixed` | $id | `` | #
`public mixed` | $name | `` | #
`public mixed` | $created | `` | #
`public mixed` | $progress | `` | #
`public mixed` | $minRam | `` | #
`public `OpenCloud\Common\Metadata`` | $metadata | `` | #
`public mixed` | $server | `` | #
`protected static string` | $json_name | `'image'` | #
`protected static string` | $url_resource | `'images'` | #

Properties inherited from OpenCloud\Common\Resource\BaseResource
`$parent, $service`

Properties inherited from OpenCloud\Common\Base
`$aliases`