Class VolumeAttachment
The VolumeAttachment class represents a volume that is attached to a
server.
-
OpenCloud\Common\Base
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Compute\Resource\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(),
action(),
checkExtension(),
create(),
createUrl(),
delete(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
id(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
noCreate(),
noDelete(),
noUpdate(),
parseResponse(),
primaryKeyField(),
refresh(),
refreshFromLocationUrl(),
region(),
resourceName(),
setMetadata(),
setParent(),
setService(),
status(),
updateJson(),
url(),
waitFor()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|