Skip to main content

interfaces_effective_route_tables

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

Overview

Nameinterfaces_effective_route_tables
TypeResource
Idazure.network.interfaces_effective_route_tables

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns a list of EffectRoute resources.

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkInterfaceName, subscriptionIdGets all route tables applied to a network interface.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkInterfaceNamestringThe name of the network interface.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

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 resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkInterfaceName = '{{ networkInterfaceName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;