Forum Discussion
Ravi Gupta
May 01, 2023Copper Contributor
Can we get "Storage Account - Capacity" using azure.mgmt.storage or azure.mgmt.resource (Python SDK)
We are in process of creating Azure Monitor Alert for "Storage -> UsedCapacity" metric using a form (written in Python). For this, we are trying to show the present capacity of the storage account, s...
Kidd_Ip
Jun 27, 2026MVP
You may query Azure Monitor metrics for the Microsoft.Storage/storageAccounts resource type, specifically the UsedCapacity metric, which represents the total storage consumed.