New-AzNetworkManagerRoutingRuleDestination
Creates a network manager routing rule destination.
Syntax
Default (Default)
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.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DestinationAddress
DestinationAddress
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Type
DestinationAddress Type.
Parameter properties
Type: | String |
Default value: | None |
Accepted values: | AddressPrefix, ServiceTag |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.