Skip to content

[FEATURE REQ] Get ETag after closing BlobOutputStream #42605

Open
@gaul

Description

@gaul

Is your feature request related to a problem? Please describe.
When creating a Blob from getBlobOutputStream, I would like to get the ETag so that future conditional get blob requests work

Describe the solution you'd like
Add a single method to BlobOutputStream called getETag. This will fail before close is called and return a String ETag afterwards.

Describe alternatives you've considered
Client could call getProperties with the blob name. However, this is is racy.

Additional context
None

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions