Adding a service endpoint to an existing virtual network using Azure CLI

To add a service endpoint to an existing virtual network using Azure CLI, you need to run the following command:

az network vnet subnet update -g PacktPub -n s1 --vnet-name CLIVNet --service-endpoints Microsoft.Storage