New-AzNetworkManagerRoutingRuleNextHop
Creates a network manager routing rule next hop.
Syntax
New-AzNetworkManagerRoutingRuleNextHop
[-NextHopAddress <String>]
-NextHopType <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzNetworkManagerRoutingRuleNextHop cmdlet creates a network manager routing rule next hop.
Examples
Example 1
New-AzNetworkManagerRoutingRuleNextHop -NextHopAddress "ApiManagement" -NextHopType "ServiceTag"
NextHopAddress NextHopType
------------------ -----------------
ApiManagement ServiceTag
Creates a network manager service tag routing rule next hop.
Example 2
New-AzNetworkManagerRoutingRuleNextHop -NextHopAddress "10.0.0.1" -NextHopType "AddressPrefix"
NextHopAddress NextHopType
------------------ -----------------
10.0.0.1 AddressPrefix
Creates a network manager routing rule next hop object.
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 |
-NextHopAddress
NextHopAddress
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NextHopType
NextHopAddress NextHopType.
Type: | String |
Accepted values: | Internet, NoNextHop, VirtualAppliance, VirtualNetworkGateway, VnetLocal |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell