Consultas para a tabela AddonAzureBackupStorage
Para obter informações sobre como usar essas consultas no portal do Azure, consulte o tutorial do Log Analytics. Para a API REST, consulte Consulta.
Tendência do total de Cloud Storage consumido
Veja a tendência diária do total (cumulativo) de armazenamento em nuvem consumido.
// To create an alert for this query, click '+ New alert rule'
AddonAzureBackupStorage
| where OperationName == "StorageAssociation"
//Get total Cloud Storage being consumed per Backup Item at the end of each day
| summarize TotalStoragePerBackupItemPerDay=sum(StorageConsumedInMBs) by BackupItemUniqueId, Day=bin(TimeGenerated,1d), ResourceId
//Get total Cloud Storage being consumed at the end of each day
| summarize TotalStorage=sum(TotalStoragePerBackupItemPerDay) by Day, ResourceId
| sort by Day asc
| render timechart