Azure / Azure/azure-powershell

[Feature]: Include HealthDetails when querying Get-AzRecoveryServicesBackupItem

Open
#24,745 0 comments 0 reactions 0 assignees View on GitHub
customer-reported feature-request
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.