PHP OSS for Azure API Reference

BlockBlobClient
in package

FinalYes

Provides staged upload operations for an Azure Storage block blob.

Table of Contents

Properties

$blobName  : string
$containerName  : string
$credential  : StorageSharedKeyCredential|TokenCredential|null
$uri  : UriInterface
$client  : Client
$options  : BlockBlobClientOptions

Methods

__construct()  : mixed
commitBlockList()  : void
Commits an ordered list of staged block IDs as the blob's content.
commitBlockListAsync()  : PromiseInterface
Asynchronously commits an ordered list of staged block IDs.
stageBlock()  : void
Stages a block for later inclusion in the blob's committed block list.
stageBlockAsync()  : PromiseInterface
Asynchronously stages a block for later commitment.
withSnapshot()  : self
Creates a block blob client that targets the specified snapshot without making a service request.
withVersion()  : self
Creates a block blob client that targets the specified blob version without making a service request.

Properties

Methods

withSnapshot()

Creates a block blob client that targets the specified snapshot without making a service request.

public withSnapshot(string|null $snapshot) : self
Parameters
$snapshot : string|null
Return values
self

withVersion()

Creates a block blob client that targets the specified blob version without making a service request.

public withVersion(string|null $versionId) : self
Parameters
$versionId : string|null
Return values
self
On this page

Search results