Get-AzApplicationGatewayAdvancedRoutingMap
Gets an advanced routing map from an application gateway.
Syntax
Default (Default)
Get-AzApplicationGatewayAdvancedRoutingMap
[-Name <String>]
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzApplicationGatewayAdvancedRoutingMap cmdlet gets an advanced routing map from an application gateway. If Name is not specified, all advanced routing maps on the gateway are returned.
Examples
Example 1: Get a named advanced routing map
$gateway = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$map = Get-AzApplicationGatewayAdvancedRoutingMap -ApplicationGateway $gateway -Name "Map01"
This command gets the advanced routing map named Map01 from the application gateway.
Example 2: Get all advanced routing maps
$gateway = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$maps = Get-AzApplicationGatewayAdvancedRoutingMap -ApplicationGateway $gateway
This command gets every advanced routing map defined on the application gateway.
Parameters
-ApplicationGateway
The applicationGateway
Parameter properties
| Type: | PSApplicationGateway |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Name
The name of the application gateway AdvancedRoutingMap
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.