CmdID / az / az networkfabric / az networkfabric ipprefix
az networkfabric ipprefix create
Create a Ip Prefix resource Azure CLI extensions reference
2 examples 4 options Its page in the Azure CLI extensions reference
Examples
Create an Ip Prefix
az networkfabric ipprefix create --resource-group "example-rg" --location "westus3" --resource-name "example-ipprefix" --ip-prefix-rules "[{action:Permit,sequenceNumber:1234,networkPrefix:'1.1.1.0/24',condition:EqualTo,subnetMaskLength:24}]"Identify--resource-groupName of resource group.--locationLocation.--resource-nameName of the IP Prefix.--ip-prefix-rulesThe list of IP Prefix Rules.Help text for sub parameters under the specific parent can be viewed by using the shorthand syntax '??'. See https://github.com/Azure/azure-cli/tree/dev/doc/shorthand_syntax.md for more about shorthand syntax.
az networkfabric ipprefix create --ip-prefix-rules "??"Identify--ip-prefix-rulesThe list of IP Prefix Rules.Options
--annotationSwitch configuration description.--ip-prefix-rulesThe list of IP Prefix Rules.--resource-nameName of the IP Prefix.--tagsResource tags.