Created
October 30, 2019 17:46
-
-
Save burkeholland/9ae516ba59decf56aa9c807862e8eda0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure the subscription is set to Ignite The Tour | |
az account set --subscription cd400f31-6f94-40ab-863a-673192a3c0d0 | |
# Reset the ApiUrl and APIShoppingCart Application Settings to default "broken" values | |
echo "Setting East US back to a broken state..." | |
az webapp config appsettings set -g apps50-frontend -n tailwindtraders-website-eastus-apps50-frontend --settings ApiUrl=http://AKS_BACKEND_ENDPOINT/webbff/v1 --output none | |
az webapp config appsettings set -g apps50-frontend -n tailwindtraders-website-eastus-apps50-frontend --settings ApiUrlShoppingCart=http://AKS_BACKEND_ENDPOINT/cart-api --output none | |
# Reset the ApiUrl and APIShoppingCart Application Settings to default "broken" values | |
echo "Setting Australia East back to a broken state..." | |
az webapp config appsettings set -g apps50-frontend -n tailwindtraders-website-auseast-apps50-frontend --settings ApiUrl=http://AKS_BACKEND_ENDPOINT/webbff/v1 --output none | |
az webapp config appsettings set -g apps50-frontend -n tailwindtraders-website-auseast-apps50-frontend --settings ApiUrlShoppingCart=http://AKS_BACKEND_ENDPOINT/cart-api --output none | |
echo "Finished reset" | |
echo "Here are the current App Settings for East US..." | |
az webapp config appsettings list -g apps50-frontend -n tailwindtraders-website-eastus-apps50-frontend --out table | |
echo " " | |
echo "Here are the current App Settings for Australia East..." | |
az webapp config appsettings list -g apps50-frontend -n tailwindtraders-website-auseast-apps50-frontend --out table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment