BlobService implements BlobServiceInterface
Read onlyYes
FinalYes
Interfaces
Constants
- VERSION = '2024-08-04'
Methods
- __construct() : mixed
- copyBlob() : void
- deleteBlob() : void
- deleteContainer() : void
- getBlob() : BlobContent
- getBlobProperties() : BlobProperties|null
- getBlockBlobBlockList() : BlockList
- getContainerProperties() : ContainerProperties|null
- listBlobs() : Generator<string|int, Blob>
- putBlockBlob() : void
- putBlockBlobBlock() : void
- putBlockBlobBlockList() : void
- putContainer() : void
Constants
VERSION
public
mixed
VERSION
= '2024-08-04'
Methods
__construct()
public
__construct(Configuration $configuration, ClientInterface $httpClient, HttpFactory $httpFactory, URLFactory $urlFactory, AuthorizationFactory $authorizationFactory, LoggerInterface $logger) : mixed
Parameters
- $configuration : Configuration
- $httpClient : ClientInterface
- $httpFactory : HttpFactory
- $urlFactory : URLFactory
- $authorizationFactory : AuthorizationFactory
- $logger : LoggerInterface
copyBlob()
public
copyBlob(string $fromBlob, string $toBlob[, CopyBlobOptions $options = new CopyBlobOptions() ]) : void
Parameters
- $fromBlob : string
- $toBlob : string
- $options : CopyBlobOptions = new CopyBlobOptions()
Tags
deleteBlob()
public
deleteBlob(string $blob[, DeleteBlobOptions $options = new DeleteBlobOptions() ]) : void
Parameters
- $blob : string
- $options : DeleteBlobOptions = new DeleteBlobOptions()
Tags
deleteContainer()
public
deleteContainer([DeleteContainerOptions $options = new DeleteContainerOptions() ]) : void
Parameters
- $options : DeleteContainerOptions = new DeleteContainerOptions()
Tags
getBlob()
public
getBlob(string $blob[, GetBlobOptions $options = new GetBlobOptions() ]) : BlobContent
Parameters
- $blob : string
- $options : GetBlobOptions = new GetBlobOptions()
Tags
Return values
BlobContentgetBlobProperties()
public
getBlobProperties(string $blob[, GetBlobPropertiesOptions $options = new GetBlobPropertiesOptions() ]) : BlobProperties|null
Parameters
- $blob : string
- $options : GetBlobPropertiesOptions = new GetBlobPropertiesOptions()
Tags
Return values
BlobProperties|nullgetBlockBlobBlockList()
public
getBlockBlobBlockList(string $blob[, GetBlockBlobBlockListOptions $options = new GetBlockBlobBlockListOptions() ]) : BlockList
Parameters
- $blob : string
- $options : GetBlockBlobBlockListOptions = new GetBlockBlobBlockListOptions()
Return values
BlockListgetContainerProperties()
public
getContainerProperties([GetContainerPropertiesOptions $options = new GetContainerPropertiesOptions() ]) : ContainerProperties|null
Parameters
- $options : GetContainerPropertiesOptions = new GetContainerPropertiesOptions()
Tags
Return values
ContainerProperties|nulllistBlobs()
public
listBlobs([ListBlobOptions $options = new ListBlobOptions() ]) : Generator<string|int, Blob>
Parameters
- $options : ListBlobOptions = new ListBlobOptions()
Tags
Return values
Generator<string|int, Blob>putBlockBlob()
public
putBlockBlob(string $path[, null|resource|string $content = null ][, int|null $size = null ][, PutBlockBlobOptions $options = new PutBlockBlobOptions() ]) : void
Parameters
- $path : string
- $content : null|resource|string = null
- $size : int|null = null
- $options : PutBlockBlobOptions = new PutBlockBlobOptions()
Tags
putBlockBlobBlock()
public
putBlockBlobBlock(string $path, string $blockId, resource|string $content, int $size[, PutBlockBlobBlockOptions $options = new PutBlockBlobBlockOptions() ]) : void
Parameters
- $path : string
- $blockId : string
- $content : resource|string
- $size : int
- $options : PutBlockBlobBlockOptions = new PutBlockBlobBlockOptions()
Tags
putBlockBlobBlockList()
public
putBlockBlobBlockList(string $path, BlockList $blockList[, PutBlockBlobBlockListOptions $options = new PutBlockBlobBlockListOptions() ][, Serializer $serializer = new SimpleXMLSerializer() ]) : void
Parameters
- $path : string
- $blockList : BlockList
- $options : PutBlockBlobBlockListOptions = new PutBlockBlobBlockListOptions()
- $serializer : Serializer = new SimpleXMLSerializer()
Tags
putContainer()
public
putContainer([CreateContainerOptions $options = new CreateContainerOptions() ]) : void
Parameters
- $options : CreateContainerOptions = new CreateContainerOptions()