[Network] az network first-party-service-tag: Add support for First Party Service Tags - #34081
Draft
Jian Hui (huiii99) wants to merge 8 commits into
Draft
Jian Hui (huiii99) wants to merge 8 commits into
Jian Hui (huiii99) wants to merge 8 commits into
Conversation
microsoft-github-policy-service
Bot
requested review from
Yu Chen (jsntcy),
Ethan Yang (necusjz) and
Yong Zhang (yonzhan)
September 15, 2026 03:28
Collaborator
|
Network |
Member
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Copilot-Session: f3888681-ef35-48bf-99b8-d97a49e802e0
- Remove subscription-level list, which the service does not support in this release, and make --resource-group required for list. - Update via tags-only PATCH. The generated PUT returns 200 but the service silently ignores tag changes, and a PATCH carrying properties is rejected with OnlyTagsSupportedForPatch. - Make resource GUID schema augmentation idempotent so repeated show calls no longer raise AAZConflictFieldDefinitionError. - Fix the scenario test: FirstPartyUsage IP tag value must match the service tag value, assert properties.value, use a /31 prefix, and cover delete with a tag that has no VIP allocations. - Add the test recording. Copilot-Session: 8d0c9141-0426-4c48-b72f-b99447dd9168
Member
Author
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
The earlier bulk API version bump for the first party service tag work also rewrote recorded requests that are not issued by the regenerated `az network public-ip` commands, which broke cassette playback in CI: * 10 `Microsoft.Network/publicIPAddresses` requests in the vm module were bumped from 2022-01-01 to 2022-05-01, but the vm module still sends 2022-01-01. * 3 requests in resource/test_tag_update_by_patch.yaml issued by the generic `az resource tag` / `az resource delete` commands were bumped from 2024-07-01 to 2025-09-01. Restore those entries to their original versions and keep the 2025-09-01 bump only for requests coming from the regenerated aaz commands. Copilot-Session: 8d0c9141-0426-4c48-b72f-b99447dd9168
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 — ❌ Action needed
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
Related command
az network first-party-service-tag createaz network first-party-service-tag updateaz network first-party-service-tag showaz network first-party-service-tag listaz network first-party-service-tag deleteaz network first-party-service-tag waitaz network public-ip createaz network public-ip updateaz network public-ip prefix createaz network public-ip prefix updateDescription
Fixes #34034.
Azz Azure/aaz#1089.
This PR adds Preview support for managing
Microsoft.Network/firstPartyServiceTagsresources using Network API version2025-09-01, including create, update, show, list, delete, and wait operations. Create, update, and delete support asynchronous execution through--no-wait.It also updates Public IP Address and Public IP Prefix commands to Network API version
2025-09-01and adds--first-party-service-tag-idsupport for associating a First Party Service Tag with an IP tag. The existing--ip-tags TYPE=VALUEsyntax remains backward compatible.Because the current Swagger defines
resourceGuidunderpropertieswhile the service returns it at the resource root, this PR adds an AAZ custom response-schema compatibility layer for create, update, show, and list operations.VM and VMSS changes are outside the scope of this PR.
Testing Guide
azdev test test_network_first_party_service_tag --liveHistory Notes
[Network]
az network first-party-service-tag: Add Preview commands to manage First Party Service Tag resources[Network]
az network public-ip: Add--first-party-service-tag-idto associate a First Party Service Tag with an IP tag[Network]
az network public-ip prefix: Add--first-party-service-tag-idto associate a First Party Service Tag with an IP tagThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.