Class Service
NovaService serves as an additional abstraction for particular OpenStack
services that exhibit shared functionality.
-
OpenCloud\Common\Base
-
OpenCloud\Common\Service\AbstractService
-
OpenCloud\Common\Service\NovaService
-
OpenCloud\Volume\Service
Methods summary
public
VolumeService\Volume
|
#
volume( string $id = null )
Returns a Volume object
Parameters
- $id
string $id the Volume ID
Returns
VolumeService\Volume
Api
|
public
Collection
|
#
volumeList( boolean $details = true, array $filter = array() )
Returns a Collection of Volume objects
Returns a Collection of Volume objects
Parameters
- $details
boolean $details if TRUE, return all details
- $filter
array $filters array of filter key/value pairs
Returns
Collection
Api
|
public
VolumeService\Volume
|
#
volumeType( string $id = null )
Returns a VolumeType object
Returns a VolumeType object
Parameters
- $id
string $id the VolumeType ID
Returns
VolumeService\Volume
Api
|
public
Collection
|
#
volumeTypeList( array $filter = array() )
Returns a Collection of VolumeType objects
Returns a Collection of VolumeType objects
Parameters
- $filter
array $filters array of filter key/value pairs
Returns
Collection
Api
|
public
Snapshot
|
#
snapshot( mixed $id = null )
returns a Snapshot object associated with this volume
returns a Snapshot object associated with this volume
Returns
Snapshot
|
public
Collection
|
#
snapshotList( boolean $filter = array() )
Returns a Collection of Snapshot objects
Returns a Collection of Snapshot objects
Parameters
- $filter
boolean $detail TRUE to return full details
Returns
Collection
Api
|
Methods inherited from OpenCloud\Common\Service\AbstractService
__construct(),
collection(),
getBaseUrl(),
getClient(),
getCurrentNamespace(),
getEndpoint(),
getExtensions(),
getName(),
getRegion(),
getResources(),
getType(),
getUrl(),
getUrlType(),
limits(),
namespaces(),
resolveResourceClass(),
resource(),
resourceList(),
setClient()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|