< Back
Get-AzureRmRouteConfig
Post
NAME Get-AzureRmRouteConfig
SYNOPSIS
Gets routes from a route table.
SYNTAX
Get-AzureRmRouteConfig [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -RouteTable <PSRouteTable> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRouteConfig cmdlet gets routes from an Azure route table. You can specify a route by name.
PARAMETERS
-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>
Specifies the name of the route that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RouteTable <PSRouteTable>
Specifies the route table from which this cmdlet gets routes.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
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
PSRouteTable
Parameter 'RouteTable' accepts value of type 'PSRouteTable' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSRoute
NOTES
Example 1: Get a route table
PS C:\\>Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "RouteTable01" | Get-AzureRmRouteConfig -Name "Route07"
Name : route07
Id :
Etag :
ProvisioningState :
AddressPrefix : 10.1.0.0/16
NextHopType : VnetLocal
NextHopIpAddress :
This command gets the route table named RouteTable01 by using the Get-AzureRmRouteTable cmdlet. The command passes that table to the current
cmdlet by using the pipeline operator. The current cmdlet gets the route named Route07 in the route table named RouteTable01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... outeconfig
Add-AzureRmRouteConfig
Get-AzureRmRouteTable
New-AzureRmRouteConfig
Remove-AzureRmRouteConfig
Set-AzureRmRouteConfig
SYNOPSIS
Gets routes from a route table.
SYNTAX
Get-AzureRmRouteConfig [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -RouteTable <PSRouteTable> [<CommonParameters>]
DESCRIPTION
The Get-AzureRmRouteConfig cmdlet gets routes from an Azure route table. You can specify a route by name.
PARAMETERS
-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>
Specifies the name of the route that this cmdlet gets.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RouteTable <PSRouteTable>
Specifies the route table from which this cmdlet gets routes.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
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
PSRouteTable
Parameter 'RouteTable' accepts value of type 'PSRouteTable' from the pipeline
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSRoute
NOTES
Example 1: Get a route table
PS C:\\>Get-AzureRmRouteTable -ResourceGroupName "ResourceGroup11" -Name "RouteTable01" | Get-AzureRmRouteConfig -Name "Route07"
Name : route07
Id :
Etag :
ProvisioningState :
AddressPrefix : 10.1.0.0/16
NextHopType : VnetLocal
NextHopIpAddress :
This command gets the route table named RouteTable01 by using the Get-AzureRmRouteTable cmdlet. The command passes that table to the current
cmdlet by using the pipeline operator. The current cmdlet gets the route named Route07 in the route table named RouteTable01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... outeconfig
Add-AzureRmRouteConfig
Get-AzureRmRouteTable
New-AzureRmRouteConfig
Remove-AzureRmRouteConfig
Set-AzureRmRouteConfig