Azure CLI
oleh ddevaal
DevOps & CloudRingkasan
Comprehensive Azure Cloud Platform management via command-line interface.
Deskripsi
Apa yang Dilakukan Skill Ini
Azure CLI is Microsoft's cross-platform command-line tool for managing Azure cloud resources. It covers compute, networking, storage, databases, Kubernetes, and more across 66 command modules. Authentication supports interactive login, service principals, and managed identities.
Azure CLI's built-in JMESPath query support and shell-scriptable output formats make it faster to automate resource workflows than navigating the Azure Portal.
Kapan Menggunakannya
- Spinning up and managing virtual machines from the terminal
- Deploying AKS clusters and fetching kubeconfig credentials
- Automating resource cleanup scripts in CI/CD pipelines
- Querying resource states across subscriptions with JMESPath filters
- Managing storage accounts and uploading blobs in batch operations
Contoh Alur Kerja
User asks: Create a Ubuntu VM in East US and verify it's running
- 1
Run
az loginto authenticate the session - 2
Create a resource group with
az group create -g myRG -l eastus - 3
Provision the VM with
az vm create -g myRG -n myVM --image UbuntuLTS - 4
Check power state with
az vm show -g myRG -n myVM --query powerState
VM provisioned and confirmed in 'VM running' state
Persyaratan
- Azure subscription
- Azure CLI installed (brew install azure-cli or platform equivalent)
Instalasi
clawhub install ddevaal/azure-cliJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.