-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add InboundSecurityRule, virtualRouterPeerAdvertisedRoute and virtual…
…RouterPeerLearnedRoute (#11185) * Add virtual hub bgp connections subresources virtualRouterPeerAdvertisedRoute and virtualRouterPeerLearnedRoute with POST opertion * Add examples * Change name of operationid * change output of advertised route * Add PUT InboundSecurityRules for NVA * merge * Add examples * merge * merge * change output of advertised route * Add type local to virtualNetworkGateway * fix bug * fix bug * fix typo * fix bug and add requirements * Add Enum * fix bug * Add InboundSecurityRule, virtualRouterPeerAdvertisedRoute and virtualRouterPeerLearnedRoute * prettier
- Loading branch information
1 parent
04e5da2
commit 71c13c4
Showing
9 changed files
with
493 additions
and
0 deletions.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
...resource-manager/Microsoft.Network/stable/2020-07-01/examples/InboundSecurityRulePut.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,56 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2020-07-01", | ||
"ruleCollectionName": "rule1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"networkVirtualApplianceName": "nva", | ||
"parameters": { | ||
"properties": { | ||
"rules": [ | ||
{ | ||
"protocol": "TCP", | ||
"sourceAddressPrefix": "50.20.121.5/32", | ||
"destinationPortRange": 22 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "rule1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"rules": [ | ||
{ | ||
"protocol": "TCP", | ||
"sourceAddressPrefix": "50.20.121.5/32", | ||
"destinationPortRange": 22 | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "rule1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", | ||
"etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"rules": [ | ||
{ | ||
"protocol": "TCP", | ||
"sourceAddressPrefix": "50.20.121.5/32", | ||
"destinationPortRange": 22 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
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
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
45 changes: 45 additions & 0 deletions
45
...er/Microsoft.Network/stable/2020-07-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-07-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-07-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-07-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
Oops, something went wrong.