You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure CLI命令az webapp list-runtimes的PowerShell等效命令查询

等效于az webapp list-runtimes的PowerShell命令

当然有啦!在Azure PowerShell中,和Azure CLI的az webapp list-runtimes功能完全对应的命令是:

Get-AzWebAppRuntimeStack

这个命令会返回所有Azure Web Apps支持的运行时栈信息,涵盖Windows和Linux操作系统下的各类运行时版本,和az webapp list-runtimes输出的内容完全匹配。

如果需要筛选特定操作系统的运行时,还可以添加参数精准查询:

  • 只查看Linux系统的运行时:
    Get-AzWebAppRuntimeStack -OsType Linux
    
  • 只查看Windows系统的运行时:
    Get-AzWebAppRuntimeStack -OsType Windows
    

这样就能轻松获取你需要的Web应用运行时信息啦!

内容的提问来源于stack exchange,提问作者objectclass

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.09 21:27:54