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, so that user could set the alert thresholds accordingly.
We tried exploring Python libraries (azure.mgmt.storage and azure.mgmt.resource) but didn't find any way to get this property value. We did noticed 'share_quota' metric in azure.mgmt.storage library for File Share but this doesn't represent Storage Account Capacity.
Appreciate, if someone could help us (or point towards right direction/correct website to post this question)?
Regards, Ravi
No RepliesBe the first to reply