Azure / Azure/azure-powershell
Allow Query of Recovery Services Vault Usage
Open
act-observability-squad
customer-reported
feature-request
question
Recovery Services Backup
Service Attention
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 54
Description
## Allow Query of Recovery Services Vault Usage
The REST API allows us to query the data usage of a recovery services vault but this does not appear to be available via the PowerShell module.
## Proposed implementation details
The [RecoveryServcies REST API](https://docs.microsoft.com/en-us/rest/api/recoveryservices/usages/listbyvaults) could be queried in one of these ways:
* a new option on `Get-AzRecoveryServicesVault` (`-Status` similar to `Get-AzVM` is one way which makes sense to me)
* included as a field from `Get-AzRecoveryServicesVaultProperty`, or
* get its own command like `Get-AzRecoveryServicesVaultUsage`
Contributor guide
Assessment
This issue has not been assessed yet.