Skip to content

Commit

Permalink
Minor fix in flowLog URI + updated examples for connection monitor (A…
Browse files Browse the repository at this point in the history
…zure#10524)

* Minor fix in flowLog URI + updated examples for connection monitor

* Reseted the change in networkWtacher spec, updated examples

* fix
  • Loading branch information
irrogozh authored Aug 21, 2020
1 parent ac92edb commit 29a1dae
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,43 @@
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1",
"location": "centraluseuap",
"parameters": {
"location": "eastus",
"properties": {
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
},
{
"name": "destination",
"address": "bing.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
}
}
},
Expand All @@ -27,19 +53,42 @@
"etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"",
"properties": {
"provisioningState": "Updating",
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
"port": 0
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60,
"autoStart": true,
"monitoringStatus": "NotStarted"
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
},
{
"name": "destination",
"address": "bing.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
},
"location": "centraluseuap",
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
},
Expand All @@ -49,20 +98,43 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
"etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"",
"properties": {
"provisioningState": "Updating",
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
"port": 0
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60,
"autoStart": true,
"monitoringStatus": "NotStarted"
"provisioningState": "Succeeded",
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
},
{
"name": "destination",
"address": "bing.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
},
"location": "centraluseuap",
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,42 @@
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"properties": {
"provisioningState": "Succeeded",
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
"port": 0
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60,
"autoStart": true,
"startTime": "2018-01-08T03:42:33.3387305Z",
"monitoringStatus": "Running"
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
},
{
"name": "destination",
"address": "bing.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
},
"location": "centraluseuap",
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,42 @@
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"properties": {
"provisioningState": "Succeeded",
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
"port": 0
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60,
"autoStart": true,
"startTime": "2018-01-08T03:42:33.3387305Z",
"monitoringStatus": "Running"
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1"
},
{
"name": "destination",
"address": "bing.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
},
"location": "centraluseuap",
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
},
{
Expand All @@ -37,20 +59,42 @@
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"properties": {
"provisioningState": "Succeeded",
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2",
"port": 0
},
"destination": {
"address": "google.com",
"port": 80
},
"monitoringIntervalInSeconds": 30,
"autoStart": true,
"startTime": "2018-01-08T05:42:33.3387305Z",
"monitoringStatus": "Running"
"endpoints": [
{
"name": "source",
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct2"
},
{
"name": "destination",
"address": "google.com"
}
],
"testConfigurations": [
{
"name": "tcp",
"testFrequencySec": 60,
"protocol": "Tcp",
"tcpConfiguration": {
"port": 80
}
}
],
"testGroups": [
{
"name": "tg",
"testConfigurations": [
"tcp"
],
"sources": [
"source"
],
"destinations": [
"destination"
]
}
]
},
"location": "centraluseuap",
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
]
Expand Down

0 comments on commit 29a1dae

Please sign in to comment.