Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created April 11, 2020 21:45
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/74ee32e232a9825af9edb4e8cb2e6d64 to your computer and use it in GitHub Desktop.
Save fabriciosanchez/74ee32e232a9825af9edb4e8cb2e6d64 to your computer and use it in GitHub Desktop.
Creating a path rule configuration for external calls.
$pathRule = New-AzApplicationGatewayPathRuleConfig `
-Name "external" `
-Paths "/external/*" `
-BackendAddressPool $pool `
-BackendHttpSettings $poolSettings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment