Overview
  • Namespace
  • Class

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

Classes

  • BuildInfo
  • Event
  • Resource
  • ResourceType
  • Stack

Class Stack

Class that represents a stack.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\Orchestration\Resource\Stack
Namespace: OpenCloud\Orchestration\Resource
Package: OpenCloud\Orchestration\Resource
See: http://developer.openstack.org/api-ref-orchestration-v1.html#stacks
Located at OpenCloud/Orchestration/Resource/Stack.php

Methods summary

public Guzzle\Http\Message\Response
# adopt( array $params )

Creates a new stack by adopting resources from an abandoned stack

Creates a new stack by adopting resources from an abandoned stack

Parameters

$params
Adopt stack parameters

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# preview( array $params = array() )

Previews the stack without actually creating it

Previews the stack without actually creating it

Parameters

$params
Preview stack parameters

Returns

Guzzle\Http\Message\Response
public string
# abandon( )

Abandons the stack and returns abandoned stack data.

Abandons the stack and returns abandoned stack data.

Returns

string
Abandoned stack data (which could be passed to the adopt stack operation as adoptStackData).
public OpenCloud\Orchestration\Resource\Resource
# getResource( string $name )

Returns a Resource object associated with this Stack

Returns a Resource object associated with this Stack

Parameters

$name
Stack resource name

Returns

OpenCloud\Orchestration\Resource\Resource
object
public OpenCloud\Common\Collection\PaginatedIterator
# listResources( array $params = array() )

Returns a list of Resources associated with this Stack

Returns a list of Resources associated with this Stack

Parameters

$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
public OpenCloud\Common\Collection\PaginatedIterator
# listEvents( array $params = array() )

Returns a list of Events associated with this Stack

Returns a list of Events associated with this Stack

Parameters

$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
public
# event( $id )

Iterator use only

Iterator use only

public String
# getStackTemplate( )

Returns the template for this stack.

Returns the template for this stack.

Returns

String
template

Methods inherited from OpenCloud\Common\Resource\PersistentResource

checkExtension(), create(), createUrl(), delete(), id(), name(), refresh(), refreshFromLocationUrl(), region(), status(), update(), waitFor()

Methods inherited from OpenCloud\Common\Resource\BaseResource

__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), resourceName(), setMetadata(), setParent(), setService(), url()

Methods inherited from OpenCloud\Common\Base

__call(), checkJsonError(), generateUuid(), getInstance(), getLogger(), hasLogger(), makeResourceIteratorOptions(), populate(), setLogger(), stripNamespace(), toCamel(), toUnderscores()

Constants summary

Constants inherited from OpenCloud\Common\Base

PATCH_CONTENT_TYPE

API documentation generated by ApiGen