Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dsgouda committed Jan 29, 2021
1 parent e6da4a3 commit 1030656
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,6 @@
},
{
"$ref": "#/parameters/ServerNameParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/TopQueryStatisticsInput"
},
"description": "The required parameters for retrieving top query statistics."
}
],
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/queryTexts/1",
"id": "queryTexts-1",
"name": "1",
"type": "Microsoft.DBforPostgreSQL/servers/queryTexts",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/queryTexts/1",
"id": "queryTexts-1",
"name": "1",
"type": "Microsoft.DBforPostgreSQL/servers/queryTexts",
"properties": {
Expand All @@ -23,7 +23,7 @@
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/queryTexts/2",
"id": "queryTexts-2",
"name": "2",
"type": "Microsoft.DBforPostgreSQL/servers/queryTexts",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration",
"id": "66-636923268000000000-636923277000000000-avg-duration",
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforPostgreSQL/servers/queryStatistics",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/queryStatistic/66-636923268000000000-636923277000000000-avg-duration",
"id": "66-636923268000000000-636923277000000000-avg-duration",
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforPostgreSQL/servers/queryStatistics",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "testResourceGroupName",
"serverName": "testServerName",
"waitStatisticsId": "636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0"
"waitStatisticsId": "636927606000000000-636927615000000000-send-wait-io-socket-sql-client_connection-2--0"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"name": "636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"id": "636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"name": "636927606000000000-636927615000000000-send-wait-io-socket-sql-client_connection-2--0",
"type": "Microsoft.DBforPostgreSQL/servers/waitStatistics",
"properties": {
"startTime": "2019-05-06T17:30:00Z",
"endTime": "2019-05-06T17:45:00Z",
"eventName": "wait/io/socket/sql/client_connection",
"eventName": "wait-io-socket-sql-client_connection",
"eventTypeName": "send",
"queryId": 2,
"databaseName": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/databases/mysql",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/testServerName/waitStatistics/636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"id": "636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"name": "636927606000000000-636927615000000000-send-wait/io/socket/sql/client_connection-2--0",
"type": "Microsoft.DBforPostgreSQL/servers/waitStatistics",
"properties": {
Expand Down

0 comments on commit 1030656

Please sign in to comment.