你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzNetworkManagerRoutingRuleDestination
创建网络管理器路由规则目标。
语法
New-AzNetworkManagerRoutingRuleDestination
-DestinationAddress <String>
-Type <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
New-AzNetworkManagerRoutingRuleDestination cmdlet 创建网络管理器路由规则目标。
示例
示例 1
New-AzNetworkManagerRoutingRuleDestination -DestinationAddress "ApiManagement" -Type "ServiceTag"
DestinationAddress Type
------------------ -----------------
ApiManagement ServiceTag
创建网络管理器服务标记路由规则目标。
示例 2
New-AzNetworkManagerRoutingRuleDestination -DestinationAddress "10.0.0.1" -Type "AddressPrefix"
DestinationAddress Type
------------------ -----------------
10.0.0.1 AddressPrefix
创建网络管理器路由规则目标对象。
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DestinationAddress
DestinationAddress
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-Type
DestinationAddress 类型。
类型: | String |
接受的值: | AddressPrefix, ServiceTag |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |