new cheat.sheet: az
parent
b725c581f5
commit
0a3ecbdf7b
@ -0,0 +1,8 @@
|
||||
# Install Azure CLI 2.0 with one curl command.
|
||||
curl -L https://aka.ms/InstallAzureCli | bash
|
||||
|
||||
# create a resource group named "MyResourceGroup" in the westus2 region of Azure
|
||||
az group create -n MyResourceGroup -l westus2
|
||||
|
||||
# create a Linux VM using the UbuntuTLS image, with two attached storage disks of 10 GB and 20 GB
|
||||
az vm create -n MyLinuxVM -g MyResourceGroup --image UbuntuLTS --data-disk-sizes-gb 10 20
|
Loading…
Reference in New Issue