[英]Get-AzureWebsite : Requested value 'Isolated' was not found
我們正在使用Powershell自動執行應用程序服務部署。
直到今天,該代碼仍可以正常工作:
New-AzureRmWebApp -ResourceGroupName "Default-Web-SouthCentralUS" -Name ($appName + "-" + $dirTrailer) -Location "South Central US" -AppServicePlan $serverFarm
$website = Get-AzureWebsite -Name ($appName + "-" + $dirTrailer)
當前, Get-AzureWebsite
cmdlet出現錯誤
Get-AzureWebsite : Requested value 'Isolated' was not found.
我們使用的是Azure Powershell版本3.0.0,但升級到4.3.1后會遇到相同的錯誤。
有沒有人遇到這個問題並找到解決方案?
您可能需要Get-AzureRmWebApp
而不是Get-AzureWebsite
,它是ASM時代的 cmdlet,對孤立的應用程序服務計划(又名ASEv2)一無所知。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.