[Feature Request] az network firewall policy: add --source-geo-locations / --destination-geo-locations (GeoIP filtering, API 2026-01-01)

Aperta
#34,135 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@necusjz ci sta già lavorando.

Dal 25/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

act-quality-productivity-squad Auto-Assign Azure CLI Team feature-request Network
Preconditions
  • No need to upgrade Python SDK or the Python SDK is ready.
Related command
Related command

az network firewall policy rule-collection-group collection add-filter-collection
(and the corresponding network-rule add/update commands

Resource Provider

Microsoft.Network/firewallPolicies/ruleCollectionGroups

Description of Feature or Work Requested

Add the following parameters to the firewall-policy network-rule commands:

  • --source-geo-locations → maps to source_geo_locations
  • --destination-geo-locations → maps to destination_geo_locations

API version 2026-01-01 of Microsoft.Network/firewallPolicies adds two new
properties on the network rule type to support GeoIP-based filtering:

  • sourceGeoLocations (string[]) — ISO 3166-1 alpha-2 country codes
  • destinationGeoLocations (string[]) — ISO 3166-1 alpha-2 country codes

These are already merged in the REST API spec
(azure-rest-api-specs PR #45631) and released in the track2 SDK
azure-mgmt-network 33.0.0. The Az CLI currently has no parameters to set
these fields, so customers cannot configure GeoIP filtering via CLI.

Minimum API Version Required

2026-01-01

Swagger PR link / SDK link

https://github.com/Azure/azure-rest-api-specs/pull/45631

Request Example

See the geoIp examples in the swagger PR:https://github.com/Azure/azure-rest-api-specs/pull/45631/files

Target Date

2026-09-30

PM Contact

[email protected]

Engineer Contact

[email protected]

Additional context
  • REST API spec PR: Azure/azure-rest-api-specs#45631
  • API version: 2026-01-01
  • SDK dependency: azure-mgmt-network >= 33.0.0
  • Reference precedent: the sourceKubeSelectorGroups CLI change
  • Feature: Azure Firewall Policy GeoIP filtering
  • PowerShell PR #30006
Lingua principale
Python
Stelle
4.7k
Fork
3.5k
Merge medio
4g 14h
PR unite (30g)
92

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-cli

Tutte le issue di Azure/azure-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.