Class Image
The Image class represents a stored machine image returned by the Compute
service.
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.
-
OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Compute\Image
Methods summary
public
HttpResponse
|
#
create( array $params = array() )
Creates a new object
Parameters
- $params
array $params array of values to set when creating the object
Returns
HttpResponse
Throws
VolumeCreateError if HTTP status is not Success
Overrides
|
public
HttpResponse
|
#
update( array $params = array() )
Updates an existing object
Updates an existing object
Parameters
- $params
array $params array of values to set when updating the object
Returns
HttpResponse
Throws
VolumeCreateError if HTTP status is not Success
Overrides
|
Methods inherited from OpenCloud\Common\PersistentObject
__construct(),
__set(),
action(),
checkExtension(),
createJson(),
createUrl(),
customAction(),
delete(),
findLink(),
getParent(),
getService(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
name(),
noCreate(),
noDelete(),
noUpdate(),
parent(),
primaryKeyField(),
refresh(),
region(),
resourceName(),
service(),
setParent(),
setService(),
status(),
updateJson(),
url(),
waitFor()
|