Skip to content

Fix network breaking change#29796

Draft
Pan-Qi wants to merge 6 commits into
release-network-2025-07-01from
bernard-fix-network-breaking-change
Draft

Fix network breaking change#29796
Pan-Qi wants to merge 6 commits into
release-network-2025-07-01from
bernard-fix-network-breaking-change

Conversation

@Pan-Qi

@Pan-Qi Pan-Qi commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • 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.
    • 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

Santosh Lokarapu and others added 5 commits May 28, 2026 14:36
Apply autorest directives (from xiaogang) to address spec-level issues:

- Strip LRO response headers (Location, Retry-After, Azure-AsyncOperation) from 201/202 to prevent header drift

- Remove redundant 'tags' on DdosProtectionPlan

- Rename Common.CloudError -> CloudError via x-ms-client-name

- Move x-ms-azure-resource from CommonProxyResource/CommonTrackedResource and SecurityPerimeter* variants down to CommonResource and Common.SubResource pairs

- Use spec commit 587a15661041e26ff8a3059a4886ff9e092adfda with full 16-file input set (including common.json and networkSecurityPerimeter.json)

Patch hand-written Customizations/ConnectionMonitorOperation.cs to use the same SafeJsonConvert idiom the generator now emits for the Guid SubscriptionId (fixes 4 CS1503 errors).

Result: build succeeds with 0 errors / 0 warnings, replacing the prior shim commits.
- Add wildcard x-ms-client-name directive in README.md to strip the 'Common.' prefix from all swagger definitions so generated C# classes keep their legacy names (RouteTable, SubResource, NetworkInterface, etc.), unblocking the handwritten Az.Network layer.
- Add directive to delete 'format: uuid' on the subscriptionId parameter so NetworkManagementClient.SubscriptionId regenerates as string (was System.Guid in 2025-07-01).
- Update final rename directive: the legacy ManagedServiceIdentityUserAssignedIdentities generated name is now retargeted to ManagedServiceIdentityUserAssignedIdentitiesValue.
- Regenerate Network.Management.Sdk via autorest --use:@autorest/powershell@4.x.
- Compatibility workaround for TypeSpec/common prefix drift; remove once the source spec drops the 'Common.' prefix.
…NSP regen)

Resolved conflicts in NSP module by taking upstream:

- AssemblyInfo.cs: 7.27.0 release version (was 0.1.0.0 placeholder)

- README.md: commit a21a9d3f5f517648e29cde69e0fd5c0afb761902 (newer spec snapshot for Resource Associable API)

- generate-info.json: restored with new GUID c293af16
@azure-client-tools-bot-prd

Copy link
Copy Markdown
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@Pan-Qi Pan-Qi force-pushed the bernard-fix-network-breaking-change branch from fcdb4f7 to 6b9c4b9 Compare July 3, 2026 10:28
@VeryEarly VeryEarly marked this pull request as draft July 3, 2026 10:32
@Pan-Qi Pan-Qi force-pushed the bernard-fix-network-breaking-change branch from 6b9c4b9 to e01f09e Compare July 3, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant