Skip to content
项目

关于

用于调用 Azure Resource Manager API 的简单命令行工具

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ARMClient

ARMClient is a simple command line tool to invoke the Azure Resource Manager API.

You can install it from:

  • Chocolatey

    choco install armclient --source=https://chocolatey.org/api/v2/
    
  • Scoop

    scoop install armclient
    
  • The Releases page (old-school download/extract)

This blog post introduces the tool and is a good place to start.

Check out wiki for more details.

Login and get tokens
    ARMClient.exe login [environment name]

Login with Azure CLI 2.0 (az -- https://github.com/Azure/azure-cli)
    ARMClient.exe azlogin

Call ARM api
    ARMClient.exe [get|post|put|patch|delete] [url] (<@file|content>) (-h "header: value") (-verbose)
    Use '-h' multiple times to add more than one custom HTTP header.

Copy token to clipboard
    ARMClient.exe token [tenant|subscription]

List token cache
    ARMClient.exe listcache

Clear token cache
    ARMClient.exe clearcache

Note: Valid values for optional [environment name]: (Default) Prod for Azure Global, Fairfax for Azure Government, Blackforest for Azure Germany, Mooncake for Azure China.

Note: The tokens are cached at %USERPROFILE%\.arm folder. All files are encrypted with CurrentUser ProtectData .NET api.

Note: PowerShell users will need to escape the @ symbol with a back tick `.

探索相关项目

加载中…