Class VolumeAttachment
The VolumeAttachment class represents a volume that is attached to a
server.
-
OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Compute\VolumeAttachment
Methods summary
public
HttpResponse
|
#
update( array $params = array() )
updates are not permitted
updates are not permitted
Parameters
- $params
array $params array of values to set when updating the object
Returns
HttpResponse
Throws
OpenCloud\UpdateError always
Overrides
|
public
string
|
#
name( )
returns a readable name for the attachment
returns a readable name for the attachment
Since there is no 'name' attribute, we'll hardcode something
Returns
string
Throws
NameError if attribute 'name' is not defined
Api
Overrides
|
protected
stdClass
|
#
createJson( )
returns the JSON object for Create()
returns the JSON object for Create()
Returns
Throws
CreateError if not overridden
Overrides
|
Methods inherited from OpenCloud\Common\PersistentObject
__construct(),
__set(),
action(),
checkExtension(),
create(),
createUrl(),
customAction(),
delete(),
findLink(),
getParent(),
getService(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
noCreate(),
noDelete(),
noUpdate(),
parent(),
primaryKeyField(),
refresh(),
region(),
resourceName(),
service(),
setParent(),
setService(),
status(),
updateJson(),
url(),
waitFor()
|