Skip to content

Conversation

@JoyerJin
Copy link
Contributor

@JoyerJin JoyerJin commented Dec 4, 2024

Description

  • Removed "Microsoft.Azure.Management.NotificationHubs" Version "2.3.2-preview" PackageReference

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, 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.
    • For autorest-based development mode, include the changelog in the PR description.
    • 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

azure-client-tools-bot-prd bot commented Dec 4, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.NotificationHubs
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️File Change Check
⚠️PowerShell Core - Windows
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%.

@wyunchi-ms
Copy link
Contributor

Waiting for service team to test and confirm

@JoyerJin JoyerJin marked this pull request as ready for review July 31, 2025 05:01
Copilot AI review requested due to automatic review settings July 31, 2025 05:01
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 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")]
Copy link

Copilot AI Jul 31, 2025

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.

Suggested change
[assembly: AssemblyTitle("Microsoft Azure Powershell - NotificationHubs Management SDK")]
[assembly: AssemblyTitle("Microsoft Azure PowerShell - NotificationHubs Management SDK")]

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

‼️ DO NOT MERGE THIS PR ‼️
This PR was labeled "Do Not Merge" because it contains code change that cannot be merged. Please contact the reviewer for more information.

@isra-fel isra-fel added the Track1 SDK Migration PR migrating track 1 sdk (as pacakge) to source code generated by autorest.powershell label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Do Not Merge 🚫 Track1 SDK Migration PR migrating track 1 sdk (as pacakge) to source code generated by autorest.powershell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants