Azure CLI
Manage Microsoft Azure resources from the command line. VMs, storage, networking, and cloud service deployments.
79 commands
Browse by Topic
Getting Started
Quick setup and installation
Auth
Login & authentication
Resources
Resource groups
Compute
VMs & compute
Storage
Storage accounts
Web Apps
App Service
AKS
Azure Kubernetes Service
Functions
Serverless functions
Network
VNets & networking
Container Apps
Azure Container Apps
Static Web Apps
Azure Static Web Apps
Deployment
Bicep & ARM deployments
Install Azure CLI (macOS)
Install the Azure CLI using Homebrew on macOS
Install Azure CLI (Linux)
Install the Azure CLI on Debian/Ubuntu Linux using the install script
Check Azure CLI version
Display the installed Azure CLI version and dependencies
Login to Azure
Authenticate with Azure using interactive browser login
List Subscriptions
Show all Azure subscriptions for the logged-in account
Set Active Subscription
Change the current active subscription
Show Current Account
Display details of the current subscription
Interactive Login
Sign in to Azure with browser authentication
Device Code Login
Login using device code for headless environments
Service Principal Login
Authenticate using service principal credentials
Logout
Clear all cached Azure credentials
Create Service Principal
Create a service principal with role assignment
Deploy ARM Template
Deploy resources using ARM template
Create Resource Group
Create a new resource group in a specific region
Delete Resource Group
Delete a resource group and all its resources
List Resource Groups
List all resource groups in the subscription
Create Resource Lock
Prevent accidental deletion of resource group
List Resources in Group
Show all resources in a resource group
Tag Resource Group
Add tags to a resource group for organization
Create Virtual Machine
Create a new Linux VM with SSH keys
Delete VM
Delete a virtual machine
List Virtual Machines
List all VMs in the subscription
Resize VM
Change the size of an existing VM
List VM Sizes
Show available VM sizes in a region
SSH to VM
Connect to VM via SSH using Azure CLI
Start VM
Start a stopped virtual machine
Stop and Deallocate VM
Stop VM and release compute resources (stops billing)
Download Blob
Download a blob to local file
List Blobs
List all blobs in a container
Upload Blob
Upload a file to blob storage
Create Blob Container
Create a blob container in storage account
Create Storage Account
Create a new storage account
Get Storage Keys
Get access keys for storage account
List Storage Accounts
List all storage accounts in subscription
Configure App Settings
Set environment variables for web app
Create Web App
Create a new App Service web app
Deploy to Web App
Deploy a ZIP package to web app
List Web Apps
List all web apps in subscription
Stream Logs
Stream live logs from web app
Restart Web App
Restart the web app
Create Deployment Slot
Create a deployment slot for testing
Quick Deploy
Create and deploy app from current directory
Create AKS Cluster
Create a new managed Kubernetes cluster
Get AKS Credentials
Configure kubectl to connect to AKS cluster
List AKS Clusters
List all AKS clusters in subscription
Add Node Pool
Add a new node pool to cluster
Scale Node Pool
Scale the default node pool
Start AKS Cluster
Start a stopped AKS cluster
Stop AKS Cluster
Stop AKS cluster to save costs
Upgrade AKS Cluster
Upgrade Kubernetes version
Configure Function Settings
Set function app configuration
Create Function App
Create a new serverless function app
Deploy Functions
Deploy function app from ZIP file
List Function Apps
List all function apps in subscription
Stream Function Logs
Stream live logs from function app
Restart Function App
Restart the function app
Create DNS Zone
Create an Azure DNS zone
Create Load Balancer
Create a standard load balancer
Create Network Security Group
Create a network security group
Add NSG Rule
Add an inbound rule to NSG
Create Public IP
Create a public IP address
Create Subnet
Add a new subnet to VNet
Create Virtual Network
Create a VNet with a default subnet
List Virtual Networks
List all VNets in subscription
Create Container App
Create a new container app with specified image
Enable Ingress
Enable ingress and expose container app on port 80
Stream Container Logs
Stream live logs from container app
List App Revisions
List all revisions of a container app
Update Container Image
Update container app to use a new image version
Create Static Web App
Create a static web app from GitHub repository
Add Custom Domain
Configure custom domain for static web app
List Deployment Environments
List all deployment environments for static web app
List App Secrets
List secrets and API tokens for static web app
Configure App Settings
Set application settings and environment variables
Deploy Bicep Template
Deploy infrastructure using Bicep template
List Deployments
List all deployments in a resource group
Show Deployment Operations
Show detailed operations for a specific deployment
Validate Template
Validate Bicep/ARM template without deploying
Preview Deployment Changes
Preview what changes will be made before deployment
Discussion
Loading comments...