Claude
Skills
Sign in
Back

az-cli

Included with Lifetime
$97 forever

Use the Azure CLI (`az`) to manage Azure resources from the command line. Trigger this skill whenever the user asks to create, configure, manage, deploy, or interact with any Azure resource — even if they don't explicitly mention "az cli". Also trigger when the user asks about Azure CLI commands, syntax, or wants to know how to do something in Azure from the terminal.

Cloud & DevOpsscripts

What this skill does


# Az CLI

Help users accomplish Azure tasks by identifying the right `az` commands, gathering required parameters, and executing them.

## Workflow

When a user asks to do something with Azure:

1. **Identify the command** — find the right `az` subcommand from the reference docs below. If the task spans multiple commands, plan the sequence.
2. **Check for required parameters** — read the relevant reference file to understand what the command needs. If the user hasn't provided required values (resource group, name, SKU, location, etc.), ask them before running anything.
3. **Construct and execute** — build the command with the user's parameters and run it. If a command has optional flags that would be useful for the user's scenario, mention them.
4. **Verify the result** — after running a command, check the output for errors. If something fails, diagnose and suggest fixes (common issues: wrong resource group, missing provider registration, quota limits).

When a user asks about Azure CLI syntax or wants to know what commands are available for a service, read the relevant reference file and summarize what's available.

## Command Groups

### Compute

| Command | Description | Status | Reference |
|---------|-------------|--------|-----------|
| `az aks` | Azure Kubernetes Service. | GA | [ref](./references/aks.md) |
| `az aksarc` | Manage provisioned clusters. | GA (ext) | [ref](./references/aksarc.md) |
| `az appservice` | Manage Appservice. | GA | [ref](./references/appservice.md) |
| `az batch` | Manage Azure Batch. | GA | [ref](./references/batch.md) |
| `az capacity` | Manage capacity. | GA | [ref](./references/capacity.md) |
| `az cloud-service` | Manage cloud service. | Experimental (ext) | [ref](./references/cloud-service.md) |
| `az compute-fleet` | Manage for Azure Compute Fleet. | Preview | [ref](./references/compute-fleet.md) |
| `az compute-recommender` | Manage sku/zone/region recommender info for compute resources. | GA | [ref](./references/compute-recommender.md) |
| `az computeschedule` | Computeschedule batch virtual machine operations. | GA (ext) | [ref](./references/computeschedule.md) |
| `az container` | Manage Azure Container Instances. | GA | [ref](./references/container.md) |
| `az containerapp` | Manage Azure Container Apps. | GA | [ref](./references/containerapp.md) |
| `az disk` | Manage Azure Managed Disks. | GA | [ref](./references/disk.md) |
| `az disk-access` | Manage disk access resources. | GA | [ref](./references/disk-access.md) |
| `az disk-encryption-set` | Disk Encryption Set resource. | GA | [ref](./references/disk-encryption-set.md) |
| `az disk-pool` | Manage Azure disk pool. | GA (ext) | [ref](./references/disk-pool.md) |
| `az functionapp` | Manage function apps. To install the Azure Functions Core tools, see [the project repository](https://github.com/Azure/azure-functions-core-tools). | GA | [ref](./references/functionapp.md) |
| `az image` | Manage custom virtual machine images. | GA | [ref](./references/image.md) |
| `az logicapp` | Manage logic apps. | GA | [ref](./references/logicapp.md) |
| `az ppg` | Manage Proximity Placement Groups. | GA | [ref](./references/ppg.md) |
| `az restore-point` | Manage restore point with res. | GA | [ref](./references/restore-point.md) |
| `az serial-console` | Connect to the Serial Console of a Linux/Windows Virtual Machine or VMSS Instance. | GA (ext) | [ref](./references/serial-console.md) |
| `az sf` | Manage and administer Azure Service Fabric clusters. | GA | [ref](./references/sf.md) |
| `az sig` | Manage shared image gallery. | GA | [ref](./references/sig.md) |
| `az snapshot` | Manage point-in-time copies of managed disks, native blobs, or other snapshots. | GA | [ref](./references/snapshot.md) |
| `az spring` | Commands to manage Azure Spring Apps. | Deprecated | [ref](./references/spring.md) |
| `az ssh` | SSH into resources (Azure VMs, Arc servers, etc) using AAD issued openssh certificates. | GA (ext) | [ref](./references/ssh.md) |
| `az sshkey` | Manage ssh public key with vm. | GA | [ref](./references/sshkey.md) |
| `az staticwebapp` | Manage static apps. | GA | [ref](./references/staticwebapp.md) |
| `az vm` | Manage Linux or Windows virtual machines. | GA | [ref](./references/vm.md) |
| `az vmss` | Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). | GA | [ref](./references/vmss.md) |
| `az webapp` | Manage web apps. | GA | [ref](./references/webapp.md) |

### Networking

| Command | Description | Status | Reference |
|---------|-------------|--------|-----------|
| `az afd` | Manage Azure Front Door Standard/Premium. | GA | [ref](./references/afd.md) |
| `az cdn` | Manage Azure Content Delivery Networks (CDNs). | GA | [ref](./references/cdn.md) |
| `az dns-resolver` | Manage Dns Resolver. | GA (ext) | [ref](./references/dns-resolver.md) |
| `az internet-analyzer` | Commands to manage internet analyzer. | GA (ext) | [ref](./references/internet-analyzer.md) |
| `az network` | Manage Azure Network resources. | GA | [ref](./references/network.md) |
| `az network-analytics` | Network Analytics command group Azure Operator Insights resource manipulation. | GA (ext) | [ref](./references/network-analytics.md) |
| `az network-function` | Manage network function. | GA (ext) | [ref](./references/network-function.md) |
| `az networkcloud` | Manage Network Cloud resources. | GA (ext) | [ref](./references/networkcloud.md) |
| `az networkfabric` | Manage Azure Network Fabric Management Service API. | GA (ext) | [ref](./references/networkfabric.md) |
| `az private-link` | Private-link association CLI command group. | GA | [ref](./references/private-link.md) |
| `az relay` | Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules. | GA | [ref](./references/relay.md) |
| `az signalr` | Manage Azure SignalR Service. | GA | [ref](./references/signalr.md) |
| `az webpubsub` | Commands to manage Webpubsub. | GA (ext) | [ref](./references/webpubsub.md) |

### Storage

| Command | Description | Status | Reference |
|---------|-------------|--------|-----------|
| `az amlfs` | Manage Azure Managed Lustre Filesystem. | GA (ext) | [ref](./references/amlfs.md) |
| `az dls` | Manage Data Lake Store accounts and filesystems. | Preview | [ref](./references/dls.md) |
| `az elastic-san` | Manage Elastic SAN. | GA (ext) | [ref](./references/elastic-san.md) |
| `az hpc-cache` | Commands to manage hpc cache. | GA (ext) | [ref](./references/hpc-cache.md) |
| `az import-export` | Manage Import Export. | Experimental (ext) | [ref](./references/import-export.md) |
| `az netappfiles` | Manage Azure NetApp Files (ANF) Resources. | GA | [ref](./references/netappfiles.md) |
| `az storage` | Manage Azure Cloud Storage resources. | GA | [ref](./references/storage.md) |
| `az storage-actions` | Manage StorageActions. | GA (ext) | [ref](./references/storage-actions.md) |
| `az storage-discovery` | Manage Storage Discovery. | GA (ext) | [ref](./references/storage-discovery.md) |
| `az storage-mover` | Manage top-level Storage Mover resource. | GA (ext) | [ref](./references/storage-mover.md) |
| `az storagesync` | Manage Azure File Sync. | GA (ext) | [ref](./references/storagesync.md) |

### Databases

| Command | Description | Status | Reference |
|---------|-------------|--------|-----------|
| `az cosmosdb` | Manage Azure Cosmos DB database accounts. | GA | [ref](./references/cosmosdb.md) |
| `az kusto` | Manage Kusto. | Experimental (ext) | [ref](./references/kusto.md) |
| `az managed-cassandra` | Azure Managed Cassandra. | GA | [ref](./references/managed-cassandra.md) |
| `az mariadb` | Manage Azure Database for MariaDB servers. | GA | [ref](./references/mariadb.md) |
| `az mongo-db` | Manage MongoDB. | GA (ext) | [ref](./references/mongo-db.md) |
| `az mysql` | Manage Azure Database for MySQL servers. | GA | [ref](./references/mysql.md) |
| `az postgres` | Manage Azure Database for PostgreSQL. | GA | [ref](./references/postgres.md) |
| `a

Related in Cloud & DevOps