# Class Image

Class that represents a Glance Image. In more general terms, a virtual machine image is a single file which contains a virtual disk that has an installed bootable operating system. In the Cloud Images API, an image is represented by a JSON-encoded data structure (the image schema) and its raw binary data (the image file).

  OpenCloud\Common\Base
  OpenCloud\Common\Resource\BaseResource
  OpenCloud\Image\Resource\AbstractSchemaResource implements ArrayAccess
  OpenCloud\Image\Resource\Image implements OpenCloud\Image\Resource\ImageInterface

Namespace: OpenCloud\Image\Resource
Package: OpenCloud\Images\Resource
Located at OpenCloud/Image/Resource/Image.php

Methods summary
`public Guzzle\Http\Message\Response` | # `update( array $params, `OpenCloud\Image\Resource\Schema\Schema` $schema = null )` Update this resource Update this resource #### Parameters $params `array` $params $schema ``OpenCloud\Image\Resource\Schema\Schema`` $schema #### Returns `Guzzle\Http\Message\Response` #### Throws ``RuntimeException``
`public Guzzle\Http\Message\Response` | # `refresh( )` Refresh this resource Refresh this resource #### Returns `Guzzle\Http\Message\Response`
`public Guzzle\Http\Message\Response` | # `delete( )` Delete this resource Delete this resource #### Returns `Guzzle\Http\Message\Response`
`public mixed` | # `listMembers( array $params = array() )` List the members of this image List the members of this image #### Parameters $params `array` $params #### Returns `mixed`
`public mixed` | # `member( mixed $data )` Iterator use only Iterator use only #### Parameters $data `mixed` $data #### Returns `mixed`
`public mixed` | # `getMember( mixed $memberId )` Get a member belonging to this image Get a member belonging to this image #### Parameters $memberId `mixed` $memberId #### Returns `mixed`
`public Guzzle\Http\Message\Response` | # `createMember( mixed $tenantId )` Add a member to this image Add a member to this image #### Parameters $tenantId `mixed` $tenantId #### Returns `Guzzle\Http\Message\Response`
`public Guzzle\Http\Message\Response` | # `deleteMember( mixed $tenantId )` Delete a member from this image Delete a member from this image #### Parameters $tenantId `mixed` $tenantId #### Returns `Guzzle\Http\Message\Response`
`public Guzzle\Http\Message\Response` | # `addTag( string $tag )` Add a tag to this image Add a tag to this image #### Parameters $tag `string` $tag #### Returns `Guzzle\Http\Message\Response`
`public Guzzle\Http\Message\Response` | # `deleteTag( mixed $tag )` Delete a tag from this image Delete a tag from this image #### Parameters $tag `mixed` $tag #### Returns `Guzzle\Http\Message\Response`

Methods inherited from OpenCloud\Image\Resource\AbstractSchemaResource
`getData(), getId(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setData(), setId()`

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
`protected static string` | $url_resource | `'images'` | #
`protected static string` | $json_name | `''` | #
`protected static string` | $json_collection_name | `'images'` | #

Properties inherited from OpenCloud\Image\Resource\AbstractSchemaResource
`$data, $id`

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

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