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": {