CmdID

CmdID / az / az storage / az storage container / az storage container lease

az storage container lease release

Release the lease. Azure CLI reference

The lease may be released if the lease_id specified matches that associated with the container. Releasing the lease allows another client to immediately acquire the lease for the container as soon as the release is complete.

1 example 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Release the lease.

az storage container lease release -c mycontainer --lease-id "32fe23cd-4779-4919-adb3-357e76c9b1bb" --account-name mystorageaccount --account-key 0000-0000Identify
-cThe container name.
--lease-idLease ID for active lease.

Options

2 in the Azure CLI reference
--container-name, -c
--lease-idLease ID for active lease.