Skip to main content

watchers_next_hops

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

Overview

Namewatchers_next_hops
TypeResource
Idazure.network.watchers_next_hops

Fields

NameDatatypeDescription
nextHopIpAddressstringNext hop IP Address.
nextHopTypestringNext hop type.
routeTableIdstringThe resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkWatcherName, resourceGroupName, subscriptionId, data__destinationIPAddress, data__sourceIPAddress, data__targetResourceIdGets the next hop from the specified VM.

SELECT examples

Gets the next hop from the specified VM.

SELECT
nextHopIpAddress,
nextHopType,
routeTableId
FROM azure.network.watchers_next_hops
WHERE networkWatcherName = '{{ networkWatcherName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__destinationIPAddress = '{{ data__destinationIPAddress }}'
AND data__sourceIPAddress = '{{ data__sourceIPAddress }}'
AND data__targetResourceId = '{{ data__targetResourceId }}';