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
Parameters
Implementation of
|
public
string
|
#
getId( )
Get the image ID
Returns
string
Implementation of
|
public
Guzzle\Http\Message\Response
|
#
create( array $params = array() )
Create a new resource
Parameters
Returns
Guzzle\Http\Message\Response
Overrides
|
public
Guzzle\Http\Message\Response
|
#
update( array $params = array() )
Update a resource
Parameters
Returns
Guzzle\Http\Message\Response
Overrides
|
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()
|