From 4dc41cee4481348ea53c2af451d4c242553b3a3b Mon Sep 17 00:00:00 2001 From: Litchi Yang Date: Wed, 12 Aug 2020 23:43:13 -0700 Subject: [PATCH] change output of advertised route --- .../stable/2020-06-01/virtualWan.json | 62 +++---------------- 1 file changed, 7 insertions(+), 55 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json index 95d41eb11810..e995b7ddf3da 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/virtualWan.json @@ -4399,7 +4399,7 @@ "200": { "description": "List of advertised BGP routes.", "schema": { - "$ref": "#/definitions/LearnedRouteList" + "$ref": "#/definitions/PeerRouteList" } }, "202": { @@ -5464,55 +5464,7 @@ }, "description": "Properties of the bgp connection." }, - "AdvertisedRoute": { - "properties": { - "localAddress": { - "type": "string", - "readOnly": true, - "description": "The peer's local address." - }, - "network": { - "type": "string", - "readOnly": true, - "description": "The route's network prefix." - }, - "nextHop": { - "type": "string", - "readOnly": true, - "description": "The route's next hop." - }, - "origin": { - "type": "string", - "readOnly": true, - "description": "The source this route was learned from." - }, - "asPath": { - "type": "string", - "readOnly": true, - "description": "The route's AS path sequence." - }, - "weight": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The route's weight." - } - }, - "description": "Peer advertised routing details." - }, - "AdvertisedRouteList": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AdvertisedRoute" - }, - "description": "List of peer advertised routes." - } - }, - "description": "List of virtual router peer advertised routes." - }, - "LearnedRoute": { + "PeerRoute": { "properties": { "localAddress": { "type": "string", @@ -5551,19 +5503,19 @@ "description": "The route's weight." } }, - "description": "Peer learned routing details." + "description": "Peer routing details." }, - "LearnedRouteList": { + "PeerRouteList": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/LearnedRoute" + "$ref": "#/definitions/PeerRoute" }, - "description": "List of peer learned routes." + "description": "List of peer routes." } }, - "description": "List of virtual router peer learned routes." + "description": "List of virtual router peer routes." }, "HubIpConfiguration": { "properties": {