有没有办法从PowerShell停止(然后重新启动)Azure功能?
最佳答案
Start-AzureRmWebApp
Start-AzureRmWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp"
https://docs.microsoft.com/en-us/powershell/module/azurerm.websites/start-azurermwebapp?view=azurermps-6.13.0
Stop-AzureRmWebApp
PS C:\>Stop-AzureRmWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp"
https://docs.microsoft.com/en-us/powershell/module/azurerm.websites/stop-azurermwebapp?view=azurermps-6.13.0
关于azure - 如何从PowerShell停止/启动Azure功能,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56168831/