是否可以使用 Web 应用程序防火墙状态/计费以编程方式暂停/恢复 Azure 的应用程序网关?



我想在具有Web应用程序防火墙(AG-WAF(的Azure应用程序网关上执行研发测试,但每天只需两个小时,但我不想为24x7付费。

无论如何,每天只需以编程方式启动/暂停/停止 AG-WAF 两个小时以暂停计费,还是必须每天终止它并重建它以暂停计费?

如果可以使用 powershell,请查看以下命令:

Start-AzureRmApplicationGateway : https://learn.microsoft.com/en-us/powershell/module/azurerm.network/start-azurermapplicationgateway?view=azurermps-6.13.0

Stop-AzureRmApplicationGateway : https://learn.microsoft.com/en-us/powershell/module/azurerm.network/stop-azurermapplicationgateway?view=azurermps-6.13.0

最新更新