New-AzNetworkManagerRoutingRuleDestination
建立網路管理員路由規則目的地。
語法
New-AzNetworkManagerRoutingRuleDestination
-DestinationAddress <String>
-Type <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
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 |