Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Retrieves AG's information.
# 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