![Forrest logo](/images/logo.png)
az-storage-entity:tldr:e84ed
This command is used to insert a new entity (row) into an Azure Storage table. Here is a breakdown of the command:
-
az storage entity insert
: This is the Azure CLI command for inserting an entity into a storage table. -
--entity ${space_separated_key_value_pairs}
: This parameter specifies the entity data to be inserted. It should be provided as key-value pairs separated by a space. For example,--entity PartitionKey=user001 RowKey=task001 Description="Complete task"
-
--table-name ${table_name}
: This parameter specifies the name of the Azure Storage table where the entity will be inserted. You need to replace${table_name}
with the actual name of the table. -
--account-name ${storage_account_name}
: This parameter specifies the name of the storage account where the table is located. You need to replace${storage_account_name}
with the actual name of the storage account. -
--account-key ${storage_account_key}
: This parameter specifies the access key for the storage account. You need to replace${storage_account_key}
with the actual access key.
Overall, this command is used to insert a new entity into an Azure Storage table using the Azure CLI.