Difference between revisions of "Az cli"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | # install | ||
+ | |||
+ | curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | ||
+ | |||
+ | |||
https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively | https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively | ||
Revision as of 20:09, 16 May 2023
install
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
https://docs.microsoft.com/en-us/cli/azure/use-cli-effectively
az disk list --resource-group
https://docs.microsoft.com/en-us/azure/virtual-machines/disks-incremental-snapshots?tabs=azure-cli
Disk
One Liners
az vm user update -u myuser -p mypass -n myvm -g $RG az vm user update -u username --ssh-key-value "$(< ~/.ssh/id_rsa.pub)" -n MyVm -g MyResourceGroup