-
Notifications
You must be signed in to change notification settings - Fork 4k
[Az.Network] Add new cmdlet: Set-AzNetworkManagerIpamPoolStaticCidr #28297
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
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 introduces a new PowerShell cmdlet Set-AzNetworkManagerIpamPoolStaticCidr
for updating static CIDR allocations in Azure Network Manager IPAM pools. The cmdlet allows users to modify properties of existing static CIDR allocations such as descriptions and address prefixes.
Key changes:
- Adds new Set cmdlet implementation with mutual exclusivity logic for address prefixes and IP allocation count
- Includes comprehensive help documentation with usage examples
- Updates module exports and test coverage
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
SetAzNetworkManagerIpamPoolStaticCidrCommand.cs | Core cmdlet implementation with validation and mutual exclusivity logic |
Set-AzNetworkManagerIpamPoolStaticCidr.md | Complete help documentation with parameter descriptions and examples |
Az.Network.psd1 | Module manifest update to export the new cmdlet |
Az.Network.md | Module help index update with cmdlet reference |
NetworkManagerTests.ps1 | Test scenario addition for the new cmdlet functionality |
Comments suppressed due to low confidence (1)
src/Network/Network/NetworkManager/IpamPool/SetAzNetworkManagerIpamPoolStaticCidrCommand.cs
Show resolved
Hide resolved
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Looks the |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Hi @p-thompson Could you please help update the changelog as well? |
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
Added under 'Upcoming Release' please let me know if it belongs elsewhere, thank you! |
Description
https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1498
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.