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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell