Azure CLI 是一个命令行工具,用于与 Azure 资源进行交互。以下是 Azure CLI 的基本参考信息。
基本命令
- 查看所有可用的命令:
az --help
- 查看特定命令的帮助信息:
az <command> --help
资源管理
- 创建资源组:
az group create --name <resource-group-name> --location <location>
- 列出资源组:
az group list
- 删除资源组:
az group delete --name <resource-group-name>
服务管理
- 查看所有 Azure 服务:
az service-principal list
- 创建 Azure 服务:
az service-principal create --name <principal-name> --tenant <tenant-id> --password <password>
Azure CLI
扩展阅读
更多关于 Azure CLI 的信息,请访问我们的官方文档:Azure CLI 官方文档