- Hands-On Networking with Azure
- Mohamed Waly
- 41字
- 2021-06-24 18:41:23
Adding a gateway subnet to a virtual network using Azure CLI 2.0
To add a gateway subnet to a virtual network, you need to run the following command:
az network vnet subnet create --address-prefix 192.168.7.0/27 --name GatewaySubnet --resource-group PacktPub --vnet-name CLIVNet