Man*_*jSS 6 deployment powershell azure visual-studio-2015 azure-deployment-slots
我试图通过azure powershell获取我的插槽信息.
检索我使用的信息
Get-AzureWebsite -Name mywebsite -Slot staging
Run Code Online (Sandbox Code Playgroud)
但azure powershell引发了以下错误:
Get-AzureWebsite : Requested value 'VS2015' was not found.
At line:1 char:1
+ Get-AzureWebsite -Name mywebsite -Slot staging
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzureWebsite], ArgumentException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand
Run Code Online (Sandbox Code Playgroud)
当我只尝试Get-AzureWebsite -Name mywebsite它时,它完美地显示包括插槽名称的数据
Name : mywebsite
State : Running
Host Names : {mywebsite.azurewebsites.net}
Name : mywebsite(staging)
State : Running
Host Names : {mywebsite-staging.azurewebsites.net}
Name : mywebsite(dev)
State : Running
Host Names : {mywebsite-dev.azurewebsites.net}
Run Code Online (Sandbox Code Playgroud)
当我谷歌这个错误"未找到请求值'VS2015'." 我遇到了这个链接,这位作者建议删除远程调试器,但没有运气,我收到错误.
我的解决方案是:
我认为这是Azure中的某种错误.
| 归档时间: |
|
| 查看次数: |
1062 次 |
| 最近记录: |