Get-AzRouteFilterRuleConfig
Gets a route filter rule in a route filter.
Syntax
Default (Default)
Get-AzRouteFilterRuleConfig
[-Name <String>]
-RouteFilter <PSRouteFilter>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzRouteFilterRuleConfig cmdlet gets a route filter rule or a list of route filter rules in a route filter.
Examples
Example 1
$rf = Get-AzRouteFilter -Name "MyRouteFilter" -ResourceGroupName "MyResourceGroup"
Get-AzRouteFilterRuleConfig -RouteFilter $rf -Name "Rule01"
Get-AzRouteFilterRuleConfig -RouteFilter $rf
The first command gets the route filter named MyRouteFilter, and then stores it in the variable $rf. The second command gets the route filter rule named Rule01 associated with that route filter. The third command gets a list of route filter rules associated with that route filter.
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 |
-Name
The name of the route filter rule
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 |
-RouteFilter
The RouteFilter
Parameter properties
| Type: | PSRouteFilter |
| 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 |
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.