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

  • AbstractContainer
  • AbstractResource
  • Account
  • CDNContainer
  • Container
  • ContainerMetadata
  • DataObject
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class CDNContainer

A container that has been CDN-enabled. Each CDN-enabled container has a unique Uniform Resource Locator (URL) that can be combined with its object names and openly distributed in web pages, emails, or other applications.

OpenCloud\Common\Base
Extended by OpenCloud\ObjectStore\Resource\AbstractResource
Extended by OpenCloud\ObjectStore\Resource\AbstractContainer
Extended by OpenCloud\ObjectStore\Resource\CDNContainer
Namespace: OpenCloud\ObjectStore\Resource
Located at OpenCloud/ObjectStore/Resource/CDNContainer.php
Methods summary
public null|string|integer
# getCdnSslUri( )

Returns

null|string|integer
public null|string|integer
# getCdnUri( )

Returns

null|string|integer
public null|string|integer
# getTtl( )

Returns

null|string|integer
public null|string|integer
# getCdnStreamingUri( )

Returns

null|string|integer
public null|string|integer
# getIosStreamingUri( )

Returns

null|string|integer
public
# refresh( mixed $name = null, mixed $url = null )
public Guzzle\Http\Message\Response
# enableCdnLogging( )

Turn on access logs, which track all the web traffic that your data objects accrue.

Turn on access logs, which track all the web traffic that your data objects accrue.

Returns

Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# disableCdnLogging( )

Disable access logs.

Disable access logs.

Returns

Guzzle\Http\Message\Response
public
# isCdnEnabled( )
Methods inherited from OpenCloud\ObjectStore\Resource\AbstractContainer
__construct(), createRefreshRequest(), getTransId(), getUrl(), hasLogRetention(), primaryKeyField(), setStaticErrorPage(), setStaticIndexPage()
Methods inherited from OpenCloud\ObjectStore\Resource\AbstractResource
appendToMetadata(), fromResponse(), getCdnService(), getClient(), getMetadata(), getService(), headerIsValidMetadata(), retrieveMetadata(), saveMetadata(), setMetadata(), stockHeaders(), stripPrefix(), trimHeaders(), unsetMetadataItem()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getProperty(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants summary
string METADATA_LABEL 'Cdn'
#
Constants inherited from OpenCloud\ObjectStore\Resource\AbstractResource
GLOBAL_METADATA_PREFIX
Properties inherited from OpenCloud\ObjectStore\Resource\AbstractContainer
$metadataClass, $name
Properties inherited from OpenCloud\ObjectStore\Resource\AbstractResource
$metadata, $service
Properties inherited from OpenCloud\Common\Base
$aliases
PHP OpenCloud API API documentation generated by ApiGen 2.8.0