Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun
Per ottenere l'esecuzione dell'analisi della raggiungibilità dell'area di lavoro del gestore di rete.
Sintassi
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>]
Descrizione
Quando viene assegnato un valore "Name", il cmdlet get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun ottiene l'esecuzione dell'analisi della raggiungibilità dell'area di lavoro di verifica del gestore di rete specifica. Quando non viene assegnato un 'Name', il cmdlet get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun ottiene un elenco delle esecuzioni dell'analisi della raggiungibilità dell'area di lavoro verifica del gestore di rete nell'area di lavoro specificata.
Esempio
Esempio 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
Ottiene l'elenco delle esecuzioni di analisi della raggiungibilità dell'area di lavoro verifica del gestore di rete per l'area di lavoro verifica 'testVNV'.
Esempio 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"
]
}
Ottiene l'esecuzione dell'analisi della raggiungibilità dell'area di lavoro del gestore di rete per 'testrun'.
Parametri
-DefaultProfile
Credenziali, account, tenant e sottoscrizione usati per la comunicazione con Azure.
Tipo: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-Name
Nome della risorsa.
Tipo: | String |
Alias: | ResourceName |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | True |
-NetworkManagerName
Nome del gestore di rete.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | True |
-ResourceGroupName
Nome del gruppo di risorse.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | True |
-ResourceId
ID risorsa Esecuzione dell'analisi dell'area di lavoro di Verifica.
Tipo: | String |
Alias: | ReachabilityAnalysisRunId |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | False |
-VerifierWorkspaceName
Nome dell'area di lavoro del verificatore.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | True |
Accettare caratteri jolly: | True |