Azure Backup Job size

Greg Jansen 0 Reputation points
2024-09-03T20:18:33.9533333+00:00

I would like to be able to get the size of Azure Backups. Preferably in both a Recovery Services vault and a Backup vault. I am using the Go SDK. For Backup Vaults I am using https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v3#JobsClient.NewListPager function which supposedly returns a AzureBackupJobResource.Properties.ExtenedInfo.DataTransferredInBytes field which might be helpful, however it is always nil. And for Recovery Services all I can find is Vault Usage https://video2.skills-academy.com/en-us/rest/api/recoveryservices/usages/list-by-vaults?view=rest-recoveryservices-2024-04-01&tabs=Go but that seems to only give info at the vault level not the jobs level. Is any way to get this info? Thanks

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,244 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.