Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
Führen Sie zum Abrufen der Analyse der Netzwerk-Manager-Prüfer-Arbeitsbereichs-Reichweitenanalyse aus.
Syntax
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>]
Beschreibung
Wenn ein "Name" angegeben wird, ruft das Cmdlet Get-AzNetworkworkManagerVerifierWorkspaceReachabilityAnalysisRun Cmdlet ab, dass die Analyse der Erreichbarkeitsanalyse für den Netzwerk-Manager-Prüfarbeitsbereich ausgeführt wird. Wenn kein "Name" angegeben wird, ruft das Cmdlet Get-AzNetworkworkmanagerVerifierWorkspaceReachabilityAnalysisRun Cmdlet eine Liste der Netzwerk-Manager-Verifier-Arbeitsbereichs-Reichweitenanalyse im angegebenen Arbeitsbereich ab.
Beispiele
Beispiel 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
Ruft eine Liste der Netzwerk-Manager-Verifier-Arbeitsbereichs-Reichweitenanalyse für den Prüfarbeitsbereich "testVNV" ab.
Beispiel 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"
]
}
Ruft die Analyse der Reichweitenanalyse für den Arbeitsbereich des Netzwerk-Managers für "testrun" ab.
Parameter
-DefaultProfile
Die Anmeldeinformationen, Konten, Mandanten und Abonnements, die für die Kommunikation mit Azure verwendet werden.
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-Name
Der Ressourcenname.
Typ: | String |
Aliase: | ResourceName |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
-NetworkManagerName
Der Name des Netzwerk-Managers.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
-ResourceGroupName
Der Ressourcengruppenname.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
-ResourceId
Die Ressourcen-ID für die Analyse des Verifier-Arbeitsbereichs ausführen.
Typ: | String |
Aliase: | ReachabilityAnalysisRunId |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-VerifierWorkspaceName
Der Name des Verifier-Arbeitsbereichs.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
Eingaben
Ausgaben
Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRun
Ähnliche Themen
Azure PowerShell