[Network] Fix #33981: az network application-gateway show: Bump parent Application Gateway API version to 2025-07-01 so Managed HSM SSL certificate fields are preserved - #34039
Closed
Aditya Pujara (a0x1ab) wants to merge 1 commit into
Closed
Conversation
…p parent Application Gateway API version to 2025-07-01 so Managed HSM SSL certificate fields are preserved * Initial plan * Bump Application Gateway API version to 2025-07-01 and add Managed HSM SSL certificate fields Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: a0x1ab <59631311+a0x1ab@users.noreply.github.com>
microsoft-github-policy-service
Bot
requested review from
Yu Chen (jsntcy),
Ethan Yang (necusjz) and
Yong Zhang (yonzhan)
September 7, 2026 05:27
Collaborator
|
Network |
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.
Description
Fixes #33981.
Related command
az network application-gateway show/az network application-gateway create/az network application-gateway updateDescription
The parent
application_gatewayAAZ operations (show,create,update) were using API version2024-10-01, while thessl_certsub-group already used2025-07-01. This mismatch causedsslCertificates[].properties.hsm.keyIdandhsm.publicCertData(Managed HSM–backed certificate fields, introduced in2025-07-01) to be silently dropped on any GET or PUT round-trip through the parent resource._show.py/_create.py/_update.py: Bumped_aaz_info["version"], the resources entry, and allapi-versionquery parameters from2024-10-01→2025-07-01._show.py,_create.py,_update.py): AddedsslCertificates[].properties.hsm(AAZObjectType) withhsm.key_id(keyId) andhsm.public_cert_data(publicCertData) to match the schema already present in thessl_certsub-group.Testing Guide
New unit tests in
test_network_unit_tests.py:test_application_gateway_parent_api_version— asserts all three operations declare2025-07-01in_aaz_infoand resources.test_application_gateway_show_ssl_cert_hsm_schema— introspects the builtApplicationGatewaysGetresponse schema at runtime, assertinghsm,key_id, andpublic_cert_dataare present underssl_certificates.Element.properties.History Notes
[Network]
az network application-gateway show: Bump API version to 2025-07-01 so Managed HSM SSL certificate fields (hsm.keyId/hsm.publicCertData) are preserved on show/create/updateGeneration source
Azure/aaz#1071
Generation source
Azure/aaz#1071