Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created April 11, 2020 22:20
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 fabriciosanchez/36a3ce6c0180d33e67c4a453b3fd993e to your computer and use it in GitHub Desktop.
Save fabriciosanchez/36a3ce6c0180d33e67c4a453b3fd993e to your computer and use it in GitHub Desktop.
Creates the request routing piece.
$appgw = Add-AzApplicationGatewayRequestRoutingRule `
-ApplicationGateway $appgw `
-Name "apim-api-external-rule" `
-RuleType PathBasedRouting `
-HttpListener $listener `
-BackendAddressPool $Pool `
-BackendHttpSettings $poolSettings `
-UrlPathMap $pathMap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment