You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
411 B
Plaintext
9 lines
411 B
Plaintext
# 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
|