Skip to content

[Feature]: Ability to acquire a Storage Account Blob lease #27068

Closed
@danielfears

Description

@danielfears

Description of the new feature

I would like the ability to create and acquire a lease for a Storage Account Blob object, as currently there is only support to do this using the Azure CLI, .NET, Java, JavaScript and Python, but not directly and natively via a PowerShell command.

By CLI: https://learn.microsoft.com/en-us/cli/azure/storage/blob/lease?view=azure-cli-latest
By other language: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-lease

By PowerShell: ?

Proposed implementation details (optional)

To leverage a command like New-AzStorageBlobLease to target an existing blob within a Storage Account and create a lease lock on that object.

Example usage: New-AzStorageBlobLease -Blob $blobName -Container $containerName -Context $context -LeaseDuration $leaseDuration

Metadata

Metadata

Assignees

Labels

Service AttentionThis issue is responsible by Azure service team.Storagecustomer-reportedfeature-requestThis issue requires a new behavior in the product in order be resolved.needs-author-feedbackMore information is needed from author to address the issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions