Azure / Azure/azure-cli

Add CLI commands to manage application security group address prefix sets

Open
#34,023 1 comment 0 reactions 1 assignee Claimed by @necusjz View on GitHub
act-quality-productivity-squad Auto-Assign Azure CLI Team feature-request Network
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Preconditions

- [x] No need to upgrade Python SDK or the Python SDK is ready.

### Related command

az network asg address-prefix-set create
az network asg address-prefix-set update
az network asg address-prefix-set show
az network asg address-prefix-set list
az network asg address-prefix-set delete
az network asg address-prefix-set wait

### Resource Provider

Microsoft.Network/applicationSecurityGroups/addressPrefixSet

### Description of Feature or Work Requested

Add Azure CLI commands to create, update, retrieve, list, delete, and wait on AddressPrefixSet resources.

AddressPrefixSet is a child resource of an Application Security Group. It contains one or more IPv4 or IPv6 address prefixes in CIDR notation. Create, update, and delete operations are asynchronous and should support --no-wait. The command group should be generated using AAZ and initially marked Preview.

### Minimum API Version Required

2025-09-01

### Swagger PR link / SDK link

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

### Request Example

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-09-01/examples/AddressPrefixSetCreate.json
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-09-01/examples/AddressPrefixSetGet.json
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-09-01/examples/AddressPrefixSetList.json
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-09-01/examples/AddressPrefixSetDelete.json

### Target Date

2026-09-01

### PM Contact

jonw

### Engineer Contact

srajanala

### Additional context

Corresponding PowerShell PR: https://github.com/Azure/azure-powershell/pull/29985
CLI PR: https://github.com/Azure/azure-cli/pull/34024

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.