CmdID / az / az network / az network asg / az network asg address-prefix-set
az network asg address-prefix-set create
Create an address prefix set in an application security group. Azure CLI reference
1 example 3 options Its page in the Azure CLI reference
Examples
Create an address prefix set.
az network asg address-prefix-set create -g MyResourceGroup --asg-name MyAsg -n MyPrefixSet --address-prefixes 10.0.0.0/16 2001:db8::/32Identify-gName of resource group.--asg-nameName of the application security group.-nName of the address prefix set.--address-prefixesSpace-separated list of IPv4 or IPv6 address prefixes in CIDR notation.Options
--address-prefix-set-name, --name, -nName of the address prefix set.--address-prefixesSpace-separated list of IPv4 or IPv6 address prefixes in CIDR notation.--application-security-group-name, --asg-nameName of the application security group.