Search code examples
powershellazureazure-cliazure-cli2

Azure CLI 2.0 to alter "Testing in production" routing for web apps


Is it possible to alter the azure web app static routing for "Testing in Production" using Azure CLI 2.0

You can set this using the -RoutingRules parameter of Set-AzureWebsite however i cannot find a CLI 2.0 alternative.

Does an alternative exist?

enter image description here


Solution

  • There's currently no way to do it with CLI, but there's an open wishlist ticket on github.

    You can comment or vote for it here: https://github.com/Azure/azure-cli/issues/2067

    Also see: https://github.com/lostintangent/node-azure/issues/10