Skip to content

{Network} Upgrade API Version of Application Gateway#33080

Open
huiii99 wants to merge 3 commits intoAzure:devfrom
huiii99:network-ag-version-update-v1
Open

{Network} Upgrade API Version of Application Gateway#33080
huiii99 wants to merge 3 commits intoAzure:devfrom
huiii99:network-ag-version-update-v1

Conversation

@huiii99
Copy link
Member

@huiii99 huiii99 commented Mar 27, 2026

Related command
az network application-gateway
az network application-gateway rule
az network application-gateway redirect-config
az network application-gateway address-pool
az network application-gateway http-listener

Description
Upgrade api version of network application gateway

Testing Guide

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI review requested due to automatic review settings March 27, 2026 02:27
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 27, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link

Hi @huiii99,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 27, 2026

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 27, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Auto-Assign Auto assign by bot label Mar 27, 2026
@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the Network Application Gateway AAZ command implementations to a newer ARM API version, with corresponding schema refreshes and a new scenario test to validate HTTP settings flags behavior.

Changes:

  • Bump Application Gateway-related AAZ commands from 2023-11-01 to 2024-10-01.
  • Refresh read schemas (identity modeling, new/updated properties) across multiple subcommands.
  • Add a scenario test covering http-settings create validation flags persistence.

Reviewed changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py Adds scenario test for http-settings validate flags.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/rule/_wait.py API version bump + schema refresh for rule wait path.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/rule/_show.py API version bump + schema refresh for rule show.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/rule/_list.py API version bump + adjusts selector output behavior + schema refresh.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/rule/_delete.py API version bump + schema refresh for rule delete.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/redirect_config/_wait.py API version bump + schema refresh for redirect-config wait.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/redirect_config/_show.py API version bump + schema refresh for redirect-config show.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/redirect_config/_list.py API version bump + adjusts selector output behavior + schema refresh.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/redirect_config/_delete.py API version bump + schema refresh for redirect-config delete.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/http_listener/_wait.py API version bump + schema refresh for http-listener wait.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/http_listener/_show.py API version bump + schema refresh for http-listener show.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/http_listener/_list.py API version bump + adjusts selector output behavior + schema refresh.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/http_listener/_delete.py API version bump + schema refresh for http-listener delete.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/address_pool/_wait.py API version bump + schema refresh for address-pool wait.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/address_pool/_show.py API version bump + schema refresh for address-pool show.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/address_pool/_list.py API version bump + adjusts selector output behavior + schema refresh.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/address_pool/_delete.py API version bump + schema refresh for address-pool delete.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_wait.py API version bump + schema refresh for gateway wait.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_update.py API version bump + schema refresh; removes enable_fips handling.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_show.py API version bump + schema refresh for gateway show.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_health_on_demand.py Schema refresh for health-on-demand responses.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_health.py Schema refresh for backend health responses.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_delete.py API version bump for gateway delete.
Comments suppressed due to low confidence (1)

src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/_update.py:90

  • network application-gateway update no longer defines the enable_fips/--enable-fips argument in the AAZ argument schema, but this flag is still exposed via network/_params.py and is used by existing scenario tests (e.g., test_network_app_gateway_with_defaults). This is a breaking change/regression unless the flag was intentionally removed from the command surface; consider re-adding enable_fips to the Update command schema (and wiring it to properties.enableFips) or updating the custom wrapper/tests and public help accordingly.
            help="Custom error configurations of the application gateway resource.",
            nullable=True,
        )
        _args_schema.http2 = AAZBoolArg(
            options=["--http2"],
            help="Use HTTP2 for the application gateway",
            nullable=True,
        )
        _args_schema.capacity = AAZIntArg(
            options=["--capacity"],
            help="Number of instances to use with the application gateway.",
            nullable=True,
        )

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants