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

The following fields are returned by SELECT queries:

Request successful. The operation returns the next hop from the VM.

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkWatcherName, subscriptionIdGets the next hop from the specified VM.

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
networkWatcherNamestringThe name of the network watcher.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the next hop from the specified VM.

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