vdc/Modules/RouteTables
Christopher Bennage f0b3944d89
Module folder cleanup (#128)
* revmoing version from orchestration files

* removed logic for module subpath

* removed examples using "2.0" folder

* removing the '2.0' folder from modules
2019-09-24 15:35:33 -07:00
..
Pipeline Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
Policy Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
RBAC Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
Scripts Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
Tests Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
deploy.json Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00
readme.md Module folder cleanup (#128) 2019-09-24 15:35:33 -07:00

readme.md

RouteTables

This template deploys User Defined Route Tables.

Resources

  • Microsoft.Network/routeTables

Parameters

Parameter Name Default Value Description
routeTableName Required. Name given for the hub route table.
routes [] Optional. An Array of Routes to be established within the hub route table.

Parameter Usage: ``

The routes parameter accepts a JSON Array of Route objects to deploy to the Route Table.

Here's an example of specifying a few routes:

"routes": {
  "value": [
    {
      "name": "tojumpboxes",
      "properties": {
        "addressPrefix": "172.16.0.48/28",
        "nextHopType": "VnetLocal"
      }
    },
    {
      "name": "tosharedservices",
      "properties": {
        "addressPrefix": "172.16.0.64/27",
        "nextHopType": "VnetLocal"
      }
    },
    {
      "name": "toonprem",
      "properties": {
        "addressPrefix": "10.0.0.0/8",
        "nextHopType": "VirtualNetworkGateway"
      }
    },
    {
      "name": "tonva",
      "properties": {
        "addressPrefix": "172.16.0.0/18",
        "nextHopType": "VirtualAppliance",
        "nextHopIpAddress": "172.16.0.20"
      }
    }
  ]
}

Outputs

Output Name Description
routeTableResourceGroup The name of the Resource Group the Route Table was deployed to.
routeTableName The name of the Route Table deployed.
routeTableResourceId The Resource id of the Virtual Network deployed.

Considerations

N/A

Additional resources