Skip to main content

virtual_hubs_effective_virtual_hub_routes

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

Overview

Namevirtual_hubs_effective_virtual_hub_routes
TypeResource
Idazure.network.virtual_hubs_effective_virtual_hub_routes

Fields

NameDatatypeDescription
addressPrefixesarrayThe list of address prefixes.
asPathstringThe ASPath of this route.
nextHopTypestringThe type of the next hop.
nextHopsarrayThe list of next hops.
routeOriginstringThe origin of this route.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, virtualHubNameGets the effective routes configured for the Virtual Hub resource or the specified resource .

SELECT examples

Gets the effective routes configured for the Virtual Hub resource or the specified resource .

SELECT
addressPrefixes,
asPath,
nextHopType,
nextHops,
routeOrigin
FROM azure.network.virtual_hubs_effective_virtual_hub_routes
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND virtualHubName = '{{ virtualHubName }}';