Get-AzNetworkManagerRoutingConfiguration
取得網路管理員中的路由組態。
語法
Get-AzNetworkManagerRoutingConfiguration
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerRoutingConfiguration
-Name <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerRoutingConfiguration
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetworkManagerRoutingConfiguration Cmdlet 會取得網路管理員中的路由組態。
範例
範例 1
Get-AzNetworkManagerRoutingConfiguration -Name "TestRoutingConfig" -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : TestRoutingConfig
Description : Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/routingConfigurations/TestRoutingConfig
Type : Microsoft.Network/networkManagers/routingConfigurations
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:05:57",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:05:59"
}
取得路由組態。
範例 2
Get-AzNetworkManagerRoutingConfiguration -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG"
Name : TestRoutingConfig
Description : Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/routingConfigurations/TestRoutingConfig
Type : Microsoft.Network/networkManagers/routingConfigurations
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:05:57",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:05:59"
}
Name : TestRoutingConfig2
Description : Description
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/routingConfigurations/TestRoutingConfig2
Type : Microsoft.Network/networkManagers/routingConfigurations
Etag : "00000000-0000-0000-0000-000000000000"
ProvisioningState : Succeeded
SystemData : {
"CreatedBy": "00000000-0000-0000-0000-000000000000",
"CreatedByType": "Application",
"CreatedAt": "2021-10-18T04:05:57",
"LastModifiedBy": "00000000-0000-0000-0000-000000000000",
"LastModifiedByType": "Application",
"LastModifiedAt": "2021-10-18T04:05:59"
}
取得網路管理員上的所有路由設定。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
資源名稱。
類型: | String |
別名: | ResourceName |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-NetworkManagerName
網路管理員名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-ResourceId
NetworkManager RoutingConfiguration 標識符
類型: | String |
別名: | RoutingConfigurationId |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
輸出
PSNetworkManagerRoutingConfiguration