Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3056,4 +3056,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1",
"parameters": {
"location": "eastus",
"properties": {
"source": {
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
},
"destination": {
"address": "bing.com",
"port": 80
},
"monitoringIntervalInSeconds": 60
}
}
},
"responses": {
"200": {
"body": {
"name": "cm1",
"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"
},
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
},
"201": {
"body": {
"name": "cm1",
"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"
},
"location": "eastus",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1"
},
"responses": {
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1"
},
"responses": {
"200": {
"body": {
"name": "cm1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
"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"
},
"location": "centraluseuap",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "cm1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
"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"
},
"location": "centraluseuap",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
},
{
"name": "cm2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2",
"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"
},
"location": "centraluseuap",
"type": "Microsoft.Network/networkWatchers/connectionMonitors"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1"
},
"responses": {
"200": {
"body": {
"sourceStatus": "Active",
"states": [
{
"connectionState": "Reachable",
"startTime": "2018-01-08T03:42:33.3387305Z",
"endTime": "2018-01-08T05:12:41.5265438Z",
"evaluationState": "Completed",
"hops": [
{
"type": "Source",
"id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
"address": "10.1.1.4",
"resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
"nextHopIds": [
"75c8d819-b208-4584-a311-1aa45ce753f9"
],
"issues": []
},
{
"type": "VirtualNetwork",
"id": "75c8d819-b208-4584-a311-1aa45ce753f9",
"address": "192.168.100.4",
"resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
"nextHopIds": [],
"issues": []
}
]
}
]
}
},
"202": {
"body": {
"sourceStatus": "Active",
"states": [
{
"connectionState": "Reachable",
"startTime": "2018-01-08T03:42:33.3387305Z",
"endTime": "2018-01-08T05:12:41.5265438Z",
"evaluationState": "Completed",
"hops": [
{
"type": "Source",
"id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
"address": "10.1.1.4",
"resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
"nextHopIds": [
"75c8d819-b208-4584-a311-1aa45ce753f9"
],
"issues": []
},
{
"type": "VirtualNetwork",
"id": "75c8d819-b208-4584-a311-1aa45ce753f9",
"address": "192.168.100.4",
"resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
"nextHopIds": [],
"issues": []
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2019-11-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"networkWatcherName": "nw1",
"connectionMonitorName": "cm1",
"parameters": {
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"200": {
"body": {
"name": "cm1",
"id": "/subscriptions/subid/`/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
"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": "2019-09-04T02:48:10.6797393Z",
"monitoringStatus": "Running"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"type": "Microsoft.Network/networkWatchers/connectionMonitors",
"location": "westcentralus"
}
}
}
}
Loading