Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created April 10, 2020 20:39
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/b710ed04917b87592eb6269327205b29 to your computer and use it in GitHub Desktop.
Save fabriciosanchez/b710ed04917b87592eb6269327205b29 to your computer and use it in GitHub Desktop.
Creates a rule that allows external users access developers portal from the outside.
# step 10 - create a routing rule to allow external Internet access to the developer portal
$rule01 = New-AzApplicationGatewayRequestRoutingRule `
-Name "apim-portal-rule" `
-RuleType Basic `
-HttpListener $portalListener `
-BackendAddressPool $apimProxyBackendPool `
-BackendHttpSettings $apimPoolPortalSetting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment