CmdID / az / az peering / az peering service / az peering service prefix
az peering service prefix update
Creates a new prefix with the specified name under the given subscription, resource group and peering service. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Create or update a prefix for the peering service
az peering service prefix update --peering-service-name "peeringServiceName" --peering-service-prefix-key "00000000-0000-0000-0000-000000000000" --prefix "192.168.1.0/24" --prefix-name "peeringServicePrefixName" --resource-group "rgName"Identify--peering-service-nameThe name of the peering service.--peering-service-prefix-keyThe peering service prefix key--prefixThe prefix from which your traffic originates.--prefix-nameThe name of the prefix.--resource-groupName of resource group.Options
--peering-service-nameThe name of the peering service.--peering-service-prefix-keyThe peering service prefix key--prefix-nameThe name of the prefix.--prefixThe prefix from which your traffic originates.--resource-group, -gName of resource group.