Skip to content

[Network] Upgrade to 2025-09-01 API - SDK regen + NSP.Autorest regen - #29992

Open
santoshgh317 wants to merge 3 commits into
Azure:release-network-2025-09-01from
santoshgh317:release-network-2025-09-01
Open

[Network] Upgrade to 2025-09-01 API - SDK regen + NSP.Autorest regen#29992
santoshgh317 wants to merge 3 commits into
Azure:release-network-2025-09-01from
santoshgh317:release-network-2025-09-01

Conversation

@santoshgh317

Copy link
Copy Markdown
Member

[Network] Upgrade to 2025-09-01 API - SDK regen + NSP.Autorest regen

Description

Upgrades the Network module from api-version 2025-07-01 to 2025-09-01 (spec commit a48bb332).

Changes

  • Bumped src/Network/Network.Management.Sdk/README.md to the new spec commit and api-version.
  • Added firstPartyServiceTag.json to the input-file list.
  • Regenerated Network.Management.Sdk against the new spec.
  • Bumped src/Network/NetworkSecurityPerimeter.Autorest/README.md to the same commit and regenerated NSP.Autorest cmdlets.
  • Fixed AutoRest directives: 2025-09-01 dropped the Common. prefix from SubResourceModel and SubResource keys in common.json, so the existing directives $.definitions["Common.SubResourceModel"] and $.definitions["Common.SubResource"] had silently become no-ops. Retargeted them to the un-prefixed keys so SubResourceModel correctly inherits from SubResource.
  • Added ChangeLog entry under Upcoming Release.

Description of the change

Regeneration only - no hand-written cmdlet changes.

Testing

  • dotnet msbuild build.proj /p:Scope=Network -> 0 errors, 0 warnings.
  • dotnet msbuild build.proj /t:StaticAnalysis /p:Scope=Network -> Az.Network-specific findings clean (0 breaking-change issues for Network, 18 pre-existing severity-2 ConfirmImpact cosmetics on generated NSP Get-* cmdlets - same class as prior NSP regens).

Checklist

  • ChangeLog.md updated under ## Upcoming Release in src/Network/Network/ChangeLog.md
  • Rebased against latest release-network-2025-09-01
  • Builds cleanly

- Bumped Network.Management.Sdk README to spec commit
  a48bb3329f0d841f42232e6f0086b6e43bc242ef, api-version 2025-09-01.
- Added firstPartyServiceTag.json to the input-file list; regenerated
  Network.Management.Sdk against the new spec.
- Bumped NetworkSecurityPerimeter.Autorest README to the same spec
  commit; regenerated NSP.Autorest cmdlets.
- Fixed AutoRest directives: the "Common." prefix was dropped from
  SubResourceModel and SubResource keys in 2025-09-01 common.json, so
  the existing directives ($.definitions["Common.SubResourceModel"]
  and $.definitions["Common.SubResource"]) were silently no-ops. The
  directives are retargeted to the un-prefixed keys so SubResourceModel
  correctly inherits from SubResource.
- Added ChangeLog entry under Upcoming Release.
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

The previous commit's regen inadvertently deleted src/Network/NetworkSecurityPerimeter.Autorest/generate-info.json, which caused CI's Get-OutdatedSubModule to hard-fail with 'generate-info.json was not found!'.

Re-create it with a new generate_Id GUID. This differs from the archived id in generated/Network/NetworkSecurityPerimeter.Autorest/generate-info.json, so CI will treat the submodule as outdated and re-run autorest against the updated README (a48bb332 / 2025-09-01).
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

…tewayGlobalConfiguration

The 2025-09-01 SDK regen added DisableDefaultServerHeaderInResponse to ApplicationGatewayGlobalConfiguration. AutoMapper is configured with strict destination-member validation, so any new SDK property must be mirrored on the corresponding PS wrapper or every ApplicationGateway cmdlet path throws at map time. This unblocks the 18 failing ApplicationGateway scenario tests observed on the PR CI.
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

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.

2 participants