-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix network * duplicated publicipprefix * fixed example in 2018-01-01 * final updates * missing examples (cherry picked from commit 42d9639)
- Loading branch information
Zim Kalinowski
authored
May 26, 2020
1 parent
63f2b24
commit 1c5b662
Showing
34 changed files
with
3,411 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...r/Microsoft.Network/stable/2019-07-01/examples/NetworkWatcherConnectionMonitorCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-07-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" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...r/Microsoft.Network/stable/2019-07-01/examples/NetworkWatcherConnectionMonitorDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-07-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkWatcherName": "nw1", | ||
"connectionMonitorName": "cm1" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ager/Microsoft.Network/stable/2019-07-01/examples/NetworkWatcherConnectionMonitorGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-07-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" | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...ger/Microsoft.Network/stable/2019-07-01/examples/NetworkWatcherConnectionMonitorList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-07-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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.