Skip to main content
Providers

RouteTable

A resource of the Azure provider, version 0.3.0, in its Networking group. Import it with:

import RouteTable from "azure/networking"

Example

resource RouteTable example {
    name                       = "example-value"
    resourceGroup              = "example-value"
    location                   = "example-value"
    disableBgpRoutePropagation = false
    routes                     = "..."
    tags                       = "..."
}

Properties

Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.

NameTypeDefaultRequiredDescription
namestring—NoThe name of the route table
resourceGroupstring—NoThe Azure resource group name
locationstring—NoThe Azure region/location
disableBgpRoutePropagationbooleanfalseNoWhether to disable BGP route propagation
routesany[]—NoRoutes in this route table
tagsobject—NoTags to apply to the route table

Set by Azure after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.

NameTypeImportableDescription
idstringYesThe Azure resource ID of the route table
provisioningStatestringNoThe provisioning state of the route table
associatedSubnetIdsany[]NoList of subnet IDs associated with this route table

On this page