Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Include HealthDetails when querying Get-AzRecoveryServicesBackupItem #24745

Open
ld0614 opened this issue Apr 26, 2024 · 0 comments
Open
Labels
customer-reported feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@ld0614
Copy link

ld0614 commented Apr 26, 2024

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.

@ld0614 ld0614 added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Apr 26, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

No branches or pull requests

1 participant