Class NovaService
NovaService serves as an additional abstraction for particular OpenStack
services that exhibit shared functionality.
-
OpenCloud\Common\Base
-
OpenCloud\Common\Service\AbstractService
implements
OpenCloud\Common\Service\ServiceInterface
-
OpenCloud\Common\Service\CatalogService
-
OpenCloud\Common\Service\NovaService
Methods summary
public
OpenCloud\Compute\Resource\Flavor
|
#
flavor( string|null $id = null )
Returns a flavor from the service
Returns a flavor from the service
Parameters
Returns
|
public
Collection
|
#
flavorList( boolean $details = true, array $filter = array() )
Returns a list of Flavor objects
Returns a list of Flavor objects
Parameters
- $details
boolean $details Returns full details or not.
- $filter
array $filter Array for creating queries
Returns
Collection
|
protected
|
#
loadNamespaces( )
Loads the available namespaces from the /extensions resource
Loads the available namespaces from the /extensions resource
|
Methods inherited from OpenCloud\Common\Service\AbstractService
collection(),
getClient(),
getCurrentNamespace(),
getEndpoint(),
getNamespaces(),
getResources(),
resolveResourceClass(),
resource(),
resourceList(),
setClient(),
setEndpoint()
|
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getJsonHeader(),
getLogger(),
getProperty(),
makeResourceIteratorOptions(),
populate(),
propertyExists(),
setLogger(),
setProperty(),
stripNamespace(),
toCamel(),
toUnderscores()
|