Azure Notes

From MyWiki
Revision as of 09:57, 7 August 2021 by George2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
az group create my_rg –location eastus
az group delete –name my_rg –yes –no-wait
az group list
az vm create –resource-group myREsourceGroupAutomate –name myAutomatedVM –image UbuntuLTS –admin-username azureuser –generate-ssh-keys –custom-data cloud-init.txt
az vm open-port –port 80 –resource-group myResourctGroupAutomate –name myAutomateVM
az account show
az account list-locations
az account list-locations | grep B 5 -A 5 uksouth
az deployment group creaate –name ExampleDeployment –resource-group ExampleGroup –template-file template.json –parameters parameters.json
az vm list-skus –location uksouth –output table
 
az group deployment create -$resourcegroup -n shib_prod_01 –template-file Template.json –parameters @Parameters.json