-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[Az.ServiceFabric] Added preannoucement for removing Reimage parameters from Set-AzServiceFabricManagedNodeType
#28520
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
…rs from `Set-AzServiceFabricManagedNodeType`
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
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 adds deprecation warnings for Reimage-related parameters in the Set-AzServiceFabricManagedNodeType
cmdlet in preparation for their removal. The parameters will be deprecated in favor of a new dedicated cmdlet Invoke-AzServiceFabricReimageManagedNodeType
.
Key Changes
- Added deprecation attributes to four Reimage-related parameters (NodeName, Reimage, ForceReimage, PassThru)
- Reorganized using statements and moved AsJob parameter to a different section
- Updated changelog to document the deprecation announcement
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
SetAzServiceFabricManagedNodeType.cs | Added deprecation attributes for Reimage parameters and reorganized code structure |
ChangeLog.md | Added entry documenting the deprecation preannouncement |
Comments suppressed due to low confidence (1)
src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/SetAzServiceFabricManagedNodeType.cs:1
- There's a spelling error: 'preannoucement' should be 'preannouncement' (missing 'n').
// ----------------------------------------------------------------------------------
...Fabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/SetAzServiceFabricManagedNodeType.cs
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
...Fabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/SetAzServiceFabricManagedNodeType.cs
Show resolved
Hide resolved
...Fabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/SetAzServiceFabricManagedNodeType.cs
Outdated
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
next Az version: 15.0.0
next Az.ServiceFabric version: 5.0.0
…16/azure-powershell into user/iliu/deprecateReimage
Hi, should be changed now. Thanks |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description
Because we are introducing a new
Invoke-AzServiceFabricReimageManagedNodeType
cmdlet, we want to deprecate the Reimage parameters from theSet-AzServiceFabricManagedNodeType
cmdlet.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.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.