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

  • AbstractContainer
  • AbstractResource
  • Account
  • CDNContainer
  • Container
  • ContainerMetadata
  • DataObject

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( $name = null, $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 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( $ttl )

Set the TTL.

Set the TTL.

Parameters

$ttl
time-to-live in seconds.

Returns

Guzzle\Http\Message\Response

Methods inherited from OpenCloud\ObjectStore\Resource\AbstractContainer

__construct(), getTransId(), getUrl(), hasLogRetention(), primaryKeyField(), setStaticErrorPage(), setStaticIndexPage()

Methods inherited from OpenCloud\ObjectStore\Resource\AbstractResource

appendToMetadata(), fromResponse(), getCdnService(), getClient(), getMetadata(), getService(), retrieveMetadata(), saveMetadata(), setMetadata(), stockHeaders(), trimHeaders(), unsetMetadataItem()

Methods inherited from OpenCloud\Common\Base

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

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 summary

Properties inherited from OpenCloud\ObjectStore\Resource\AbstractContainer

$name

API documentation generated by ApiGen