Hi, I'm working on Unit 3 of 14 of this Training Path:
Learn > Training > Browse > Azure Fundamentals: Describe Azure architecture and services > Describe Azure compute and networking services
We're asked to create a VM for step one with this command: "az vm create" without the quotes in the Azure CLI.
When I input that command, the result is as follows (copy-pasted from the Azure CLI):
adamleikness [ ~ ]$ az vm create
the following arguments are required: --name/-n, --resource-group/-g
Examples from AI knowledge base:
az vm create --name MyVm --resource-group MyResourceGroup --image RedHat:RHEL:7-RAW:7.4.2018010506
Create a default RedHat VM with automatic SSH authentication using an image URN.
az vm create --name MyVm --resource-group rg1 --image debian --assign-identity /subscriptions/99999999-1bf0-4dda-aec3-cb9272f09590/resourcegroups/myRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID
Create a debian VM with a user assigned identity.
az group create --location westus --resource-group MyResourceGroup
Create a new resource group in the West US region.
https://learn.microsoft.com/en-US/cli/azure/vm#az_vm_create
Read more about the command in reference docs
adamleikness [ ~ ]$
What shows up here after I enter that command is different from what is shown in the figure of the Learn Module beneath where it tells us to input the "az vm create".
Here's what it shows should come up (at least, I think that's what it's showing should come up. I'm new to using a CLI):
az vm create \
--resource-group learn-d76bec09-2062-471b-abeb-4ddc99205652 \
--name my-vm \
--image UbuntuLTS \
--admin-username azureuser \
--generate-ssh-keys
Am I doing something wrong or is there something to check for to troubleshoot this?
Thank you for any time you spend trying to help! Have a good one.