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

  • Configuration
  • Database
  • Datastore
  • DatastoreVersion
  • Instance
  • User
  • Overview
  • Namespace
  • Class
  • Tree

Class Datastore

Datastore represents an datastore group for a tenant

OpenCloud\Common\Base
Extended by OpenCloud\Common\Resource\BaseResource
Extended by OpenCloud\Common\Resource\PersistentResource
Extended by OpenCloud\Database\Resource\Datastore
Namespace: OpenCloud\Database\Resource
Located at OpenCloud/Database/Resource/Datastore.php
Methods summary
public Guzzle\Http\Message\Response
# create( array $params = array() )

Parameters

$params

Returns

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

Throws

CreateError
CreateError

Overrides

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

Parameters

$params

Returns

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

Throws

UpdateError
UpdateError

Overrides

OpenCloud\Common\Resource\PersistentResource::update()
public Guzzle\Http\Message\Response
# delete( )

Returns

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

Throws

DeleteError
DeleteError

Overrides

OpenCloud\Common\Resource\PersistentResource::delete()
public Version
# version( string $id = null )

Returns a new DatastoreVersion object

Returns a new DatastoreVersion object

Parameters

$id
$name the version name

Returns

Version
Version
public OpenCloud\Common\Collection\PaginatedIterator
# versionList( )

Returns a Collection of all versions for this datastore

Returns a Collection of all versions for this datastore

Returns

OpenCloud\Common\Collection\PaginatedIterator
OpenCloud\Common\Collection\PaginatedIterator
Methods inherited from OpenCloud\Common\Resource\PersistentResource
checkExtension(), createJson(), 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
public mixed $id
#
public mixed $default_version
#
public mixed $name
#
protected static string $json_name
#'datastore'
protected static string $url_resource
#'datastores'
protected array $associatedCollections
#array( 'version' => 'DatastoreVersion' )
Properties inherited from OpenCloud\Common\Resource\BaseResource
$metadata, $parent, $service
Properties inherited from OpenCloud\Common\Base
$aliases
API documentation generated by ApiGen 2.8.0