如何使用Azure CLI将应用程序服务从一个应用程序服务计划更改为另一个应用程序服务计划

发布于 2025-02-06 12:41:13 字数 159 浏览 0 评论 0原文

是否有与此PowerShell命令相同的Azure CLI命令?

set -azwebapp -resourcegroupname“ resourcename” -name $ webappname -appServServiceplan $ destappservserviceplan

Is there any Azure CLI command which does the same as this powershell command?

Set-AzWebApp -ResourceGroupName "ResourceName" -Name $webAppName -AppServicePlan $destAppServicePlan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悲凉≈ 2025-02-13 12:41:13

是的,我们没有Azure CLI命令来更改Azure Web应用程序的应用程序服务计划,而Azure PowerShell命令具有相同的功能。

我建议将此问题作为功能请求发布在

Yes, we do not have the Azure CLI Command to change the App Service Plan for an Azure Web App as having the same functionality with Azure PowerShell commands.

I suggest posting this issue as a feature request in the GitHub-Azure/Azure CLI Repository for getting the better resolution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文