Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Last active April 10, 2020 20:52
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/5489a8929955f1c9917ad425dcb9cd00 to your computer and use it in GitHub Desktop.
Save fabriciosanchez/5489a8929955f1c9917ad425dcb9cd00 to your computer and use it in GitHub Desktop.
Creating AG's backend pool with no target.
# step 9a - configure back-end IP address pool with internal IP of APIM
$apimProxyBackendPool = New-AzApplicationGatewayBackendAddressPool `
-Name "apimbackend" `
-BackendIPAddresses $apimService.PrivateIPAddresses[0]
# step 9b - create sinkpool for API-M requests we want to discard
$sinkpool = New-AzApplicationGatewayBackendAddressPool -Name "sinkpool"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment