diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubGet.json index dc950b5147ed..97be9d2e0a27 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubGet.json @@ -27,7 +27,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubList.json index 875b8f5db958..18731b16ba83 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubList.json @@ -62,7 +62,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } }, { @@ -120,7 +121,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubListByResourceGroup.json index e3b2363c7ee9..86aaa1a350e3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubListByResourceGroup.json @@ -63,7 +63,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } }, { @@ -121,7 +122,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubPut.json index d9711291d997..e138a1037d6c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/examples/VirtualHubPut.json @@ -40,7 +40,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } } }, @@ -65,7 +66,8 @@ "10.10.1.12", "10.10.1.13" ], - "allowBranchToBranchTraffic": false + "allowBranchToBranchTraffic": false, + "preferredRoutingGateway": "ExpressRoute" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualWan.json index f4571ae750c1..dda5ddbef8d9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-02-01/virtualWan.json @@ -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.",