New-AzNetworkManagerRoutingRuleDestination
Creates a network manager routing rule destination.
Syntax
New-AzNetworkManagerRoutingRuleDestination
-DestinationAddress <String>
-Type <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzNetworkManagerRoutingRuleDestination cmdlet creates a network manager routing rule destination.
Examples
Example 1
New-AzNetworkManagerRoutingRuleDestination -DestinationAddress "ApiManagement" -Type "ServiceTag"
DestinationAddress Type
------------------ -----------------
ApiManagement ServiceTag
Creates a network manager service tag routing rule destination.
Example 2
New-AzNetworkManagerRoutingRuleDestination -DestinationAddress "10.0.0.1" -Type "AddressPrefix"
DestinationAddress Type
------------------ -----------------
10.0.0.1 AddressPrefix
Creates a network manager routing rule destination 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 |
-DestinationAddress
DestinationAddress
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Type
DestinationAddress Type.
Type: | String |
Accepted values: | AddressPrefix, ServiceTag |
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