Created
April 11, 2020 21:50
-
-
Save fabriciosanchez/0d2cdcde07e81d7a926c65ec7efc60c5 to your computer and use it in GitHub Desktop.
Creates the mapping of the existing rule and applies it to the AG.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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