Skip to content

Commit

Permalink
Removed QueryConnectionMOnitors API (#3661)
Browse files Browse the repository at this point in the history
* Added new API to networkwatcher.json and examples

* Added NetworkWatcherNetworkConfigurationDiagnostic example

* removed QueryConnectionMonitors Api
  • Loading branch information
irrogozh authored and lmazuel committed Aug 16, 2018
1 parent 2ca2757 commit 880a171
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 174 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1844,77 +1844,7 @@
"Network configuration diagnostic": { "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryConnectionMonitors": {
"post": {
"tags": [
"NetworkWatchers"
],
"operationId": "NetworkWatchers_QueryConnectionMonitors",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"description": "Query connection monitors.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "networkWatcherName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the network watcher."
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/QueryConnectionMonitorsParameters"
},
"description": "Parameters to get network configuration diagnostic."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Request successful. The operation returns the result of network condifuration diagnostic.",
"schema": {
"$ref": "#/definitions/QueryConnectionMonitorsResponse"
}
},
"202": {
"description": "Accepted and the operation will complete asynchronously.",
"schema": {
"$ref": "#/definitions/QueryConnectionMonitorsResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Query connection monitors": { "$ref": "./examples/NetworkWatcherQueryConnectionMonitors.json" }
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
}
},
"definitions": {
"ErrorResponse": {
Expand Down Expand Up @@ -3668,46 +3598,6 @@
"description": "Value indicating whether destination port is matched."
}
}
},
"QueryConnectionMonitorsParameters": {
"description": "Parameters to query connection monitors.",
"properties": {
"connectionMonitorIds": {
"type": "array",
"description": "List of connection monitors ID.",
"items": {
"type": "string"
}
}
}
},
"QueryConnectionMonitorsResponse": {
"description": "Results of query connection monitors.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ConnectionMonitorsQueryResultItem"
},
"description": "The list query connection monitor results."
},
"nextLink": {
"type": "string",
"description": "URL to get the next set of results."
}
}
},
"ConnectionMonitorsQueryResultItem": {
"description": "Results of query particular connection monitor.",
"properties": {
"resourceId": {
"type": "string",
"description": "Connection monitor resource ID."
},
"report": {
"$ref": "#/definitions/ConnectionMonitorQueryResult"
}
}
}
}
}

0 comments on commit 880a171

Please sign in to comment.