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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.