Forrest logo
back to context overview

az-vm

List of commands for az-vm:

  • az-vm:tldr:3dfe0 az-vm: Create a virtual machine using the default Ubuntu image and generate ssh keys.
    $ az vm create --resource-group ${rg} --name ${vm_name} --image ${UbuntuLTS} --admin-user ${azureuser} --generate-ssh-keys
    try on your machine
    explain this command
  • az-vm:tldr:4881d az-vm: Restart a Virtual Machine.
    $ az vm restart --resource-group ${rg} --name ${vm_name}
    try on your machine
    explain this command
  • az-vm:tldr:818d3 az-vm: List details of available Virtual Machines.
    $ az vm list
    try on your machine
    explain this command
  • az-vm:tldr:bf182 az-vm: Stop a Virtual Machine.
    $ az vm stop --resource-group ${rg} --name ${vm_name}
    try on your machine
    explain this command
  • az-vm:tldr:dc81d az-vm: Start a Virtual Machine.
    $ az vm start --resource-group ${rg} --name ${vm_name}
    try on your machine
    explain this command
  • az-vm:tldr:e34df az-vm: Deallocate a Virtual Machine.
    $ az vm deallocate --resource-group ${rg} --name ${vm_name}
    try on your machine
    explain this command
  • az-vm:tldr:f4389 az-vm: List VM images available in the Azure Marketplace.
    $ az vm image list
    try on your machine
    explain this command
back to context overview