Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check space used in azure storage accounts in my subscription

Tags:

How can I check how much space I used in each of my azure storage accounts in my subscription resource group wise.

I am not able to find a way to check space used in azure storage account through PowerShell, CLI, portal...

like image 721
Suresh Guntha Avatar asked Apr 26 '17 09:04

Suresh Guntha


People also ask

How do I find out the size of my Azure storage account?

Sign-in to azure storage explorer using any of the approach mentioned here - https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=wind... Select the storage of your interest. Select the Table. Click “Table Statistics”.

How do I list storage accounts in Azure subscription?

The List Storage Accounts operation lists the storage accounts that are available in the specified subscription. Show activity on this post. another option for getting a list of all storage accounts under the subscription is to use the REST API, see Storage Accounts - List. Note, that the Bearer token is required.

How do I list storage accounts in a subscription Azure PowerShell?

PowerShell Script Save the file as script. ps1. Write-Host -ForegroundColor Green "Retrieving the storage accounts..." Write-Host -ForegroundColor Green "Retrieving the storage accounts from specific resource group..."


1 Answers

Azure Storage size consist of all of 4 services (Blob, Queue,File, Table) altogether. Based on my knowledge, there are no ways to calculate the total size of all services for now.

However, you could get blob space used on Portal by using Azure metrics. Please select Monitor-->Metrics

enter image description here

More information about monitor a storage account in the Azure portal please refer to this link.

Also, you could use PowerShell to get your blob usage. There is a good script you could use.

like image 146
Shui shengbao Avatar answered Sep 21 '22 20:09

Shui shengbao