< Back

Get-AzureRmApplicationGatewayRedirectConfiguration

Tue Jan 29, 2019 9:53 pm

NAME Get-AzureRmApplicationGatewayRedirectConfiguration



SYNOPSIS

Gets an existing redirect configuration from an Application Gateway.





SYNTAX

Get-AzureRmApplicationGatewayRedirectConfiguration -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] [-Name

<String>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmApplicationGatewayRedirectConfiguration cmdlet gets an existing redirect configuration from an Application Gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

The applicationGateway



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

The name of the request routing rule



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayRedirectConfiguration

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayRedirectConfiguration,

Microsoft.Azure.Commands.Network, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]]





NOTES









Example 1



PS C:\\>$AppGW = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"

PS C:\\> $RedirectConfig = Get-AzureRmApplicationGatewayRedirectConfiguration -Name "Redirect01" -ApplicationGateway $AppGW



The first command gets the Application Gateway named ApplicationGateway01 and stores the result in the variable named $AppGW. The second command

gets the redirect configuration named Redirect01 from the Application Gateway stored in the variable named $AppGW.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... figuration