2017-10-06 70 views

回答

0

存储的所有块类型(按地区?)

如果您想获得天青(ARM)存储账户的总存储为一个订阅,则可以list all the storage accounts under the subscription第一。

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts?api-version={api-version} 

然后您可以将存储账户由locationlist all containers under the specified account

GET https://myaccount.blob.core.windows.net/?comp=list 

后你得到的容器,你可以list blobs under the specified container和计算块斑点的总规模(基于BlobType)。

GET https://myaccount.blob.core.windows.net/mycontainer?restype=container&comp=list 

更新:

我们可以通过检查集装箱性质在Azure门户网站存储帐户获得总块斑点大小容器水平。

enter image description here

块斑点数量和尺寸的答复

enter image description here

+0

嘿弗雷德,谢谢。因此,我们必须使用API​​来获取这些详细信息,并且无法从Azure门户或Monitor等服务获取这些值。 – gsuresh92

+0

我没有找到在订阅级别获得块blob总存储量的直接方式,但我们可以在Azure门户上的存储帐户容器级别上获取总块blob大小。有关详细信息,请参阅我的更新。 –