Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Creates the mapping of the existing rule and applies it to the AG.
$appgw = Add-AzApplicationGatewayUrlPathMapConfig `
-ApplicationGateway $appgw `
-Name "external-urlpathmapconfig" `
-PathRules $pathRule `
-DefaultBackendAddressPool $sinkpool `
-DefaultBackendHttpSettings $poolSettings
$appgw = Set-AzApplicationGateway `
-ApplicationGateway $appgw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment