Azure
Stop/Start AppGateway

Stop & Start an Azure Application Gateway

Note: This can be handy when you need to pull an updated cert from keyvault.

Stop the App Gateway...

  az network application-gateway stop --id
  /subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group-name>/providers/Microsoft.Network/applicationGateways/<your-agw-name>

And then restart...

  az network application-gateway start --id
  /subscriptions/<your-subscription-id>/resourceGroups/<your-resource-group-name>/providers/Microsoft.Network/applicationGateways/<your-agw-name>

Note: This will obviously cause down-time of your Application gateway and also any apps/sites that sit behind it...use with caution!