Get-AzRouteFilter
Gets a route filter.
Syntax
NoExpand
Get-AzRouteFilter
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Expand
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.
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 |
-ExpandResource
The resource reference to be expanded.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Expand
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Name
The resource name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | True |
DontShow: | False |
Aliases: | ResourceName |
Parameter sets
NoExpand
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ResourceGroupName
The resource group name.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | True |
DontShow: | False |
Parameter sets
NoExpand
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
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.