Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • 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
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Service

Class that encapsulates the Rackspace Cloud Load Balancers service

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
Extended by OpenCloud\Common\Service\CatalogService
Extended by OpenCloud\Common\Service\NovaService
Extended by OpenCloud\LoadBalancer\Service
Namespace: OpenCloud\LoadBalancer
Package: OpenCloud\LoadBalancer
Located at OpenCloud/LoadBalancer/Service.php
Methods summary
public OpenCloud\LoadBalancer\Resource\LoadBalancer
# loadBalancer( string $id = null )

Return a Load Balancer

Return a Load Balancer

Parameters

$id
string
$id

Returns

OpenCloud\LoadBalancer\Resource\LoadBalancer
public OpenCloud\Common\Collection\PaginatedIterator
# loadBalancerList( boolean $detail = true, array $filter = array() )

Return a paginated collection of load balancers

Return a paginated collection of load balancers

Parameters

$detail
boolean
$detail If TRUE, all details are returned; otherwise, a minimal set (ID, name) is retrieved
$filter
array
$filter Optional query params used for search

Returns

OpenCloud\Common\Collection\PaginatedIterator
public OpenCloud\Common\Collection\PaginatedIterator
# billableLoadBalancerList( array $filter = array() )

Returns a paginated collection of load balancers that have been billed between a certain period.

Returns a paginated collection of load balancers that have been billed between a certain period.

Parameters

$filter
array
$filter

Returns

OpenCloud\Common\Collection\PaginatedIterator

Link

http://docs.rackspace.com/loadbalancers/api/v1.0/clb-devguide/content/List_Usage-d1e3014.html
public OpenCloud\LoadBalancer\Resource\AllowedDomain
# allowedDomain( mixed $data = null )

Returns an allowed domain

Returns an allowed domain

Parameters

$data
mixed
$data either an array of values or null

Returns

OpenCloud\LoadBalancer\Resource\AllowedDomain
public OpenCloud\Common\Collection\PaginatedIterator
# allowedDomainList( )

Returns Collection of AllowedDomain object

Returns Collection of AllowedDomain object

Returns

OpenCloud\Common\Collection\PaginatedIterator
public OpenCloud\LoadBalancer\Resource\Protocol
# protocol( mixed $data = null )

single protocol (should never be called directly)

single protocol (should never be called directly)

Convenience method to be used by the ProtocolList Collection.

Returns

OpenCloud\LoadBalancer\Resource\Protocol
public OpenCloud\Common\Collection\PaginatedIterator
# protocolList( )

Returns a list of Protocol objects

Returns a list of Protocol objects

Returns

OpenCloud\Common\Collection\PaginatedIterator
public OpenCloud\LoadBalancer\Resource\Algorithm
# algorithm( mixed $data = null )

single algorithm (should never be called directly)

single algorithm (should never be called directly)

convenience method used by the Collection factory

Returns

OpenCloud\LoadBalancer\Resource\Algorithm
public OpenCloud\Common\Collection\PaginatedIterator
# algorithmList( )

Return a list of Algorithm objects

Return a list of Algorithm objects

Returns

OpenCloud\Common\Collection\PaginatedIterator
Methods inherited from OpenCloud\Common\Service\NovaService
flavor(), flavorList(), loadNamespaces()
Methods inherited from OpenCloud\Common\Service\CatalogService
__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits()
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()
Constants summary
string DEFAULT_NAME 'cloudLoadBalancers'
#
string DEFAULT_TYPE 'rax:load-balancer'
#
Constants inherited from OpenCloud\Common\Service\CatalogService
DEFAULT_URL_TYPE
Properties inherited from OpenCloud\Common\Service\CatalogService
$regionless
Properties inherited from OpenCloud\Common\Service\AbstractService
$client, $endpoint, $namespaces, $resources
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0