![Forrest logo](/images/logo.png)
az-storage-blob:tldr:165a0
The command you provided is using the Azure CLI (Command-Line Interface) to delete a specific blob from an Azure Storage account.
Let's break down the command and its components:
-
az storage blob delete
: This is the base command for deleting a blob from Azure Storage. -
--account-name ${storage_account_name}
: This specifies the name of the storage account from which the blob needs to be deleted. The${storage_account_name}
is a placeholder that needs to be replaced with the actual name of your storage account. -
--account-key ${storage_account_key}
: This specifies the access key required to authenticate and authorize the command to access the storage account. The${storage_account_key}
is a placeholder that needs to be replaced with the actual account key. -
-c ${container_name}
: This option specifies the name of the container where the blob is stored. The${container_name}
is a placeholder that needs to be replaced with the actual name of the container. -
-n ${path-to-blob}
: This option specifies the path to the blob that needs to be deleted. The${path-to-blob}
is a placeholder that needs to be replaced with the actual path of the blob.
To use this command, you need to have the Azure CLI installed and authenticated with your Azure account. Additionally, you should have the necessary permissions (storage account access) to delete the blob.
Remember to replace the placeholders with the appropriate values specific to your storage account, container, and blob before executing the command.