Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/durgeshsamariya/azure-cli-cheatsheet
Azure CLI Cheatsheet
https://github.com/durgeshsamariya/azure-cli-cheatsheet
Last synced: about 4 hours ago
JSON representation
Azure CLI Cheatsheet
- Host: GitHub
- URL: https://github.com/durgeshsamariya/azure-cli-cheatsheet
- Owner: durgeshsamariya
- Created: 2024-03-22T00:31:33.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-04T02:25:51.000Z (6 months ago)
- Last Synced: 2024-05-04T03:24:53.509Z (6 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure CLI 2.0 Cheatsheet
Azure CLI 2.0 cheatsheet for Login, Resources, VMs, Resource groups, Storage, Batch, and Containers.
## General Commands
### Login to Azure
```
az login
```### Logout of Azure
```
az logout
```### List accounts
```
az account list
```### Set subscription
```
az account set --subscription "xxx"
```## Listing locations and resources / general
### List all locations
```
az account list-locations
```