Skip to content

Commit

Permalink
HubRoutingPreference in VirtualHub (#17609)
Browse files Browse the repository at this point in the history
* commit1

* commit2

Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>
  • Loading branch information
Khushboo-Baheti and Khushboo Baheti authored Feb 7, 2022
1 parent 09c7dc5 commit b88fb61
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
},
{
Expand Down Expand Up @@ -122,7 +123,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
},
{
Expand Down Expand Up @@ -123,7 +124,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
}
},
Expand All @@ -67,7 +68,8 @@
"10.10.1.13"
],
"allowBranchToBranchTraffic": false,
"preferredRoutingGateway": "ExpressRoute"
"preferredRoutingGateway": "ExpressRoute",
"hubRoutingPreference": "ExpressRoute"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"10.10.1.12",
"10.10.1.13"
],
"allowBranchToBranchTraffic": false
"allowBranchToBranchTraffic": false,
"hubRoutingPreference": "ExpressRoute"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6047,6 +6047,10 @@
"preferredRoutingGateway": {
"$ref": "#/definitions/PreferredRoutingGateway",
"description": "The preferred gateway to route on-prem traffic"
},
"hubRoutingPreference": {
"$ref": "#/definitions/HubRoutingPreference",
"description": "The hubRoutingPreference of this VirtualHub."
}
},
"description": "Parameters for VirtualHub."
Expand All @@ -6064,6 +6068,19 @@
"modelAsString": true
}
},
"HubRoutingPreference": {
"type": "string",
"description": "The hub routing preference gateway types",
"enum": [
"ExpressRoute",
"VpnGateway",
"ASPath"
],
"x-ms-enum": {
"name": "HubRoutingPreference",
"modelAsString": true
}
},
"RoutingState": {
"type": "string",
"description": "The current routing state of the VirtualHub.",
Expand Down

0 comments on commit b88fb61

Please sign in to comment.