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

Đang mở
#34,135 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@necusjz đang làm issue này rồi.

Từ ngày 25/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
Python
Star
4.7k
Fork
3.5k
Merge trung bình
4 ngày 14 giờ
Pull request đã merge (30 ngày)
92

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/azure-cli

Tất cả issue của Azure/azure-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.