< Back

New-AzureRmRouteFilter

Tue Jan 29, 2019 9:56 pm

NAME New-AzureRmRouteFilter



SYNOPSIS

Creates a route filter.





SYNTAX

New-AzureRmRouteFilter [-AsJob] [-DefaultProfile <IAzureContextContainer>] [-Force] -Location <String> -Name <String> -ResourceGroupName <String>

[-Rule <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSRouteFilterRule]>] [-Tag <Hashtable>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

The New-AzureRmRouteFilter cmdlet creates an Azure route filter.





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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



-Force [<SwitchParameter>]

Indicates that this cmdlet creates a route table even if a route filter that has the same name already exists.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Location <String>

Specifies the Azure region in which this cmdlet creates a route filter.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies a name for the route filter.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group in which this cmdlet creates a route filter.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Rule <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSRouteFilterRule]>

Specifies an array of Route Filter Rule objects to associate with the route filter.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tag <Hashtable>

Key-value pairs in the form of a hash table. For example:



@{key0="value0";key1=$null;key2="value2"}



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

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

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSRouteFilter







NOTES





Keywords: azure, azurerm, arm, resource, management, manager, network, networking



Example 1



PS C:\\> {{ Add example code here }}



{{ Add example description here }}







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... outefilter

Get-AzureRmRouteFilter

New-AzureRmRouteFilterRuleConfig

Remove-AzureRmRouteFilter

Set-AzureRmRouteFilter