[QUERY] How can I specify BOTH lease Id and overwrite=true
in BlobClient.UploadAsync
#25972
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Storage.Blobs 12.10.0
Query/Question
There's an overload with
bool overwrite
and there's one withBlobUploadOptions
which can be used to set conditions with lease.I need to do both at once, how can I do that? If I specify only lease id, I get exception, that Blob already exists
Environment
No response
The text was updated successfully, but these errors were encountered: