1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/az-storage-entity.md
Sebastiaan Speck 3e53d171bd
az-*: update links and page description (#10963)
* az-*: update links and page description

* az-aks: update link and page description

* az-*: fix typos in Spanish translation

* az-*: update links and description in Spanish translation
2023-10-15 13:12:29 +05:30

1.3 KiB

az storage entity

Manage Azure Table storage entities. Part of azure-cli (also known as az). More information: https://learn.microsoft.com/cli/azure/storage/entity.

  • Insert an entity into a table:

az storage entity insert --entity {{space_separated_key_value_pairs}} --table-name {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}

  • Delete an existing entity from a table:

az storage entity delete --partition-key {{partition_key}} --row-key {{row_key}} --table-name {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}

  • Update an existing entity by merging its properties:

az storage entity merge --entity {{space_separated_key_value_pairs}} --table-name {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}

  • 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}}

  • Get an entity from the specified table:

az storage entity show --partition-key {{partition_key}} --row-key {{row_key}} --table-name {{table_name}} --account-name {{storage_account_name}} --account-key {{storage_account_key}}