Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • AbstractService
  • CDNService
  • Service
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Service

The ObjectStore (Cloud Files) service.

OpenCloud\Common\Base
Extended by OpenCloud\Common\Service
Extended by OpenCloud\ObjectStore\AbstractService
Extended by OpenCloud\ObjectStore\Service
Namespace: OpenCloud\ObjectStore
Located at OpenCloud/ObjectStore/Service.php
Methods summary
public
# __construct( OpenCloud\OpenStack $connection, string $serviceName = RAXSDK_OBJSTORE_NAME, string $serviceRegion = RAXSDK_OBJSTORE_REGION, string $urltype = RAXSDK_OBJSTORE_URLTYPE )

Creates a new ObjectStore service object.

Creates a new ObjectStore service object.

Parameters

$connection
OpenCloud\OpenStack
$connection The connection object
$serviceName
string
$serviceName The name of the service
$serviceRegion
string
$serviceRegion The service's region
$urltype
string
$urlType The type of URL (normally 'publicURL')

Overrides

OpenCloud\Common\Service::__construct()
public HttpResponse
# setTempUrlSecret( string $secret )

Sets the shared secret value for the TEMP_URL

Sets the shared secret value for the TEMP_URL

Parameters

$secret
string
$secret the shared secret

Returns

HttpResponse
public null|OpenCloud\ObjectStore\CDNService
# getCDNService( )

Get the CDN service.

Get the CDN service.

Returns

null|OpenCloud\ObjectStore\CDNService
public
# CDN( )

Backwards compability.

Backwards compability.

Methods inherited from OpenCloud\ObjectStore\AbstractService
container(), containerList()
Methods inherited from OpenCloud\Common\Service
collection(), extensions(), getConnection(), getCurrentNamespace(), getResources(), limits(), name(), namespaces(), region(), request(), resolveResourceClass(), resource(), resourceList(), setConnection(), url()
Methods inherited from OpenCloud\Common\Base
__set(), checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Constants inherited from OpenCloud\ObjectStore\AbstractService
MAX_CONTAINER_NAME_LEN, MAX_OBJECT_NAME_LEN, MAX_OBJECT_SIZE
Properties inherited from OpenCloud\Common\Service
$_namespaces, $conn
PHP OpenCloud API API documentation generated by ApiGen 2.8.0