【问题标题】:Get-AzureWebSite : Requested value 'PremiumV2' was not foundGet-AzureWebSite:未找到请求的值“PremiumV2”
【发布时间】:2017-10-07 16:33:35
【问题描述】:

我添加了一个新的 Premium V2 应用服务计划。现在在 PowerShell 中运行 Get-AzureWebSite 时,我收到以下错误消息:

get-azurewebsite : Requested value 'PremiumV2' was not found.
At line:1 char:1
+ get-azurewebsite
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzureWebsite], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand

错误是什么?

【问题讨论】:

    标签: azure-web-app-service azure-app-service-plans


    【解决方案1】:

    旧的 CmdLets 不再得到很好的支持,并且不了解 Premium V2 等新功能。

    尝试使用基于 ARM 的 CmdLets,例如 Get-AzureRmWebApp

    【讨论】:

    • 哦,天哪。就在我认为升级到 Premium V2 会解决我的麻烦时...:-(
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多