-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add virtual hub bgp connections subresources virtualRouterPeerAdverti… (
#10434) * Add virtual hub bgp connections subresources virtualRouterPeerAdvertisedRoute and virtualRouterPeerLearnedRoute with POST opertion * Add examples * Change name of operationid * change output of advertised route
- Loading branch information
1 parent
8c7fcf4
commit e52be70
Showing
3 changed files
with
256 additions
and
0 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...er/Microsoft.Network/stable/2020-06-01/examples/VirtualRouterPeerListAdvertisedRoute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"hubName": "virtualRouter1", | ||
"connectionName": "peer1" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"localAddress": "10.85.3.4", | ||
"network": "10.45.0.0/16", | ||
"nextHop": "10.85.3.4", | ||
"sourcePeer": "10.85.3.4", | ||
"origin": "Igp", | ||
"asPath": "65515", | ||
"weight": 0 | ||
}, | ||
{ | ||
"localAddress": "10.85.3.4", | ||
"network": "10.85.0.0/16", | ||
"nextHop": "10.85.3.4", | ||
"sourcePeer": "10.85.3.4", | ||
"origin": "Igp", | ||
"asPath": "65515", | ||
"weight": 0 | ||
}, | ||
{ | ||
"localAddress": "10.85.3.4", | ||
"network": "10.100.0.0/16", | ||
"nextHop": "10.85.3.4", | ||
"sourcePeer": "10.85.3.4", | ||
"origin": "Igp", | ||
"asPath": "65515", | ||
"weight": 0 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...nager/Microsoft.Network/stable/2020-06-01/examples/VirtualRouterPeerListLearnedRoute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-06-01", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"hubName": "virtualRouter1", | ||
"connectionName": "peer1" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"localAddress": "10.85.3.4", | ||
"network": "10.101.0.0/16", | ||
"nextHop": "10.85.4.4", | ||
"sourcePeer": "10.85.4.4", | ||
"origin": "EBgp", | ||
"asPath": "65002-65001", | ||
"weight": 32768 | ||
}, | ||
{ | ||
"localAddress": "10.85.3.5", | ||
"network": "10.101.0.0/16", | ||
"nextHop": "10.85.4.4", | ||
"sourcePeer": "10.85.4.4", | ||
"origin": "EBgp", | ||
"asPath": "65002-65001", | ||
"weight": 32768 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters