跳到正文
TakoAPI
返回技能列表

Azure CLI

由 ddevaal 提供

DevOps & Cloud
2.3k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run az login to authenticate the session

  2. 2

    Create a resource group with az group create -g myRG -l eastus

  3. 3

    Provision the VM with az vm create -g myRG -n myVM --image UbuntuLTS

  4. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接