Difference between revisions of "Az cli"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | # install | ||
+ | https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt | ||
+ | ``` | ||
+ | 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 | ||
Latest revision as of 20:10, 16 May 2023
install
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt
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