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

  • AbstractService
  • CDNService
  • Service

Class CDNService

This is the CDN version of the ObjectStore service.

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

Methods summary

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

List CDN-enabled containers.

List CDN-enabled containers.

Parameters

$filter

Array of filter options such as:

  • limit: number of results to limit the list to. Optional.
  • marker: name of container after which to start the list. Optional.
  • end_marker: name of container before which to end the list. Optional.

Returns

OpenCloud\Common\Collection\PaginatedIterator
Iterator to list of CDN-enabled containers
public OpenCloud\ObjectStore\Resource\CDNContainer
# cdnContainer( stdClass $data )

Return an existing CDN-enabled container.

Return an existing CDN-enabled container.

Parameters

$data
Data to initialize container.

Returns

OpenCloud\ObjectStore\Resource\CDNContainer
CDN-enabled Container

Methods inherited from OpenCloud\ObjectStore\AbstractService

getAccount()

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(), namespaces(), 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_NAME
# 'cloudFilesCDN'
string DEFAULT_TYPE
# 'rax:object-cdn'

Constants inherited from OpenCloud\ObjectStore\AbstractService

MAX_CONTAINER_NAME_LENGTH, MAX_OBJECT_NAME_LEN, MAX_OBJECT_SIZE

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