Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
},
"authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
"routingWeight": 1
"routingWeight": 1,
"enableInternetSecurity": false
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
},
"authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
"routingWeight": 1
"routingWeight": 1,
"enableInternetSecurity": false
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.10.1.0/24"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,42 @@
}
}
],
"virtualHubRouteTableV2s": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"name": "rt2a",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [
"20.10.0.0/16",
"20.20.0.0/16"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
},
{
"destinationType": "CIDR",
"destinations": [
"0.0.0.0/0"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
}
],
"attachedConnections": [
"All_Vnets"
]
}
}
],
"addressPrefix": "10.10.1.0/24"
}
},
Expand Down Expand Up @@ -62,6 +98,42 @@
}
}
],
"virtualHubRouteTableV2s": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"name": "rt2a",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [
"20.10.0.0/16",
"20.20.0.0/16"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
},
{
"destinationType": "CIDR",
"destinations": [
"0.0.0.0/0"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
}
],
"attachedConnections": [
"All_Vnets"
]
}
}
],
"addressPrefix": "210.10.1.0/24"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,42 @@
}
}
],
"virtualHubRouteTableV2s": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"name": "rt2a",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [
"20.10.0.0/16",
"20.20.0.0/16"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
},
{
"destinationType": "CIDR",
"destinations": [
"0.0.0.0/0"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
}
],
"attachedConnections": [
"All_Vnets"
]
}
}
],
"addressPrefix": "10.10.1.0/24"
}
},
Expand Down Expand Up @@ -63,6 +99,42 @@
}
}
],
"virtualHubRouteTableV2s": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"name": "rt2a",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [
"20.10.0.0/16",
"20.20.0.0/16"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
},
{
"destinationType": "CIDR",
"destinations": [
"0.0.0.0/0"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
}
],
"attachedConnections": [
"All_Vnets"
]
}
}
],
"addressPrefix": "210.10.1.0/24"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.168.0.0/24"
}
}
Expand All @@ -48,6 +49,7 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.168.0.0/24"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"routeTableName": "virtualHubRouteTable1a",
"resourceGroupName": "rg1",
"api-version": "2019-09-01",
"subscriptionId": "subid",
"virtualHubName": "virtualHub1"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"parameters": {
"routeTableName": "virtualHubRouteTable1a",
"resourceGroupName": "rg1",
"api-version": "2019-09-01",
"subscriptionId": "subid",
"virtualHubName": "virtualHub1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"name": "virtualHubRouteTable1a",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [
"20.10.0.0/16",
"20.20.0.0/16"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
},
{
"destinationType": "CIDR",
"destinations": [
"0.0.0.0/0"
],
"nextHopType": "IPAddress",
"nextHops": [
"10.0.0.68"
]
}
],
"attachedConnections": [
"All_Vnets"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"virtualHubName": "virtualHub1",
"resourceGroupName": "rg1",
"api-version": "2019-09-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": [
{
"name": "virtualHubRouteTable1a",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [ "20.10.0.0/16","20.20.0.0/16"],
"nextHopType": "IPAddress",
"nextHops": [ "10.0.0.68" ]
},
{
"destinationType": "CIDR",
"destinations": [ "0.0.0.0/0"],
"nextHopType": "IPAddress",
"nextHops": [ "10.0.0.68" ]
}
],
"attachedConnections": [ "All_Vnets" ]
}
},
{
"name": "virtualHubRouteTable1b",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1b",
"etag": "w/\\00000000-0000-0000-0000-000000000000\\",
"properties": {
"provisioningState": "Succeeded",
"routes": [
{
"destinationType": "CIDR",
"destinations": [ "20.30.0.0/16","20.40.0.0/16"],
"nextHopType": "IPAddress",
"nextHops": [ "10.0.0.68" ]
}
],
"attachedConnections": [ "All_Branches" ]
}
}
]
}
}
}
Loading