Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deangrant/ebd380b4dc82012a8d7e16317d9565db to your computer and use it in GitHub Desktop.
Save deangrant/ebd380b4dc82012a8d7e16317d9565db to your computer and use it in GitHub Desktop.
Code snippets for starting and stopping a Microsoft Azure application gateway
RESOURCE_GROUP={{ name }}
APPLICATION_GATEWAY={{ name }}
# Start application gateway
az network application-gateway start -g $RESOURCE_GROUP -n $APPLICATION_GATEWAY
# Stop application gateway
az network application-gateway stop -g $RESOURCE_GROUP -n $APPLICATION_GATEWAY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment