Azure CLI
بواسطة ddevaal
DevOps & Cloudموجز
Comprehensive Azure Cloud Platform management via command-line interface.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- Azure subscription
- Azure CLI installed (brew install azure-cli or platform equivalent)
التثبيت
clawhub install ddevaal/azure-cliشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.