Skip to content

Commit

Permalink
Added Preferred Routing Gateway Support (#13611)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvenka authored Mar 25, 2021
1 parent 46733ce commit febc72a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
},
{
Expand Down Expand Up @@ -120,7 +121,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
},
{
Expand Down Expand Up @@ -121,7 +122,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
}
},
Expand All @@ -65,7 +66,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5809,10 +5809,27 @@
"type": "boolean",
"readOnly": false,
"description": "Flag to control transit for VirtualRouter hub."
},
"preferredRoutingGateway": {
"$ref": "#/definitions/PreferredRoutingGateway",
"description": "The preferred gateway to route on-prem traffic"
}
},
"description": "Parameters for VirtualHub."
},
"PreferredRoutingGateway": {
"type": "string",
"description": "The preferred routing gateway types",
"enum": [
"ExpressRoute",
"VpnGateway",
"None"
],
"x-ms-enum": {
"name": "PreferredRoutingGateway",
"modelAsString": true
}
},
"RoutingState": {
"type": "string",
"description": "The current routing state of the VirtualHub.",
Expand Down

0 comments on commit febc72a

Please sign in to comment.