Created
April 11, 2020 21:37
-
-
Save fabriciosanchez/0fb1be2b51f9852ff4b2c23b377fd7f2 to your computer and use it in GitHub Desktop.
Retrieves AG's information.
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
# Get existing Application Gateway config | |
$appgw = Get-AzApplicationGateway ` | |
-ResourceGroupName $resGroupName ` | |
-Name $appgwName | |
$listener = Get-AzApplicationGatewayHttpListener ` | |
-Name "apim-api-listener" ` | |
-ApplicationGateway $appgw | |
$sinkpool = Get-AzApplicationGatewayBackendAddressPool ` | |
-ApplicationGateway $appgw ` | |
-Name "sinkpool" | |
$pool = Get-AzApplicationGatewayBackendAddressPool ` | |
-ApplicationGateway $appgw ` | |
-Name "apimbackend" | |
$poolSettings = Get-AzApplicationGatewayBackendHttpSettings ` | |
-ApplicationGateway $appgw ` | |
-Name "apim-api-poolsetting" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment