Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
Aby uzyskać przebieg analizy dostępności obszaru roboczego weryfikatora menedżera sieci.
Składnia
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>]
Opis
Po otrzymaniu polecenia cmdlet "Name" Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun polecenie cmdlet pobiera przebieg analizy dostępności obszaru roboczego weryfikatora menedżera sieci. Jeśli nie podano parametru "Name", polecenie cmdlet Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun pobiera listę przebiegów analizy dostępności obszaru roboczego weryfikatora menedżera sieci w określonym obszarze roboczym.
Przykłady
Przykład 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
Pobiera listę przebiegów analizy dostępności obszaru roboczego weryfikatora menedżera sieci dla obszaru roboczego weryfikatora "testVNV".
Przykład 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"
]
}
Pobiera przebieg analizy dostępności obszaru roboczego weryfikatora menedżera sieci dla polecenia "testrun".
Parametry
-DefaultProfile
Poświadczenia, konto, dzierżawa i subskrypcja używane do komunikacji z platformą Azure.
Typ: | IAzureContextContainer |
Aliasy: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | False |
Akceptowanie danych wejściowych potoku: | False |
Akceptowanie symboli wieloznacznych: | False |
-Name
Nazwa zasobu.
Typ: | String |
Aliasy: | ResourceName |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | False |
Akceptowanie danych wejściowych potoku: | True |
Akceptowanie symboli wieloznacznych: | True |
-NetworkManagerName
Nazwa menedżera sieci.
Typ: | String |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | True |
Akceptowanie danych wejściowych potoku: | True |
Akceptowanie symboli wieloznacznych: | True |
-ResourceGroupName
Nazwa grupy zasobów.
Typ: | String |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | True |
Akceptowanie danych wejściowych potoku: | True |
Akceptowanie symboli wieloznacznych: | True |
-ResourceId
Identyfikator zasobu Uruchom analizę obszaru roboczego weryfikatora.
Typ: | String |
Aliasy: | ReachabilityAnalysisRunId |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | True |
Akceptowanie danych wejściowych potoku: | True |
Akceptowanie symboli wieloznacznych: | False |
-VerifierWorkspaceName
Nazwa obszaru roboczego weryfikatora.
Typ: | String |
Position: | Named |
Domyślna wartość: | None |
Wymagane: | True |
Akceptowanie danych wejściowych potoku: | True |
Akceptowanie symboli wieloznacznych: | True |
Dane wejściowe
Dane wyjściowe
Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRun