Overview

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
  • PHP

Classes

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

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
null|string|int
public null|string|integer
# getCdnUri( )

Returns

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

Returns

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

Returns

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

Returns

null|string|integer
null|string|int
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
\Guzzle\Http\Message\Response
public Guzzle\Http\Message\Response
# disableCdnLogging( )

Disable access logs.

Disable access logs.

Returns

Guzzle\Http\Message\Response
\Guzzle\Http\Message\Response
public boolean
# isCdnEnabled( )

Returns whether this container is CDN-enabled or not.

Returns whether this container is CDN-enabled or not.

Returns

boolean
true if this container is CDN-enabled; false, otherwise.
public Guzzle\Http\Message\Response
# setTtl( mixed $ttl )

Set the TTL.

Set the TTL.

Parameters

$ttl
time-to-live in seconds.

Returns

Guzzle\Http\Message\Response
\Guzzle\Http\Message\Response
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(), getPatchHeaders(), getProperty(), hasLogger(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants summary
string METADATA_LABEL
#'Cdn'
Constants inherited from OpenCloud\ObjectStore\Resource\AbstractResource
GLOBAL_METADATA_PREFIX
Constants inherited from OpenCloud\Common\Base
PATCH_CONTENT_TYPE
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
API documentation generated by ApiGen 2.8.0