Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CDN
      • Resource
    • CloudMonitoring
      • Collection
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Collection
      • Enum
      • Resource
    • Networking
      • Resource
    • ObjectStore
      • Constants
      • Enum
      • Exception
      • Resource
      • Upload
    • Orchestration
      • Resource
    • Queues
      • Collection
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • BuildInfo
  • Event
  • Resource
  • ResourceType
  • Stack
  • Overview
  • Namespace
  • Class
  • Tree

Class Resource

Class that represents a resource in a stack.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\Common\Resource\ReadOnlyResource
Extended by OpenCloud\Orchestration\Resource\Resource
Namespace: OpenCloud\Orchestration\Resource
Package: OpenCloud\Orchestration\Resource
See: http://developer.openstack.org/api-ref-orchestration-v1.html#stack-resources
Located at OpenCloud/Orchestration/Resource/Resource.php
Methods summary
public string
# primaryKeyField( )

Returns the primary key field for the object

Returns the primary key field for the object

Returns

string
string

Overrides

OpenCloud\Common\Resource\BaseResource::primaryKeyField()
public stdClass
# getMetadata( )

Returns metadata properties associated with this Resource

Returns metadata properties associated with this Resource

Returns

stdClass
\stdClass

Overrides

OpenCloud\Common\Resource\BaseResource::getMetadata()
public OpenCloud\Common\Collection\PaginatedIterator
# listEvents( array $params = array() )

Returns a list of Events associated with this Resource

Returns a list of Events associated with this Resource

Parameters

$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
\OpenCloud\Common\Collection\PaginatedIterator
public
# getEvent( mixed $id )
Methods inherited from OpenCloud\Common\Resource\ReadOnlyResource
create(), delete(), update()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(), createJson(), generateJsonPatch(), getAlias(), getUpdateablePropertiesAsArray(), noCreate(), noDelete(), noUpdate(), recursivelyAliasPropertyValue(), refresh(), refreshFromLocationUrl(), refreshFromParent(), updateJson(), waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(), findLink(), getClient(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), resourceName(), setMetadata(), setParent(), setService()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getPatchHeaders(), getProperty(), hasLogger(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants inherited from OpenCloud\Common\Base
PATCH_CONTENT_TYPE
Properties summary
protected static string $url_resource
#'resources'
protected static string $json_name
#'resource'
protected mixed $name
#
protected mixed $description
#
protected mixed $status
#
protected mixed $statusReason
#
protected mixed $logicalId
#
protected mixed $physicalId
#
protected mixed $requiredBy
#
protected mixed $updatedTime
#
protected mixed $type
#
protected mixed $links
#
protected array $aliases

The aliases configure for the properties of the instance.

The aliases configure for the properties of the instance.

#array( 'resource_name' => 'name', 'resource_status' => 'status', 'resource_status_reason' => 'statusReason', 'logical_resource_id' => 'logicalId', 'physical_resource_id' => 'physicalId', 'required_by' => 'requiredBy', 'updated_time' => 'updatedTime', 'resource_type' => 'type' )
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
API documentation generated by ApiGen 2.8.0