Skip to content

Commit aa7e738

Browse files
committed
update help doc
1 parent d936e38 commit aa7e738

File tree

1 file changed

+75
-17
lines changed

1 file changed

+75
-17
lines changed

src/Network/Network/help/Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun.md

Lines changed: 75 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -148,27 +148,85 @@ Gets list of network manager verifier workspace reachability analysis runs for '
148148

149149
### Example 2
150150
```powershell
151-
Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun -NetworkManagerName "testNM" -ResourceGroupName "testRG" -VerifierWorkspaceName "testVNV" -Name "testrun"
151+
$run = Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun -NetworkManagerName "NetworkManagerTest" -ResourceGroupName "ResourceGroupTest" -VerifierWorkspaceName "VNVTest" -Name "demorun"
152+
$run.Properties
152153
```
153154

154155
```output
155-
Name : testrun
156-
VerifierWorkspaceName : testVNV
157-
ResourceGroupName : testRG
158-
NetworkManagerName : testNM
159-
Properties : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSReachabilityAnalysisRunProperties
160-
Type : Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns
161-
SystemData : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSSystemData
162-
SystemDataText : {
163-
"CreatedBy": "[email protected]",
164-
"CreatedByType": "User",
165-
"CreatedAt": "2024-09-19T16:01:54.313026Z",
166-
"LastModifiedBy": "[email protected]",
167-
"LastModifiedByType": "User",
168-
"LastModifiedAt": "2024-09-19T16:02:07.4222816Z"
156+
Description :
157+
IntentId : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/ResourceGroupTest/providers/Microsoft.Netw
158+
ork/networkManagers/NetworkManagerTest/verifierWorkspaces/VNVTest/reachabilityAnalysisIntents/demoIntent1
159+
IntentContent : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIntentContent
160+
AnalysisResult : {"resultOutcome":"NoPacketsReached","unreachedTrace":"[{\"name\":\"default\",\"resourceId\":\"/subscri
161+
ptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microso
162+
ft.Network/virtualNetworks/vnetVerifierTesting-vnet/subnets/default\",\"resourceType\":\"Microsoft.Net
163+
work/virtualNetworks/subnets\",\"packet\":{\"destinationAddress\":\"::\",\"destinationPort\":\"0\",\"s
164+
ourceAddress\":\"::\",\"sourcePort\":\"0\",\"protocol\":\"TCP\"},\"explanation\":{\"description\":\"Pa
165+
cked dropped at subnet as subnet does not have a ip prefix for the analysis IP
166+
version.\",\"explanationCode\":\"NO_SUBNET_PREFIX\"}}]"}
167+
ErrorMessage :
168+
```
169+
170+
```powershell
171+
$run.Properties.IntentContent.IpTraffic | Format-List *
172+
```
173+
174+
```output
175+
SourceResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microsoft.Network/virtualNetworks/vnetVerifi
176+
erTesting-vnet/subnets/default
177+
DestinationResourceId : internet
178+
IpTraffic : Microsoft.Azure.Commands.Network.Models.NetworkManager.PSIPTraffic
179+
IntentContentText : {
180+
"SourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testResources/providers/Microsoft.Network/vir
181+
tualNetworks/vnetVerifierTesting-vnet/subnets/default",
182+
"DestinationResourceId": "internet",
183+
"IpTraffic": {
184+
"SourceIps": [
185+
"::"
186+
],
187+
"DestinationIps": [
188+
"::"
189+
],
190+
"SourcePorts": [
191+
"*"
192+
],
193+
"DestinationPorts": [
194+
"*"
195+
],
196+
"Protocols": [
197+
"TCP"
198+
]
199+
}
169200
}
170-
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Network/networkManagers/testNM/verifierW
171-
orkspaces/testVNV/reachabilityAnalysisRuns/testrun
201+
```
202+
203+
```powershell
204+
$run.Properties.IntentContent.IpTraffic | Format-List *
205+
```
206+
207+
```output
208+
SourceIps : {::}
209+
DestinationIps : {::}
210+
SourcePorts : {*}
211+
DestinationPorts : {*}
212+
Protocols : {TCP}
213+
IpTrafficText : {
214+
"SourceIps": [
215+
"::"
216+
],
217+
"DestinationIps": [
218+
"::"
219+
],
220+
"SourcePorts": [
221+
"*"
222+
],
223+
"DestinationPorts": [
224+
"*"
225+
],
226+
"Protocols": [
227+
"TCP"
228+
]
229+
}
172230
```
173231

174232
Gets network manager verifier workspace reachability analysis run for 'testrun'.

0 commit comments

Comments
 (0)