Skip to content

Commit

Permalink
Merge pull request #5 from andrerod/servicebus
Browse files Browse the repository at this point in the history
Merging with main fork
  • Loading branch information
Albert Cheng committed May 24, 2012
2 parents 9eb3f6d + 5d9f93f commit 909b8b8
Show file tree
Hide file tree
Showing 522 changed files with 23,789 additions and 17,655 deletions.
4,637 changes: 2,323 additions & 2,314 deletions ...dowsAzure/Services/Blob/BlobRestProxy.php → WindowsAzure/Blob/BlobRestProxy.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob;
use WindowsAzure\Validate;
use WindowsAzure\Core\Configuration;
use WindowsAzure\Core\IServiceBuilder;
use WindowsAzure\Resources;
namespace WindowsAzure\Blob;
use WindowsAzure\Common\Internal\Validate;
use WindowsAzure\Common\Configuration;
use WindowsAzure\Common\Internal\IServiceBuilder;
use WindowsAzure\Common\Internal\Resources;

/**
* Factory for creating IBlob objects
* Factory for creating BlobRestProxy objects.
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand All @@ -44,10 +44,12 @@ class BlobService
/**
* Creates new object based on the builder type in the $config.
*
* @param WindowsAzure\Core\Configuration $config The config object.
* @param WindowsAzure\Core\IServicesBuilder $builder The builder object.
* @param WindowsAzure\Common\Configuration $config The config
* object.
* @param WindowsAzure\Common\Internal\IServicesBuilder $builder The builder
* object.
*
* @return WindowsAzure\Services\Blob\IBlob
* @return WindowsAzure\Blob\BlobRestProxy
*/
public static function create($config, $builder = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob;
namespace WindowsAzure\Blob;

/**
* Basic Blob configuration elements.
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Internal
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob;
use WindowsAzure\Core\FilterableService;
namespace WindowsAzure\Blob\Internal;
use WindowsAzure\Common\Internal\FilterableService;

/**
* This interface has all REST APIs provided by Windows Azure for Blob service.
*
* @category Microsoft
* @package WindowsAzure\Services\Blob
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Internal
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand All @@ -44,7 +44,7 @@ interface IBlob extends FilterableService
*
* @param Models\BlobServiceOptions $options optional blob service options.
*
* @return WindowsAzure\Services\Core\Models\GetServicePropertiesResult
* @return WindowsAzure\Common\Models\GetServicePropertiesResult
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/hh452239.aspx
*/
Expand All @@ -67,7 +67,7 @@ public function setServiceProperties($serviceProperties, $options = null);
*
* @param Models\ListContainersOptions $options optional parameters
*
* @return WindowsAzure\Services\Blob\Models\ListContainersResult
* @return WindowsAzure\Blob\Models\ListContainersResult
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/dd179352.aspx
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ public function listBlobs($container, $options = null);
* boundary.
* @param Models\CreateBlobOptions $options optional parameters
*
* @return none.
* @return CopyBlobResult
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/dd179451.aspx
*/
Expand Down Expand Up @@ -384,16 +384,20 @@ public function setBlobMetadata($container, $blob, $metadata, $options = null);
public function getBlob($container, $blob, $options = null);

/**
* Deletes a blob.
*
* @param string $container name of the container
* @param string $blob name of the blob
* @param Models\DeleteBlobOptions $options optional parameters
*
* @return none.
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/dd179413.aspx
*/
* Deletes a blob or blob snapshot.
*
* Note that if the snapshot entry is specified in the $options then only this
* blob snapshot is deleted. To delete all blob snapshots, do not set Snapshot
* and just set getDeleteSnaphotsOnly to true.
*
* @param string $container name of the container
* @param string $blob name of the blob
* @param Models\DeleteBlobOptions $options optional parameters
*
* @return none
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/dd179413.aspx
*/
public function deleteBlob($container, $blob, $options = null);

/**
Expand All @@ -418,7 +422,7 @@ public function createBlobSnapshot($container, $blob, $options = null);
* @param string $sourceBlob name of blob
* @param Models\CopyBlobOptions $options optional parameters
*
* @return none
* @return CopyBlobResult
*
* @see http://msdn.microsoft.com/en-us/library/windowsazure/dd894037.aspx
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
use WindowsAzure\Resources;
use WindowsAzure\Validate;
use WindowsAzure\Core\WindowsAzureUtilities;
namespace WindowsAzure\Blob\Models;
use WindowsAzure\Common\Internal\Resources;
use WindowsAzure\Common\Internal\Validate;
use WindowsAzure\Common\Internal\WindowsAzureUtilities;

/**
* Represents a set of access conditions to be used for operations against the
* storage services.
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down Expand Up @@ -70,7 +70,7 @@ protected function __construct($headerType, $value)
/**
* Specifies that no access condition is set.
*
* @return \WindowsAzure\Services\Blob\Models\AccessCondition
* @return \WindowsAzure\Blob\Models\AccessCondition
*/
public static function none()
{
Expand All @@ -92,7 +92,7 @@ public static function none()
*
* @param string $etag a string that represents the ETag value to check.
*
* @return \WindowsAzure\Services\Blob\Models\AccessCondition
* @return \WindowsAzure\Blob\Models\AccessCondition
*/
public static function ifMatch($etag)
{
Expand All @@ -115,7 +115,7 @@ public static function ifMatch($etag)
* @param \DateTime $lastModified date that represents the last-modified
* time to check for the resource.
*
* @return \WindowsAzure\Services\Blob\Models\AccessCondition
* @return \WindowsAzure\Blob\Models\AccessCondition
*/
public static function ifModifiedSince($lastModified)
{
Expand All @@ -141,7 +141,7 @@ public static function ifModifiedSince($lastModified)
*
* @param string $etag string that represents the ETag value to check.
*
* @return \WindowsAzure\Services\Blob\Models\AccessCondition
* @return \WindowsAzure\Blob\Models\AccessCondition
*/
public static function ifNoneMatch($etag)
{
Expand All @@ -164,7 +164,7 @@ public static function ifNoneMatch($etag)
* @param \DateTime $lastModified date that represents the last-modified
* time to check for the resource.
*
* @return \WindowsAzure\Services\Blob\Models\AccessCondition
* @return \WindowsAzure\Blob\Models\AccessCondition
*/
public static function ifNotModifiedSince($lastModified)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
namespace WindowsAzure\Blob\Models;

use WindowsAzure\Utilities;
use WindowsAzure\Validate;
use WindowsAzure\Common\Internal\Utilities;
use WindowsAzure\Common\Internal\Validate;

/**
* Holds container access policy elements
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
namespace WindowsAzure\Blob\Models;

/**
* Optional parameters for acquireLease wrapper
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
use WindowsAzure\Resources;
use WindowsAzure\Utilities;
namespace WindowsAzure\Blob\Models;
use WindowsAzure\Common\Internal\Resources;
use WindowsAzure\Common\Internal\Utilities;

/**
* Short description
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
namespace WindowsAzure\Blob\Models;

/**
* Represents windows azure blob object
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
* PHP version 5
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @link http://pear.php.net/package/azure-sdk-for-php
*/

namespace WindowsAzure\Services\Blob\Models;
namespace WindowsAzure\Blob\Models;

/**
* Holds available blob block types
*
* @category Microsoft
* @package WindowsAzure\Services\Blob\Models
* @author Abdelrahman Elogeel <Abdelrahman.Elogeel@microsoft.com>
* @package WindowsAzure\Blob\Models
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyright 2012 Microsoft Corporation
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @version Release: @package_version@
Expand Down
Loading

0 comments on commit 909b8b8

Please sign in to comment.