Update RecoveryServices fetch ILR mount scripts with the new API - #30104
Open
Himanshu Agarwal (hiaga) wants to merge 2 commits into
Open
Update RecoveryServices fetch ILR mount scripts with the new API#30104Himanshu Agarwal (hiaga) wants to merge 2 commits into
Himanshu Agarwal (hiaga) wants to merge 2 commits into
Conversation
…tion (2026-08-01) Regenerate Backup SDK against api-version 2026-08-01 (fetch ILR mount scripts / clientScripts via the new listMountScripts action instead of the broad ILR operationsStatus response) and wire Get-AzRecoveryServicesBackupRPMountScript through it. Addresses MSRC-114273 (iSCSI CHAP redaction). SDK generated from the pre-merge spec fork; repointed to the merged Azure spec in a follow-up commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d420238-f921-4e0f-ac6d-9acd4ed164b8
… #44639, 2026-08-01) Switch AutoRest input-file from the @hiaga pre-merge fork to Azure/azure-rest-api-specs at merge commit 4e6e13d398d4c2616237322a62394fc4f1dfeb81 (merged 2026-08-29). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6d420238-f921-4e0f-ac6d-9acd4ed164b8
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Moves Instant Item Recovery (ILR) mount script retrieval to the dedicated, RBAC-gated
listMountScriptsaction introduced in the stable API version2026-08-01ofMicrosoft.RecoveryServices/RecoveryServicesBackup.Previously the ILR mount scripts (which contain iSCSI CHAP connection details) were returned inline on the broad ILR-provision
operationsStatusresponse.Get-AzRecoveryServicesBackupRPMountScriptnow fetches them via the new action instead.Changes
2026-08-01from the merged spec: RecoveryServicesBackup: add 2026-08-01 stable version with fetchInstantItemRecoveryOperationResult action (MSRC-114273) azure-rest-api-specs#44639 (merged 2026-08-29, commit4e6e13d398d4c2616237322a62394fc4f1dfeb81).Get-AzRecoveryServicesBackupRPMountScript(and the Backup ServiceClientAdapter APIs) through the newlistMountScriptsaction.ChangeLog.mdupdated under Upcoming Release.Validation
eastus2euap) for both Linux and Windows IaaS VM ILR: provision -> operation-status polls ->listMountScriptscomplete under a single operation, and the mount script is returned by the new action (no CHAP details on the operation-status response). Mount + revoke succeed for both guest OS variants.Checklist
README.mdinput-file repointed from the pre-merge fork to Azure/azure-rest-api-specs).ChangeLog.mdupdated.clientScriptsremains optional).