Skip to main content

interfaces_effective_route_tables

Creates, updates, deletes, gets or lists a interfaces_effective_route_tables resource.

Overview

Nameinterfaces_effective_route_tables
TypeResource
Idazure.network.interfaces_effective_route_tables

Fields

NameDatatypeDescription
namestringThe name of the user defined route. This is optional.
addressPrefixarrayThe address prefixes of the effective routes in CIDR notation.
disableBgpRoutePropagationbooleanIf true, on-premises routes are not propagated to the network interfaces in the subnet.
nextHopIpAddressarrayThe IP address of the next hop of the effective route.
nextHopTypestringThe type of Azure hop the packet should be sent to.
sourcestringWho created the route.
statestringThe value of effective route.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkInterfaceName, resourceGroupName, subscriptionIdGets all route tables applied to a network interface.

SELECT examples

Gets all route tables applied to a network interface.

SELECT
name,
addressPrefix,
disableBgpRoutePropagation,
nextHopIpAddress,
nextHopType,
source,
state
FROM azure.network.interfaces_effective_route_tables
WHERE networkInterfaceName = '{{ networkInterfaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';