Skip to content

Add CLI commands to manage application security group address prefix sets #34023

Description

@rajanalavarnitha-wq

Preconditions

  • 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

Azure/azure-rest-api-specs#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: Azure/azure-powershell#29985
CLI PR: #34024

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions