Get-AzureWebSite:未找到请求的值 'PremiumV2'
Get-AzureWebSite : Requested value 'PremiumV2' was not found
我添加了新的 Premium V2 应用服务计划。现在,当 运行 在 PowerShell 中获取 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
错误是什么?
旧的 CmdLets 不再得到很好的支持,并且不知道 Premium V2 等新功能。
尝试使用基于 ARM 的 CmdLets,例如 Get-AzureRmWebApp
。
我添加了新的 Premium V2 应用服务计划。现在,当 运行 在 PowerShell 中获取 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
错误是什么?
旧的 CmdLets 不再得到很好的支持,并且不知道 Premium V2 等新功能。
尝试使用基于 ARM 的 CmdLets,例如 Get-AzureRmWebApp
。