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

  • Service

Class Service

The CDN class represents the OpenStack Poppy service.

Poppy is a service that abstracts various CDN providers APIs

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service\AbstractService implements OpenCloud\Common\Service\ServiceInterface
Extended by OpenCloud\Common\Service\CatalogService
Extended by OpenCloud\CDN\Service
Namespace: OpenCloud\CDN
Located at OpenCloud/CDN/Service.php

Methods summary

public OpenCloud\CDN\Resource\Service
# service( string $id = null )

Returns a Service object associated with this CDN service

Returns a Service object associated with this CDN service

Parameters

$id
ID of service to retrieve

Returns

OpenCloud\CDN\Resource\Service
object
public OpenCloud\CDN\Resource\Service
# createService( array $params = array() )

Creates a new Service and returns it.

Creates a new Service and returns it.

Parameters

$params
Service creation parameters.

Returns

OpenCloud\CDN\Resource\Service
Object representing created service

See

https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/CDN/USERGUIDE.md#create-a-service
public OpenCloud\CDN\Resource\Service
# getService( string $id )

Returns a Service object associated with this CDN service

Returns a Service object associated with this CDN service

Parameters

$id
ID of service to retrieve

Returns

OpenCloud\CDN\Resource\Service
object
public OpenCloud\Common\Collection\PaginatedIterator
# listServices( array $params = array() )

Returns a list of services you created

Returns a list of services you created

Parameters

$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
public OpenCloud\CDN\Resource\Flavor
# flavor( string $id = null )

Returns a Flavor object associated with this CDN service

Returns a Flavor object associated with this CDN service

Parameters

$id
ID of flavor to retrieve

Returns

OpenCloud\CDN\Resource\Flavor
object
public OpenCloud\CDN\Resource\Flavor
# createFlavor( array $params = array() )

Creates a new Flavor and returns it.

Creates a new Flavor and returns it.

Parameters

$params
Flavor creation parameters.

Returns

OpenCloud\CDN\Resource\Flavor
Object representing created flavor

See

https://github.com/rackspace/php-opencloud/blob/master/docs/userguide/CDN/USERGUIDE.md#create-a-flavor
public OpenCloud\CDN\Resource\Flavor
# getFlavor( string $id )

Returns a Flavor object associated with this CDN service

Returns a Flavor object associated with this CDN service

Parameters

$id
ID of flavor to retrieve

Returns

OpenCloud\CDN\Resource\Flavor
object
public OpenCloud\Common\Collection\PaginatedIterator
# listFlavors( array $params = array() )

Returns a list of flavors you created

Returns a list of flavors you created

Parameters

$params

Returns

OpenCloud\Common\Collection\PaginatedIterator
public stdClass
# getHomeDocument( )

Returns the home document for the CDN service

Returns the home document for the CDN service

Returns

stdClass
home document response
public Guzzle\Http\Message\Response
# getPing( )

Returns the ping (status) response for the CDN service

Returns the ping (status) response for the CDN service

Returns

Guzzle\Http\Message\Response
public array
# namespaces( )

Return namespaces.

Return namespaces.

Returns

array

Overrides

OpenCloud\Common\Service\AbstractService::namespaces

Methods inherited from OpenCloud\Common\Service\CatalogService

__construct(), getBaseUrl(), getExtensions(), getName(), getRegion(), getType(), getUrl(), getUrlType(), limits(), name(), region(), url()

Methods inherited from OpenCloud\Common\Service\AbstractService

collection(), getClient(), getEndpoint(), getNamespaces(), getResources(), resource(), resourceList(), setClient(), setEndpoint()

Methods inherited from OpenCloud\Common\Base

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

Constants summary

string DEFAULT_TYPE
# 'cdn'
string DEFAULT_NAME
# 'rackCDN'
integer MAX_LIMIT
# 20

Constants inherited from OpenCloud\Common\Service\CatalogService

DEFAULT_URL_TYPE, SUPPORTED_VERSION

Constants inherited from OpenCloud\Common\Base

PATCH_CONTENT_TYPE

API documentation generated by ApiGen