Skip to content

Conversation

@Pan-Qi
Copy link
Contributor

@Pan-Qi Pan-Qi commented Jul 26, 2025

Please also review and merge pr for test recording
#28647

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@Pan-Qi Pan-Qi force-pushed the bernard-migrate-workloads-sapVirtualInstance-to-autorest-v4 branch from 47720a9 to cda9130 Compare August 18, 2025 04:02
@Pan-Qi Pan-Qi force-pushed the bernard-migrate-workloads-sapVirtualInstance-to-autorest-v4 branch from cda9130 to 9f67c13 Compare August 18, 2025 04:10
@Pan-Qi Pan-Qi added the Contains Breaking Change This PR contains breaking change label Aug 26, 2025
@github-actions
Copy link

To the author of the pull request,
This PR was labeled "Breaking Change Release" because it contains breaking changes.

  • According to our policy, breaking changes can only take place during major release and they must be preannounced.
  • Please follow our guide on the detailed steps.
  • Required: Please fill in the task below to facilitate our contact,you will receive notifications related to breaking changes.

@Pan-Qi Pan-Qi marked this pull request as ready for review August 28, 2025 13:07
@Copilot Copilot AI review requested due to automatic review settings August 28, 2025 13:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the Azure PowerShell Workloads SapVirtualInstance module to AutoRest v4, introducing breaking changes primarily around identity management and parameter handling for cmdlets. The key changes include simplifying managed identity configuration, updating parameter types from enums to strings, and adding new parameter sets for JSON input.

  • Upgraded SapVirtualInstance module from AutoRest v3 to v4
  • Simplified managed identity configuration with new parameters
  • Added comprehensive breaking change exception tracking

Reviewed Changes

Copilot reviewed 70 out of 78 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/StaticAnalysis/Exceptions/Az.Workloads/BreakingChangeIssues.csv Added comprehensive breaking change exception tracking for 142 type changes
src/Workloads/Workloads/help/*.md Updated cmdlet help documentation reflecting new parameter structures and types
src/Workloads/Workloads/ChangeLog.md Documented breaking changes in managed identity parameters
src/Workloads/Workloads/Az.Workloads.psd1 Updated module dependencies and generation date
src/Workloads/SapVirtualInstance.Autorest/test/*.Tests.ps1 Updated test scripts to use new simplified identity parameters

```

In this example, you Install the SAP software on the deployed infrastructure for a three tier distributed Highly Available SAP system with Transport directory and customized resource naming.
In this example, you Install the SAP software on the deployed infrastructure for a three tier distributed Highly Availabile SAP system with Transport directory and customized resource naming.
Copy link

Copilot AI Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'Availabile' is misspelled. It should be 'Available'.

Suggested change
In this example, you Install the SAP software on the deployed infrastructure for a three tier distributed Highly Availabile SAP system with Transport directory and customized resource naming.
In this example, you Install the SAP software on the deployed infrastructure for a three tier distributed Highly Available SAP system with Transport directory and customized resource naming.

Copilot uses AI. Check for mistakes.
Learn More: https://go.microsoft.com/fwlink/?linkid=2256933

### Example 7: Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallery Image
### Example 7: Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallary Image
Copy link

Copilot AI Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'Gallary' is misspelled. It should be 'Gallery'.

Suggested change
### Example 7: Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallary Image
### Example 7: Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallery Image

Copilot uses AI. Check for mistakes.
```

In this example, you Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallery Image.
In this example, you Deploy infrastructure for a three-tier distributed Highly Available (HA) SAP system with Azure Compute Gallary Image.
Copy link

Copilot AI Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'Gallary' is misspelled. It should be 'Gallery'.

Copilot uses AI. Check for mistakes.
@isra-fel isra-fel added the autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 label Oct 2, 2025
@isra-fel
Copy link
Member

Test recordings are in #28275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 Contains Breaking Change This PR contains breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants