Adrian K
Adrian K

Reputation: 10215

Azure Storage Emulator v4.6.0.0 - How to list current tables

I'm using 4.6.0.0 of the azure storage emulator. Is there anyway to list the tables currently in the emulator, either through a web browser call, e.g.

http://127.0.0.1:10002/devstoreaccount1/[some args?]

Or at the emulator's cmd line?

Upvotes: 1

Views: 490

Answers (1)

Brando Zhang
Brando Zhang

Reputation: 27997

As far as I know, you could directly list the tables at the emulator's cmd line.

Note: you should firstly installed the azure cli.You could install it in this page.

Then you could use the azure cli command to list the all the table in the emulator.

You could try below command:

azure storage table list --connection-string DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;

The result is like below: enter image description here

More details about how to use azure cli and storage Emulator, you could refer to below article.

https://learn.microsoft.com/en-us/azure/storage/storage-azure-cli

https://learn.microsoft.com/en-us/azure/storage/storage-use-emulator

Upvotes: 1

Related Questions