Forrest logo
back to the az tool

az-storage-entity:tldr:fbaa1

az-storage-entity: List entities which satisfy a query.
$ az storage entity query --filter ${query_filter} --table-name ${table_name} --account-name ${storage_account_name} --account-key ${storage_account_key}
try on your machine

This is a command in the Azure CLI (Command-Line Interface) that is used to query entities in an Azure Storage Table.

Here is a breakdown of the command and its parameters:

  • az storage entity query: This is the main command that instructs the Azure CLI to query entities in a storage table.
  • --filter ${query_filter}: This parameter specifies the filter to apply to the query. The ${query_filter} placeholder should be replaced with a valid filter expression based on the data stored in the table. The filter is used to narrow down the results and retrieve only the entities that match the specified conditions.
  • --table-name ${table_name}: This parameter specifies the name of the storage table from which to query the entities. The ${table_name} placeholder needs to be replaced with the actual name of the table.
  • --account-name ${storage_account_name}: This parameter specifies the name of the storage account that contains the table. The ${storage_account_name} placeholder should be replaced with the name of the desired storage account.
  • --account-key ${storage_account_key}: This parameter specifies the access key for the storage account. The ${storage_account_key} placeholder needs to be replaced with the actual access key.

By running this command with the appropriate values for the parameters, you can query entities in an Azure Storage Table using the Azure CLI.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool