Azure

class OC\Files\ObjectStore\Azure
Source:lib/private/Files/ObjectStore/Azure.php#31
Implements:OCP\Files\ObjectStore\IObjectStore

Properties

Methods

public OC\Files\ObjectStore\Azure::__construct($parameters)
Source:

lib/private/Files/ObjectStore/Azure.php#48

Parameters:
  • $parameters (array)
public OC\Files\ObjectStore\Azure::getStorageId()
Source:lib/private/Files/ObjectStore/Azure.php#90
Returns:string the container or bucket name where objects are stored
public OC\Files\ObjectStore\Azure::readObject($urn)
Source:

lib/private/Files/ObjectStore/Azure.php#99

Parameters:
  • $urn (string) the unified resource name used to identify the object
Returns:

resource stream with the read data

Throws:

\Exception when something goes wrong, message will be logged

public OC\Files\ObjectStore\Azure::writeObject($urn, $stream, $mimetype=null)
Source:lib/private/Files/ObjectStore/Azure.php#104
public OC\Files\ObjectStore\Azure::deleteObject($urn)
Source:

lib/private/Files/ObjectStore/Azure.php#117

Parameters:
  • $urn (string) the unified resource name used to identify the object
Returns:

void

Throws:

\Exception when something goes wrong, message will be logged

public OC\Files\ObjectStore\Azure::objectExists($urn)
Source:lib/private/Files/ObjectStore/Azure.php#121
public OC\Files\ObjectStore\Azure::copyObject($from, $to)
Source:lib/private/Files/ObjectStore/Azure.php#134