-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[notification hubs] sdk migration to autorest powershell #26829
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
base: main
Are you sure you want to change the base?
Conversation
️✔️Az.Accounts
|
| Type | Cmdlet | Description | Remediation |
|---|---|---|---|
| AssemblyInfo.cs will be updated automatically. Please do not update it manually. | Revert AssemblyInfo.cs to its last version. |
⚠️ Windows PowerShell - Windows
| Type | Cmdlet | Description | Remediation |
|---|---|---|---|
| AssemblyInfo.cs will be updated automatically. Please do not update it manually. | Revert AssemblyInfo.cs to its last version. |
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Generated Sdk Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️ Test
⚠️ - Linux
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 47.62 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 47.62% Test coverage for the module cannot be lower than 50%.
⚠️ PowerShell Core - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 47.62% Test coverage for the module cannot be lower than 50%.
⚠️ Windows PowerShell - Windows
Type Title Current Coverage Description ⚠️ Test Coverage Less Than 50% 47.62% Test coverage for the module cannot be lower than 50%.
…o joyer/NotificationHubs-sdk-migration
|
Waiting for service team to test and confirm |
There was a problem hiding this 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 NotificationHubs module from using a legacy NuGet package dependency to an autorest-generated PowerShell management SDK. The migration removes the external "Microsoft.Azure.Management.NotificationHubs" package dependency and replaces it with a locally generated SDK project.
- Replaces external NuGet package dependency with locally generated SDK project reference
- Updates property names to match the new SDK's API structure
- Reorganizes project structure to include the new autogenerated management SDK
Reviewed Changes
Copilot reviewed 8 out of 59 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| NotificationHubsManagementClient.cs | Updates property names from NotificationHubCreateOrUpdateParametersName to PropertiesName to match new SDK |
| NotificationHubs.csproj | Replaces NuGet package reference with project reference to new management SDK |
| ChangeLog.md | Documents the removal of the legacy package reference |
| Az.NotificationHubs.psd1 | Updates required assemblies to reference the new SDK DLL |
| NotificationHubs.sln | Adds new management SDK project and updates project references |
| README.md | New autorest configuration file for SDK generation |
| AssemblyInfo.cs | Assembly metadata for the new management SDK |
| NotificationHubs.Management.Sdk.csproj | Project file for the new autogenerated management SDK |
| using System.Runtime.CompilerServices; | ||
| using System.Runtime.InteropServices; | ||
|
|
||
| [assembly: AssemblyTitle("Microsoft Azure Powershell - NotificationHubs Management SDK")] |
Copilot
AI
Jul 31, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The word 'Powershell' should be 'PowerShell' with proper capitalization.
| [assembly: AssemblyTitle("Microsoft Azure Powershell - NotificationHubs Management SDK")] | |
| [assembly: AssemblyTitle("Microsoft Azure PowerShell - NotificationHubs Management SDK")] |
|
|
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.