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,7 +19,9 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"addressPrefix": "10.10.1.0/24"
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.10.1.0/24",
"sku": "Basic"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,44 @@
}
}
],
"addressPrefix": "10.10.1.0/24"
"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",
"sku": "Basic"
}
},
{
Expand Down Expand Up @@ -62,7 +99,44 @@
}
}
],
"addressPrefix": "210.10.1.0/24"
"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",
"sku": "Basic"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,44 @@
}
}
],
"addressPrefix": "10.10.1.0/24"
"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",
"sku": "Basic"
}
},
{
Expand Down Expand Up @@ -63,7 +100,44 @@
}
}
],
"addressPrefix": "210.10.1.0/24"
"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",
"sku": "Basic"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"virtualWan": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"addressPrefix": "10.168.0.0/24"
"addressPrefix": "10.168.0.0/24",
"sku": "Basic"
}
}
},
Expand All @@ -31,7 +32,9 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"addressPrefix": "10.168.0.0/24"
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.168.0.0/24",
"sku": "Basic"
}
}
},
Expand All @@ -48,7 +51,9 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
},
"virtualNetworkConnections": [],
"addressPrefix": "10.168.0.0/24"
"virtualHubRouteTableV2s": [],
"addressPrefix": "10.168.0.0/24",
"sku": "Basic"
}
}
}
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,72 @@
{
"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