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

  • Flavor
  • Service
  • Overview
  • Namespace
  • Class
  • Tree

Class Service

A service represents your application that has its content cached to the edge nodes.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\CDN\Resource\Service
Namespace: OpenCloud\CDN\Resource
Package: OpenCloud\CDN\Resource
Located at OpenCloud/CDN/Resource/Service.php
Methods summary
public
# purgeAssets( mixed $assetUrl = null )
protected
# assetsUrl( )
protected object
# createJson( )

Provides JSON for create request body

Provides JSON for create request body

Returns

object
object

Throws

RuntimeException
\RuntimeException

Overrides

OpenCloud\Common\Resource\PersistentResource::createJson()
public Guzzle\Http\Message\Response
# update( array $params = array() )

Update this resource

Update this resource

Parameters

$params

Returns

Guzzle\Http\Message\Response
\Guzzle\Http\Message\Response

Overrides

OpenCloud\Common\Resource\PersistentResource::update()
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(), create(), delete(), generateJsonPatch(), getAlias(), getUpdateablePropertiesAsArray(), noCreate(), noDelete(), noUpdate(), recursivelyAliasPropertyValue(), refresh(), refreshFromLocationUrl(), refreshFromParent(), updateJson(), waitFor()
Methods inherited from OpenCloud\Common\Resource\BaseResource
__construct(), findLink(), getClient(), getMetadata(), getParent(), getService(), getUrl(), jsonCollectionElement(), jsonCollectionName(), jsonName(), parseResponse(), primaryKeyField(), resourceName(), setMetadata(), setParent(), setService()
Methods inherited from OpenCloud\Common\Base
__call(), checkJsonError(), generateUuid(), getInstance(), getJsonHeader(), getLogger(), getPatchHeaders(), getProperty(), hasLogger(), makeResourceIteratorOptions(), populate(), propertyExists(), setLogger(), setProperty(), stripNamespace(), toCamel(), toUnderscores()
Constants inherited from OpenCloud\Common\Base
PATCH_CONTENT_TYPE
Properties summary
protected static string $url_resource
#'services'
protected static string $json_name
#'service'
protected mixed $id
#
protected mixed $name
#
protected mixed $domains
#
protected mixed $origins
#
protected mixed $caching
#
protected mixed $restrictions
#
protected mixed $flavorId
#
protected mixed $status
#
protected mixed $links
#
protected mixed $errors
#
protected array $aliases

The aliases configure for the properties of the instance.

The aliases configure for the properties of the instance.

#array( 'flavor_id' => 'flavorId', 'http_host' => 'httpHost', 'request_url' => 'requestUrl' )
protected array $createKeys
#array( 'name', 'domains', 'origins', 'caching', 'restrictions', 'flavorId' )
protected array $updateKeys
#array( 'name', 'domains', 'origins', 'caching', 'restrictions', 'flavorId' )
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
API documentation generated by ApiGen 2.8.0