5 Simple Techniques For cloudbob

prefix - A String that signifies the blob name prefix. This worth should be preceded possibly from the name with the container or by the absolute route to the container.

A blob which has snapshots can not be deleted Unless of course the snapshots can also be deleted. If a blob has snapshots, use the DELETE_SNAPSHOTS_ONLY or INCLUDE_SNAPSHOTS value inside the parameter to specify how the snapshots ought to be dealt with when the blob is deleted.

Downloads the fully commited block checklist from your block blob. The dedicated block checklist incorporates the list of blocks that have been correctly devoted to the block blob.

options - A BlobRequestOptions item that specifies any further choices for the request. Specifying null will use the default ask for alternatives from your affiliated company client ( CloudBlobClient). opContext - An OperationContext object that represents the context for The existing Procedure. This object is employed to track requests on the storage services, and to offer added runtime specifics of the operation. Returns:

path - A String which represents the path for the file that could be made While using the contents of the blob. Throws:

Specifying null will make use of the default ask for options from the associated services customer ( CloudBlobClient). opContext - An OperationContext item that represents the context for The existing operation. This item is employed to track requests on the storage provider, and to provide extra runtime specifics of the operation. Returns:

breakPeriodInSeconds - An Integer which specifies time to attend, in seconds, until eventually The present lease is broken. If null, the split period of time is the remainder of the current lease, or zero for infinite leases. accessCondition - An AccessCondition object that signifies the accessibility situations for the blob. choices - A BlobRequestOptions item that specifies any supplemental selections for the ask for.

void assertNoWriteOperationForSnapshot() Asserts that compose Procedure is not performed for snapshot. closing prolonged breakLease(remaining Integer breakPeriodInSeconds) Breaks the lease and ensures that another shopper cannot purchase a whole new lease until finally the current lease period of time has expired.

protocols - A SharedAccessProtocols symbolizing the allowed Web protocols. skipDecoding - A boolean to indicate the question parameters really should not be decoded right before remaining signed. This should only be utilized if the customer is bound the values passed are in the specified format. This can be beneficial in certain scenarios the place the client is accustomed to crank out a sas to some 3rd party that won't be utilizing this sdk to make the requests. Returns:

remaining StorageUri getQualifiedStorageUri() Returns the snapshot and/or shared access signature experienced URI for this blob.

remaining void uploadMetadata() Uploads the blob's metadata on the storage support. Use downloadAttributes() to retrieve the most up-to-date values with the blob's Attributes and metadata from the Microsoft Azure storage support.

Populates a blob's Attributes and metadata. this technique populates the blob's process Qualities and user-described metadata.

sourceBlob - A CloudBlockBlob object that signifies the source blob to repeat. sourceAccessCondition - An AccessCondition item that signifies the access conditions for your source blob. destinationAccessCondition - An AccessCondition item that signifies read more the access disorders for the destination blob. selections - A BlobRequestOptions object that specifies any more options for the ask for.

prior to looking through or modifying a blob's Attributes or metadata, simply call this technique or its overload to retrieve the latest values for that blob's Qualities and metadata through the Microsoft Azure storage services.

Leave a Reply

Your email address will not be published. Required fields are marked *