Choosing between UI and CLI/PowerShell
- Frequency:
- Occasional: Portal (UI)
- Repetitive:
- Azure CLI
- Azure PowerShell
- Templating: ARM Templates
Creating VNet
- Create a Resource Group
- On a Broader note we have 3 inputs
- Network Range (Network Details etc.)
- Location (Region)
- Resource Group Name
Creating VNet Using Portal
Creating VNet Using Azure CLI
- Refer
- Setup:
- Execute From Portal (Cloud Shell)
- Install Locally in your machine
- Commands
az group create -n 'fromcli' --location 'centralus'
Basic CLI
<command> [<subcommands>] [--<paramname-1> <value1> .. ] [<value1> <value2>]
ping microsoft.com
kubectl apply -f test.yml
az <service> [sub services] <action> [arguments]
az group create --name "testing" --location "CentralUS"
az group delete --name "testing"
Basic PowerShell
cmdlet [<subcommands>] [--<paramname-1> <value1> .. ] [<value1> <value2>]
<verb>-<noun>
<verb> is action
<noun> is resource
New-AzResourceGroup
Remove-AzResourceGroup
Like this:
Like Loading...