BlobURL.releaseLease(String leaseID, ModifiedAccessConditions modifiedAccessConditions, Context context) Method

Definition

Releases the blob's previously-acquired lease. For more information, see the Azure Docs.

public Single<BlobReleaseLeaseResponse> releaseLease(String leaseID, ModifiedAccessConditions modifiedAccessConditions, Context context)

Parameters

leaseID
String

The leaseId of the active lease on the blob.

modifiedAccessConditions
ModifiedAccessConditions

ModifiedAccessConditions

context
Context

Context 

</code> offers a means of passing arbitrary data (key/value pairs) to an <xref uid="" data-throw-if-not-resolved="false">com.microsoft.rest.v2.http.HttpPipeline</xref>'s policy objects. Most applications do not need to pass arbitrary data to the pipeline and can pass<code>Context.NONE 

</code> or<code>null 

</code> . Each context object is immutable. The<code>withContext 

</code> with data method creates a new<code>Context 

</code> object that refers to its parent, forming a linked list. </p>

Returns

Emits the successful response.

Remarks

Sample Code

Warning

It looks like the sample you are looking for has moved! Rest assured we are working on resolving this.

For more samples, please see the Samples file

Applies to