Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Creates a rule that directs external users to APIM's developers portal.
# 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