Repository navigation
Add FirstPartyServiceTag support for PublicIPPrefixes - #30171
Merged
DanielMicrosoft merged 5 commits intoSep 24, 2026
Merged
DanielMicrosoft merged 5 commits into
DanielMicrosoft merged 5 commits into
Conversation
Contributor
|
Azure Pipelines: Successfully started running 2 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ac72e75e-ae7e-4189-b63e-c259da66d7bb
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review comments were identified, and all reviewers assessed it as ready.
Review effort: Lite
Findings: None
What changed in this PR
Adds FirstPartyServiceTagId support for Public IP Prefix IP tags, with SDK mappings, documentation, changelog, and test coverage.
Changes:
- Added the model property and bidirectional SDK mappings.
- Documented usage and updated the changelog.
- Added unit and scenario test coverage.
| File | Description |
|---|---|
src/Network/Network/Models/PSPublicIpPrefixTag.cs |
Adds the service tag ID property. |
src/Network/Network/help/New-AzPublicIpPrefix.md |
Documents the new usage. |
src/Network/Network/Common/NetworkResourceManagerProfile.cs |
Maps the property bidirectionally. |
src/Network/Network/ChangeLog.md |
Records the feature. |
src/Network/Network.Test/UnitTests/PublicIpTagTests.cs |
Tests mapping preservation. |
src/Network/Network.Test/ScenarioTests/PublicIpPrefixTests.ps1 |
Adds integration coverage. |
src/Network/Network.Test/ScenarioTests/PublicIpPrefixTests.cs |
Registers the scenario test. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
DanielMicrosoft
approved these changes
Sep 23, 2026
DanielMicrosoft
enabled auto-merge (squash)
September 23, 2026 23:26
DanielMicrosoft
merged commit Sep 24, 2026
0caa13c
into
Azure:release-network-2026-01-01
12 checks passed
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation —⚠️ Review suggested
️✔️Az.Accounts
️✔️Az.ApplicationInsights
️✔️Az.CognitiveServices
️✔️Az.Compute
️✔️Az.Dns
️✔️Az.Maintenance
️✔️Az.ManagedServiceIdentity
️✔️Az.Monitor
️✔️Az.OperationalInsights
️✔️Az.PrivateDns
️✔️Az.RecoveryServices
️✔️Az.Resources
️✔️Az.Security
️✔️Az.ServiceBus
️✔️Az.Sql
️✔️Az.Storage
️✔️Az.Websites
Description
Added First Party Service Tag support for Public IP Prefixes.
• Added FirstPartyServiceTagId to PSPublicIpPrefixTag .
• Added bidirectional SDK mapping so the association survives create, get, and set operations.
• Added focused unit coverage.
• Added a New-AzPublicIpPrefix help example.
• Updated the Az.Network changelog.
Usage:
$ipTag = [Microsoft.Azure.Commands.Network.Models.PSPublicIpPrefixTag]@{
IpTagType = "FirstPartyUsage"
Tag = "/Sql"
FirstPartyServiceTagId = $serviceTag.Id
}
New-AzPublicIpPrefix
-Name "ContosoPublicIpPrefix"-ResourceGroupName "ContosoResourceGroup"
-Location "eastus"-PrefixLength 30 `
-IpTag $ipTag
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.