Class AbstractResource
Contains generic, abstracted functionality for Autoscale resources.
- OpenCloud\Common\Base
-
OpenCloud\Common\Resource\BaseResource
-
OpenCloud\Common\Resource\PersistentResource
-
OpenCloud\Common\PersistentObject
-
OpenCloud\Autoscale\Resource\AbstractResource
Direct known subclasses
OpenCloud\Autoscale\Resource\Group,
OpenCloud\Autoscale\Resource\GroupConfiguration,
OpenCloud\Autoscale\Resource\LaunchConfiguration,
OpenCloud\Autoscale\Resource\ScalingPolicy,
OpenCloud\Autoscale\Resource\Webhook
Namespace: OpenCloud\Autoscale\Resource
Located at OpenCloud/Autoscale/Resource/AbstractResource.php
Methods summary
public
stdClass
|
|
public
string
|
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(),
create(),
delete(),
refresh(),
refreshFromLocationUrl(),
update(),
waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(),
findLink(),
getClient(),
getMetadata(),
getParent(),
getService(),
getUrl(),
jsonCollectionElement(),
jsonCollectionName(),
jsonName(),
parseResponse(),
resourceName(),
setMetadata(),
setParent(),
setService()
Methods inherited from OpenCloud\Common\Base
__call(),
checkJsonError(),
generateUuid(),
getInstance(),
getLogger(),
hasLogger(),
makeResourceIteratorOptions(),
populate(),
setLogger(),
stripNamespace(),
toCamel(),
toUnderscores()
Magic methods summary
Properties summary
public
array
|
$createKeys
These are used to set the object used for JSON encode. |
#
array()
|
public
array
|
$associatedResources
These resources are associated with this one. When this resource object is populated, if a key is found matching one of these array keys, it is set as an instantiated resource object (rather than an arbitrary string or stdClass object). |
#
array()
|
public
array
|
$associatedCollections
Same as an associated resource, but it's instantiated as a Collection. |
#
array()
|