Get-AzRouteFilter
Gets a route filter.
Syntax
Get-AzRouteFilter
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRouteFilter
-Name <String>
-ResourceGroupName <String>
-ExpandResource <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzRouteFilter cmdlet gets a route filter.
Examples
Example 1
Get-AzRouteFilter -Name "RouteFilter01" -ResourceGroupName "ResourceGroup01"
Name : RouteFilter01
ResourceGroupName : ResourceGroup01
Location : westus
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsof
t.Network/routeFilters/RouteFilter01
Etag : W/"00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Tags :
Rules : []
Peerings : []
This command gets the route filter named RouteFilter01 that belongs to the resource group named ResourceGroup01.
Example 2
Get-AzRouteFilter -Name "RouteFilter*"
Name : RouteFilter01
ResourceGroupName : ResourceGroup01
Location : westus
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsof
t.Network/routeFilters/RouteFilter01
Etag : W/"00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Tags :
Rules : []
Peerings : []
Name : RouteFilter02
ResourceGroupName : ResourceGroup01
Location : westus
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsof
t.Network/routeFilters/RouteFilter02
Etag : W/"00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
Tags :
Rules : []
Peerings : []
This command gets all route filters that start with "RouteFilter".
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ExpandResource
The resource reference to be expanded.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
The resource name.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-ResourceGroupName
The resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Inputs
Outputs
Related Links
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure PowerShell