Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
Voor het uitvoeren van een analyse van de bereikbaarheid van de netwerkbeheerder voor de werkruimte.
Syntaxis
Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
[-Name <String>]
-NetworkManagerName <String>
-ResourceGroupName <String>
-VerifierWorkspaceName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
-Name <String>
-NetworkManagerName <String>
-ResourceGroupName <String>
-VerifierWorkspaceName <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Wanneer de
Voorbeelden
Voorbeeld 1
Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun -NetworkManagerName "testNM" -ResourceGroupName "testRG" -VerifierWorkspaceName "testVNV"
Name : testAsyncOpBehvaiorRun
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-05T19:39:38.2563968Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-05T19:40:01.1132044Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testAsyncOpBehvaiorRun
Name : testrun
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-19T16:01:54.313026Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-19T16:02:07.4222816Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testrun
Name : testrun1
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-19T16:04:57.7083709Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-19T16:05:08.4340122Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testrun1
Name : testrun2
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-19T16:07:08.2595595Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-19T16:07:18.9324364Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testrun2
Name : testrun3
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-19T16:08:38.3602762Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-19T16:08:50.960041Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testrun3
Name : testrunfan1
VerifierWorkspaceName :
ResourceGroupName : testRG
NetworkManagerName : testNM
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
SystemDataText : {
"CreatedBy": "test@email.com",
"CreatedByType": "User",
"CreatedAt": "2024-09-19T21:03:46.2977531Z",
"LastModifiedBy": "test@email.com",
"LastModifiedByType": "User",
"LastModifiedAt": "2024-09-19T21:03:59.9659393Z"
}
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
orkspaces/testVNV/reachabilityAnalysisRuns/testrunfan1
Hiermee haalt u een lijst op van de bereikbaarheidsanalyse van netwerkbeheer voor testVNV-verifierwerkruimte.
Voorbeeld 2
$run = Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun -NetworkManagerName "NetworkManagerTest" -ResourceGroupName "ResourceGroupTest" -VerifierWorkspaceName "VNVTest" -Name "demorun"
$run.Properties
Description :
IntentId : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/ResourceGroupTest/providers/Microsoft.Netw
ork/networkManagers/NetworkManagerTest/verifierWorkspaces/VNVTest/reachabilityAnalysisIntents/demoIntent1
IntentContent : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIntentContent
AnalysisResult : {"resultOutcome":"NoPacketsReached","unreachedTrace":"[{\"name\":\"default\",\"resourceId\":\"/subscri
ptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microso
ft.Network/virtualNetworks/vnetVerifierTesting-vnet/subnets/default\",\"resourceType\":\"Microsoft.Net
work/virtualNetworks/subnets\",\"packet\":{\"destinationAddress\":\"::\",\"destinationPort\":\"0\",\"s
ourceAddress\":\"::\",\"sourcePort\":\"0\",\"protocol\":\"TCP\"},\"explanation\":{\"description\":\"Pa
cked dropped at subnet as subnet does not have a ip prefix for the analysis IP
version.\",\"explanationCode\":\"NO_SUBNET_PREFIX\"}}]"}
ErrorMessage :
$run.Properties.IntentContent.IpTraffic | Format-List *
SourceResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microsoft.Network/virtualNetworks/vnetVerifi
erTesting-vnet/subnets/default
DestinationResourceId : internet
IpTraffic : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIPTraffic
IntentContentText : {
"SourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microsoft.Network/vir
tualNetworks/vnetVerifierTesting-vnet/subnets/default",
"DestinationResourceId": "internet",
"IpTraffic": {
"SourceIps": [
"::"
],
"DestinationIps": [
"::"
],
"SourcePorts": [
"*"
],
"DestinationPorts": [
"*"
],
"Protocols": [
"TCP"
]
}
}
$run.Properties.IntentContent.IpTraffic | Format-List *
SourceIps : {::}
DestinationIps : {::}
SourcePorts : {*}
DestinationPorts : {*}
Protocols : {TCP}
IpTrafficText : {
"SourceIps": [
"::"
],
"DestinationIps": [
"::"
],
"SourcePorts": [
"*"
],
"DestinationPorts": [
"*"
],
"Protocols": [
"TCP"
]
}
Hiermee haalt u de bereikbaarheidsanalyse van netwerkbeheer op voor testrun.
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
De resourcenaam.
Type: | String |
Aliassen: | ResourceName |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
-NetworkManagerName
De naam van de netwerkbeheerder.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
-ResourceGroupName
De naam van de resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
-ResourceId
De resource-id van de verifier-werkruimteanalyse uitvoeren.
Type: | String |
Aliassen: | ReachabilityAnalysisRunId |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-VerifierWorkspaceName
De naam van de verifier-werkruimte.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | True |
Invoerwaarden
Uitvoerwaarden
Verwante koppelingen
Azure PowerShell