Skip to content

Commit cbe1b57

Browse files
Khushboo-BahetiKhushboo Baheti
authored andcommitted
HubRoutingPreference in VirtualHub (Azure#17609)
* commit1 * commit2 Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>
1 parent a3ddd8c commit cbe1b57

6 files changed

Lines changed: 33 additions & 8 deletions

File tree

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VirtualHubGet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"10.10.1.13"
2929
],
3030
"allowBranchToBranchTraffic": false,
31-
"preferredRoutingGateway": "ExpressRoute"
31+
"preferredRoutingGateway": "ExpressRoute",
32+
"hubRoutingPreference": "ExpressRoute"
3233
}
3334
}
3435
}

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VirtualHubList.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
"10.10.1.13"
6464
],
6565
"allowBranchToBranchTraffic": false,
66-
"preferredRoutingGateway": "ExpressRoute"
66+
"preferredRoutingGateway": "ExpressRoute",
67+
"hubRoutingPreference": "ExpressRoute"
6768
}
6869
},
6970
{
@@ -122,7 +123,8 @@
122123
"10.10.1.13"
123124
],
124125
"allowBranchToBranchTraffic": false,
125-
"preferredRoutingGateway": "ExpressRoute"
126+
"preferredRoutingGateway": "ExpressRoute",
127+
"hubRoutingPreference": "ExpressRoute"
126128
}
127129
}
128130
]

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VirtualHubListByResourceGroup.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
"10.10.1.13"
6565
],
6666
"allowBranchToBranchTraffic": false,
67-
"preferredRoutingGateway": "ExpressRoute"
67+
"preferredRoutingGateway": "ExpressRoute",
68+
"hubRoutingPreference": "ExpressRoute"
6869
}
6970
},
7071
{
@@ -123,7 +124,8 @@
123124
"10.10.1.13"
124125
],
125126
"allowBranchToBranchTraffic": false,
126-
"preferredRoutingGateway": "ExpressRoute"
127+
"preferredRoutingGateway": "ExpressRoute",
128+
"hubRoutingPreference": "ExpressRoute"
127129
}
128130
}
129131
]

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VirtualHubPut.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"10.10.1.13"
4242
],
4343
"allowBranchToBranchTraffic": false,
44-
"preferredRoutingGateway": "ExpressRoute"
44+
"preferredRoutingGateway": "ExpressRoute",
45+
"hubRoutingPreference": "ExpressRoute"
4546
}
4647
}
4748
},
@@ -67,7 +68,8 @@
6768
"10.10.1.13"
6869
],
6970
"allowBranchToBranchTraffic": false,
70-
"preferredRoutingGateway": "ExpressRoute"
71+
"preferredRoutingGateway": "ExpressRoute",
72+
"hubRoutingPreference": "ExpressRoute"
7173
}
7274
}
7375
}

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/VirtualHubUpdateTags.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"10.10.1.12",
3737
"10.10.1.13"
3838
],
39-
"allowBranchToBranchTraffic": false
39+
"allowBranchToBranchTraffic": false,
40+
"hubRoutingPreference": "ExpressRoute"
4041
}
4142
}
4243
}

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/virtualWan.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6047,6 +6047,10 @@
60476047
"preferredRoutingGateway": {
60486048
"$ref": "#/definitions/PreferredRoutingGateway",
60496049
"description": "The preferred gateway to route on-prem traffic"
6050+
},
6051+
"hubRoutingPreference": {
6052+
"$ref": "#/definitions/HubRoutingPreference",
6053+
"description": "The hubRoutingPreference of this VirtualHub."
60506054
}
60516055
},
60526056
"description": "Parameters for VirtualHub."
@@ -6064,6 +6068,19 @@
60646068
"modelAsString": true
60656069
}
60666070
},
6071+
"HubRoutingPreference": {
6072+
"type": "string",
6073+
"description": "The hub routing preference gateway types",
6074+
"enum": [
6075+
"ExpressRoute",
6076+
"VpnGateway",
6077+
"ASPath"
6078+
],
6079+
"x-ms-enum": {
6080+
"name": "HubRoutingPreference",
6081+
"modelAsString": true
6082+
}
6083+
},
60676084
"RoutingState": {
60686085
"type": "string",
60696086
"description": "The current routing state of the VirtualHub.",

0 commit comments

Comments
 (0)