[Feature]: Include HealthDetails when querying Get-AzRecoveryServicesBackupItem #24745
Labels
customer-reported
feature-request
This issue requires a new behavior in the product in order be resolved.
Description of the new feature
https://learn.microsoft.com/en-us/rest/api/backup/backup-protected-items/list?view=rest-backup-2023-02-01&tabs=HTTP returns a list of the protected items along with the HealthDetails sub-object. This sub-object would be useful when calling Get-AzRecoveryServicesBackupItem to get more information about the error.
Proposed implementation details (optional)
Looking at the Get-AzRecoveryServicesBackupItem -debug trace it appears that this information is already being send to the client. it just needs mapping into the returned PS Object. My suggestion would be as another field named HealthDetails which includes a sub-object with the relevant fields.
The text was updated successfully, but these errors were encountered: