From 77a3fe31e0728a049cdc7c1058699842b21132a0 Mon Sep 17 00:00:00 2001 From: Irina Rogozhkina Date: Thu, 7 May 2020 17:21:12 -0700 Subject: [PATCH 1/3] Added new properties to ConnectivityHop --- .../stable/2020-05-01/networkWatcher.json | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json index e021b6bda896..767bc738585d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json @@ -3335,6 +3335,30 @@ "type": "string" } }, + "previousHopIds": { + "readOnly": true, + "type": "array", + "description": "List of previous hop identifiers.", + "items": { + "type": "string" + } + }, + "links": { + "readOnly": true, + "type": "array", + "description": "List of hop links.", + "items": { + "$ref": "#/definitions/HopLink" + } + }, + "previousLinks": { + "readOnly": true, + "type": "array", + "description": "List of previous hop links.", + "items": { + "$ref": "#/definitions/HopLink" + } + }, "issues": { "readOnly": true, "type": "array", @@ -3345,6 +3369,66 @@ } } }, + "HopLink": { + "description": "Hop link.", + "properties": { + "nextHopId": { + "description": "The ID of the next hop.", + "readOnly": true, + "type": "string" + }, + "linkType": { + "description": "Link type.", + "readOnly": true, + "type": "string" + }, + "properties": { + "$ref": "#/definitions/HopLinkProperties", + "description": "Hop link properties." + }, + "issues": { + "readOnly": true, + "type": "array", + "description": "List of issues.", + "items": { + "$ref": "#/definitions/ConnectivityIssue" + } + }, + "context": { + "readOnly": true, + "type": "array", + "description": "Provides additional context on the issue.", + "items": { + "$ref": "#/definitions/IssueContext" + } + }, + "resourceId": { + "description": "Resource ID.", + "readOnly": true, + "type": "string" + } + } + }, + "HopLinkProperties": { + "description": "Hop link properties.", + "properties": { + "roundTripTimeMin": { + "description": "Minimum roundtrip time in miliseconds.", + "readOnly": true, + "type": "integer" + }, + "roundTripTimeAvg": { + "description": "Average roundtrip time in miliseconds.", + "readOnly": true, + "type": "integer" + }, + "roundTripTimeMax": { + "description": "Maximum roundtrip time in miliseconds.", + "readOnly": true, + "type": "integer" + } + } + }, "ConnectivityIssue": { "description": "Information about an issue encountered in the process of checking for connectivity.", "properties": { From 0fe479e597db879185016d250e706065a159d149 Mon Sep 17 00:00:00 2001 From: Irina Rogozhkina Date: Thu, 7 May 2020 17:35:42 -0700 Subject: [PATCH 2/3] Fixed spelling --- .../Microsoft.Network/stable/2020-05-01/networkWatcher.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json index 767bc738585d..baf041f95afa 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json @@ -3413,17 +3413,17 @@ "description": "Hop link properties.", "properties": { "roundTripTimeMin": { - "description": "Minimum roundtrip time in miliseconds.", + "description": "Minimum roundtrip time in milliseconds.", "readOnly": true, "type": "integer" }, "roundTripTimeAvg": { - "description": "Average roundtrip time in miliseconds.", + "description": "Average roundtrip time in milliseconds.", "readOnly": true, "type": "integer" }, "roundTripTimeMax": { - "description": "Maximum roundtrip time in miliseconds.", + "description": "Maximum roundtrip time in milliseconds.", "readOnly": true, "type": "integer" } From aec204648b387c3a8adcba28e1516149b5dcca7c Mon Sep 17 00:00:00 2001 From: Irina Rogozhkina Date: Thu, 7 May 2020 19:46:49 -0700 Subject: [PATCH 3/3] added x-ms-client-flatten to HopLink.properties.properties --- .../Microsoft.Network/stable/2020-05-01/networkWatcher.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json index baf041f95afa..06124dd569ba 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-05-01/networkWatcher.json @@ -3383,6 +3383,7 @@ "type": "string" }, "properties": { + "x-ms-client-flatten": true, "$ref": "#/definitions/HopLinkProperties", "description": "Hop link properties." },